127.0.0.1.You hit the root. This page is informational only — the API endpoints
below require the X-Sidecar-Token header.
| Method | Path | Purpose |
|---|---|---|
| GET | /healthz | liveness + active runs |
| POST | /agent/run | project-mode agent run |
| POST | /agent/edit | single-file edit (no Bash tool) |
| GET | /agent/{run_id}/events | SSE stream |
| POST | /agent/{run_id}/kill | abort a run |
| POST | /embeddings | Anthropic / OpenAI embeddings |
| POST | /analyze/code | static analysis |
| POST | /format/html | format + sanitize |
Quick check from a terminal:
curl -H "X-Sidecar-Token: $env:SIDECAR_INTERNAL_TOKEN" http://127.0.0.1:8001/healthz