pk_live_… and are accepted on every public endpoint — connections, knowledge, runtime, and custom-connector ingest.
Creating an API key
Open the console
Log in at app.adapter.com and go to Settings → API keys.
Create a new key
Click Create API key. Give it a descriptive name (e.g. the service or environment that will use it).
Using a key
Pass the key in theAuthorization header as a bearer token:
Scopes
Keys carry scopes that restrict what they can do. A request without the required scope returns403 insufficient_scopes with details.missing_scopes listing the gaps. See Errors for the full response shape.
If you need finer-grained scopes than the console exposes, contact support.
Rotation
To rotate a key without downtime:- Create a new key in the console.
- Deploy the new key to your services.
- Verify traffic on the old key has stopped.
- Revoke the old key.
Revoking a key
In Settings → API keys, find the key and click Revoke. Revocation is immediate — in-flight requests authenticated with the key complete, but new requests fail with401 authentication_error.
If you suspect a key has leaked, revoke it first and create a new one second.