Version 4.0.26.22 (latest)

### Update Conversation

Update an conversation.

## Request

PATCH /conversations/{conversation_id} Datatype Description Request HTTP Request path HTTP Path Expand HTTP Path definition... conversation_id string Conversation ID body HTTP Body Expand HTTP Body definition... body [Conversation](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Conversation) Conversation Expand Conversation definition... can object Operations the current user is able to perform on this object id string Conversation unique identifier name string Conversation name category string The category of the conversation (e.g., dashboard, conversation) sources [Source](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Source)\[\] user_id string User id agent_id string Agent id deleted boolean Is conversation soft deleted created_at string Conversation created_at updated_at string Conversation updated_at messages [ConversationMessage](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ConversationMessage)\[\] conversation_agent [Agent](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Agent) Agent for this conversation missing_agent boolean Agent associated with this conversation was deleted studio_conversation_id string Studio Conversation ID (if this conversation was migrated) query HTTP Query Expand HTTP Query definition... fields string Requested fields

## Response

### 200: Conversation

Datatype Description (object) [Conversation](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Conversation) can object Operations the current user is able to perform on this object id string Conversation unique identifier name string Conversation name category string The category of the conversation (e.g., dashboard, conversation) sources [Source](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Source)\[\] Expand Source definition... model string Source model explore string Source explore user_id string User id agent_id string Agent id deleted boolean Is conversation soft deleted created_at string Conversation created_at updated_at string Conversation updated_at messages [ConversationMessage](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ConversationMessage)\[\] Expand ConversationMessage definition... can object Operations the current user is able to perform on this object id string Message unique identifier message object Message content type string Message type order integer Message order conversation_agent [Agent](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Agent) Agent for this conversation Expand Agent definition... can object Operations the current user is able to perform on this object id string Agent unique identifier created_by_user_id string User that created the Agent created_by_name string Name of user that created the Agent created_by_first_name string Name of user that created the Agent created_by_last_name string Name of user that created the Agent created_by_avatar_url string Avatar URL of user that created the Agent name string Agent name description string Agent description category string The category of the agent (e.g., dashboard, conversation) sources [Source](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Source)\[\] Expand Source definition... model string Source model explore string Source explore has_inaccessible_source boolean Has inaccessible source golden_queries [GoldenQuery](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/GoldenQuery)\[\] Expand GoldenQuery definition... can object Operations the current user is able to perform on this object id integer Unique identifier for the golden question query_id integer ID of the associated Looker Query resolved from the answer questions string\[\] answer string The Explore URL representing the answer to the question is_active boolean Whether this golden question should be utilized by the agent created_by_user_id integer ID of the user who created the question last_updated_by_user_id integer ID of the user who last updated the question created_at string Time when the question was created last_updated_at string Time when the question was last updated explore string The explore name of the golden query model string The LookML model name of the golden query fields string\[\] filters object Filters of the associated Looker Query sorts string\[\] limit string Limit of the associated Looker Query client_id string Client ID of the associated Looker Query pivots string\[\] dynamic_fields string Dynamic fields of the associated Looker Query golden_query_ids integer\[\] context [Context](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Context) Agent context Expand Context definition... instructions string Agent instructions show_analytical_details boolean Show analytical details in preview show_debug boolean Show debug info in preview deleted boolean Is Agent soft deleted created_at string Agent created_at updated_at string Agent updated_at content_metadata_id string Content metadata ID for this Agent code_interpreter boolean Enables Code Interpreter for this Agent studio_agent_id string Studio Agent ID (if this agent was migrated) workflow_params [WorkflowParams](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/WorkflowParams) Workflow parameters Expand WorkflowParams definition... primary_agent string The ID of the primary parent agent polling_frequency_cron string Crontab specifying the execution frequency destination [WorkflowDestination](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/WorkflowDestination) Workflow delivery destination is_lookml boolean Whether the agent is defined in LookML lookml_agent_id string LookML Agent ID lookml_edit_uri string URI to edit the LookML definition of this agent missing_agent boolean Agent associated with this conversation was deleted studio_conversation_id string Studio Conversation ID (if this conversation was migrated)

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 422: Validation Error

Datatype Description (object) [ValidationError](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationError) message string Error details errors [ValidationErrorDetail](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationErrorDetail)\[\] Expand ValidationErrorDetail definition... field string Field with error code string Error code message string Error info message documentation_url string Documentation link documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link