For the complete documentation index, see llms.txt. This page is also available as Markdown.

Files

Upload, list, and delete user files.

Upload a file

put

Uploads a file as multipart/form-data. The upload is validated and accepted synchronously, then processed asynchronously.

Constraints:

  • The request method must be PUT.

  • Content-Type must be multipart/form-data.

  • Content-Length is required (chunked transfer encoding is not supported).

  • Maximum size is 125 MB.

Authorizations
AuthorizationstringRequired

API key issued for your Plus organization, sent as a bearer token.

Body
filestring · binaryRequired

The file to upload.

Responses
put
/r/v0/files/upload

List files

get

Lists the authenticated user's files in the organization, ordered by creation time (newest first). Supports cursor-based pagination.

Authorizations
AuthorizationstringRequired

API key issued for your Plus organization, sent as a bearer token.

Query parameters
limitinteger · min: 1 · max: 100Optional

Page size (1–100). Defaults to 50.

Default: 50
cursorstringOptional

The nextCursor returned by a previous page.

Responses
get
/r/v0/files

Delete a file

delete

Deletes a file the caller owns. Returns 204 on success.

Authorizations
AuthorizationstringRequired

API key issued for your Plus organization, sent as a bearer token.

Path parameters
fileIdstringRequired
Responses
delete
/r/v0/files/{fileId}

No content

Last updated

Was this helpful?