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
maxSteps
number
required

Maximum number of steps for the session

task
string
required

The task description for the automation session

sessionDetails
string

Detailed description of the session

sessionVariables
object[]

Optional settings for the session

Response

200 - application/json
message
string
required
messages
object[]
required
name
string
required

AI-generated name for the task

sessionId
string
required
status
enum<string>
required
Available options:
active,
inactive,
completed,
failed,
humanInput,
stopped