POST /v1/uploads stages a file for a granular operation. It does not put
the file in a workspace. The handle is single-use: bytes are deleted when the
job that reads them finishes.
For a durable corpus, use workspace uploads instead.
- Python
- TypeScript
- curl
Inputs
Default TTL is 24 hours; the cap is 7 days.
Result
create_upload / createUpload return value is itself a valid
source for document operations.
Errors
file_too_large(413) — over the upload size capunsupported_file_type(422) — rejected by the next operation, not always at uploadupload_expired(409) — handle expired or already consumed