curl -X POST "https://api.warrn.io/alerts/" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer warrn_k8sM2vL9xQ7nP4wR..." \
-d '{
"name": "High error rate on checkout-service",
"description": "Error rate exceeded 5% threshold for the past 3 minutes. Affected endpoint: POST /api/checkout",
"severity": "high",
"service_id": "d4e5f6a7-b8c9-0123-4567-89abcdef0123",
"tags": ["checkout", "production", "error-rate"],
"metadata": {
"error_rate": "7.2%",
"threshold": "5%",
"runbook": "https://wiki.internal/runbooks/checkout-errors"
}
}'
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "High error rate on checkout-service",
"description": "Error rate exceeded 5% threshold for the past 3 minutes. Affected endpoint: POST /api/checkout",
"severity": "high",
"status": "open",
"source": "integration",
"service_id": "d4e5f6a7-b8c9-0123-4567-89abcdef0123",
"service_name": "checkout-service",
"team_id": null,
"team_name": null,
"tags": ["checkout", "production", "error-rate"],
"metadata": {
"error_rate": "7.2%",
"threshold": "5%",
"runbook": "https://wiki.internal/runbooks/checkout-errors"
},
"created_at": "2026-05-05T14:30:00.000000+05:30",
"updated_at": "2026-05-05T14:30:00.000000+05:30",
"acknowledged_at": null,
"resolved_at": null,
"alert_alias": null,
"occurrence_count": 1
}
Create a new alert in Warrn.
curl -X POST "https://api.warrn.io/alerts/" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer warrn_k8sM2vL9xQ7nP4wR..." \
-d '{
"name": "High error rate on checkout-service",
"description": "Error rate exceeded 5% threshold for the past 3 minutes. Affected endpoint: POST /api/checkout",
"severity": "high",
"service_id": "d4e5f6a7-b8c9-0123-4567-89abcdef0123",
"tags": ["checkout", "production", "error-rate"],
"metadata": {
"error_rate": "7.2%",
"threshold": "5%",
"runbook": "https://wiki.internal/runbooks/checkout-errors"
}
}'
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "High error rate on checkout-service",
"description": "Error rate exceeded 5% threshold for the past 3 minutes. Affected endpoint: POST /api/checkout",
"severity": "high",
"status": "open",
"source": "integration",
"service_id": "d4e5f6a7-b8c9-0123-4567-89abcdef0123",
"service_name": "checkout-service",
"team_id": null,
"team_name": null,
"tags": ["checkout", "production", "error-rate"],
"metadata": {
"error_rate": "7.2%",
"threshold": "5%",
"runbook": "https://wiki.internal/runbooks/checkout-errors"
},
"created_at": "2026-05-05T14:30:00.000000+05:30",
"updated_at": "2026-05-05T14:30:00.000000+05:30",
"acknowledged_at": null,
"resolved_at": null,
"alert_alias": null,
"occurrence_count": 1
}
Create an alert and route it through Warrn’s triage pipeline.Documentation Index
Fetch the complete documentation index at: https://docs.warrn.io/llms.txt
Use this file to discover all available pages before exploring further.
Bearer warrn_xxx. Requires write permission.low, medium, high, critical.open for new alerts.integration for API-created alerts.curl -X POST "https://api.warrn.io/alerts/" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer warrn_k8sM2vL9xQ7nP4wR..." \
-d '{
"name": "High error rate on checkout-service",
"description": "Error rate exceeded 5% threshold for the past 3 minutes. Affected endpoint: POST /api/checkout",
"severity": "high",
"service_id": "d4e5f6a7-b8c9-0123-4567-89abcdef0123",
"tags": ["checkout", "production", "error-rate"],
"metadata": {
"error_rate": "7.2%",
"threshold": "5%",
"runbook": "https://wiki.internal/runbooks/checkout-errors"
}
}'
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "High error rate on checkout-service",
"description": "Error rate exceeded 5% threshold for the past 3 minutes. Affected endpoint: POST /api/checkout",
"severity": "high",
"status": "open",
"source": "integration",
"service_id": "d4e5f6a7-b8c9-0123-4567-89abcdef0123",
"service_name": "checkout-service",
"team_id": null,
"team_name": null,
"tags": ["checkout", "production", "error-rate"],
"metadata": {
"error_rate": "7.2%",
"threshold": "5%",
"runbook": "https://wiki.internal/runbooks/checkout-errors"
},
"created_at": "2026-05-05T14:30:00.000000+05:30",
"updated_at": "2026-05-05T14:30:00.000000+05:30",
"acknowledged_at": null,
"resolved_at": null,
"alert_alias": null,
"occurrence_count": 1
}