---
title: "Changes to Encode Text"
method: POST
path: "/api/scanner/encode"
---

# Changes to Encode Text

`POST /api/scanner/encode`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 5 revisions.

- **2026-08-20** `0e1db3b6bc7c`: 2 breaking, 14 info
- **2026-03-07** `f19009a654f5`: 1 info

## Changes

- **2026-08-20** `0e1db3b6bc7c`: 2 breaking, 14 info
  - the `statistics` response's property type changed from no type to `object` for status `200`
  - the `transformations/items/` response's property type changed from no type to `object` for status `200`
  - added the optional property `statistics/encodedLength` to the response with the `200` status
  - added the optional property `statistics/originalLength` to the response with the `200` status
  - added the optional property `statistics/piiEntitiesDetected` to the response with the `200` status
  - added the optional property `statistics/processingTimeMs` to the response with the `200` status
  - added the optional property `statistics/transformationsApplied` to the response with the `200` status
  - added the optional property `transformations/items/catalogItemId` to the response with the `200` status
  - added the optional property `transformations/items/components` to the response with the `200` status
  - added the optional property `transformations/items/entityType` to the response with the `200` status
  - added the optional property `transformations/items/original` to the response with the `200` status
  - added the optional property `transformations/items/originalHash` to the response with the `200` status
  - added the optional property `transformations/items/position` to the response with the `200` status
  - added the optional property `transformations/items/score` to the response with the `200` status
  - added the optional property `transformations/items/twin` to the response with the `200` status
  - added the optional property `transformations/items/twinHash` to the response with the `200` status
- **2026-03-07** `f19009a654f5`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/privacypal/apis/privacypal-api/docs/api/scanner/encode/post.md) - [API](https://skmtc.dev/privacypal/apis/privacypal-api.md) - [Page](https://skmtc.dev/privacypal/apis/privacypal-api/changes/api/scanner/encode/post)
