cURL
curl --request POST \ --url http://localhost:8000/v2/workspaces/{workspace_id}/peers/{peer_id}/sessions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "filters": {} }'
{ "items": [ { "id": "<string>", "is_active": true, "workspace_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "metadata": {}, "configuration": {} } ], "page": 2, "size": 2, "total": 1, "pages": 1 }
Get All Sessions for a Peer
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the workspace
ID of the peer
Page number
x >= 1
Page size
1 <= x <= 100
Filtering options for the sessions list
Successful Response
Show child attributes
x >= 0