Hanzo
OpenapiO11y

Mints an ingestion key for the workspace, answering with the created key.

Mints an ingestion key for the workspace, answering with the created key.

POST /v1/o11y/gateway/ingestion_keys

Addresshttps://api.hanzo.ai/v1/o11y/gateway/ingestion_keys
MethodPOST
OperationCreateIngestionKey
AuthAuthorization: Bearer $HANZO_API_KEY

Mints an ingestion key for the workspace, answering with the created key. Editor gate.

Request

3 fields, body application/json (required).

FieldInTypeRequiredDescription
expires_atbodystring (date-time)
namebodystring
tagsbodystring[]

Response

StatusBodyMeaning
201o11y.O11yCreatedIngestionKeyOutcreated

201 body — 4 fields.

FieldInTypeAlwaysDescription
databodyo11y.GettableCreatedIngestionKey
data.idbodystring
data.valuebodystring
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y gateway ingestion_keys create

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page