Incidents
Get an AI-generated incident postmortem
Generate an AI postmortem for an incident.
post/api/v2/incidents/{incident_id}/ai/postmortem
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/tokenScopesincident_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
incident_idstring required
The UUID of the incident.
Response
OK
Example response
{
"data": {
"attributes": {
"action_items": "1. Improve failover testing. 2. Add more monitoring alerts.",
"customer_impact": "5% of users experienced timeouts for 30 minutes.",
"executive_summary": "A database failover caused a 30-minute service outage affecting 5% of users.",
"key_timeline": "10:00 - Alert fired. 10:05 - On-call engineer paged. 10:30 - Issue resolved.",
"lessons_learned": "We need to test the failover process under realistic load conditions.",
"system_overview": "The primary database cluster experienced a failover event."
},
"id": "00000000-0000-0000-0000-000000000000",
"type": "get_incident_ai_postmortem_response"
}
}Changes
Changes to this operation have not been checked yet.