curl --request POST \ --url https://api.allyson.ai/v1/sessions/new \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "task": "Search for the price of an ESP32 & save it to a text file.", "sessionVariables": [ { "name": "<string>", "value": "<string>" } ], "sessionDetails": "<string>", "maxSteps": 123}'
Creates and starts a new browser automation session.
POST
/
v1
/
sessions
/
new
Start New Session
Copy
curl --request POST \ --url https://api.allyson.ai/v1/sessions/new \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "task": "Search for the price of an ESP32 & save it to a text file.", "sessionVariables": [ { "name": "<string>", "value": "<string>" } ], "sessionDetails": "<string>", "maxSteps": 123}'