Prerequisites
You’ll need:- A Supermemory API key
- Your LLM provider’s API key
Basic Setup
1
Get Your API Keys
Supermemory API Key:
- Sign up at console.supermemory.ai
- Navigate to API Keys → Create API Key
- Copy your key
2
Update Your Base URL
Prepend
https://api.supermemory.ai/v3/
to your provider’s URL:3
Add Authentication
Include both API keys in your requests (see examples below)
Provider URLs
Implementation Examples
Alternative: URL Parameters
If you can’t modify headers, pass authentication via URL parameters:Conversation Management
Managing Conversations
Usex-sm-conversation-id
to maintain conversation context across requests: