BETA

alRetrieval

Ingest documents and query them with natural-language semantic retrieval. Supports PDF, DOCX, PPTX, TXT, and Markdown files.

Path
/v1/alRetrieval
Key scope
alretrieval

Supported file formats

PDF, DOCX, PPTX, TXT, MD

PDFs are processed via OCR; DOCX, PPTX, TXT, and MD have text extracted directly — no OCR cost

Scope Required: All alRetrieval endpoints require an API key with the alretrieval scope. Pass it as a Bearer token in the Authorization header.

GETGet a document summary

A summary of the document and questions a reader could ask it: basic from its pages, deep_tree from its section tree. Values are null until that pipeline has produced them, such as deep_tree while the tree is still building. Free.

GET /v1/alRetrieval/collections/{collection_id}/documents/{document_id}/summary

Response (200 OK):

{
  "id": "3146366e04ff",
  "basic": { "summary": null, "suggested_questions": null },
  "deep_tree": { "summary": "...", "suggested_questions": ["...", "..."] }
}
409 document_not_ready Wait until the document is ready.

Ready to Get Started?

Generate an API key from your dashboard and start building

Activate account?

Activate this account?