agent builder

Rename attachment

Changed on

Spaces method and path for this operation:

<div><span class="operation-verb patch">patch</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.

Rename an attachment without creating a new version.<br/><br/>[Required authorization] Route required privileges: agentBuilder:read.

patch/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 rename.

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

descriptionstring required

The new description/name for the attachment.

Response

Indicates a successful response

Changes

    • 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