Skip to main content

Authentication

All API requests require an API key passed in the Authorization header.

Getting Your API Key​

  1. Log in to memory-dashboard.audaxic.com
  2. In the dashboard, go to Projects
  3. Click Create Project and give your project a name
  4. Click View
  5. Click Create API Key and give your key a name
  6. 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​

StatusMeaning
401Missing or invalid API key
429Rate limit exceeded

Invalid key response:

{
"error": "Invalid API key"
}

Rate limit response:

{
"error": "Rate limit exceeded"
}