POST
/
v1
/
sessions
/
new

Authorizations

x-api-key
string
header
required

Add your API key from app.allyson.ai/api to the x-api-key header.

Body

application/json
task
string
required

The task description for the automation session

maxSteps
number
required

Maximum number of steps for the session

sessionVariables
object[]

Optional settings for the session

sessionDetails
string

Detailed description of the session

Response

200
application/json
Session started successfully
message
string
required
sessionId
string
required
messages
object[]
required
status
enum<string>
required
Available options:
active,
inactive,
completed,
failed,
humanInput,
stopped
name
string
required

AI-generated name for the task