Skip to content

List chat sessions with multi-tenant filtering

GET
/api/v3/organizations/{organisation}/ai/sessions
curl --request GET \
--url 'https://dashboard.quantcdn.io/api/v3/organizations/example/ai/sessions?userId=user-12345&sessionGroup=drupal-production&limit=50' \
--header 'Authorization: Bearer <token>'

Lists active sessions for an organization with flexible filtering options. * * Query Combinations: * 1. By Organization (default): Returns all sessions in the organization * 2. By Organization + Group: ?sessionGroup=drupal-prod - Sessions in a specific group * 3. By User: ?userId=user-123 - All sessions for a user * 4. By User + Group: ?userId=user-123&sessionGroup=drupal-prod - User’s sessions in a specific group * * Use Cases: * - List user’s conversations in a specific app/environment * - Admin view of all sessions in a customer/tenant group * - User profile showing all AI conversations across apps

organisation
required
string

The organisation ID

userId
string
Example
user-12345

Filter sessions by user ID

sessionGroup
string
Example
drupal-production

Filter by session group. Returns only sessions matching the specified group.

limit
integer
default: 50 >= 1 <= 100

Maximum number of sessions to return (default 50, max 100)

offset
integer

Offset for pagination

model
string

Filter by model ID

List of chat sessions

Media typeapplication/json
Array<object>
object
id
string
title
string
model
string
created_at
string format: date-time
updated_at
string format: date-time
Examplegenerated
[
{
"id": "example",
"title": "example",
"model": "example",
"created_at": "2026-04-15T12:00:00Z",
"updated_at": "2026-04-15T12:00:00Z"
}
]

Failed to fetch sessions