Skip to main content
End-to-end in 5 minutes. By the end you’ll have a memory ingested and retrieved via vector search.

1. Install

Node 18 or newer. Works in the browser too.

2. Get credentials

Sign in at app.xtrace.ai and grab your API key (xtk_…) from Settings → API Keys. The key is the sole identity — your org is derived server-side from it. See Authentication for the full credential setup, including storage best practices.

3. Ingest a memory

The call returns immediately with a job in status: "pending" or "running". Extraction runs server-side (3–10 seconds typical).

4. Wait for extraction to finish

The SDK’s pollUntilDone helper handles exponential backoff (500ms → 5s) and a configurable timeout. You can also opt into synchronous mode by passing { wait: true } on ingest — the server holds the connection up to 30 seconds. See Ingesting memories for the full pattern.

5. Search the memory back

What’s next