API overview
REST, Sentry-compatible ingestion, MCP and the OpenAPI document.
ErrorDX exposes one REST API (/api/v1) plus three surface flavors of it:
- Sentry-compatible ingestion at
/api/:projectId/store/and/api/:projectId/envelope/(also/api/0/forsentry-cli). - MCP at
POST /mcp(streamable HTTP, 21 tools) for agent clients. - OpenAPI 3.1 at
/openapi.json(public) and/api/v1/openapi.json(authenticated) for generated clients.
The errordx CLI wraps the same REST API — see Agents & CLI.
Base URL
http://localhost:8080Health checks
GET /_healthreturns{ status: "ok" }GET /_health/readychecks the SQLite storeGET /metricsexposes Prometheus metrics
Authentication
- Browser sessions via Better Auth under
/api/auth/*(see Authentication). - API tokens (
edx_…) and agent keys (ak_…) asAuthorization: Bearerheaders.