Agent
Cancel agent run
Cancels a running agent. Only the user who created the run (in the same organization) can cancel it. Returns 409 if the run is not currently running.
post/api/agent/runs/{runId}/cancel
Path parameters
runIdstring required
Agent run ID (base64 URL-safe 32-byte token)
Headers
X-Grafana-Org-Idstring
Grafana organization ID for multi-tenant isolation. Defaults to '1' if not provided.
Response
Run cancelled successfully