List recent incidents
const url = 'https://api.ultimateteam.ai/api/v1/incidents?tenant_id=example&limit=20&offset=0';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.ultimateteam.ai/api/v1/incidents?tenant_id=example&limit=20&offset=0' \ --header 'X-API-Key: <X-API-Key>'Returns paginated list of recent incidents.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”Tenant identifier
Tenant identifier
Maximum incidents to return
Maximum incidents to return
Number of incidents to skip
Number of incidents to skip
Responses
Section titled “ Responses ”Successful Response
Response for incident list endpoint.
object
A classified incident record.
Args: incident_id: Unique incident identifier. tenant_id: Tenant where the incident occurred. severity: Severity level (SEV1, SEV2, SEV3, SEV4). category: Incident category (infrastructure, agent, billing, security, integration). title: Short incident title. description: Detailed incident description. source: Detection source (health_check, error_spike, latency_anomaly, tenant_complaint). status: Current status (detected, investigating, mitigating, resolved). detected_at: ISO timestamp when the incident was detected. resolved_at: ISO timestamp when resolved (None if ongoing). runbook_executed: Whether a runbook was executed. escalated: Whether the incident was escalated.
object
Example
{ "incidents": [ { "category": "infrastructure", "description": "", "escalated": false, "runbook_executed": false, "severity": "SEV4", "source": "health_check", "status": "detected", "tenant_id": "", "title": "" } ], "total": 0}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}