---
title: "Structure a PDF document into the given dataset."
method: POST
path: "/structure/pdf"
tags: ["structure"]
---

# Structure a PDF document into the given dataset.

`POST /structure/pdf`

For single mode, creates one job for the entire PDF.
For batch mode, creates one job per PDF page.

## Request body

- StructurePdfRequest
  - `dataset` string, required
  - `instructions` string, nullable
  - `mode` 'Single' | 'Batch'
  - `model` string, nullable
  - `node_id` string, uuid
  - `path` string, required

## Response `200`

List of created job IDs

- StructurePdfResponse
  - `job_ids` JobId[], required

## Changes

- **2026-01-21** `817198e84647` — 1 info
  - endpoint added
- **2026-01-21** `d4cc893e9116` — 1 breaking
  - api path removed without deprecation
- **2026-01-21** `45952f7cb8cb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/structifyai/apis/structify/changes/structure/pdf/post.md)

---

[API](https://skmtc.dev/structifyai/apis/structify.md) · [All operations](https://skmtc.dev/structifyai/apis/structify/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/structifyai/structify/revisions/1364930b6980/schema)
