Skip to main content
DELETE
Linked collections are always active in every chat with the agent, for everyone who uses it. Nobody has to turn them on in the chat. The collection stops being used in chats with the agent. It is not deleted, and its memories are kept. Only agent editors can call this endpoint: the agent creator, or a member with permission to manage workspace documents. The token needs the use_agents ability, and the workspace needs memory enabled.
integer
ID of the workspace. If not provided, your selected workspace is used.
integer
required
ID of the agent.
integer
required
ID of the linked memory collection.
object[]
Every collection linked to the agent after the call.

Errors

  • 403: You are not an editor of the agent, or you do not have the memory permission in the workspace.
  • 404: The agent was not found in the workspace, or memory is turned off for the workspace.