Skip to content

List agent sessions

GET/api/v1/sessions

Newest first, 50 to a page. Needs agents.read.

Needs an API key in the Authorization header.

On this page

Parameters

FieldInTypeDescription
livequerystring
  • default: false
  • one of: true, false
afterquerystring
  • min length: 1
  • max length: 80

Example request

curl -X GET "https://polaris.example.com/api/v1/sessions" \
  -H "Authorization: Bearer $POLARIS_API_KEY"

Responses

StatusMeaning
200OK

Can also answer the common errors 400, 401, 403, 404, 429. See common errors