API referenceLogs, drains and alerts
Alerts summary
Open alerts by severity, when the last one fired, and how many rules, destinations and webhook endpoints the workspace has.
Authorization
bearer AuthorizationBearer <token>
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/alerts/summary"{ "object": "alerts_summary", "open": 0, "by_severity": { "info": 0, "warning": 0, "critical": 0 }, "last_triggered_at": "2019-08-24T14:15:22Z", "rules": 0, "destinations": 0, "webhook_endpoints": 0}Update an alert rule PUT
Change any field; fields you leave out keep their value. Changing what the rule measures resolves its open alerts.
Create a log drain POST
Send the live log to an HTTPS webhook (HMAC-signed), Axiom, Datadog, or S3, GCS or R2 as NDJSON. Credentials are stored encrypted in the vault and are write-only. Webhook drains return their signing secret once.