request_upload_url
Generates a temporary signed upload URL for videos or audios attached directly to the chat conversation or stored in your local sandbox workspace. Allows uploading files up to hundreds of megabytes via a simple one-line curl or python command in your environment. Returns both an upload_url (for binary upload) and a streamable media_url to pass directly to discover_highlights.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | Name of the local media file with its extension (e.g. 'AI-Powered_Genetics.mp4' or 'recording.mp3'). | |
| content_type | No | Optional MIME type (e.g. 'video/mp4', 'audio/mpeg', 'video/webm'). Auto-detected if omitted. | |
| file_size_bytes | No | Optional file size in bytes. |