Praxis API v1
The API uses the same projects, sources, objectives, compute queue, events, and retained artifacts as Mission Studio.
Resource model#
A project owns uploaded sources and reusable objectives. A run snapshots the selected objective version before it enters the compute queue. Editing an objective later does not change historical run records.
project
source
objective (versioned)
run
events
reviews
track stories
artifacts
read-only sharesSubmit one run#
curl "$PRAXIS_API/v1/runs" \
-H "Authorization: Bearer $PRAXIS_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"project_id": "prj_...",
"source_id": "upl_...",
"objective_id": "obj_..."
}'
Authentication and isolation#
AuthorizationBearer tokenrequiredprx_live_ API key created by the owning browser workspace.Idempotency-Keystringrequiredscopesstring[]Requests for an object owned by another workspace return 404. API key plaintext is not retained. Signed media URLs expire and read-only result shares can be revoked.
Current hosted limits#
| Input | Limit |
|---|---|
| Video duration | 60 seconds |
| Upload size | 80 MB |
| Area points | 3 to 8 normalized points |
| Run submissions | 3 per workspace per hour on the public worker |
| Execution | Queued, one CPU analysis at a time |
SDK source#
The repository includes a dependency-light TypeScript client covering projects, sources, objectives, run polling and cancellation, events and reviews, track stories, artifacts, and shares. Package publication is separate from the HTTP API and should not be assumed from the source tree alone.