TODO: Resource-level docs
Path parameters
-
The SID of the Assistant that is the parent of the resource to update.
-
The Twilio-provided string that uniquely identifies the Query resource to update.
Body
-
The SID of an optional reference to the Sample created from the query.
Minimum length is
34, maximum length is34. Format should match the following pattern:^UF[0-9a-fA-F]{32}$. -
The new status of the resource. Can be:
pending-review,reviewed, ordiscarded
POST
/v1/Assistants/{AssistantSid}/Queries/{Sid}
curl \
--request POST 'https://autopilot.twilio.com/v1/Assistants/{AssistantSid}/Queries/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'SampleSid=string&Status=string'
Response examples (200)
{
"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"
}