Skip to main content
All API requests require a bearer token in the Authorization header. You can generate API keys from the API Keys page of the app.
A live key starts with ic_live_ and works on your data. A test key starts with ic_test_ and reaches only your sandbox. A key can carry an expiry (expires_at); past it the key answers 401 api_key_expired. Keys can also be created, rotated and revoked through the API. Every endpoint requires an API key, except public passport resolution (see Product passports). A request without one is rejected with 401.

Scopes

Each key carries the scopes chosen when it was created. Every route names the scope it needs. execute includes read; no other scope includes another, so a key for the full API holds execute and ingest, and approve only when it must decide orders or manage webhooks. keys manages keys through the API and nothing else. Since 2026-11-21 the decisions of Passports need execute where they took ingest; keys that existed then, in organizations with the module, had execute added. A route outside the key’s scope answers 403 with code scope_missing.

Rate limits

  • Per key: 120 requests per minute, and a daily limit (1,000 by default; an organization admin can set up to 10,000) that resets at 00:00 UTC.
  • On every answer: RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (seconds) for the minute window; X-RateLimit-Limit-Day and X-RateLimit-Remaining-Day for the daily limit.
  • On a 429: Retry-After is the real wait in seconds: the rest of the minute window, or the time to 00:00 UTC for the daily limit.
  • Routes that use AI (an explanation’s narrative, reading a document) also draw on a daily budget per organization, reported in X-Model-Budget-Remaining.
  • Unauthenticated requests: a per-address flood limit applies to them. A request with a valid key is limited by its key alone.
The headers, request ids, safe retries and lists are described in full under Conventions.

API keys by API

Manage keys through the API: list them, create one for a job, change its scopes, limit or expiry, rotate its secret and revoke it. Every route needs a key with the keys scope, which only an organization admin can put on a key, and the key’s creator must still be an organization admin. No key has the scope until you add it. The same can be done on the API Keys page.

Rules

  • Scopes: a key can put on a key only scopes it holds itself. A key that holds a scope the caller lacks can only be disabled or revoked by it, never rotated, re-enabled or changed. Either refusal is a 403 scope_not_held.
  • Environment: a key works inside its own organization and environment. A test key manages the sandbox’s keys, a live key the live ones (environment_mismatch otherwise).
  • Secrets: a key’s secret is in the answer that creates or rotates it, as secret, and nowhere else. To tell keys apart, every key shows key_hint: the prefix and the last four characters.
  • Expiry: expires_at is a timestamp up to five years ahead, or null for none. Keys created before 2026-11-21 do not expire.
  • Rotation: overlap_seconds (0 to 604,800, seven days) keeps the old secret working until the window ends. The default is 0: the old secret stops at once.
  • Last used: last_used_at is kept to the minute.
  • Apps connected with your account are not keys: these routes do not list them, and they have no secret to rotate.
  • Audit: every change is in your audit trail, with the key that made it. At most 30 changes per caller per hour.

Example: create a key, then rotate it with a 24-hour overlap

Request log and usage

Two reads: GET /v1/request_logs lists the calls made with your organization’s keys in the last 30 days, and GET /v1/usage says how much of each key’s daily quota is used. Both take the read scope. The API requests page of the app shows the same data.

What an entry holds

Our request_id, your own client_request_id when you sent an X-Request-ID header, the key, the method, the route as a template (/recommendations/{id}), the status, the error code, the latency and whether the call came over http or mcp. Never a body, a query value or an id from the path. A call made without a valid key is not logged. An entry appears a moment after its answer has left. Filter with request_id, client_request_id, api_key_id, status, outcome, method, and a time range with since and until. Page with limit and cursor.

Example: find a call by your own id

Example: usage