Get session details. Use this to poll for task completion and output.
Successful Response
Represents a session and its current state.
Poll this endpoint to track task progress. The status field indicates the session lifecycle stage,
and output contains the agent's structured result once the task completes.
Unique session identifier.
Current session lifecycle status. Progresses through: created (sandbox starting) → idle (ready, waiting for task) → running (task executing) → stopped / timed_out / error. Poll this field to track progress.
created, idle, running, stopped, timed_out, error The model tier used for this session.
bu-mini, bu-max, bu-ultra, gemini-3-flash, claude-sonnet-4.6, claude-opus-4.6 When the session was created.
When the session was last updated.
Auto-generated short title summarizing the task. Available after the task starts running.
The agent's final output. If outputSchema was provided, this will be structured data conforming to that schema. Otherwise it may be a free-form string or null. Populated once the task completes, regardless of whether isTaskSuccessful is true or false.
The JSON Schema that was requested for structured output, if any.
Number of steps the agent has executed so far.
Human-readable summary of the most recent agent step (e.g. "Clicking the Submit button"). Useful for showing real-time progress.
Whether the task completed successfully. true if the agent achieved the goal, false if it failed or gave up, null if the task is still running or no task was dispatched.
URL to view the live browser session. Available immediately on session creation — can be embedded in an iframe to show the browser in real time.
URLs to download session recordings. Only populated if enableRecording was set to true and the task has completed.
ID of the browser profile loaded in this session, if any.
ID of the workspace attached to this session, if any.
Country code of the proxy used for this session, or null if no proxy.
ad, ae, af, ag, ai, al, am, an, ao, aq, ar, as, at, au, aw, az, ba, bb, bd, be, bf, bg, bh, bi, bj, bl, bm, bn, bo, bq, br, bs, bt, bv, bw, by, bz, ca, cc, cd, cf, cg, ch, ck, cl, cm, co, cr, cs, cu, cv, cw, cx, cy, cz, de, dj, dk, dm, do, dz, ec, ee, eg, eh, er, es, et, fi, fj, fk, fm, fo, fr, ga, gd, ge, gf, gg, gh, gi, gl, gm, gn, gp, gq, gr, gs, gt, gu, gw, gy, hk, hm, hn, hr, ht, hu, id, ie, il, im, in, iq, ir, is, it, je, jm, jo, jp, ke, kg, kh, ki, km, kn, kp, kr, kw, ky, kz, la, lb, lc, li, lk, lr, ls, lt, lu, lv, ly, ma, mc, md, me, mf, mg, mh, mk, ml, mm, mn, mo, mp, mq, mr, ms, mt, mu, mv, mw, mx, my, mz, na, nc, ne, nf, ng, ni, nl, no, np, nr, nu, nz, om, pa, pe, pf, pg, ph, pk, pl, pm, pn, pr, ps, pt, pw, py, qa, re, ro, rs, ru, rw, sa, sb, sc, sd, se, sg, sh, si, sj, sk, sl, sm, sn, so, sr, ss, st, sv, sx, sy, sz, tc, td, tf, tg, th, tj, tk, tl, tm, tn, to, tr, tt, tv, tw, tz, ua, ug, uk, us, uy, uz, va, vc, ve, vg, vi, vn, vu, wf, ws, xk, ye, yt, za, zm, zw Maximum cost limit in USD set for this session.
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Total LLM input tokens consumed by this session.
Total LLM output tokens consumed by this session.
Proxy bandwidth used in megabytes.
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Cost of LLM usage in USD.
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Cost of proxy bandwidth in USD.
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Cost of browser compute time in USD.
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Total session cost in USD (LLM + proxy + browser).
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$URL of the latest browser screenshot. This is a presigned URL that expires after 5 minutes. A new URL is generated each time you fetch the session.
Temporary email address provisioned for this session (via AgentMail). Only present if agentmail was enabled.