Sessions

Returns a list of all sessions for the organization

get/v1/sessions

Request

  • Base URL
    https://api.anam.ai
  • URL
    https://api.anam.ai/v1/sessions
  • Auth
    HTTP bearer

Query parameters

pageinteger

Page number for pagination

perPageinteger

Number of items per page (max 100)

searchstring

Search term to filter sessions by ID or client label

apiKeyIdstring uuid

Filter sessions by API key ID

personaIdstring uuid

Filter sessions by persona ID

activeboolean

Filter to sessions that are active with true or ended with false

organizationIdstring

List sessions of another organization. Restricted to Anam-internal admin API keys; other keys receive 403.

Response

Successfully retrieved sessions

Changes