v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Incidents

List incident attachments

List incident attachments.

get/api/v2/incidents/{incident_id}/attachments

Path parameters

incident_idstring required

The UUID of the incident.

Query parameters

filter[attachment_type]string
Example:1

Filter attachments by type. Supported values are 1 (postmortem) and 2 (link).

includestring
Example:last_modified_by_user

Resource to include in the response. Supported value: last_modified_by_user.

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "attachment": {
          "documentUrl": "https://app.datadoghq.com/notebook/123/Postmortem-IR-123",
          "title": "Postmortem IR-123"
        },
        "attachment_type": "postmortem",
        "modified": "2025-01-01T01:01:01.000000001Z"
      },
      "id": "00000000-abcd-0002-0000-000000000000",
      "relationships": {
        "incident": {
          "data": {
            "id": "00000000-0000-0000-1234-000000000000",
            "type": "incidents"
          }
        },
        "last_modified_by_user": {
          "data": {
            "id": "00000000-0000-0000-2345-000000000000",
            "type": "users"
          }
        }
      },
      "type": "incident_attachments"
    }
  ],
  "included": [
    {
      "type": "users"
    }
  ]
}