---
title: "Image processing endpoint documentation"
method: GET
path: "/context/image-ocr"
tags: ["Context"]
---

# Image processing endpoint documentation

`GET /context/image-ocr`

## 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/image-ocr`
- Auth: API key in header `X-API-Key`

Docs for /image/to-text, /image/to-pdf, /image/resize — extract text via ocr, convert images to pdf, resize 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: /image/to-text, /image/to-pdf, /image/resize

## 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)
