{ "opencollection": "1.0.0", "info": { "name": "Datadog Account Incident API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "items": [ { "info": { "name": "Incident", "type": "folder" }, "items": [ { "info": { "name": "Datadog Send an Incident Event for Dora Metrics", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/dora/incident", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Use this API endpoint to provide failure data for DORA metrics.\n\nThis is necessary for:\n- Change Failure Rate\n- Time to Restore" }, { "info": { "name": "Datadog Create an Incident", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/incidents", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Create an incident." }, { "info": { "name": "Datadog Get a List of Incident Types", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/incidents/config/types", "params": [ { "name": "include_deleted", "value": "", "type": "query", "description": "Include deleted incident types in the response." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get all incident types." }, { "info": { "name": "Datadog Create an Incident Type", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/incidents/config/types", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Create an incident type." }, { "info": { "name": "Datadog Get Incident Type Details", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/incidents/config/types/:incident_type_id", "params": [ { "name": "incident_type_id", "value": "", "type": "path", "description": "The UUID of the incident type." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get incident type details." }, { "info": { "name": "Datadog Update an Incident Type", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/incidents/config/types/:incident_type_id", "params": [ { "name": "incident_type_id", "value": "", "type": "path", "description": "The UUID of the incident type." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update an incident type." }, { "info": { "name": "Datadog Delete an Incident Type", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/incidents/config/types/:incident_type_id", "params": [ { "name": "incident_type_id", "value": "", "type": "path", "description": "The UUID of the incident type." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Delete an incident type." }, { "info": { "name": "Datadog Get the Details of an Incident", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." }, { "name": "include", "value": "", "type": "query", "description": "Specifies which types of related objects should be included in the response." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get the details of an incident by `incident_id`." }, { "info": { "name": "Datadog Update an Existing Incident", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." }, { "name": "include", "value": "", "type": "query", "description": "Specifies which types of related objects should be included in the response." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Updates an incident. Provide only the attributes that should be updated as this request is a partial update." }, { "info": { "name": "Datadog Delete an Existing Incident", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Deletes an existing incident from the users organization." }, { "info": { "name": "Datadog Create, Update, and Delete Incident Attachments", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/attachments", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." }, { "name": "include", "value": "", "type": "query", "description": "Specifies which types of related objects are included in the response." } ], "body": { "type": "json", "data": "{}" } }, "docs": "The bulk update endpoint for creating, updating, and deleting attachments for a given incident." }, { "info": { "name": "Datadog Create an Incident Integration Metadata", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/integrations", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Create an incident integration metadata." }, { "info": { "name": "Datadog Get Incident Integration Metadata Details", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/integrations/:integration_metadata_id", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." }, { "name": "integration_metadata_id", "value": "", "type": "path", "description": "The UUID of the incident integration metadata." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get incident integration metadata details." }, { "info": { "name": "Datadog Update an Existing Incident Integration Metadata", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/integrations/:integration_metadata_id", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." }, { "name": "integration_metadata_id", "value": "", "type": "path", "description": "The UUID of the incident integration metadata." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update an existing incident integration metadata." }, { "info": { "name": "Datadog Delete an Incident Integration Metadata", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/integrations/:integration_metadata_id", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." }, { "name": "integration_metadata_id", "value": "", "type": "path", "description": "The UUID of the incident integration metadata." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Delete an incident integration metadata." }, { "info": { "name": "Datadog Create an Incident Todo", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/todos", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Create an incident todo." }, { "info": { "name": "Datadog Get Incident Todo Details", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/todos/:todo_id", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." }, { "name": "todo_id", "value": "", "type": "path", "description": "The UUID of the incident todo." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get incident todo details." }, { "info": { "name": "Datadog Update an Incident Todo", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/todos/:todo_id", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." }, { "name": "todo_id", "value": "", "type": "path", "description": "The UUID of the incident todo." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update an incident todo." }, { "info": { "name": "Datadog Delete an Incident Todo", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/todos/:todo_id", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." }, { "name": "todo_id", "value": "", "type": "path", "description": "The UUID of the incident todo." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Delete an incident todo." }, { "info": { "name": "Datadog Get a List of All Incident Services", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/services", "params": [ { "name": "include", "value": "", "type": "query", "description": "Specifies which types of related objects should be included in the response." }, { "name": "page[size]", "value": "", "type": "query", "description": "Size for a given page. The maximum allowed value is 100." }, { "name": "page[offset]", "value": "", "type": "query", "description": "Specific offset to use as the beginning of the returned page." }, { "name": "filter", "value": "", "type": "query", "description": "A search query that filters services by name." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get all incident services uploaded for the requesting user's organization. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident services." }, { "info": { "name": "Datadog Create a New Incident Service", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/services", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Creates a new incident service." }, { "info": { "name": "Datadog Get Details of an Incident Service", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/services/:service_id", "params": [ { "name": "service_id", "value": "", "type": "path", "description": "The ID of the incident service." }, { "name": "include", "value": "", "type": "query", "description": "Specifies which types of related objects should be included in the response." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get details of an incident service. If the `include[users]` query parameter is provided,\nthe included attribute will contain the users related to these incident services." }, { "info": { "name": "Datadog Update an Existing Incident Service", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/services/:service_id", "params": [ { "name": "service_id", "value": "", "type": "path", "description": "The ID of the incident service." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Updates an existing incident service. Only provide the attributes which should be updated as this request is a partial update." }, { "info": { "name": "Datadog Delete an Existing Incident Service", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/services/:service_id", "params": [ { "name": "service_id", "value": "", "type": "path", "description": "The ID of the incident service." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Deletes an existing incident service." }, { "info": { "name": "Datadog Get a List of All Incident Teams", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/teams", "params": [ { "name": "include", "value": "", "type": "query", "description": "Specifies which types of related objects should be included in the response." }, { "name": "page[size]", "value": "", "type": "query", "description": "Size for a given page. The maximum allowed value is 100." }, { "name": "page[offset]", "value": "", "type": "query", "description": "Specific offset to use as the beginning of the returned page." }, { "name": "filter", "value": "", "type": "query", "description": "A search query that filters teams by name." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get all incident teams for the requesting user's organization. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident teams." }, { "info": { "name": "Datadog Create a New Incident Team", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/teams", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Creates a new incident team." }, { "info": { "name": "Datadog Get Details of an Incident Team", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/teams/:team_id", "params": [ { "name": "team_id", "value": "", "type": "path", "description": "The ID of the incident team." }, { "name": "include", "value": "", "type": "query", "description": "Specifies which types of related objects should be included in the response." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get details of an incident team. If the `include[users]` query parameter is provided,\nthe included attribute will contain the users related to these incident teams." }, { "info": { "name": "Datadog Update an Existing Incident Team", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/teams/:team_id", "params": [ { "name": "team_id", "value": "", "type": "path", "description": "The ID of the incident team." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Updates an existing incident team. Only provide the attributes which should be updated as this request is a partial update." }, { "info": { "name": "Datadog Delete an Existing Incident Team", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/teams/:team_id", "params": [ { "name": "team_id", "value": "", "type": "path", "description": "The ID of the incident team." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Deletes an existing incident team." } ] } ], "bundled": true }