# Update sample **POST /v1/Assistants/{AssistantSid}/Tasks/{TaskSid}/Samples/{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 Task associated with the resource to update. - **TaskSid** (string) The SID of the [Task](https://www.twilio.com/docs/autopilot/api/task) associated with the Sample resource to update. - **Sid** (string) The Twilio-provided string that uniquely identifies the Sample resource to update. ### Body: (object) - **Language** (string) The [ISO language-country](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html) string that specifies the language used for the sample. For example: `en-US`. - **SourceChannel** (string) The communication channel from which the sample was captured. Can be: `voice`, `sms`, `chat`, `alexa`, `google-assistant`, `slack`, or null if not included. - **TaggedText** (string) The text example of how end users might express the task. The sample can contain [Field tag blocks](https://www.twilio.com/docs/autopilot/api/task-sample#field-tagging). ## 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 Task associated with the resource - **date_created** (string(date-time) | null) 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 - **language** (string | null) An ISO language-country string that specifies the language used for the sample - **sid** (string | null) The unique string that identifies the resource - **source_channel** (string | null) The communication channel from which the sample was captured - **tagged_text** (string | null) The text example of how end users might express the task - **task_sid** (string | null) The SID of the Task associated with the resource - **url** (string(uri) | null) The absolute URL of the Sample resource [Powered by Bump.sh](https://bump.sh)