Get your supermemory API key

Head to supermemory’s Developer Platform built to help you monitor and manage every aspect of the API.

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-api-key: $SUPERMEMORY_API_KEY" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      {"role": "user", "content": "What is the capital of France?"}
    ]
  }'