Create a task
/harness/tasksBilling and limits are checked first (refusals keep billing's codes, for example
402 insufficient_balance, 429 too_many_running_tasks). A
task can start after other tasks and take inputs_from their outputs.
Headers
Bearer <token>. A Hexel Studio access token for your organization.
The workspace the request acts in (ws_...). It never grants access by itself.
The environment the request acts in (env_...). It never grants access by itself.
Body parameters
name, name@channel or name@v<n>.
At most 256 KiB.
What a task may spend; it narrows the agent's own budgets. max_estimate_usd is accepted on create only.
1 to 20 tasks this one starts after.
{"<name>": "<task_id>.outputs.<key>..."}.
A task.digest every every_s seconds (3600 to 2592000).
Returns
200A trigger fire's task that already exists (a replayed fire).Task
Any JSON value.
Any JSON value.
One of: "queued", "running", "waiting", "paused", "succeeded", "failed", "budget_exhausted", "cancelled"
Errors
- default