Claiv Memory · Overview

Memory API

A durable memory layer for AI applications. Write what happened, read back only what matters under a token budget, and delete on request with a receipt you can defend.

Base URL

https://claiv.io/v6

Ingest — write what happened

Push conversations, documents and decisions as they occur. Claiv extracts durable facts, keeps the evidence and records when each was true.

curl -X POST https://claiv.io/v6/ingest \
  -H "Authorization: Bearer $CLAIV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "project": "acme-onboarding",
    "content": "Priya agreed to the annual plan",
    "source": "call-2026-07-14"
  }'

Recall — read only what matters

Ask a question with a token budget. You get the most relevant facts with their evidence and timestamps, never an unbounded history dump.

curl -X POST https://claiv.io/v6/recall \
  -H "Authorization: Bearer $CLAIV_API_KEY" \
  -d '{
    "project": "acme-onboarding",
    "query": "what did Priya commit to?",
    "token_budget": 800
  }'

Forget — delete, and prove it

Remove a subject, a project or a single fact. The response is a deletion receipt suitable for a GDPR or CCPA request.

curl -X POST https://claiv.io/v6/forget \
  -H "Authorization: Bearer $CLAIV_API_KEY" \
  -d '{ "project": "acme-onboarding", "subject": "priya@acme.com" }'

// → { "deleted": 42, "receipt_id": "rcp_8f2a…" }