---
title: "Parse PDF"
method: POST
path: "/v1/tools/pdf-parser/{file_id}"
tags: ["Tools API"]
---

# Parse PDF

`POST /v1/tools/pdf-parser/{file_id}`

Parse PDF to other formats.

## Path parameters

- `file_id` string, required

## Request body

- ParsePdfRequest
  - `format` 'text' | 'markdown', required — The format into which the PDF content should be converted.

## Response `200`

- ParsePdfResponse
  - `content` string, required — The extracted content from the PDF file, converted to the specified format.

## Changes

- **2024-10-30** `d13c05cc3a96` — 1 info
  - the endpoint scheme security `bearerAuth` was added to the API

[Change history](https://skmtc.dev/writer/apis/api/changes/v1/tools/pdf-parser/:file_id/post.md)

---

[API](https://skmtc.dev/writer/apis/api.md) · [All operations](https://skmtc.dev/writer/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/writer/api/revisions/ae230e1d8c09/schema)
