Inspect
Query the API server to explore stored conversations. The legacy /dag/* routes were retired in favor of session-oriented /v1/* endpoints.
GET
/ping Health check endpoint GET
/v1/stats Session count, turn count, and root count (supports filters) GET
/v1/sessions Paginated list of sessions with lean head fields GET
/v1/sessions/summary Paginated list with per-session aggregates (depth, cost, status) GET
/v1/sessions/:hash Full session chain ending at hash (supports ?depth=N) GET
/v1/search Semantic search across stored sessions (requires vector storage) ALL
/v1/mcp MCP server for agent integration (requires vector storage) OpenAPI Spec
The API server ships its own generated reference. With tapes serve running:
GET
/swagger Interactive Scalar UI rendered from the OpenAPI spec GET
/swagger/doc.json OpenAPI 3 spec (JSON) — feed it to your client codegen of choice API server runs on port 8081 by default when using tapes serve. Open http://localhost:8081/swagger in a browser for the live reference. For MCP endpoint details, see MCP API Reference.