When to use the file connector
- You need to process documents or videos that only exist locally.
- You want to avoid managing temporary URLs or granting the service access to your buckets.
- You plan to upload once and run multiple jobs against the same inputs.
Workflow overview
- Upload files and capture the returned IDs.
- Create jobs with a connector payload that lists one or more
file_ids.
Upload files
Before using the file connector, upload your files to get their IDs. See Upload files for details on supported formats.Create jobs with uploaded files
The connector definition references the files you uploaded. Order is preserved, so the first file ID in the list becomes the first input identifier in job responses.- TypeScript
- Python