---
title: "PDF text extraction and conversion documentation"
method: GET
path: "/context/pdf-text-conversion"
tags: ["Context"]
---

# PDF text extraction and conversion documentation

`GET /context/pdf-text-conversion`

## Request

- Base URL: `https://api.filegraph.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.filegraph.ai/context/pdf-text-conversion`
- Auth: API key in header `X-API-Key`

Docs for /pdf/to-text, /pdf/to-docx, /pdf/to-image — extract text with ocr, convert pdf to docx or images.

## Query parameters

- `language` string, nullable: Language for code examples (e.g. 'go_native', 'shell_curl'). Defaults to Python HTTPX.
- `endpoint` string, nullable: Get docs for a single endpoint only (reduces response size). Valid values: /pdf/to-text, /pdf/to-docx, /pdf/to-image

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/filegraph/apis/docconvert-api.md) · [All operations](https://skmtc.dev/filegraph/apis/docconvert-api/llms.txt) · [OpenAPI document](https://skmtc.dev/filegraph/apis/docconvert-api/revisions/436255c85bd4?raw)
