All docs
On this page

API keys

All /v1/* endpoints use a Bearer key:

Authorization: Bearer sk-<32 hex chars>

Health, OpenAPI, and the docs site are public. Pre-signed artifact URLs need no key.

Create and revoke keys in the dashboard under API Keys, or with POST /v1/account/keys and POST /v1/account/keys/{id}/revoke. The plaintext key is returned once at creation; later responses show only its prefix. Legacy ac- keys remain valid.

Playground keys cannot be used for direct API access. Use a regular API key.

Idempotency

Send an Idempotency-Key header with POST /v1/crawl to avoid duplicate jobs when a request is retried.

Pagination

List endpoints use keyset pagination, ordered created_at DESC, id DESC.

  • Pass the previous response's next_cursor as ?cursor, together with ?limit.
  • next_cursor or next is null at the end of the results.
  • Cursors are opaque and strictly validated. A malformed cursor returns 400.
  • GET /v1/crawl/{jobId}?include=pages is the exception: its cursor is a sequential page-batch offset, and out-of-range values clamp to the first batch instead of failing.