List sessions
GET
/api/sessions
Code sample: Shell / cURL
curl --request GET \ --url http://127.0.0.1:8004/api/sessions \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Every session
Media typeapplication/json
Array<object>
One entry per session for the StatusBar and the session picker.
object
Example
[ { "runtime": { "type": "local" } }]Missing or wrong access token
Media typetext/plain
string
The request’s Host or Origin isn’t allowed, or the caller can’t use this route (a guest token, or btmux connect)