Base URL
/v1:
Get an API key
Sign in to the dashboard
Go to loom.getmetacognition.com and sign in
to your workspace.
Authenticate a request
Send your key as a bearer token on every request:Tokens vs. API keys
Loom accepts two credential types — both asAuthorization: Bearer <…>:
API keys
Long-lived, created in the dashboard. Best for servers and agents. Each key is
bound to a workspace (
org_id).Session tokens (JWT)
Short-lived, issued by signup/login. Best for
interactive apps. Expire after the workspace’s configured TTL.
Scoping
Every credential resolves to a workspace (org_id). Per-user operations (like
user memory) also need a user_id — taken from the session
token, or sent as the X-User-Id header alongside an API key.
Errors
| Status | Meaning |
|---|---|
401 | Missing, invalid, or expired credential |
403 | Authenticated, but not allowed (e.g. another user’s data, or a founder-only route) |
429 | Rate limit exceeded — back off and retry |
Make your first call
A five-minute walkthrough from key to recall.