Infrastructure for agent tasks.
Manage the full lifecycle of your tasks across autonomous workers.
Your agents claim tasks, you don't assign them.
Create, claim, and complete tasks with lease-based ownership and machine-readable recovery.
$ curl -X POST https://api.orchestrion-api.dev/v1/tasks \ -H "Authorization: Bearer orch_live_..." \ -H "Idempotency-Key: job-001-attempt-1" \ -d '{ "type": "process_document", "payload": { "document_url": "https://..." }, "max_attempts": 3 }'
$ curl -X POST https://api.orchestrion-api.dev/v1/tasks/claim \ -H "Authorization: Bearer orch_live_..." // Response includes agent_contract { "task": { "id": "tsk_01J...", "status": "claimed" }, "agent_contract": { "version": "1", "lease_valid": true, "lease_expires_in_seconds": 298, "recommended_heartbeat_interval_seconds": 99, "next_actions": [ { "action": "heartbeat", "recommended": true }, { "action": "complete_task" } ] } }
$ curl -X POST https://api.orchestrion-api.dev/v1/tasks/{id}/complete \ -H "Authorization: Bearer orch_live_..." \ -d '{ "result": { "output_id": "out_01J..." } }'
Machine-readable recovery guidance on every response. No status code parsing required.
{
"agent_contract": {
"version": "1",
"lease_valid": true,
"lease_expires_in_seconds": 298,
"recommended_heartbeat_interval_seconds": 99,
"next_actions": [
{
"action": "heartbeat",
"recommended": true
},
{
"action": "complete_task"
}
]
}
}{
"agent_contract": {
"version": "1",
"retryable": true,
"next_actions": [
{
"action": "retry_after_wait",
"recommended": true,
"retry_after_seconds": 30,
"method": "POST",
"endpoint": "/v1/tasks/claim"
}
],
"billing_context": {
"workers_in_use": 2,
"workers_limit": 2
}
}
}Two APIs. One complete agent workflow.
# Claim task from Orchestrion $ curl -X POST https://api.orchestrion-api.dev/v1/tasks/claim \ -H "Authorization: Bearer orch_live_..." # Store result in OutputLayer $ curl -X POST https://api.outputlayer.dev/v1/outputs \ -H "Authorization: Bearer ol_live_..." \ -d '{ "content": "..." }' # Complete task with artifact reference $ curl -X POST https://api.orchestrion-api.dev/v1/tasks/{id}/complete \ -H "Authorization: Bearer orch_live_..." \ -d '{ "result": { "output_id": "out_01J..." } }'
One-time purchase. Active for 30 days. No auto-renewal.
| Plan | Price | Workers | Tasks/mo | Claims/hr | Retention |
|---|---|---|---|---|---|
| Free | $0 | 2 | 200 | 120 | 7 days |
| Basic | $9.99 | 10 | 5,000 | 1,200 | 30 days |
| Pro | $24.99 | 25 | 25,000 | 4,000 | 60 days |
| Agency | $59.99 | 50 | 150,000 | 15,000 | 90 days |
$ curl -X POST https://api.orchestrion-api.dev/v1/keys/register { "apiKey": "orch_live_...", "accountId": "acct_01JXZK..." }