Skip to content

Search API reference

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

Archive a usage alert

Stop an alert for good.

POST/v1/usage_alerts/{id}/archive

Stop an alert for good.

Endpoint

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

Path parameters

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

Example request

bash
curl -X POST https://api.sovgate.com/v1/usage_alerts/alrt_833020e1d42270c789faabed/archive \  -H "Authorization: Bearer sov_sk_test_your_key" \  -H "Idempotency-Key: f6db7c03-4b2a-4c1d-9e3f-0a66be732a20"

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": "archived",  "created": "2026-11-27T09:00:00Z"}