Authentication
All API requests require an API key passed in the Authorization header.
Getting Your API Key
- Log in to memory-dashboard.audaxic.com
- In the dashboard, go to Projects
- Click Create Project and give your project a name
- Click View
- Click Create API Key and give your key a name
- Copy the key — you'll only see it once
Using Your API Key
REST API
Include the key in the Authorization header as a Bearer token:
curl -X POST https://api.memory.audaxic.com/add \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ak_your_api_key_here" \
-d '{"messages": ["Hello"]}'
API Key Format
- Prefix:
ak_ - Length: 35 characters total
- Example:
ak_abc123def456ghi789jkl012mno345
Key Management
- Create multiple projects — Use different projects for different environments; each project is isolated
- Create multiple keys — Use different keys for different agents or tools; API keys in the same project access the same memories
- Delete unused keys — Remove keys you no longer need from the dashboard
- One key per project — Each key is tied to a specific project in your account
Security Best Practices
- Never expose API keys in client-side code (browser, mobile apps)
- Use environment variables or secrets managers
- Don't commit keys to version control
- Rotate keys if you suspect they've been compromised
Error Responses
| Status | Meaning |
|---|---|
401 | Missing or invalid API key |
429 | Rate limit exceeded |
Invalid key response:
{
"error": "Invalid API key"
}
Rate limit response:
{
"error": "Rate limit exceeded"
}