Skip to main content
GET
Get question analytics

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Content ID

projectId
string
required

Project ID

Query Parameters

environmentId
string
required

Environment whose sessions to aggregate (content is project-level; pick the env).

startDate
string

ISO date, inclusive. Default: 30 days ago.

endDate
string

ISO date, inclusive. Default: today.

timezone
string

IANA timezone used for the per-day bucketing. Default: UTC.

Response

Question analytics

results
object[]
required

One entry per aggregable question (nps / rating / choice). Free-text questions (single/multi-line text) are omitted entirely — no aggregate signal for open text. To read raw answers (including free text), fetch sessions for this content with answers expanded.