Hebbrix
Reference

API Reference

Complete reference for all Hebbrix API endpoints. All endpoints require authentication via API key in the Authorization header.

Base URL

https://api.hebbrix.com/v1

All API requests should be made to this base URL. HTTPS is required.

Authentication

Include your API key in the Authorization header:

Authorization: Bearer mem_sk_your_api_key
Learn more about authentication

Resources

All Endpoints

POST/v1/memories
GET/v1/memories
GET/v1/memories/{id}
PATCH/v1/memories/{id}
DELETE/v1/memories/{id}
POST/v1/memories/batch
POST/v1/search
POST/v1/search/similar
POST/v1/search/graph

Chat Completions

View documentation →
POST/v1/chat/completions
POST/v1/collections
GET/v1/collections
GET/v1/collections/{id}
PATCH/v1/collections/{id}
DELETE/v1/collections/{id}
POST/v1/documents
GET/v1/documents
GET/v1/documents/{id}
GET/v1/documents/{id}/chunks
DELETE/v1/documents/{id}
GET/v1/profile
PATCH/v1/profile
POST/v1/profile/dialectic
DELETE/v1/profile

Knowledge Graph

View documentation →
GET/v1/graph/entities
GET/v1/graph/entities/{id}
POST/v1/graph/entities
POST/v1/graph/relationships
POST/v1/graph/query
POST/v1/webhooks
GET/v1/webhooks
GET/v1/webhooks/{id}
PATCH/v1/webhooks/{id}
DELETE/v1/webhooks/{id}
POST/v1/webhooks/{id}/test

Usage & Billing

View documentation →
GET/v1/usage
GET/v1/usage/history
GET/v1/billing/subscription
POST/v1/billing/upgrade
POST/v1/billing/downgrade
GET/v1/billing/invoices

Response Format

All responses are JSON. Successful responses include the requested data:

200 OKSuccess
{
  "id": "mem_abc123",
  "content": "User prefers...",
  "created_at": "2024-01-15T..."
}
4xx/5xxError
{
  "error": {
    "code": "invalid_request",
    "message": "...",
    "status": 400
  }
}
Learn more about error handling

Pagination

List endpoints support pagination with limit and offset parameters:

GET /v1/memories?limit=50&offset=100
ParameterDefaultMaxDescription
limit50100Number of items to return
offset0-Number of items to skip

Rate Limits

Rate limits vary by tier and endpoint. Check response headers for your current limits:

X-RateLimit-Limit

Max requests

X-RateLimit-Remaining

Remaining requests

X-RateLimit-Reset

Reset timestamp

Retry-After

Wait time (on 429)

View rate limits by tier

Get Started

Ready to start building? Check out our quickstart guide or explore the SDKs.

Assistant

Ask me anything about Hebbrix