Create an ingest key
Create a fixed key for a long-running service. Send it as Authorization: Bearer <key> (for example OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer <key>"). It sends telemetry to this workspace and cannot read anything. The response is the only time the key is shown: only its hash is stored.
/v1/ingest-keysAuthorizationBearer token (prefixed-api-key) · headerrequiredapplication/jsonnamestring | nullA label to tell keys apart, such as the service that uses it. 1 to 64 characters; defaults to "ingest key".
The new key, shown once
created_atstringrequiredRFC 3339.
created_bystringrequiredSubject of the OAuth token that created the key.
idstringrequiredPublic key id: the middle part of sigiro_<id>_<secret>.
last_used_atstring | nullRFC 3339; updated at most once a minute per key.
namestringrequiredrevoked_atstring | nullRFC 3339; set once the key is revoked.
keystringrequiredThe full key. Shown once; only its hash is stored.
Invalid name, or the workspace already has 50 active keys
Missing or invalid bearer token
Not a user's own OAuth access token