Get retrospective
const url = 'https://api.ultimateteam.ai/api/v1/incidents/example/retrospective?tenant_id=example';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/example/retrospective?tenant_id=example' \ --header 'X-API-Key: <X-API-Key>'Returns post-incident retrospective report.
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
Post-incident retrospective report.
Args: incident_id: The incident this retrospective covers. title: Retrospective title. summary: Executive summary of the incident. timeline: Chronological incident timeline. root_cause: Root cause analysis (template/placeholder). impact: Impact assessment with metrics. what_went_well: List of positive outcomes. what_went_wrong: List of issues encountered. action_items: Follow-up tasks with assignees. generated_at: ISO timestamp of generation.
object
A post-incident action item.
Args: description: What needs to be done. assignee: Who is responsible (None if unassigned). status: Current status (open, in_progress, done). due_date: Target completion date (ISO, None if unset).
Impact assessment for a post-incident review.
Args: tenants_affected: Number of tenants impacted, or None for a platform-wide (“system”) incident that affects all tenants. None is used rather than a fabricated count because an exact active-tenant count requires a tenant repository not available to this generator. duration_seconds: Total incident duration. sla_impact: Whether SLA was breached. error_count: Total errors during the incident.
Chronological timeline of events during an incident.
Args: incident_id: The incident this timeline belongs to. entries: List of timeline entries sorted by timestamp. window_start: Start of the incident window (ISO). window_end: End of the incident window (ISO).
object
A single entry in an incident timeline.
Args: timestamp: ISO timestamp of the event. source: Event source (error_tracker, metrics, health, runbook, escalation). description: Human-readable event description. severity: Severity level of the event. data: Optional additional structured data.
Example
{ "action_items": [ { "description": "", "status": "open" } ], "impact": { "duration_seconds": 0, "error_count": 0, "sla_impact": false, "tenants_affected": 0 }, "incident_id": "", "root_cause": "", "summary": "", "timeline": { "entries": [ { "description": "", "severity": "info", "source": "" } ], "incident_id": "", "window_end": "", "window_start": "" }, "title": ""}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}