Перейти до основного вмісту
GET
Get a parse result

Авторизації

Authorization
string
header
обов'язково

A key from conare.ai/dashboard/keys with full access, some namespaces, or models only (/embed, /rerank, /v1, /v2/rerank, /parse).

Параметри шляху

id
string
обов'язково

The id a parse answered with 202.

Maximum string length: 64

Відповідь

The parse's state, and its result once done.

A file's text, as POST /parse and POST /namespaces/{namespace}/files answer it.

id
string
обов'язково

prs_... from POST /parse; the file id from POST /namespaces/{namespace}/files.

state
enum<string>
обов'язково
Доступні опції:
done
type
enum<string>
обов'язково
Доступні опції:
pdf,
xlsx,
docx,
pptx,
csv,
tsv,
txt,
md,
image
name
string
обов'язково
markdown
string
обов'язково

The whole document as Markdown; each page, slide or sheet starts with a comment such as <!-- page 3 -->.

parts
object[]
обов'язково

The parts in reading order; joined with their start comments, they make markdown.

without_text
object
обов'язково

What holds no text: PDF or image pages, deck slides (1-based) and Word or PowerPoint pictures (images).

pages
integer

All the file's pages, frames, slides or sheets, whatever pages selected.