Skip to main content
GET
/
v1
/
compute
/
{goalId}
/
tasks
curl https://win.oneshotagent.com/v1/compute/goal_01HX8K3YZ/tasks \
  -H "Content-Type: application/json"
{
  "success": true,
  "data": [
    {
      "id": "task_002",
      "task_type": "tool_call",
      "tool": "build",
      "description": "Build comparison landing page with research findings",
      "status": "running",
      "phase": 2,
      "sequence": 1,
      "progress_pct": 45,
      "progress_message": "Generating page sections...",
      "result": null,
      "quoted_usdc": "3.000000",
      "actual_usdc": null,
      "started_at": "2026-01-15T12:05:00Z",
      "created_at": "2026-01-15T12:04:55Z"
    },
    {
      "id": "task_001",
      "task_type": "tool_call",
      "tool": "research",
      "description": "Research top 10 AI agent frameworks",
      "status": "completed",
      "phase": 1,
      "sequence": 1,
      "progress_pct": 100,
      "progress_message": "Research complete",
      "result": "Identified 10 frameworks: LangChain, CrewAI, AutoGen...",
      "quoted_usdc": "1.000000",
      "actual_usdc": "0.850000",
      "started_at": "2026-01-15T12:00:30Z",
      "completed_at": "2026-01-15T12:04:50Z",
      "created_at": "2026-01-15T12:00:25Z"
    },
    {
      "id": "task_000",
      "task_type": "tool_call",
      "tool": "soul_browse",
      "description": "Browse soul marketplace for research specialists",
      "status": "completed",
      "phase": 1,
      "sequence": 0,
      "progress_pct": 100,
      "result": {
        "souls": [
          { "slug": "deep-researcher", "name": "Deep Researcher", "category": "research" }
        ],
        "total": 1
      },
      "quoted_usdc": "0",
      "actual_usdc": "0",
      "completed_at": "2026-01-15T12:00:10Z",
      "created_at": "2026-01-15T12:00:09Z"
    }
  ]
}

Overview

Lists every task the orchestrator spawned for a goal — tool calls, agent work, soul hires, and human approval checkpoints. Use this to track progress, see results, and understand what the orchestrator is doing.

Path Parameters

goalId
string
required
The goal ID returned from the create endpoint

Response

data
array
Array of tasks, ordered by most recent first.Each task includes:
  • id — Task ID
  • task_type — Type: tool_call, agent_sandbox, soul_hire, human_approval, planning, evaluation
  • tool — Which tool was used (e.g., research, web_read, browser, build, email, soul_browse)
  • description — What the task does
  • statuspending, running, completed, failed, waiting
  • phase — Which phase this task belongs to
  • sequence — Order within the phase
  • progress_pct — Progress percentage (0-100)
  • progress_message — Current progress description
  • result — Task output (when completed)
  • quoted_usdc — Budget reserved for this task
  • actual_usdc — Actual cost incurred
  • started_at, completed_at, created_at — Timestamps
curl https://win.oneshotagent.com/v1/compute/goal_01HX8K3YZ/tasks \
  -H "Content-Type: application/json"
{
  "success": true,
  "data": [
    {
      "id": "task_002",
      "task_type": "tool_call",
      "tool": "build",
      "description": "Build comparison landing page with research findings",
      "status": "running",
      "phase": 2,
      "sequence": 1,
      "progress_pct": 45,
      "progress_message": "Generating page sections...",
      "result": null,
      "quoted_usdc": "3.000000",
      "actual_usdc": null,
      "started_at": "2026-01-15T12:05:00Z",
      "created_at": "2026-01-15T12:04:55Z"
    },
    {
      "id": "task_001",
      "task_type": "tool_call",
      "tool": "research",
      "description": "Research top 10 AI agent frameworks",
      "status": "completed",
      "phase": 1,
      "sequence": 1,
      "progress_pct": 100,
      "progress_message": "Research complete",
      "result": "Identified 10 frameworks: LangChain, CrewAI, AutoGen...",
      "quoted_usdc": "1.000000",
      "actual_usdc": "0.850000",
      "started_at": "2026-01-15T12:00:30Z",
      "completed_at": "2026-01-15T12:04:50Z",
      "created_at": "2026-01-15T12:00:25Z"
    },
    {
      "id": "task_000",
      "task_type": "tool_call",
      "tool": "soul_browse",
      "description": "Browse soul marketplace for research specialists",
      "status": "completed",
      "phase": 1,
      "sequence": 0,
      "progress_pct": 100,
      "result": {
        "souls": [
          { "slug": "deep-researcher", "name": "Deep Researcher", "category": "research" }
        ],
        "total": 1
      },
      "quoted_usdc": "0",
      "actual_usdc": "0",
      "completed_at": "2026-01-15T12:00:10Z",
      "created_at": "2026-01-15T12:00:09Z"
    }
  ]
}