Tool
observe_keys_create
Create an ingest credential for one environment: a Bearer OTLP token (kind "ingest") or a public Sentry DSN (kind "dsn").
Create an ingest credential for one environment: a Bearer OTLP token (kind "ingest") or a public Sentry DSN (kind "dsn"). The credential is returned once and cannot be retrieved again.
Behavior
- HTTP
POST /observe/keys
Arguments
Name | Type | Required | Description |
|---|---|---|---|
kind | string | — | ingest (default) issues a Bearer OTLP token; dsn issues a public Sentry key returned as a full DSN |
name | string | — | Optional human label for the key, e.g. "ci" or "backend pods" |
environment | string | • | Environment this key sends telemetry for, e.g. "staging" or "production" |
Response
Field | Type | Always | Description |
|---|---|---|---|
id | string | • | Identifier of the ingest key |
dsn | string | — | The full DSN, for kind "dsn" — shown only here, store it now |
kind | string | • | ingest = Bearer OTLP key; dsn = public Sentry key that ships in client code |
name | string | • | Human label given at creation, or null |
token | string | — | The full ingest token, for kind "ingest" — shown only here, store it now |
prefix | string | • | First characters of the token, shown for recognition |
createdAt | string | • | ISO 8601 creation timestamp |
revokedAt | string | • | ISO 8601 revocation timestamp, or null if active |
environment | string | • | Environment the key writes telemetry for |
Try it
Create an ingest credential for one environment: a Bearer OTLP token (kind "ingest") or a public Sentry DSN (kind "dsn").