Memory API
What the Memory API does
Send timestamped text, wait for it to complete, then recall ranked memory with the data points behind it.
Overview
You send past.dev data points: pieces of text with the time each one happened, such as a call transcript, an email or a CRM note. past.dev derives memory from them. A recall names a reader and a question, and returns evidence: the documents that answer, each a memory with the excerpts of the data points behind it, or a data point itself. An audience decides which readers may see a data point.
The API accepts text from conversations, email, meetings, support records, CRM notes and documents. Each data point keeps your source id and its occurrence time. Recall returns ranked documents with dates, artifact context and the exact excerpts of the data points behind each document.
Five nouns organize every call. A project is the isolation boundary, and a project key selects one. A data point is one thing that happened, sent with its own time. An audience is the scope that decides which identities can read a data point. An identity is the reader a recall answers as. A trait is an attribute of an identity that audience rules match on. Concepts defines each one.
Read the Quickstart first, then the Setup page for the complete procedure in order. Read Sending data before a historical load and Access control before the first customer goes live.
All routes use JSON under /api/v1. The API reference documents every operation, and the same contract is machine-readable at /openapi.json.
POST /api/v1/ingestaccepts one data point, andPOST /api/v1/ingest/batchaccepts an ordered batch of up to 1,000.GET /api/v1/ingest/{ingestionId}reports completion andDELETEon the same route forgets the send.POST /api/v1/recallreturns ranked documents for one identity.DELETE /api/v1/data-points/{sourceId}andPOST /api/v1/data-points/deletedelete data points by your own source id.POST /api/v1/webhooks/{webhookId}/{token}receives an event from another system. Webhooks describes the mapping and the filters./api/v1/audiencescreates, reads, replaces, deletes and recomputes audiences by slug./api/v1/identitiescreates, updates, bulk-replaces, lists, reads and deletes identity records and their traits./api/v1/projectslists and creates projects and mints or revokes project keys. These routes take the management key.
Get API key
Sign up and start with 50,000 credits, 200,000 with a work email. No card required, and nobody approves the account. Create project keys in the console.