List the questions visitors asked a site's Ask AI assistant
Returns a paginated list of the questions visitors asked a site's Ask AI assistant, each with usage stats. Use it to discover what users are looking for and where the documentation has gaps.
A unique entity identifier
^[a-zA-Z0-9_-]+$The unique id of the site
Filter stats to answers created at or after this timestamp.
Filter stats to answers created at or before this timestamp.
Type classification of the user question.
Filter questions by associated site topic IDs.
An order for the items in the list
descPossible values: Sort questions by latest ask activity, answered rate, or positive feedback rate. If omitted, ordering stays on canonical question creation date to preserve current behavior.
Identifier of the page results to fetch.
The number of results per page
OK
Total count of objects in the list
GET /v1/orgs/{organizationId}/sites/{siteId}/questions HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"next": {
"page": "text"
},
"count": 1,
"items": [
{
"object": "site-question",
"id": "text",
"question": "text",
"type": "exploring",
"createdAt": "2026-01-01T00:00:00.000Z",
"askedAt": "2026-01-01T00:00:00.000Z",
"stats": {
"total": 1,
"answers": 1,
"feedback": {
"positive": 1,
"negative": 1,
"unrated": 1
},
"answered": {
"yes": 1,
"partially": 1,
"no": 1
},
"relevance": {
"relevant": 1,
"spam": 1,
"off-topic": 1,
"unclear": 1
},
"types": {
"exploring": 1,
"how-to": 1,
"troubleshooting": 1,
"reference": 1,
"unknown": 1
},
"channelTypes": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"channels": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"weeklyPulse": [
1
]
},
"urls": {
"location": "https://example.com"
}
}
]
}Last updated
Was this helpful?