Ratel Docs
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:

PresetCanWhere to use it
Full accessEverything, now and later.Your servers only.
Read-onlyRead the catalog, skills, jobs and the intent graph.Your servers only.
Ingest onlySend traces, logs and events. Reads nothing.Anywhere, also inside an app.
CustomThe 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

On this page