Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Body

application/json
task
string
required
Minimum string length: 1
deviceId
string<uuid>
required

The ID of the device to run the task on.

agentId
integer
default:0
llmModel
string
default:google/gemini-3.1-flash-lite

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

maxSteps
integer
default:100
temperature
number
default:0.5
reasoning
boolean
default:true
accessibility
boolean
default:true
vision
boolean
default:false
executionTimeout
integer
default:1000
credentials
PackageCredentials · object[]
apps
string[]
files
string[]
outputSchema
Outputschema · object | null
vpnCountry
enum<string> | null
Available options:
US,
BR,
FR,
DE,
IN,
JP,
KR,
ZA
subagentModel
string
default:google/gemini-3.1-flash-lite

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

stealth
boolean
default:false
continueOnFailure
boolean
default:false
memoryNamespace
string
default:default

Memory namespace for cross-task personalization

displayId
integer
default:0

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

Response

Successful Response