---
title: "Pick up a reading that took longer than 120 s"
method: GET
path: "/extract/{extraction_id}"
tags: ["Files"]
---

# Pick up a reading that took longer than 120 s

`GET /extract/{extraction_id}`

## Request

- Base URL: `https://api.eu.doconda.com/v1`
- URL: `https://api.eu.doconda.com/v1/extract/{extraction_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `extraction_id` string, required

## Response `200`

The text, as Markdown. Then it is deleted.

- object: The text of the file. Doconda keeps nothing once it has given it to you.
  - `object` 'extraction', required
  - `id` string, required
  - `format` 'docx' | 'pptx' | 'xlsx' | 'pdf' | 'doc' | 'ppt' | 'xls' | 'txt' | 'md' | 'html' | 'png' | 'jpg' | 'gif' | 'webp', required
  - `markdown` string, required: 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, required: Length of the whole text, before any cut.
  - `truncated` boolean, required: true when longer than 2 000 000 characters.
  - `pages` integer, nullable, required: Pages (PDF), slides (PowerPoint) or sheets (Excel).

## Other responses

- `202`: Still reading: ask again in a few seconds.
- `401`: unauthorized (missing, unknown or revoked key; expired session).
- `404`: Not found: never existed, already picked up, or more than 15 minutes old.
- `422`: The file could not be read.

---

[API](https://skmtc.dev/doconda/apis/doconda-api.md) · [All operations](https://skmtc.dev/doconda/apis/doconda-api/llms.txt) · [OpenAPI document](https://skmtc.dev/doconda/apis/doconda-api/revisions/27d29a7e8902?raw)
