---
title: "Ocr Pdf Region"
method: POST
path: "/api/pdf/templates/{template_id}/ocr-region"
tags: ["PDF Form Processing"]
---

# Ocr Pdf Region

`POST /api/pdf/templates/{template_id}/ocr-region`

OCR a specific region of a PDF page to auto-suggest field description.

## Path parameters

- `template_id` string, required

## Request body

- OCRRegionRequest — Request to OCR a specific region of a PDF page
  - `page` integer
  - `x` number, required
  - `y` number, required
  - `width` number, required
  - `height` number, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/versions/718de1c0d866/schema)
