Skip to main content

Usage

Daily counters per org: events, holds, alerts, collapses, API calls.

MethodPathScopeSummary
GET/usagereadGet Usage

Try it

curl -sf -H "Authorization: Bearer $VIGIL_KEY" "$VIGIL_URL/usage?days=7"

Routes

GET /usage

Get Usage. Scope: read.

Daily counters for the key's org, newest first, covering the last days UTC days (today included).

ParameterInRequiredTypeNotes
daysquerynointeger

Response 200:

[
{
"org_id": 0,
"day": "string",
"events": 0,
"holds": 0,
"alerts": 0,
"collapses": 0,
"api_calls": 0
}
]

Generated from openapi.json (VIGIL 0.2.0). Scopes follow the router dependencies in VIGIL_SPEC.md section 4.2.