Skip to content

Search API reference

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

Deactivate a usage alert

Stop checking it. Usage meanwhile isn't caught up later.

POST/v1/usage_alerts/{id}/deactivate

Stop checking it. Usage meanwhile isn't caught up later.

Endpoint

http
POST /v1/usage_alerts/{id}/deactivate

Path parameters

NameTypeDescription
idstringThe alert's ID, alrt_....

Example request

bash
curl -X POST https://api.sovgate.com/v1/usage_alerts/alrt_833020e1d42270c789faabed/deactivate \  -H "Authorization: Bearer sov_sk_test_your_key" \  -H "Idempotency-Key: 3402df92-4b2a-4c1d-9e3f-ddb502f49466"

Example response

json
{  "id": "alrt_833020e1d42270c789faabed",  "object": "usage_alert",  "livemode": false,  "title": "Over 500M tokens in a month",  "telemetry": "tlm_b05e39ad8f80e03f25cf2d2a",  "threshold": "500000000",  "customer": null,  "recurrence": "monthly",  "status": "inactive",  "created": "2026-11-27T09:00:00Z"}