Preview Distillation
Preview what memories would be created from a thread.
Runs the same analysis as distillation but doesn't save anything. Returns a preview with a cache key. Pass it to the distill endpoint to save without re-processing.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "http://127.0.0.1:14242/memories/distill/preview" \ -H "Content-Type: application/json" \ -d '{ "thread_id": "string", "thread_content": "string" }'{
"success": true,
"cache_key": "string",
"distillation_type": "string",
"processing_time": 0,
"memories": [
{}
],
"entities": [
{}
],
"relationships": [
{}
],
"insights": [
{}
],
"summary": "string",
"error": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}