Authorizations
Add your API key from app.allyson.ai/api to the x-api-key header.
Path Parameters
Session ID
Response
Successful Response
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
  }
}Returns a specific session by 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
  }
}Add your API key from app.allyson.ai/api to the x-api-key header.
Session ID
Successful Response
Show child attributes