Create tracing key
create_ingest_keyCreate an ingest-scoped key bound to one monitor so automation can send traces, metrics, logs and pings for that monitor, with no REST access.
Instructions
Requires the write scope or higher. Creates a tracing key: an ingest-scoped key bound to one monitor, able to send traces, metrics, logs and pings for it and nothing else; every REST call refuses it. For automation that stores the key itself (a CI secret, a deployment's secret store). The plaintext key appears only in this result, which puts it in the conversation; the console's Create a tracing key keeps it out of chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional label for the key. Defaults to "Tracing:" followed by the monitor's name. | |
| expires_at | No | Optional RFC 3339 expiry, e.g. "2026-12-31T00:00:00Z". Omitted: 90 days. Either way it is capped at the creating key's own expiry. | |
| monitor_id | Yes | Monitor UUID the key is bound to (from create_monitor or list_monitors). |