Trigger a batch ontology update run. Pro+ only.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/memory/ontology/updates/trigger" \ -H "Content-Type: application/json" \ -d '{}'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Time Travel
Time-travel query - get state at specific time. Returns all memories as they existed at the specified timestamp. Supports both valid_time and transaction_time queries.
Trigger Clustering
Run entity clustering/deduplication for the workspace. This operation identifies and merges duplicate entities based on vector similarity. All operations are workspace-scoped to ensure tenant isolation. **Parameters:** - `distance_threshold`: Similarity threshold (0.0-1.0, default 0.1) - `dry_run`: If true, preview clusters without merging **Returns:** - `merged_count`: Number of entities merged - `clusters_found`: Number of clusters identified - `total_entities`: Total entities processed - `execution_time`: Time taken in seconds - `clusters`: Cluster details (only if dry_run=True)