Resolve incident
const url = 'https://api.ultimateteam.ai/api/v1/incidents/example/resolve?tenant_id=example';const options = {method: 'POST', 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 POST \ --url 'https://api.ultimateteam.ai/api/v1/incidents/example/resolve?tenant_id=example' \ --header 'X-API-Key: <X-API-Key>'Marks an incident as resolved.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Tenant identifier
Tenant identifier
Responses
Section titled “ Responses ”Successful Response
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
{ "category": "infrastructure", "description": "", "escalated": false, "runbook_executed": false, "severity": "SEV4", "source": "health_check", "status": "detected", "tenant_id": "", "title": ""}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}