Generations
List the memory writes a generation made
Every memory write this turn made, oldest first: each memory rule's firings and the agent's own write_memory calls alike. The rows behind the generation's per-rule extraction counts. Reading them is reading the generation (generations:GetGeneration).
get/v1/projects/{project_id}/generations/{generation_id}/memory-assertions
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/generations/{generation_id}/memory-assertions
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Path parameters
generation_idstring required
Public ID of the generation
Query parameters
limitinteger
Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is 400.
offsetinteger
Results to skip. Negative or not an integer it is 400.
Response
The generation's memory writes
Example response
{
"data": [
{
"id": "massert_V1StGXR8Z5jdHi6B",
"memory_store_id": "mstore_V1StGXR8Z5jdHi6B",
"memory_id": "mem_V1StGXR8Z5jdHi6B",
"superseded_memory_id": "mem_V1StGXR8Z5jdHi6B",
"content": "The customer prefers email communication over phone calls",
"mechanism": "tool",
"rule_id": "mrule_V1StGXR8Z5jdHi6B",
"generation_id": "gen_V1StGXR8Z5jdHi6B",
"principal_type": "user",
"principal_id": "agent_V1StGXR8Z5jdHi6B",
"outcome": "created",
"similarity": 0.97
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.