Skip to main content
GET /api/v1/cloud/files Retrieves files under the current account.

Headers

Query parameters

Example request

Example response

HTTP 200 OK

Response fields

Pagination

Results are sorted by created_at and id. To page through files:
  1. Make the first request with limit to fetch the first page.
  2. If has_more is true, use page=<next_page> to fetch the next page.
  3. Use before_id=<first_id> to page backward.

Errors

See Errors for the full error envelope.

Attach and download files

Upload files to give your agent context, and download files it produces.