Add document
Turn text or a supported URL into searchable, evolving memory. Supply a new ID to create a document, or reuse an existing ID to append new information while preserving its history.
POST
TypeScript SDK
Authorizations
Path Parameters
Body
application/json
Response
Document accepted for processing
The document's processing state after this request. queued when new work was queued; otherwise its current state, e.g. done for an unchanged duplicate or failed for a metadata-only update to a failed document.
Available options:
unknown, queued, extracting, chunking, embedding, indexing, done, failed