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 two values from Settings → API Keys: Both are required on every request — the API key alone is not sufficient. 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