Skip to main content
GET
List sessions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

Environment ID

projectId
string
required

Project ID

Query Parameters

contentId
string

Filter to a single content.

userId
string

Filter to a single end-user.

completed
enum<string>

Filter by GENUINE completion: true = the user reached the goal (flow finished / every checklist task done), false = did not. This is NOT "ended" — a dismissed session is not completed, and a completed checklist may still be open.

Available options:
true,
false
limit
integer
default:20

Max items per page (1-100, default 20).

Required range: 1 <= x <= 100
cursor
string

Opaque page cursor — the cursor query value found inside a prior response's next/previous URL. Normally you never build this yourself: just GET those URLs as-is.

orderBy

Order by createdAt / -createdAt.

Available options:
createdAt,
-createdAt
expand

Inline: answers, content, company, user, version.

Available options:
answers,
content,
company,
user,
version
createdAfter
string

Only items created at or after this time — ISO date or datetime WITH timezone. A date-only value starts at that day's first instant (UTC).

createdBefore
string

Only items created at or before this time — ISO date or datetime WITH timezone. A date-only value includes the ENTIRE day (up to its last instant, UTC).

Response

List of content sessions

results
object[]
required
next
string | null
required

Full URL of the next page — request it as-is (it already carries cursor= and your query parameters). null = no further pages.

previous
string | null
required

Full URL of the previous page — request it as-is. null = already at the first page.