Prompt Orchestra Documentation
These docs describe the current public Prompt Orchestra surface, not every handler implemented in saas-ai-api.
Public surface at a glance
stable: stateless agent runtime -GET /api/agents/:id,POST /api/agents/:id/run,GET /api/agent-runs/:id,POST /api/agent-runs/:id/load-inputs,POST /api/agent-runs/:id/rerun-from-stepstable:POST /api/setup/verifypublic beta: stateless agent authoring and iteration -GET /api/agents,POST /api/agents,PATCH /api/agents/:id,POST /api/agents/:id/versions,POST /api/agents/:id/publish,PUT /api/agent-versions/:id/workflow,POST /api/agent-versions/:id/workflow/validate,GET /api/agent-runs/compare,GET /api/agents/:id/versions/:versionId/diff,POST /api/agents/:id/versions/:versionId/rollbackpublic beta: skills, tools, and evaluationspublic beta: stateless skill preview/diff and tool diff helpersnon-public:/api/runs*, costs, sessions, realtime/voice, low-level agent mutation helpers outside the allowlist, key-management/admin routes, and legacy routes
See Public Boundary before relying on any route family that is not called out explicitly above.
Who this is for
- Developers integrating the HTTP API or TypeScript SDK (
@prompt-mv/orchestration) - Product and ops teams who need honest run, validation, and diagnostic docs for the released surface
- Teams who want the supported public contract, not a route dump of every internal handler
Start here
- AI Platform Setup - in product this now lives under AI Platform -> Authentication; use it to copy the current
organizationId, verify auth, and confirm the released route path. - Quickstart HTTP - call the released HTTP routes with
organizationIdand a Bearer token. - Quickstart TypeScript SDK - construct
PromptOrchestraClientwithbaseUrlandaccessTokenorapiKey, then run the stateless authoring flow. - Public Boundary - see what is
stable,public beta,non-public, andlegacy. - Inspect Your First Run - inspect the stable public agent-run detail surface.
- Authentication - Bearer tokens, org scoping, and where API keys apply.
Accuracy
We validate docs against the public allowlist, contract package, API auth/resolver layer, and the shipped SDK implementation.
If implementation breadth is wider than the public boundary, these docs follow the boundary and label the extra routes as non-public.