[AVAILABLE] — every route below is mounted in
packages/api/src/app.ts. No other routes exist.Base URL
Local:http://localhost:3000 (see Quickstart for starting the server).
Errors
Non-2xx responses are{ "error": string }, sometimes with a code field, per
packages/api/src/middleware/error-handler.ts:
| Status | When |
|---|---|
| 400 | BusinessTransactionValidationError, PolicyValidationError, SignalValidationError |
| 404 | PolicyNotFoundError |
| 409 | DuplicateBusinessTransactionError |
| (varies) | Any other RuntimeError — status/code from the error itself |
| 500 | Unexpected failure (logged via console.error, not a structured logger — see Roadmap) |
ValidationError/NotFoundError/ConflictError/ServerError/etc.) — see
Python SDK. The TypeScript SDK does not — see
TypeScript SDK.