List Blocks For Agent
/v1/agents/{agent_id}/core-memory/blocks
Retrieve the core memory blocks of a specific agent.
Path Parameters
Query Parameters
Returns
List Blocks For Agent
curl https://api.letta.com/v1/agents/$AGENT_ID/core-memory/blocks \
-H "Authorization: Bearer $LETTA_API_KEY"
[
{
"id": "id",
"value": "value",
"base_template_id": "base_template_id",
"created_by_id": "created_by_id",
"deployment_id": "deployment_id",
"description": "description",
"entity_id": "entity_id",
"hidden": true,
"is_template": true,
"label": "label",
"last_updated_by_id": "last_updated_by_id",
"limit": 0,
"metadata": {
"foo": "bar"
},
"preserve_on_migration": true,
"project_id": "project_id",
"read_only": true,
"template_id": "template_id",
"template_name": "template_name"
}
]Returns Examples
[
{
"id": "id",
"value": "value",
"base_template_id": "base_template_id",
"created_by_id": "created_by_id",
"deployment_id": "deployment_id",
"description": "description",
"entity_id": "entity_id",
"hidden": true,
"is_template": true,
"label": "label",
"last_updated_by_id": "last_updated_by_id",
"limit": 0,
"metadata": {
"foo": "bar"
},
"preserve_on_migration": true,
"project_id": "project_id",
"read_only": true,
"template_id": "template_id",
"template_name": "template_name"
}
]