Skip to main content

Module api

Module api 

Source
Expand description

REST API endpoints for the web dashboard

Structs§

DashboardQueryParams
DigestQueryParams
JobQueryParams
JobSummaryQueryParams
ListMemoriesQuery
Query parameters for listing memories
OverviewQueryParams
QueryIntrospectionQueryParams
ReflectionQueryParams

Functions§

agent_consolidate
POST /api/agent/consolidate — Trigger manual consolidation
agent_ingest
POST /api/agent/ingest — Ingest text with LLM enrichment
agent_query
POST /api/agent/query — Query memory with LLM synthesis
agent_status
GET /api/agent/status — Get agent status
cognition_overview
GET /api/cognition/overview — aggregated cognition state for a namespace.
create_memory
Create a new memory
create_namespace
Create a new namespace
dashboard
GET /api/cognition/dashboard — at-a-glance operator view of dream, digest, recall, and adaptive state.
delete_memory
Delete a memory (soft delete)
get_agent_stats
Get statistics for a specific agent
get_memory
Get a specific memory by ID
get_namespace
Get a specific namespace by ID
get_stats
Get global statistics
health_check
Health check endpoint
job_summary
GET /api/cognition/jobs/summary — job counts grouped by status.
list_digests
GET /api/cognition/digests — list session digests for a namespace.
list_jobs
GET /api/cognition/jobs — list memory jobs for a namespace.
list_memories
List memories with optional filtering
list_namespaces
List all namespaces
query_introspection
GET /api/cognition/query-introspection — ranking decision introspection.
reflection_state
GET /api/cognition/reflection — derived and contradiction observability for a namespace.
runtime_health
GET /api/cognition/runtime — runtime health info from AppState.
search_memories
Search memories using semantic or text search
update_memory
Update an existing memory