API reference · 6 endpoints
Compilation
Promotion triggers and sweeps that compile memories into higher-level knowledge.
- GETList promotion decisions
- POSTRun a compilation sweep
- GETList compilation triggers
- POSTCreate a compilation trigger
- PATCHUpdate a compilation trigger
- DELETEDelete a compilation trigger
/v1/default/namespaces/{namespace_id}/compilation/promotionsList promotion decisions
The decision log: what was promoted into this namespace, from where, by which trigger, and why.
Parameters
namespace_idstringpathrequiredoutcome"promoted" | "rejected"querytrigger_idstring (uuid) | nullquerysource_namespace_idstring | nullquerylimitintegerqueryoffsetintegerquery/v1/default/namespaces/{namespace_id}/compilation/sweepRun a compilation sweep
Evaluate every active trigger now. Incremental by default; backfill ignores the watermark.
Parameters
namespace_idstringpathrequiredRequest body · application/json
backfillbooleandefault falseIgnore the watermark and evaluate the full history of each source.
/v1/default/namespaces/{namespace_id}/compilation/triggersList compilation triggers
List the escalation triggers governing what this compilation namespace promotes.
Parameters
namespace_idstringpathrequired/v1/default/namespaces/{namespace_id}/compilation/triggersCreate a compilation trigger
Add an escalation trigger. Tag, structured and similarity tiers cost nothing; the judge tier calls the model.
Parameters
namespace_idstringpathrequiredRequest body · application/json
namestringrequiredsource_namespace_idsstring[]default []Standard namespaces to promote from; empty means every standard namespace.
tagsstring[]default []tags_match"any" | "all" | "any_strict" | "all_strict"default "any"tag_groupsobject | nullfact_typesstring[]default []instructionstring | nullsimilarity_thresholdnumber | nulljudgebooleandefault falseEscalate surviving candidates to an LLM judge. The only tier that spends.
is_activebooleandefault true/v1/default/namespaces/{namespace_id}/compilation/triggers/{trigger_id}Update a compilation trigger
Partially update a trigger. The instruction is re-embedded only when its text changes.
Parameters
namespace_idstringpathrequiredtrigger_idstring (uuid)pathrequiredRequest body · application/json
namestringsource_namespace_idsstring[]default []Standard namespaces to promote from; empty means every standard namespace.
tagsstring[]default []tags_match"any" | "all" | "any_strict" | "all_strict"default "any"tag_groupsobject | nullfact_typesstring[]default []instructionstring | nullsimilarity_thresholdnumber | nulljudgebooleandefault falseEscalate surviving candidates to an LLM judge. The only tier that spends.
is_activebooleandefault true/v1/default/namespaces/{namespace_id}/compilation/triggers/{trigger_id}Delete a compilation trigger
Remove a trigger. Already-promoted memories and their decision-log rows are kept.
Parameters
namespace_idstringpathrequiredtrigger_idstring (uuid)pathrequired