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 令牌 (prefixed-api-key) · header必填application/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_atstring必填RFC 3339.
created_bystring必填Subject of the OAuth token that created the key.
idstring必填Public key id: the middle part of sigiro_<id>_<secret>.
last_used_atstring | nullRFC 3339; updated at most once a minute per key.
namestring必填revoked_atstring | nullRFC 3339; set once the key is revoked.
keystring必填The 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