agents
Update Agent Memory
Update the core memory of a specific agent. This endpoint accepts new memory contents (human and persona) and updates the core memory of the agent identified by the user ID and agent ID.
PATCH
/
v1
/
agents
/
{agent_id}
/
memory
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
agent_id
string
requiredBody
application/json ยท object
The body is of type object
.
Response
200 - application/json
memory
object
Mapping from memory block section to memory block.
prompt_template
string
default: {% for block in memory.values() %}<{{ 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