---
title: "Changes to Get Predictions. Returns a 424 status code if the model is not a Sequence Classification model"
method: POST
path: "/predict"
---

# Changes to Get Predictions. Returns a 424 status code if the model is not a Sequence Classification model

`POST /predict`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 44 revisions.

- **2025-09-01** `9988d0e89620`: 4 warning, 1 info
- **2024-06-28** `b923798e3868`: 2 info
- **2023-11-16** `47ffd56eb6dd`: 3 breaking, 1 info
- **2023-11-15** `c4554b0fed8e`: 1 info
- **2023-10-13** `8c00768ef703`: 1 breaking

## Changes

- **2025-09-01** `9988d0e89620`: 4 warning, 1 info
  - added the new `Empty` enum value to the `error_type` response property for the response status `413`
  - added the new `Empty` enum value to the `error_type` response property for the response status `422`
  - added the new `Empty` enum value to the `error_type` response property for the response status `424`
  - added the new `Empty` enum value to the `error_type` response property for the response status `429`
  - added the non-success response with the status `400`
- **2024-06-28** `b923798e3868`: 2 info
  - added the new optional request property `truncation_direction`
  - the request property `truncate` became nullable
- **2023-11-16** `47ffd56eb6dd`: 3 breaking, 1 info
  - removed `subschema #1, subschema #2` from the `inputs` request property `oneOf` list
  - added `subschema #1, subschema #2` to the response body `oneOf` list for the response status `200`
  - the response's body type changed from `array` to no type for status `200`
  - added `subschema #1, subschema #2, subschema #3` to the `inputs` request property `oneOf` list
- **2023-11-15** `c4554b0fed8e`: 1 info
  - endpoint added
- **2023-10-13** `8c00768ef703`: 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/huggingface/apis/text-embeddings-inference/docs/predict/post.md) - [API](https://skmtc.dev/huggingface/apis/text-embeddings-inference.md) - [Page](https://skmtc.dev/huggingface/apis/text-embeddings-inference/changes/predict/post)
