List the answers a site's Ask AI assistant generated
Returns a paginated list of individual Ask AI answers generated for a site. Each is the assistant's response to a specific asked question, with the raw question text, channel, and feedback. Use it to review answer quality and what users asked across the site.
A unique entity identifier
^[a-zA-Z0-9_-]+$The unique id of the site
Filter answers to a specific site question ID.
Filter answers created at or after this timestamp.
Filter answers created at or before this timestamp.
Filter answers by ISO language code.
Helpfulness of the response for the end user need.
Type classification of the user question.
Filter answers by associated site topic ID.
Filter answers by thread root answer ID. Includes the root answer itself.
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}/answers HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"next": {
"page": "text"
},
"count": 1,
"items": [
{
"object": "site-question-answer",
"id": "text",
"question": {
"id": "text",
"type": "exploring"
},
"topics": [
"text"
],
"input": {
"text": "text",
"raw": "text"
},
"thread": {
"id": "text",
"previous": "text"
},
"session": {
"visitorId": "text",
"sessionId": "text"
},
"feedback": {
"rating": -1
},
"responseId": "text",
"language": "text",
"answered": "no",
"helpfulness": "low",
"relevance": "relevant",
"channel": {
"type": "site"
},
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"urls": {
"location": "https://example.com"
}
}
]
}Last updated
Was this helpful?