Add a timeline event to an incident

POST/api/v1/incidents/{id}/timeline

Parameters

This endpoint does not accept parameters.

Responses

201Timeline event added

Request

curl -X POST "https://api.knowledgetree.dev/api/v1/incidents/{id}/timeline" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "type": "action", "description": "Scaled up replica count to 5", "actor": "auto-remediation" }'

Response

201Timeline event added
Example response not yet documented.