Task object

Every endpoint that returns a task returns this object. All fields are always present; some are null until they apply.

{
  "id": "task_4f1c2a9e8b7d6c5b4a3f2e1d",
  "status": "completed",
  "cause": null,
  "output": { "heading": "Example Domain" },
  "results": [
    {
      "goal": "Find the page's main heading.",
      "status": "completed",
      "data": { "heading": "Example Domain" }
    }
  ],
  "limitations": [],
  "confirmation": null,
  "evidence": [
    {
      "path": "heading",
      "url": "https://example.com/",
      "quote": "Example Domain"
    }
  ],
  "effects": [],
  "final_url": "https://example.com/",
  "webhook_url": null,
  "steps": [
    { "n": 1, "description": "Opening \"Example Domain\"" },
    { "n": 2, "description": "Reading the main heading" }
  ],
  "usage": {
    "steps": 2,
    "model_calls": 3,
    "input_tokens": 9120,
    "output_tokens": 310,
    "duration_ms": 14210,
    "cost_usd": 0.01
  },
  "created_at": "2026-11-10T09:00:00Z",
  "started_at": "2026-11-10T09:00:01Z",
  "finished_at": "2026-11-10T09:00:15Z",
  "metadata": {},
  "schedule_id": null
}

The values above are illustrative, not measurements.

Field Description
id Task ID, task_ followed by 24 hex characters.
status Lifecycle and outcome; see status.
cause Why the task did not complete; see cause. null while the task runs and when it completed.
output The answer. Set only when completed and, if you sent an output schema, valid against it. Without one, it is JSON (usually an object) whose keys are chosen for the request and may vary between runs. Otherwise null.
results Findings, including partial ones: one entry per part of your request, with the goal it answers, status (completed or incomplete) and data. Kept whatever the outcome.
limitations What was not done: { "requirement", "reason" }, both in plain language, for example { "requirement": "Sort by price", "reason": "Couldn't find a 'Sort by price' option." }.
confirmation While the status is waiting_for_confirmation: { "id", "question", "expires_at" }, the step the task asks your go-ahead for. Answer it. Otherwise null.
evidence Where each value was read, and each change the task made; see evidence.
effects Each change the task attempted and whether the site showed it went through; see effects.
final_url The page the task ended on, or null.
webhook_url Where the task's events are sent, or null.
steps The step log: what the agent did, one plain-language line per step. Grows while the task runs.
usage steps, model_calls, input_tokens, output_tokens, wall-clock duration_ms and cost_usd (null when the cost is not available). null until the task has run.
created_at, started_at, finished_at ISO 8601 UTC timestamps; the last two are null until they happen.
metadata Your metadata, echoed back unchanged.
schedule_id The schedule that created the task, or null.

Status

status combines the lifecycle with the outcome.

Status Meaning
queued Accepted, waiting to start.
running In progress in a browser.
waiting_for_confirmation Waiting for your yes or no before one step; see confirmation.
completed The full result is available in output.
partial Some useful findings survive, but not everything you asked for. See results, limitations and cause.
failed No useful result was obtained.
cancelled Stopped at your request.

queued, running and waiting_for_confirmation are the only non-final statuses. A task is completed only when every value in output comes with the text of a page the task opened (evidence) and every change it made showed it went through (effects). When the result is incomplete, for example when a value your output schema asks for couldn't be found, the task ends partial or failed and says why.

Cause

Cause Meaning What to do
site_blocked The site stopped the task, for example by asking to verify you're human, denying access, or failing to load. Try another source or start URL.
unavailable The site showed that the request can't be done: what you asked for isn't there, or the site turned the request down or answered with an error. The limitations say what the site showed, such as The site rejected "Sign in": "Incorrect email or password". Check the request against what the site offers, or try later if the site reported an error.
limit_reached The task used up its time or step limit. Narrow the task, start closer to the answer, or raise limits.
could_not_complete The agent could not finish the task on this site. Rephrase or narrow the task.
cancelled You cancelled the task. —
model_error Your model provider refused or failed the request: the key was rejected, the model name isn't available to your account, or the account is out of quota or credit. Check model and your provider account, then retry.
internal_error Something failed on our side. Retry later.

Evidence

evidence shows where the answer came from, so you can check what matters to you. Each value read from a page has an entry with its place in the answer as found (path, such as items[0].price, or "" for the whole answer; with an output schema, these names may differ from output's), the page it was read on (url) and the page's text it was read from (quote). Each change the task made on the site, such as submitting a form, has an entry with the control used (action), the page (url) and, when known, the HTTP status the site answered with.

[
  { "path": "price", "url": "https://shop.example/kettle", "quote": "Price: $39.90" },
  { "action": "Save", "url": "https://shop.example/account", "status": 200 }
]

Effects

effects lists each change the task attempted on the site, such as submitting a form: the control used (action), the page (url), whether the site showed it went through (state) and, when known, the HTTP status the site answered with. state is done, not_done, or unknown when the site's answer couldn't be read. If the same control is used again, the last attempt counts. A task with any change that isn't done ends partial or failed, and its limitations say which.

[{ "action": "Clicking \"Save\"", "url": "https://shop.example/account", "state": "done", "status": 200 }]

Removed: unconfirmed

The task object no longer has an unconfirmed field (removed Oct 28, 2026). To check a value, compare it with its quote in evidence. Clients that read unconfirmed should stop reading it; the SDKs no longer have it.

Steps

steps is a plain-language log of what happened, the same kind of thing you would see watching the browser:

[
  { "n": 1, "description": "Opening \"Catalogue\"" },
  { "n": 2, "description": "Clicking \"Sort by price\"" },
  { "n": 3, "description": "Typing into \"Email\"" }
]

Use it to follow progress while the task runs, and afterwards to see how a result was reached or where the task stopped. The values you pass in params never appear in it.

The task object never includes your model key, or the model you sent.