Parse
Parse a document image into structured output. Use output_format to select
blocks or markdown (default).
Currently supports document.type = image_url only (data URI or remote http(s)
image URL). PDF / file URL inputs are not yet supported.
Image limits: 20 MB file size; 50 megapixels or 200 MB decoded (whichever is exceeded first).
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
Request
The name of a compatible Cohere Parse model.
Document to parse. Currently only image_url documents are supported.
Selects the page payload shape in the response. Defaults to "markdown".
"markdown": each page includes markdown content. Tables are inlined as HTML, and images are referenced aswith matching entries inpage.markdown.images."blocks": each page includes an orderedblocksarray of text, image, and table content regions, including bounding boxes where available.
Response
The reason parsing finished. For Parse, this is only ever COMPLETE or
MAX_TOKENS; MAX_TOKENS indicates the output was truncated because it
exceeded the maximum output token limit.