Go API routes
Status: Generated from routes.Setup; regenerate with make docs-generate.
Every route the backup API registers. docs/API_REFERENCE.md documents each one, and the test fails when one is missing there.
| Method | Path |
|---|---|
| GET | /api/agents |
| DELETE | /api/agents/:id |
| POST | /api/agents/link/approve |
| POST | /api/agents/link/lookup |
| GET | /api/alerts/channels |
| POST | /api/alerts/channels |
| DELETE | /api/alerts/channels/:id |
| GET | /api/alerts/channels/:id |
| PATCH | /api/alerts/channels/:id |
| POST | /api/alerts/channels/:id/test |
| GET | /api/alerts/deliveries |
| GET | /api/alerts/rules |
| POST | /api/alerts/rules |
| DELETE | /api/alerts/rules/:id |
| GET | /api/alerts/rules/:id |
| PATCH | /api/alerts/rules/:id |
| GET | /api/analytics/:id |
| GET | /api/analytics/history |
| GET | /api/analytics/latest |
| GET | /api/analytics/run/:id |
| GET | /api/backup-fixes |
| GET | /api/backup-fixes/:id |
| GET | /api/backup-runs/:id/fixes |
| GET | /api/backups |
| GET | /api/backups/:id |
| GET | /api/backups/latest |
| POST | /api/billing/checkout |
| GET | /api/billing/invoices |
| GET | /api/billing/invoices/:id |
| GET | /api/billing/refund |
| POST | /api/billing/refund |
| GET | /api/billing/subscription |
| POST | /api/billing/subscription/cancel |
| GET | /api/dashboard/stats |
| POST | /api/fixes |
| PATCH | /api/fixes/:id |
| GET | /api/internal/accounts/:id |
| POST | /api/internal/accounts/github |
| POST | /api/internal/tokens/resolve |
| GET | /api/logs |
| GET | /api/logs/stream |
| DELETE | /api/me |
| GET | /api/me |
| GET | /api/me/export |
| GET | /api/me/research |
| PUT | /api/me/research |
| GET | /api/metrics |
| GET | /api/repos |
| GET | /api/repos/:owner/:name/archive |
| POST | /api/requests |
| GET | /api/runs/export |
| GET | /api/tokens |
| POST | /api/tokens |
| DELETE | /api/tokens/:id |
| GET | /health |
| GET | /healthz |
| GET | /metrics |
| GET | /public/billing/plans |
| POST | /public/waitlist |
| GET | /ready |
| GET | /readyz |
| POST | /v1/agent/link |
| POST | /v1/agent/link/token |
| POST | /v1/requests/claim |
| POST | /v1/requests/fail-interrupted |
| POST | /v1/requests/finish |
| POST | /v1/runs |
| POST | /v1/runs/:id/complete |
| POST | /v1/runs/:id/heartbeat |
| POST | /v1/runs/:id/logs |
| POST | /v1/runs/:id/progress |
| POST | /v1/runs/:id/research |
| POST | /v1/runs/:id/results |
| POST | /v1/runs/:id/snapshot |
| GET | /v1/schedule |
| POST | /webhooks/:provider |
| GET | /ws/live |