Skip to main content

1. Get your API key

Sign up at velixarai.com and create an API key from Settings → API Keys. Keys start with vlx_.

2. Store a memory

curl -X POST https://api.velixarai.com/v1/memory \
  -H "Authorization: Bearer vlx_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "User prefers dark mode and metric units",
    "user_id": "user_123",
    "tier": 0,
    "type": "preference",
    "tags": ["settings", "ui"]
  }'

3. Search memories

curl "https://api.velixarai.com/v1/memory/search?q=user%20preferences&limit=5" \
  -H "Authorization: Bearer vlx_your_key"
Response:
{
  "memories": [
    {
      "id": "mem_abc123",
      "content": "User prefers dark mode and metric units",
      "tier": 0,
      "type": "preference",
      "score": 0.92,
      "created_at": "2026-02-16T10:30:00Z"
    }
  ],
  "count": 1
}

Next steps