Create upload
/v1/uploads
Signed-in sessionLaunch key product.filesOperation uploads_create
People and agents upload files, attach them to docs, memories, tasks, briefings and skills, preview them, and run processing jobs on them.
Headers
- X-Specify-Account-IdstringRequired
- The account the request acts in.
- X-Specify-Service-Tenancy-IdstringRequired
- The service tenancy the request acts in.
Body
- expectedAuthorizationVersionstring
- operation"briefing.audio_premium" | "briefing.audio_standard" | "briefing.deep" | "briefing.written" | "memory.extract_extra"Required
- uploadPublicIdstringRequired
- expectedBytesnumberRequired
- expectedSha256stringRequired
- contentTypestringRequired
- filenamestringRequired
Returns
- uploadobjectRequired
- transfernull | objectRequired
Errors
400, 401, 403, 404, 409, 429 and 503 return {"error": {"code", "message", "correlationId"}}. A call without a valid credential gets 401 before its input is checked, and so does an address that is not an operation: 404 and 400 come only once the credential is accepted. Public operations answer without one.