cURL
curl --request GET \ --url https://api.allyson.ai/v1/sessions/{id} \ --header 'x-api-key: <api-key>'
{ "session": { "userId": "<string>", "sessionId": "<string>", "lastScreenshotUrl": "<string>", "lastScreenshotTimestamp": "2023-11-07T05:31:56Z", "status": "active", "messages": [ { "role": "assistant", "content": "<string>", "agent_data": { "action": [ {} ] } } ], "files": [ { "filename": "<string>", "signedUrl": "<string>", "timestamp": "2023-11-07T05:31:56Z" } ], "startTime": "2023-11-07T05:31:56Z", "endTime": "2023-11-07T05:31:56Z", "name": "<string>", "sessionVariables": [ { "name": "<string>", "value": "<string>" } ], "sessionDetails": "<string>", "maxSteps": 123 } }
Returns a specific session by ID.
Add your API key from app.allyson.ai/api to the x-api-key header.
Session ID
Successful Response
Show child attributes