api package (packages/api/src), an Express application composed by application.ts and mounted route-by-route under packages/api/src/routes/.
Implementation vs. specification. The monorepo also ships
openapi/openapi.yaml, a broader OpenAPI 3.1 specification that additionally describes Overrides, Trust Chain, and Policies discovery tags with more endpoints than currently exist under packages/api/src/routes/. This page documents only endpoints with a real route handler in the codebase today. Treat the OpenAPI file as the target specification, not as confirmation that every endpoint it describes is implemented yet.Base URL
Locally, after runningnpm run dev from the monorepo root:
Implemented endpoints
| Method | Path | Purpose |
|---|---|---|
GET | /health | Service health check |
GET | /version | Service version |
GET | /transactions | List Business Transactions |
GET | /transactions/:id | Get a Business Transaction |
POST | /execute | Execute a Business Transaction |
POST | /verify | Verify an Execution Trust Record |
GET | /verification/:id | Get the latest Verification |
POST | /replay | Replay a Business Transaction |
POST | /receipt | Generate a Receipt |
GET | /receipt/latest/:id | Get the latest Receipt |
GET | /trust-records/:id | Get an Execution Trust Record |
POST | /policies/validate | Validate a policy |