Remember
POST /api/v1/remember — Ingest data and build the knowledge graph in a single call.
Combines the add and cognify steps. Equivalent to calling cognee.remember() in the Python SDK. Accepts multipart form data. For most workflows, remember is the simplest entry point; use the lower-level add + cognify operations separately when you need to upload multiple files before triggering processing.
On a completed run, the response includes
items_processed — the count of successfully ingested items (entries whose pipeline run did not error).
Error responses
A
graph_model that is invalid JSON or cannot be converted to a schema is now rejected with 400 rather than being silently ignored. Empty optional fields (content_type, graph_model, session_id, node_set entries) are treated as omitted.Lower-level operations
The following endpoints provide more granular control over data ingestion. Most users should preferremember above.
Add
POST /api/v1/add — Upload files to a dataset without processing.
Accepts multipart form data. Files are stored in the dataset but not yet processed into the knowledge graph — call cognify separately.
- Documents — PDF, TXT, Markdown, CSV, JSON, DOCX, PPTX
- Images — PNG, JPG, JPEG, GIF, WEBP, TIFF, BMP, and more, extracted via the tenant’s configured vision model
- Audio — MP3, WAV, M4A, OGG, FLAC, and more, transcribed to text
POST /api/v1/remember.
Update
PATCH /api/v1/update — Replace an existing document in a dataset.
Accepts multipart form data. Requires both the data item ID and dataset ID as query parameters.