Skip to main content

Get config

curl http://localhost:8000/config \
  -H "Authorization: Bearer $API_KEY"
{
  "chat_model": "claude-sonnet-4-6",
  "explore_model": "claude-sonnet-4-6",
  "memory_model": "claude-sonnet-4-6",
  "embedding_model": "text-embedding-3-small",
  "has_notes": true,
  "has_browser": false,
  "sources": {
    "gmail": {"enabled": true, "connected": true},
    "calendar": {"enabled": false, "connected": false},
    "memory": {"enabled": true},
    "web": {"connected": true}
  }
}

Update config

curl -X PATCH http://localhost:8000/config \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"chat_model": "gpt-5.2"}'

List available models

Chat/explore/memory models

curl http://localhost:8000/models \
  -H "Authorization: Bearer $API_KEY"

Embedding models

curl http://localhost:8000/models/embedding \
  -H "Authorization: Bearer $API_KEY"

Change embedding model

Changing the embedding model triggers a full re-index of memory:
curl -X POST http://localhost:8000/config/embedding \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"embedding_model": "text-embedding-3-large"}'

Directives

System directives customize the agent’s behavior.

Get directives

curl http://localhost:8000/directives \
  -H "Authorization: Bearer $API_KEY"

Update directives

curl -X PUT http://localhost:8000/directives \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"directives": "Always respond in Spanish. Be concise."}'