v1

latestOpenAPI 3.1.02026-07-22154213404.8 KB
Tasks

Run Streamed Task

Create and dispatch a new agent task, returning an SSE stream of task events. Cancels the task if the client disconnects.

post/tasks/stream

Request body

agentIdinteger
llmModelstring

The LLM model identifier to use for the task (e.g. 'google/gemini-3.1-flash-lite')

taskstring required
maxStepsinteger
temperaturenumber
reasoningboolean
accessibilityboolean
visionboolean
executionTimeoutinteger
appsstring[]
filesstring[]
outputSchemaobject nullable
vpnCountry'US' | 'BR' | 'FR' | 'DE' | 'IN' | 'JP' | 'KR' | 'ZA'
subagentModelstring

LLM model used by sub-agent roles: executor, app_opener, structured_output

stealthboolean
continueOnFailureboolean
memoryNamespacestring

Memory namespace for cross-task personalization

deviceIdstring uuid required

The ID of the device to run the task on.

displayIdinteger

The display ID of the device to run the task on.

Response

Successful Response

{"stackTrail":"paths:/tasks/stream:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown"}