Skip to main content
POST
Begin resumable upload

Authorizations

Authorization
string
header
required

A workspace API token created in AI → API & SDK. This is not an MCP token.

Path Parameters

workspace
string
required
Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
Example:

"01M6TF7X1MD67JKPT1BRPZSAJ6"

Body

application/json
name
string
required
Maximum string length: 191
size
integer
required
Required range: x >= 1
key
string
required
Required string length: 16 - 128
parent
string | null
Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
Example:

"01M6TF7X1MD67JKPT1BRPZSAJ6"

direct
boolean

Response

Successful response.

id
string
Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
Example:

"01M6TF7X1MD67JKPT1BRPZSAJ6"

state
string
transport
string
chunkBytes
integer
acceptedParts
integer[]
size
integer