Reference
API Reference
status: queued — a background worker does the actual diagnosis.Health & audit
/healthAgent & queue worker status/audit?org_id=Org-scoped incident audit log/metricsPrometheus metrics (incidents, tool calls, approvals)Webhooks
/webhook/manualManually queue an incident/webhook/alertmanagerPrometheus Alertmanager alerts/webhook/githubGitHub Actions failures + PR code review/webhook/gitlabGitLab MRs — X-Gitlab-Token = WEBHOOK_SECRET/webhook/bitbucketBitbucket PRs + Bamboo Specs fix PRsCode review is dry-run by default. Set CODE_REVIEW_AUTO_POST=true to post on the PR/MR. Reviews never merge; approve only if explicitly enabled. Critical findings request changes and Slack-alert.
$ 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)
/orgs/{org}/configStore org-owned API keys/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
/orgs/{org}/docsUpload runbooks & policies/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 |