Authorization header:
sk_orb_... value appears only once, so store it in a secrets manager immediately.
An AI agent can also get its own key without a dashboard visit. See
Let Your Agent Sign Up.
Scopes
Most integrations should create a key with
search:read and profile:read. A Search or Enrich request with include_profile: false only needs search:read; profile work still occurs, but the response does not embed profile data. Add watchers:write or webhooks:write only for keys that manage watchers or webhooks. Keys from agent signup have search:read and profile:read only.
Key Lifecycle
1
Issue
Create a key with the minimum scopes your integration needs and copy the raw value.
2
Use
Send it as
Authorization: Bearer sk_orb_.... Do not put keys in URLs, client-side code, or logs.3
Rotate
Create a replacement, move callers gradually, and verify its
last_used_at value before retiring the old key.4
Revoke
Revoke the old key in the dashboard. Revocation preserves metadata for audits while immediately rejecting new requests.
Authentication Errors
"status": "failure"; most other errors use "failed". Branch on the HTTP status and error.code, not on status.
Developer keys cannot create, list, revoke, or delete other keys through the public API. Use the dashboard for key management.