Hebbrix
Authentication

Get Your API Key

All API requests require authentication. Learn how to get and use your API key.

Getting an API Key

Create an API key from the Dashboard. Each key can be named and has its own usage tracking.

1
Sign up at /signup or log in at /login
2
Go to Dashboard → API Keys
3
Click "Create New Key", name it, and copy the value shown once

Prefer the API? Call POST /v1/auth/register with { email, password, full_name }. The response includes an access_token (JWT) you can use immediately — or mint an API key later via POST /v1/auth/api-keys.

Using Your API Key

Include your API key in the Authorization header of every request.

GET/v1/memories
curl -X GET "https://api.hebbrix.com/v1/memories" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Python
# Python SDK — pass the API key explicitly to the client constructor.
from hebbrix import MemoryClient

client = MemoryClient(api_key="mem_sk_your_api_key")

# Or pull it from the environment yourself:
# import os; MemoryClient(api_key=os.environ["HEBBRIX_API_KEY"])
TypeScript
// TypeScript SDK
import { MemoryClient } from 'hebbrix';

const client = new MemoryClient({
  apiKey: 'mem_sk_your_api_key',
});

// Or read from env:
// new MemoryClient({ apiKey: process.env.HEBBRIX_API_KEY! });

API Key Format

Hebbrix API keys start with mem_sk_ followed by a unique identifier.

mem_sk_ed1574f99a48e9df2dcce5e86af2ecf1d4f15d0c1eb34e5191714092cb857e6d

Security Best Practices

Never expose your API key

Don't commit API keys to version control or include them in client-side code. Use environment variables instead.

Use Environment Variables

Store keys in .env files that are gitignored.

Rotate Keys Regularly

Create new keys periodically and delete old ones from the dashboard.

Use Separate Keys

Create different keys for development, staging, and production.

Monitor Usage

Check the dashboard for unusual activity or unexpected spikes.

Rate Limits

Two limits are enforced in parallel: a per-tier requests-per-minute ceiling (to smooth traffic spikes) and a monthly credit allowance (1 credit = 1 billable operation). Individual endpoints may also carry their own stricter per-minute caps — see each endpoint's docs page. Check theX-RateLimit-*response headers for live values.

TierPriceRequests / minCredits / month
Free$0601,000
Starter$19 / month30025,000
Pro$99 / month1,200200,000
Scale$399 / month2,0001,000,000
EnterpriseCustom3,000Unlimited (metered)

Endpoint-level caps (beyond the tier ceiling): search is 30/min, chat completions 30/min, media uploads 20/min, batch operations 30/min. Document uploads fall back to your tier's per-minute ceiling. These apply on top of your tier limit and protect expensive code paths.

Next Steps

Assistant

Ask me anything about Hebbrix