TODO: Resource-level docs
Path parameters
-
The SID of the Assistant that is the parent of the resources to read.
Query parameters
-
The ISO language-country string that specifies the language used by the Query resources to read. For example:
en-US. -
The SID or unique name of the Model Build to be queried.
-
The status of the resources to read. Can be:
pending-review,reviewed, ordiscarded -
The SID of the Dialogue.
Minimum length is
34, maximum length is34. Format should match the following pattern:^UK[0-9a-fA-F]{32}$. -
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1, maximum value is1000.
GET
/v1/Assistants/{AssistantSid}/Queries
curl \
--request GET 'https://autopilot.twilio.com/v1/Assistants/{AssistantSid}/Queries' \
--user "username:password"
Response examples (200)
{
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
},
"queries": [
{
"account_sid": "string",
"assistant_sid": "string",
"date_created": "2026-05-04T09:42:00Z",
"date_updated": "2026-05-04T09:42:00Z",
"dialogue_sid": "string",
"language": "string",
"model_build_sid": "string",
"query": "string",
"sample_sid": "string",
"sid": "string",
"source_channel": "string",
"status": "string",
"url": "https://example.com"
}
]
}