---
title: "Get Field Positions"
method: POST
path: "/api/pdf/field-positions"
tags: ["PDF Form Processing"]
---

# Get Field Positions

`POST /api/pdf/field-positions`

Get the positions of form fields in the PDF for UI overlay.

Args:
    file: PDF file (optional if pdf_content provided)
    pdf_content: Base64-encoded PDF (optional if file provided)

Returns:
    Dict with field positions by page

## Query parameters

- `pdf_content` string, nullable

## 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/revisions/b6c76b02a94a/schema)
