Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

Cancel usage

Take a reading back before its month is billed.

POST/v1/telemetry_events/{id}/cancel

Take a reading back before its month is billed.

Endpoint

http
POST /v1/telemetry_events/{id}/cancel

Path parameters

NameTypeDescription
idstringThe telemetry event's ID, uev_....

Example request

bash
curl -X POST https://api.sovgate.com/v1/telemetry_events/uev_ea13ec2163a908c495853f4b/cancel \  -H "Authorization: Bearer sov_sk_test_your_key" \  -H "Idempotency-Key: c7bca092-4b2a-4c1d-9e3f-7c18db314fd7"

Example response

json
{  "id": "uev_ea13ec2163a908c495853f4b",  "object": "telemetry_event",  "livemode": false,  "identifier": "req_7f3a-0042",  "event_name": "llm_input_tokens",  "payload": {    "customer": "cust_13ed3f69adfcfcb6289a5491",    "tokens": "1200"  },  "telemetry": "tlm_b05e39ad8f80e03f25cf2d2a",  "customer": "cust_13ed3f69adfcfcb6289a5491",  "timestamp": "2026-11-27T08:59:58Z",  "source": "api",  "status": "canceled",  "error": null,  "created": "2026-11-27T09:00:01Z"}