Reference
API Reference
REST endpoints exposed by the webhook/API server, plus the tool surface available over MCP. All incident-queueing endpoints return immediately with
status: queued — a background worker does the actual diagnosis.Health & audit
GET
/healthAgent & queue worker statusGET
/audit?org_id=Org-scoped incident audit logGET
/metricsPrometheus metrics (incidents, tool calls, approvals)Webhooks
POST
/webhook/manualManually queue an incidentPOST
/webhook/alertmanagerPrometheus Alertmanager alertsPOST
/webhook/githubGitHub Actions workflow failures$ curl -X POST http://localhost:8000/webhook/manual \
-H "Content-Type: application/json" -H "X-Org-ID: acme-corp" \
-d '{ "type": "k8s", "namespace": "default", "pod": "myapp-pod", "description": "CrashLoopBackOff test" }'
→ { "status": "queued", "incident_id": "INC-2026-004" }
Org config (BYOK)
PUT
/orgs/{org}/configStore org-owned API keysGET
/orgs/{org}/config/statusWhich credentials are configured (values never returned)$ curl -X PUT http://localhost:8000/orgs/acme-corp/config \
-H "Content-Type: application/json" \
-d '{ "credentials": { "ANTHROPIC_API_KEY": "sk-ant-...", "SLACK_WEBHOOK_URL": "https://hooks.slack.com/...", "GITHUB_TOKEN": "ghp_..." } }'
Org documentation
POST
/orgs/{org}/docsUpload runbooks & policiesGET
/orgs/{org}/docsList org documentationMCP tools (32 total)
DevOps action tools (get_k8s_context, run_kubectl, get_github_logs, sync_argocd_app, helm_rollback, get_cloud_resource) mirror the built-in agent's capabilities. Platform tools manage the multi-tenant layer:
| configure_org_credentials | Store org keys for shared webhook/API deployments |
| get_org_config_status | Check which keys are set (values never returned) |
| enqueue_incident | Queue an incident for the background worker |
| diagnose_incident | Run the full Claude agent loop with the org's Anthropic key |
| get_incident_audit | Fetch org-scoped audit history |
| list_org_docs / get_org_doc | Read runbooks and policies |