---
title: "Changes to Upload a PDF to a policy version (UI-only)"
method: POST
path: "/v1/policies/{id}/pdf"
---

# Changes to Upload a PDF to a policy version (UI-only)

`POST /v1/policies/{id}/pdf`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 76 revisions.

- **2026-06-04** `d7d0199d846f`: 1 info
- **2026-05-29** `5382c53ab431`: 1 info
- **2026-05-28** `fa180e2dc668`: 2 breaking, 2 info
- **2026-05-28** `73c1d2d2da5d`: 1 breaking, 4 warning, 2 info
- **2026-05-28** `7c0713bef5b1`: 1 breaking
- **2026-03-05** `946edaa856a9`: 1 info

## Changes

- **2026-06-04** `d7d0199d846f`: 1 info
  - the endpoint scheme security `oauth2` was removed from the API
- **2026-05-29** `5382c53ab431`: 1 info
  - the endpoint scheme security `oauth2` was added to the API
- **2026-05-28** `fa180e2dc668`: 2 breaking, 2 info
  - removed `subschema #1, subschema #2` from the request body `oneOf` list (media type: multipart/form-data)
  - removed `subschema #1, subschema #2` from the request body `oneOf` list (media type: application/json)
  - added `subschema #1, subschema #2` to the request body `oneOf` list (media type: multipart/form-data)
  - added `subschema #1, subschema #2` to the request body `oneOf` list (media type: application/json)
- **2026-05-28** `73c1d2d2da5d`: 1 breaking, 4 warning, 2 info
  - the request's body type changed from `object` to no type
  - removed the request property `fileData`
  - removed the request property `fileName`
  - removed the request property `fileType`
  - removed the request property `versionId`
  - added the media type `multipart/form-data` to the request body
  - added `subschema #1, subschema #2` to the request body `oneOf` list
- **2026-05-28** `7c0713bef5b1`: 1 breaking
  - added required request body
- **2026-03-05** `946edaa856a9`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/trycompai/apis/comp-ai-api/docs/v1/policies/:id/pdf/post.md) - [API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) - [Page](https://skmtc.dev/trycompai/apis/comp-ai-api/changes/v1/policies/:id/pdf/post)
