GET
/
v1
/
sessions
/
{id}
curl --request GET \
  --url https://api.allyson.ai/v1/sessions/{id} \
  --header 'x-api-key: <api-key>'
{
  "session": {
    "name": "<string>",
    "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",
    "sessionVariables": [
      {
        "name": "<string>",
        "value": "<string>"
      }
    ],
    "sessionDetails": "<string>",
    "maxSteps": 123
  }
}

Authorizations

x-api-key
string
header
required

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

Path Parameters

id
string
required

Session ID

Response

200
application/json
Successful Response
session
object
required