API Reference
Authentication
Every request needs a Sentinel API key in the Authorization header.
Send your API key as a bearer token:
http
Authorization: Bearer sk_live_8f14e45fceea167a5a36dedd4bea2543Authorization: ApiKey sk_live_… works too.
Getting a key
In Sentinel, open Your account → Connected apps → For developers: API keys, then choose a name and an expiry. Sentinel shows the key once, when you create it.
What a key can see
A key acts as the user who created it, with that user's matter access, room permissions and document fences. See Access control.
Failures
| Status | type |
When |
|---|---|---|
401 |
authentication_required |
No key, or an invalid, revoked or expired key, or a browser session instead of a key |
403 |
permission_denied |
The key belongs to a client or external account |
For key management and OAuth sign-in for AI apps, see the Authentication guide.