Authentication
Project API keys, the Authorization header, and the scope each endpoint needs.
Every endpoint authenticates with a project API key, sent as a bearer token:
Authorization: Bearer rtl_...API keys
Create a key in your project's Settings > API keys.
- Format:
rtl_followed by 32 random characters. An ingest-only key starts withrtl_pub_. - Storage: the Platform keeps only the SHA-256 hash of the key, and a short prefix for display.
- Expiry: optional. A key without an expiry date never expires.
- Revocation: a revoked key stops working at once.
The prefix is a label for people and secret scanners. The key's scopes decide what it may do, never its prefix.
Project binding
A key belongs to one project. Every endpoint acts on that project only.
An ID from another project answers 404, the same as an ID that does not exist.
Access levels
Pick an access level when you create the key:
| Level | Scopes | Use |
|---|---|---|
| Full access | All scopes, present and future | Server side only. Keep it secret. |
| Read-only | catalog:read, skills:read, runtime_catalog:read, jobs:read, intent_graph:read, mcp:read | Reads. Changes nothing. Keep it secret. |
| Ingest only | ingest:traces, ingest:logs, ingest:events | Sends telemetry, reads nothing. Safe to ship inside an app. |
| Custom | Any non-empty list | Pick each scope yourself. |
Read-only leaves out content:read, embeddings and tool_picker. Embeddings and Tool Picker calls spend credit.
Scopes
| Scope | Allows | Endpoints |
|---|---|---|
ingest:traces | Send OTLP spans | POST /v1/traces |
ingest:logs | Send OTLP log records | POST /v1/logs |
ingest:events | Send runtime events | POST /api/v1/events |
catalog:read | Read the published skill catalog | GET /v1/catalog, GET /v2/catalog |
catalog:write | Sync a runtime's tool catalog | PUT /api/v1/catalog/snapshot |
skills:read | Read skills | GET /api/v1/skills, GET /api/v1/skills/:id |
skills:write | Create, edit, import, publish and archive skills | POST /api/v1/skills, PATCH /api/v1/skills/:id, POST /api/v1/skills/import, POST /api/v1/skills/:id/publish, POST /api/v1/skills/:id/archive |
runtime_catalog:read | Read runtime catalog overrides | GET /v1/runtime-catalog/overrides |
jobs:read | Read job status | GET /api/v1/jobs/:id |
intent_graph:read | Read an intent graph | GET /v1/intent-graph |
intent_graph:write | Save an intent graph | PUT /v1/intent-graph |
embeddings | Embed text. Spends Embeddings credit. | POST /v1/embeddings |
tool_picker | Pick tools. Spends Tool Picker credit. | POST /v1/tools/pick, POST /v1/pick |
mcp:read | MCP tools that read the project | POST /api/mcp |
mcp:write | MCP tools that change the project | POST /api/mcp |
content:read | Captured asks, answers and tool payloads over MCP | POST /api/mcp |
Each endpoint except MCP needs exactly one scope. See MCP server for how MCP tools use the last three.
401 or 403
| Status | Cause | Fix |
|---|---|---|
401 | No Authorization: Bearer header, or the key is unknown, revoked or expired. | Send a valid key. |
403 | The key is valid but does not have the scope this endpoint needs. | Use a key with that scope. Do not re-authenticate. |
Most endpoints answer a missing scope like this:
{
"error": "forbidden",
"reason": "missing_scope",
"scope": "skills:write",
"message": "This API key does not have the \"skills:write\" permission (change skills). Use a key that has it, or create one in project Settings > API keys."
}The catalog, Embeddings and Tool Picker endpoints use their own envelopes. See Errors.
Ingest-only key limits
An ingest-only key ships inside an app, so every install shares it. It gets two shared budgets on traces, logs and events together:
- Per key: 6,000 requests a minute by default.
- Per source address: 120 requests a minute by default.
Each budget also counts items (spans, log records, events) at ten times the request budget. Over a budget, the endpoint answers 429 with Retry-After.
An ingest-only key only adds data. Its log records do not change the project's runtime catalog definitions.