File library upload begin
/v1/library/uploads
Signed-in sessionLaunch key product.filesOperation file_library_upload_begin
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
- folderIdstring
- expectedAuthorizationVersionstring
- targetEntityType"briefing" | "decision_doc" | "document" | "memory" | "skill" | "task" | "written_briefing"
- targetEntityIdstring
- sizeBytesnumberRequired
- sha256stringRequired
- mimestringRequired
- idempotencyKeystringRequired
- filenamestringRequired
Returns
- idstringRequired
- fileIdstringRequired
- phase"available" | "blocked" | "canceled" | "canceling" | "reserved" | "transferring" | "verifying"Required
- retryablebooleanRequired
- expiresAtnumberRequired
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.