{
  "opencollection": "1.0.0",
  "info": {
    "name": "Keep actions incidents API",
    "version": "0.24.5"
  },
  "items": [
    {
      "info": {
        "name": "incidents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get All Incidents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/incidents",
            "params": [
              {
                "name": "confirmed",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "sorting",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "severity",
                "value": "",
                "type": "query"
              },
              {
                "name": "assignees",
                "value": "",
                "type": "query"
              },
              {
                "name": "sources",
                "value": "",
                "type": "query"
              },
              {
                "name": "affected_services",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get last incidents"
        },
        {
          "info": {
            "name": "Create Incident",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/incidents",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Create new incident"
        },
        {
          "info": {
            "name": "Get Incidents Meta",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/incidents/meta",
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get incidents' metadata for filtering"
        },
        {
          "info": {
            "name": "Get Incident",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/incidents/:incident_id",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get incident by id"
        },
        {
          "info": {
            "name": "Update Incident",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/incidents/:incident_id",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "generatedByAi",
                "value": "",
                "type": "query",
                "description": "Whether the incident update request was generated by AI"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Update incident by id"
        },
        {
          "info": {
            "name": "Delete Incident",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/incidents/:incident_id",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Delete incident by incident id"
        },
        {
          "info": {
            "name": "Merge Incidents",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/incidents/merge",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Merge incidents"
        },
        {
          "info": {
            "name": "Get Incident Alerts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/incidents/:incident_id/alerts",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "include_unlinked",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get incident alerts by incident incident id"
        },
        {
          "info": {
            "name": "Add Alerts To Incident",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/incidents/:incident_id/alerts",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "is_created_by_ai",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Add alerts to incident"
        },
        {
          "info": {
            "name": "Delete Alerts From Incident",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/incidents/:incident_id/alerts",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Delete alerts from incident"
        },
        {
          "info": {
            "name": "Get Future Incidents For An Incident",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/incidents/:incident_id/future_incidents",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get same incidents linked to this one"
        },
        {
          "info": {
            "name": "Get Incident Workflows",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/incidents/:incident_id/workflows",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get incident workflows by incident id"
        },
        {
          "info": {
            "name": "Receive Event",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/incidents/event/:provider_type",
            "params": [
              {
                "name": "provider_type",
                "value": "",
                "type": "path"
              },
              {
                "name": "provider_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Receive an alert event from a provider"
        },
        {
          "info": {
            "name": "Change Incident Status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/incidents/:incident_id/status",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Change incident status"
        },
        {
          "info": {
            "name": "Add Comment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/incidents/:incident_id/comment",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Add incident audit activity"
        },
        {
          "info": {
            "name": "Create With Ai",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/incidents/ai/suggest",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Create incident with AI"
        },
        {
          "info": {
            "name": "Commit With Ai",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/incidents/ai/:suggestion_id/commit",
            "params": [
              {
                "name": "suggestion_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Commit incidents with AI and user feedback"
        },
        {
          "info": {
            "name": "Confirm Incident",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/incidents/:incident_id/confirm",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-KEY",
              "value": "{{X-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Confirm predicted incident by id"
        }
      ]
    }
  ],
  "bundled": true
}