GET /api/memory/settings Bearer

Get Memory Settings

Retrieve the current memory backend configuration including the active provider (file store or Mem0), LLM and embedder settings, vector store configuration, and auto-learn status.

Overview

Returns the current memory backend configuration, including the active backend, mem0 provider settings, and auto-learn status.

Response

memory_backend string
Active memory backend (file or mem0)
mem0_llm_provider string
LLM provider for mem0 (ollama, openai, anthropic)
mem0_llm_model string
LLM model name (e.g., llama3.2)
mem0_embedder_provider string
Embedding provider (ollama, openai)
mem0_embedder_model string
Embedding model name (e.g., nomic-embed-text)
mem0_vector_store string
Vector store backend (qdrant)
mem0_ollama_base_url string
Ollama server URL
mem0_auto_learn boolean
Whether auto-learn is enabled
Terminal window
curl -X GET "http://localhost:8000/api/memory/settings" \
-H "Authorization: Bearer <token>"
const response = await fetch("http://localhost:8000/api/memory/settings", {
headers: { "Authorization": "Bearer <token>" }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get(
"http://localhost:8000/api/memory/settings",
headers={"Authorization": "Bearer <token>"}
)
print(response.json())
{
"memory_backend": "mem0",
"mem0_llm_provider": "ollama",
"mem0_llm_model": "llama3.2",
"mem0_embedder_provider": "ollama",
"mem0_embedder_model": "nomic-embed-text",
"mem0_vector_store": "qdrant",
"mem0_ollama_base_url": "http://localhost:11434",
"mem0_auto_learn": true
}
Request
curl -X GET "http://localhost:8000/api/memory/settings" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <token>"
const response = await fetch("http://localhost:8000/api/memory/settings", {
  method: "GET",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
},
});

const data = await response.json();
console.log(data);
import requests

response = requests.get(
    "http://localhost:8000/api/memory/settings",
    headers={'Content-Type':'application/json','Authorization':'Bearer <token>'},
)

print(response.json())
package main

import (
    "fmt"
    "net/http"
    "io"
)

func main() {
    req, _ := http.NewRequest("GET", "http://localhost:8000/api/memory/settings", nil)
    req.Header.Set("Content-Type", "application/json")
    req.Header.Set("Authorization", "Bearer <token>")

    client := &http.Client{}
    resp, _ := client.Do(req)
    defer resp.Body.Close()

    body, _ := io.ReadAll(resp.Body)
    fmt.Println(string(body))
}
Response
Send a request to see the response