Media file upload and management with metadata support.
List files
List files for an organization. Optionally filter by tags, file name, or date range. Results can be ordered by created_at, updated_at, or file_name.
query Parameters
organization_idOrganization to list files from
file_nameFilter by file name (case-insensitive contains)
orderingOrder by: created_at, -created_at, updated_at, -updated_at, file_name, -file_name
pageA page number within the paginated result set.
page_sizeNumber of results to return per page.
tagsComma-separated list of tags (e.g., 'product,event')
List files › Responses
countnextpreviousavailable_tagsAll available tags from accessible files
Upload file
Upload a new file. Supports both multipart/form-data and base64 JSON uploads. Use 'file' field for multipart upload, or 'file_base64' for base64 upload. organization_id is required. Tags can be optionally specified.
Upload file › Request Body
api_idorganization_idfilefile_base64file_nametagsUpload file › Responses
api_idfile_nameorganization_idfile_urlcreated_atupdated_atModels and instances using this file
image_alt_textcaptioncopyrighttagsGet file details
Get detailed information about a file, including where it's being used.
path Parameters
idA unique value identifying this File.
Get file details › Responses
api_idfile_nameorganization_idfile_urlcreated_atupdated_atModels and instances using this file
image_alt_textcaptioncopyrighttagsDelete file
Delete a file. If the file is in use, the request will fail unless 'force=true' is provided. When force=true, the file will be deleted even if it's in use (use with caution).
path Parameters
idA unique value identifying this File.
query Parameters
forceForce deletion even if file is in use (default: false)
Delete file › Responses
No response body
Update file metadata
Update file metadata such as alt-text, caption, copyright, and tags.
path Parameters
idA unique value identifying this File.
Update file metadata › Request Body
image_alt_textcaptioncopyrighttagsUpdate file metadata › Responses
api_idfile_nameorganization_idfile_urlcreated_atupdated_atModels and instances using this file
image_alt_textcaptioncopyrighttags
