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 page text

The text extracted from each page, once the document is ready.

GET /v1/alRetrieval/collections/{collection_id}/documents/{document_id}/pages?start=1&end=3

Parameters:

ParameterTypeDescription
startintegeroptional — first page, from 1.
endintegeroptional — last page, inclusive. Default: the last page.

Response (200 OK):

{ "document_id": "3146366e04ff", "pages": [ { "page_num": 1, "text": "..." } ] }
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?