Concepts
API keys and scopes
Every key belongs to one project and carries scopes. Only ingest-only keys are safe in a client app.
An API key lets code reach one project. Its scopes decide what it may do.
Presets
Create a key in Settings > API keys and pick one:
| Preset | Can | Where to use it |
|---|---|---|
| Full access | Everything, now and later. | Your servers only. |
| Read-only | Read the catalog, skills, jobs and the intent graph. | Your servers only. |
| Ingest only | Send traces, logs and events. Reads nothing. | Anywhere, also inside an app. |
| Custom | The scopes you pick. | Safe in an app only when every scope sends data. |
Which key is safe in an app
Only ingest-only keys. They start with rtl_pub_. A desktop, mobile or browser app can leak its key, and an ingest-only key can only send data.
Every other key starts with rtl_. Keep it on servers you control.
Errors
- 401: the key is missing, wrong, revoked or expired.
- 403: the key is valid but lacks the scope the endpoint needs. Create a key with that scope.
Where this shows up
- Authentication: every scope and the endpoint it opens.
- Quickstart: your first key.
- MCP server:
mcp:read,mcp:writeandcontent:read. - Embeddings and Tool Picker: keys that spend credit.