- Python SDK reference — primary / reference implementation
- Node SDK reference — Express parity
What’s in this tab
HTTP contract (underneath)
The control-plane TypeScript route table is the source of truth for HTTP:apps/control-plane/src/api/routes.ts
OpenAPI (docs-site/openapi/control-plane.yaml) is generated from that inventory (57 operations — no invented endpoints). Regenerate with cd docs-site && npm run openapi.
This is not “Node over Python.” The control plane happens to be TypeScript; that does not demote the Python SDK. Language SDKs consume the HTTP API — they do not redefine it.
Base URL (local):
http://127.0.0.1:4100/api
Authentication
Seeded demo keys:
junnu-key-demo, laddu-key-demo, viewer-key-demo.
GET /whoami returns the resolved actor or 401.
Conventions
- JSON request/response bodies (
content-type: application/json). - Errors:
{ "error": "message" }with 4xx status. - Live Record sessions are private to the recorder until save-case.
- Cases, baselines, and runs are project-shared after save.
- Approve requires an actor role listed in project policy (
approveRoles).