# Update query **POST /v1/Assistants/{AssistantSid}/Queries/{Sid}** TODO: Resource-level docs ## Servers ## Parameters ### Path parameters - **AssistantSid** (string) The SID of the [Assistant](https://www.twilio.com/docs/autopilot/api/assistant) that is the parent of the resource to update. - **Sid** (string) The Twilio-provided string that uniquely identifies the Query resource to update. ### Body: (object) - **SampleSid** (string) The SID of an optional reference to the [Sample](https://www.twilio.com/docs/autopilot/api/task-sample) created from the query. - **Status** (string) The new status of the resource. Can be: `pending-review`, `reviewed`, or `discarded` ## Responses ### 200 OK #### Body: (object) - **account_sid** (string | null) The SID of the Account that created the resource - **assistant_sid** (string | null) The SID of the Assistant that is the parent of the resource - **date_created** (null | string(date-time)) The RFC 2822 date and time in GMT when the resource was created - **date_updated** (string(date-time) | null) The RFC 2822 date and time in GMT when the resource was last updated - **dialogue_sid** (string | null) The SID of the [Dialogue](https://www.twilio.com/docs/autopilot/api/dialogue). - **language** (string | null) The ISO language-country string that specifies the language used by the Query - **model_build_sid** (string | null) The SID of the [Model Build](https://www.twilio.com/docs/autopilot/api/model-build) queried - **query** (string | null) The end-user's natural language input - **results** () The natural language analysis results that include the Task recognized and a list of identified Fields - **sample_sid** (string | null) The SID of an optional reference to the Sample created from the query - **sid** (string | null) The unique string that identifies the resource - **source_channel** (string | null) The communication channel from where the end-user input came - **status** (string | null) The status of the Query - **url** (string(uri) | null) The absolute URL of the Query resource [Powered by Bump.sh](https://bump.sh)