Expand description
HTTP request handlers for the REST API. Axum handler functions for the MenteDB REST API.
Structs§
- Admin
List Params - Query params for GET /v1/admin/memories.
Functions§
- admin_
delete_ memory - DELETE /v1/admin/memories/{id}: forget a memory from the console.
- admin_
list_ memories - GET /v1/admin/memories: a bounded, paginated page of memories for the console.
- admin_
run_ mql - POST /v1/admin/mql: run an MQL query, return the scored matches. Powers the
console query box and the
mentedbCLI’s remote mode. - create_
edge - Creates a typed, weighted edge between two memories.
- create_
space - forget_
memory - Deletes a memory from the database.
- get_
memory - Retrieves a single memory by its UUID.
- grant_
space_ access - health
- Health check endpoint. Returns server uptime and status.
- ingest_
conversation - Ingest a conversation: extract memories via LLM, filter, and store them.
- list_
spaces - recall_
memories - Recalls memories matching an MQL query string.
- search_
similar - Searches for memories similar to a given embedding vector.
- stats
- Returns database statistics (memory count, index size, etc.).
- store_
memory - Stores a new memory node in the database.