Skip to main content

Get the extracted text content of a document

GET 

https://platform.docana.com/api/v1/documents/:id/content/

Returns the parsed text of a processed document as ordered chunks. For audio and video documents each chunk is the transcription of one time window, with startOffsetSec/endOffsetSec locating it on the media timeline. Content is only returned once ingestion is COMPLETED — poll GET /api/v1/documents/{id}/status/ first; any other status (including FAILED) answers an empty chunks page. A file that was stored without entering the knowledge pipeline (an AI-generated file while "Search Generated Files" is off) is COMPLETED with an empty page and knowledgeIngestion: "skipped", so an empty result is never mistaken for an empty file.

Request

Responses

One page of the document content chunks.