Skip to main content

Base URL

All endpoints are prefixed with /brain. If you are self-hosting, replace the base URL with your own domain or IP.

Authentication

Atlas uses API key authentication. Pass your key in the x-api-key request header on every call.
The user_id in every request body is ignored by the server. Atlas derives the user namespace server-side from your API key. This prevents clients from reading other tenants’ data.

Rate limits

Rate limits are enforced per API key using a per-minute sliding window. When a rate limit is hit, the API returns HTTP 429 with a Retry-After header:

Monthly operation limits

In addition to per-minute rate limits, each tier has a monthly operations budget. Operations are consumed based on endpoint cost: When the monthly budget is exceeded:

Response format

All endpoints return JSON. Successful responses follow the schema documented per endpoint. Error responses always have a detail field:

Common status codes


Health check

Before making any memory calls, you can verify the service is fully online:
The service takes up to 120 seconds to load models on cold start. If models_loaded is false, wait and retry. All memory endpoints return 503 until models are ready.

SDK vs. direct API

The atlas-mem Python SDK wraps these endpoints automatically. You only need to call the REST API directly if you are using a language other than Python or building a custom integration.

Ingest

Store text into episodic and semantic memory.

Retrieve

Hybrid search across all memory stores.

Consolidate

Decay, prune, and compress memories.

Graph QA

Natural language multi-hop graph queries.