blocks
Unlink Agent Memory Block
Unlink a memory block from an agent
PATCH
/
v1
/
blocks
/
{block_id}
/
detach
Headers
Path Parameters
Query Parameters
The unique identifier of the agent to attach the source to.
Response
200 - application/json
Represents the in-context memory (i.e. Core memory) of the agent. This includes both the Block
objects (labelled by sections), as well as tools to edit the blocks.
Memory blocks contained in the agent's in-context memory
prompt_template
string
default: {% for block in blocks %}<{{ block.label }} characters="{{ block.value|length }}/{{ block.limit }}">
{{ block.value }}
</{{ block.label }}>{% if not loop.last %}
{% endif %}{% endfor %}Jinja2 template for compiling memory blocks into a prompt string