Upload content
An asset is a video file you upload to the platform. Each asset has a unique identifier that you can reference across multiple knowledge stores.
Methods
Use multipart uploads for automatic retry on failure, upload progress tracking, and better reliability, performance, and observability.
When providing a URL, use direct links to raw media files. Video hosting platforms and cloud storage sharing links are not supported.
Upload a local file
Upload a local video file up to 200 MB. Set the method parameter to direct and pass the file in the file parameter.
Direct uploads under 200 MB return synchronously with status: ready.
Upload from a URL
Upload a video from a publicly accessible URL, up to 2 GB. Set the method parameter to url and pass the URL in the url parameter.
URL uploads over 200 MB return with status: processing. Poll the asset status until it reaches ready. See Waiting for processing below.
Multipart upload
Upload a local video file up to 2 GB. This example uses the Python SDK, which handles chunking, parallel uploads, retries, and progress tracking.
The upload_file method returns when the upload finishes. No polling is required. For the full parameter reference, see the Python SDK or Node.js SDK documentation.
Waiting for processing
URL uploads over 200 MB return with status: processing. Poll the asset status until it reaches ready:
An asset must reach ready status before you can add it to a knowledge store.
Jupyter notebook
Download the notebook to run this guide interactively.