Skip to main content

Pagination

List endpoints return a common envelope:
  • Cursor pagination (limit + after_id) — collections, chat sessions, and messages. Pass the last item’s id as after_id to fetch the next page.
  • Offset pagination (skip + limit) — collection files, which additionally return count (total matches) to support sorted, filterable tables.

Errors

Error responses carry a structured envelope alongside the legacy detail field:
error is the canonical shape; detail is retained for backward compatibility and will be removed in a future API version.
Include error.request_id when contacting support about a failed request.

Rate limiting

Requests are rate-limited per account. When throttled, the API returns 429 with a Retry-After header expressing the wait in seconds.