Memory Rules
Create a memory rule
Creates an ingestion rule on a memory store. With neither agent_id nor tool_id the built-in extractor runs, configurable through prompt, ai_provider_id and model.
post/v1/projects/{project_id}/memory-rules
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/memory-rules
- 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)
Request body
Example request
{
"memory_store_id": "mstore_V1StGXR8Z5jdHi6B",
"on": "generations.completed",
"source_agent_ids": [
"agent_V1StGXR8Z5jdHi6B"
]
}Response
Memory rule created
Example response
{
"id": "mrule_V1StGXR8Z5jdHi6B",
"on": "generations.completed"
}Changes
No recorded changes to this operation across all 1 revision of this API.