ErrorDX

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/ for sentry-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:8080

Health checks

  • GET /_health returns { status: "ok" }
  • GET /_health/ready checks the SQLite store
  • GET /metrics exposes Prometheus metrics

Authentication

  • Browser sessions via Better Auth under /api/auth/* (see Authentication).
  • API tokens (edx_…) and agent keys (ak_…) as Authorization: Bearer headers.

On this page