Usage
Daily counters per org: events, holds, alerts, collapses, API calls.
| Method | Path | Scope | Summary |
|---|---|---|---|
GET | /usage | read | Get 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).
| Parameter | In | Required | Type | Notes |
|---|---|---|---|---|
days | query | no | integer |
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.