post https://api.ragie.ai/documents/raw
Ingest a document as raw text. On ingest, the document goes through a series of steps before it is ready for retrieval. Each step is reflected in the status of the document which can be one of [pending
, partitioning
, partitioned
, refined
, chunked
, indexed
, summary_indexed
, ready
, failed
]. The document is available for retrieval once it is in ready state. The summary index step can take a few seconds. You can optionally use the document for retrieval once it is in indexed
state. However the summary will only be available once the state has changed to summary_indexed
or ready
.