Skip to main content

Module handlers

Module handlers 

Source
Expand description

HTTP request handlers for the REST API. Axum handler functions for the MenteDB REST API.

Functionsยง

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.