Update file
Updates a file’s mutable metadata. The stored bytes are immutable — re-upload to change a file’s contents.
All fields are optional and follow PATCH semantics: only the fields you send are changed. For files you can rename via filename and set a description or tags. For external-video embeds you can update the source url.
Authorizations
API key in the format: Bearer {api_token}
Path Parameters
File ID (e.g., "file_abc123")
Body
Human-readable display title. Pass null to clear it.
Rename the file (updates the stored blob filename). Files only.
Free-text description. Pass null to clear it.
Replaces the tag list. Pass an empty array to clear all tags.
New source URL for an external-video embed (YouTube, Vimeo, or Wistia).
Response
Updated file
file, external_video pending, processing, ready, failed upload, url_import, external_video, generation 
