Skip to main content
Nowledge MemNowledge Mem

Preview Distillation

POST
/memories/distill/preview

Preview what memories would be created from a thread.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request for memory distillation from thread content.

Response Body

application/json

application/json

curl -X POST "https://example.com/memories/distill/preview" \  -H "Content-Type: application/json" \  -d '{    "thread_id": "string"  }'
{  "success": true,  "cache_key": "string",  "distillation_type": "string",  "processing_time": 0,  "memories": [    {}  ],  "entities": [    {}  ],  "relationships": [    {}  ],  "memory_relations": [    {}  ],  "insights": [    {}  ],  "summary": "string",  "error": "string",  "direct_allowed": true,  "recommended_execution_mode": "direct",  "message_count": 0,  "char_count": 0,  "direct_message_limit": 0,  "direct_char_limit": 0,  "background_delay_seconds": 0}