Add a Grafana annotation for an infrastructure event

POST/api/v1/integrations/grafana/annotations

Parameters

This endpoint does not accept parameters.

Responses

201Annotation created

Request

curl -X POST "https://api.knowledgetree.dev/api/v1/integrations/grafana/annotations" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "dashboard_uid": "abc", "panel_id": 1, "text": "Deploy v2.1.0", "tags": ["deploy"] }'

Response

201Annotation created
Example response not yet documented.