Skip to main content
POST
Read any file into Markdown ready for a model (Word, PowerPoint, Excel, PDF, .doc/.ppt/.xls, TXT, Markdown, HTML)

Autorizaciones

Authorization
string
header
requerido

Authorization: Bearer ak_eu_…, a key from the dashboard (API keys).

Cuerpo

file
requerido

A file uploaded with POST /files.

Pattern: ^file_

Respuesta

The text, as Markdown. Nothing is kept.

The text of the file. Doconda keeps nothing once it has given it to you.

object
string
requerido
Allowed value: "extraction"
id
string
requerido
Pattern: ^doc_[0-9A-HJKMNP-TV-Z]{26}$
format
enum<string>
requerido
Opciones disponibles:
docx,
pptx,
xlsx,
pdf,
doc,
ppt,
xls,
txt,
md,
html,
png,
jpg,
gif,
webp
markdown
string
requerido

Headings, lists and tables kept; one section per slide or sheet; page markers in a PDF. Scanned pages and pictures are read with OCR.

chars
integer
requerido

Length of the whole text, before any cut.

Rango requerido: -9007199254740991 <= x <= 9007199254740991
truncated
boolean
requerido

true when longer than 2 000 000 characters.

pages
integer | null
requerido

Pages (PDF), slides (PowerPoint) or sheets (Excel).

Rango requerido: -9007199254740991 <= x <= 9007199254740991