v1

latestOpenAPI 3.0.02026-07-17112116167.8 KB
Agent

Create a delegated task (proxy_token auth)

post/api/agent/tasks

Request body

delegation_chainstring[]
max_budget_usdnumber
max_turnsinteger
promptstring required
requester_idstring
skillstring
system_contextstring
target_idstring required
timeout_secondsinteger

Example request

{
  "max_budget_usd": 1,
  "max_turns": 50,
  "prompt": "Run the test suite",
  "skill": "testing",
  "target_id": "sandbox-uuid",
  "timeout_seconds": 300
}

Response

Created

session_idstring
statusstring required
task_idstring required

Example response

{
  "status": "pending"
}