Working context
All operations on this page run against the scope below. The API key is only required if you launched cortexdb with CORTEX_API_KEY set.
Capture an experience
Writes to POST /v1/experience. The async pipeline ingests, extracts facts/entities, and propagates to the layers below.
Layers in this scope
CortexDB stratifies what it stores into five layers — the raw Events are the source of truth, the rest are materialized views.
Ask
Calls POST /v1/answer — runs the recall pack through the configured LLM (Claude by default) and returns a natural-language answer with the supporting beliefs / episodes / facts cited inline.
Citations & provenance
Recall (raw pack)
Calls POST /v1/recall with the current scope. Returns the stratified pack — useful for debugging what evidence the Ask endpoint sees before it generates an answer.