Documentation Index
Fetch the complete documentation index at: https://supermemory.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Get your supermemory API key
Head to supermemory’s Developer Platform built to help you monitor and manage every aspect of the API.
Create an account
An account will automatically be created on your first login.
Create an API Key
Navigate to API Keys
Click Create API KeyChoose Name and Expiry (Optional)
Click CreateCopy New Key
Click to copy
Done! You can now use your API key to authenticate requests to the supermemory API.
Next up, let’s add your first memory.
Get your LLM provider’s API key
Head to your LLM provider’s dashboard and get your API key.
Choose your endpoint
https://api.supermemory.ai/v3/https://api.openai.com/v1/chat/completions
Making your first request
curl https://api.supermemory.ai/v3/https://api.openai.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "x-supermemory--api-key: $SUPERMEMORY_API_KEY" \
-H 'x-sm-user-id: user_id' \
-d '{
"model": "gpt-5",
"messages": [
{"role": "user", "content": "What is the capital of France?"}
]
}'