Aex Brain
ReferenceAPI

List sessions

GET/v1/sessions

Authorization

serverToken
AuthorizationBearer <token>

The server's BRAIN_API_TOKEN, sent as Authorization: Bearer . Required for application API calls when configured; optional only on a loopback server started without a token.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/sessions" \  -H "Authorization: Bearer YOUR_TOKEN"
{  "sessions": [    {      "last_sequence": 0,      "session_id": "string",      "status": "creating"    }  ]}