List memories for an agent
Returns the agent's persistent memories newest-first as a paged list. Pass `query` to narrow to memories whose title or content matches (case-insensitive substring); omit it to list everything. Use the returned `nextPageToken` to fetch subsequent pages. Returns 404 when the agent does not exist in the tenant.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The unique identifier of the agent.
The tenant identifier
Query Parameters
The maximum number of items to return per page
int32int32Opaque pagination token returned by an external service. Pass it back unchanged rather than interpreting it as an offset.
Optional case-insensitive query across title and content.
Optional scope filter: agent for shared memories, subject for per-end-user memories.
"UNSPECIFIED" | "AGENT" | "SUBJECT"Optional end-user filter: the person's participant id, or the "provider:identifier" of one of their channel addresses. Matches every memory about that person, under either form. With scope=subject narrows to that person.
Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/agents/string/memories"{
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"scope": "AGENT",
"subject": "string",
"writtenByIdentity": "string",
"title": "string",
"content": "string",
"tags": [
"string"
],
"createdAt": 0,
"modifiedAt": 0
}
],
"nextPageToken": "string",
"totalCount": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}