Create a new incident

POST/api/v1/incidents

Parameters

This endpoint does not accept parameters.

Responses

201Incident created

Request

curl -X POST "https://api.knowledgetree.dev/api/v1/incidents" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "title": "API Gateway 5xx errors", "severity": "critical", "description": "...", "affected_resources": ["res_abc"] }'

Response

201Incident created
Example response not yet documented.