Skip to content

Resolve incident

POST
/api/v1/incidents/{incident_id}/resolve
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.

incident_id
required
Incident Id
string
tenant_id
required
Tenant Id

Tenant identifier

string

Tenant identifier

Successful Response

Media typeapplication/json
IncidentRecord

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
category
Category
string
default: infrastructure
description
Description
string
""
detected_at
Detected At
string
escalated
Escalated
boolean
incident_id
Incident Id
string
resolved_at
Any of:
string
runbook_executed
Runbook Executed
boolean
severity
Severity
string
default: SEV4
source
Source
string
default: health_check
status
Status
string
default: detected
tenant_id
Tenant Id
string
""
title
Title
string
""
Example
{
"category": "infrastructure",
"description": "",
"escalated": false,
"runbook_executed": false,
"severity": "SEV4",
"source": "health_check",
"status": "detected",
"tenant_id": "",
"title": ""
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}