Upload a file chunk
Streams a chunk of file data to the underlying storage. Include a Content-Range header (e.g. bytes 0-1048575/5242880) and send the raw bytes as the request body. When the total is known and this is the final chunk, the upload completes and the status becomes completed.
Documentation Index
Fetch the complete documentation index at: https://docs.adclear.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Clerk session JWT or Unkey API key passed as Bearer token
Headers
Workspace ID fallback. Required when authenticating with a Bearer token in environments where cookies cannot be shared (e.g. preview). Not needed for API key auth (workspace is embedded in the key metadata) or when the workspace cookie is present.
"43dc2a1c-3384-41b5-a6e9-3b2d607d0fae"
Required when authenticating with an API key. Identifies the end-user making the request. Ignored when authenticating with a Bearer token (the user ID is extracted from the token).
"user_abc123"
Optional. Email of the external user, used for audit logging. Only applicable when authenticating with an API key.
"user@example.com"
Path Parameters
Upload ID
Response
Chunk accepted or upload completed