Overview
The REST API lets your own system start and follow workflow runs in a governed AlphaAgent Studio deployment over HTTPS, with an API key instead of a signed-in person. Read this first if you are the integrator writing that system; administrators start at Programmatic access.
Steps
The base URL is https://<app_domain>/api/v1, where <app_domain> is the address people use to open Studio. Nothing else is served under that prefix, and a Studio sign-in is not accepted there.
-
Check the API is on.
GET /healthis the one call that needs no credentials:curl https://<app_domain>/api/v1/health -
Discover what your key can do.
GET /mereturns the key's scopes, workflows and limits;GET /workflowslists the active workflows it may run;GET /workflows/{workflow_id}and/parametersreturn the input contract and readiness. -
Start a run.
POST /workflows/{workflow_id}/runswith the parameters, an optional free-textinput_text, and anIdempotency-Keyheader. -
Follow it.
GET /runslists the runs your key created;GET /runs/{run_id}is one run in full;/steps,/approvals,/eventsand/pii-redactiongive per-step state, the steps waiting for a person, the durable event log and the personally identifiable information (PII) redaction counts. -
Collect the outputs.
GET /runs/{run_id}/outputslists what a finished run produced;/outputs/{output_id}/contentdownloads one file,/outputs.zipall of them. -
Stop or erase.
POST /runs/{run_id}/cancelstops a run;DELETE /runs/{run_id}/dataerases a finished run's inputs, working files and outputs.
What you should see
GET /health answers 200 in every state:
{"status": "ok", "deployment_id": "<deployment_id>", "api_version": "2026-09-24"}
status is ok when the deployment accepts keys and disabled when it is not governed or has no API key yet. api_version is the API contract date, also the version of the OpenAPI file.
Notes
- Governed deployments only. Ownership is set at creation and cannot change; a standard deployment answers
503 deployment_updating(details.reasonnot_governed, "Programmatic access requires a governed deployment.") on every authenticated route anddisabledon/health. See Deploy your first Studio and Working in a governed deployment. - Keys come from the Organisations console, under Identity & Access Management, Programmatic Access, created by an Owner, an Operator or a ProgrammaticAccessAdministrator. Studio has no key screen.
- It reads and runs; it does not build. Workflows, agents, connectors, environments and knowledge graphs are built in Studio only.
- It never approves. Steps waiting for a person stay in Studio's Inbox; the API reads them and never releases them.
- It sees only its own runs. A key lists and reads the runs it created; runs started in Studio or by another key answer
404 run_not_found. - Connectors need a passing test. A run is refused with
409 workflow_not_readynaming a connector until a passing Test connection is recorded for it; the test at creation counts. - No webhooks, no streaming. Poll
GET /runs/{run_id}no more than every 5 seconds per run. - Per-key limits (60 requests a minute, 100 runs a day, 10 runs in flight by default), the other
503reasons and every code are on Limits, errors and codes.
Related
- API keys: what a key carries and how it changes.
- Authentication: the two headers and the order of checks.
- Run a workflow from your system: every route, in curl and Python.
- Patterns: files in S3; training a knowledge graph.
- Limits, errors and codes: every limit and code, the OpenAPI file.
- Workflows: trigger from outside: the Studio side.