agent builder

Update conversation attachment

Changed on

Spaces method and path for this operation:

<div><span class="operation-verb put">put</span>&nbsp;<span class="operation-path">/s/{space_id}/api/agent_builder/conversations/{conversation_id}/attachments/{attachment_id}</span></div>

Refer to Spaces for more information.

Update an attachment content. Creates a new version if content changed.<br/><br/>[Required authorization] Route required privileges: agentBuilder:read.

put/api/agent_builder/conversations/{conversation_id}/attachments/{attachment_id}

Request

  • Base URL
    https://localhost:5601
  • URL
    https://localhost:5601/api/agent_builder/conversations/{conversation_id}/attachments/{attachment_id}
  • Auth
    • API key in header Authorization
    • or HTTP basic

Path parameters

conversation_idstring required

The unique identifier of the conversation.

attachment_idstring required

The unique identifier of the attachment to update.

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

dataunknown required
descriptionstring

Optional new description for the attachment.

render_inlineboolean

When true, the attachment is rendered inline in the UI when the conversation is opened, without the agent referencing it.

Response

Indicates a successful response

Changes

    • info

      added the new optional request property

    • warning

      for the path request parameter attachment_id, the maxLength was set to 256

    • warning

      for the path request parameter conversation_id, the maxLength was set to 256

    • warning

      the request property's maxLength was set to 2048