---
title: "Changes to Extract text from a PDF using AI."
method: POST
path: "/api/ai/v2/pdf-extract"
---

# Changes to Extract text from a PDF using AI.

`POST /api/ai/v2/pdf-extract`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 8 of 47 revisions.

- **2023-10-20** `871850b7231f`: 2 breaking, 3 warning, 18 info
- **2023-09-10** `20a1a390e0d2`: 1 breaking, 1 info
- **2023-09-10** `7c0bc5023ffa`: 1 warning
- **2023-09-10** `eb41a2b81c87`: 2 warning, 2 info
- **2023-08-15** `b5ffe2a9748f`: 8 breaking, 18 info
- **2023-08-04** `be85a8f8fc8c`: 6 breaking, 17 warning, 1 info
- **2023-08-04** `d6dbf089e00d`: 1 info
- **2023-08-03** `87a2697d00bf`: 2 info

## Changes

- **2023-10-20** `871850b7231f`: 2 breaking, 3 warning, 18 info
  - request body became required
  - removed the media type `multipart/form-data` from the request body
  - removed the optional property `content` from the response with the `200` status
  - removed the optional property `id` from the response with the `200` status
  - removed the optional property `timestamp` from the response with the `200` status
  - api operation id `pdfContentExtraction` removed and replaced with `extractTextFromPDFV2`
  - the endpoint scheme security `bearerAuth` was added to the API
  - api tag `AI Services` added
  - api tag `AI` removed
  - added the media type `multi-part/form-data` to the request body
  - added the optional property `data` to the response with the `200` status
  - added the optional property `processing_id` to the response with the `200` status
  - added the optional property `processing_id` to the response with the `400` status
  - added the optional property `processing_id` to the response with the `401` status
  - added the optional property `processing_id` to the response with the `404` status
  - added the optional property `processing_id` to the response with the `406` status
  - added the optional property `processing_id` to the response with the `500` status
  - added the optional property `processing_time` to the response with the `200` status
  - added the optional property `processing_time` to the response with the `400` status
  - added the optional property `processing_time` to the response with the `401` status
  - added the optional property `processing_time` to the response with the `404` status
  - added the optional property `processing_time` to the response with the `406` status
  - added the optional property `processing_time` to the response with the `500` status
- **2023-09-10** `20a1a390e0d2`: 1 breaking, 1 info
  - the `content` response's property type changed from no type to `string` for status `200`
  - removed `#/components/schemas/PdfTextExtractContent` from the `content` response property `oneOf` list for the response status `200`
- **2023-09-10** `7c0bc5023ffa`: 1 warning
  - removed the optional property `content/oneOf[#/components/schemas/PdfTextExtractContent]/tags` from the response with the `200` status
- **2023-09-10** `eb41a2b81c87`: 2 warning, 2 info
  - removed the request property `output_format`
  - removed the optional property `content/oneOf[#/components/schemas/PdfTextExtractContent]/text_content` from the response with the `200` status
  - added the optional property `content/oneOf[#/components/schemas/PdfTextExtractContent]/content` to the response with the `200` status
  - removed `#/components/schemas/PdfJsonExtractContent` from the `content` response property `oneOf` list for the response status `200`
- **2023-08-15** `b5ffe2a9748f`: 8 breaking, 18 info
  - added the new required request property `file`
  - the request's body type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `404`
  - the response's body type changed from no type to `object` for status `406`
  - the response's body type changed from no type to `object` for status `500`
  - api operation id `pdfContentExtraction` was added
  - api tag `AI` added
  - added the new optional request property `output_format`
  - added the optional property `content` to the response with the `200` status
  - added the optional property `id` to the response with the `200` status
  - added the optional property `message` to the response with the `400` status
  - added the optional property `message` to the response with the `401` status
  - added the optional property `message` to the response with the `404` status
  - added the optional property `message` to the response with the `406` status
  - added the optional property `message` to the response with the `500` status
  - added the optional property `processing_count` to the response with the `200` status
  - added the optional property `status` to the response with the `200` status
  - added the optional property `status` to the response with the `400` status
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `404` status
  - added the optional property `status` to the response with the `406` status
  - added the optional property `status` to the response with the `500` status
  - added the optional property `timestamp` to the response with the `200` status
- **2023-08-04** `be85a8f8fc8c`: 6 breaking, 17 warning, 1 info
  - the response's body type changed from `object` to no type for status `200`
  - the response's body type changed from `object` to no type for status `400`
  - the response's body type changed from `object` to no type for status `401`
  - the response's body type changed from `object` to no type for status `404`
  - the response's body type changed from `object` to no type for status `406`
  - the response's body type changed from `object` to no type for status `500`
  - removed the request property `file`
  - removed the request property `output_format`
  - removed the optional property `content` from the response with the `200` status
  - removed the optional property `id` from the response with the `200` status
  - removed the optional property `message` from the response with the `400` status
  - removed the optional property `message` from the response with the `401` status
  - removed the optional property `message` from the response with the `404` status
  - removed the optional property `message` from the response with the `406` status
  - removed the optional property `message` from the response with the `500` status
  - removed the optional property `processing_count` from the response with the `200` status
  - removed the optional property `status` from the response with the `200` status
  - removed the optional property `status` from the response with the `400` status
  - removed the optional property `status` from the response with the `401` status
  - removed the optional property `status` from the response with the `404` status
  - removed the optional property `status` from the response with the `406` status
  - removed the optional property `status` from the response with the `500` status
  - removed the optional property `timestamp` from the response with the `200` status
  - the request's body type was generalized from `object` to no type
- **2023-08-04** `d6dbf089e00d`: 1 info
  - the endpoint scheme security `bearerAuth` was removed from the API
- **2023-08-03** `87a2697d00bf`: 2 info
  - the endpoint scheme security `bearerAuth` was added to the API
  - the endpoint scheme security `ApiKeyAuth AND OrgKeyAuth` was removed from the API

---

[Operation](https://skmtc.dev/worqhat/apis/worqhat-ai-api-endpoints-2/docs/api/ai/v2/pdf-extract/post.md) - [API](https://skmtc.dev/worqhat/apis/worqhat-ai-api-endpoints-2.md) - [Page](https://skmtc.dev/worqhat/apis/worqhat-ai-api-endpoints-2/changes/api/ai/v2/pdf-extract/post)
