---
title: "POST /v1/predictions/gradient"
method: POST
path: "/v1/predictions/gradient"
---

# POST /v1/predictions/gradient

`POST /v1/predictions/gradient`

## Request

- Base URL: `http://0.0.0.0:5000`
- URL: `http://0.0.0.0:5000/v1/predictions/gradient`
- Auth: none declared

## Request body

- HouseDetails[]

## Response `200`

House Price Predictions

## Other responses

- `400`: Bad request, house data validation failed
- `5XX`: Unexpected error

## Changes

- **2026-07-17** `ed2a4cf9cadf`: 1 info
  - api operation id `api.controller.predict` removed and replaced with `api.controller.predict_previous`
- **2022-04-16** `ec0320289962`: 1 info
  - endpoint added
- **2022-04-16** `03141f05f8ee`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/trainindata/apis/spec-for-house-price-prediction-api/changes/v1/predictions/gradient/post.md)

---

[API](https://skmtc.dev/trainindata/apis/spec-for-house-price-prediction-api.md) - [All operations](https://skmtc.dev/trainindata/apis/spec-for-house-price-prediction-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trainindata/apis/spec-for-house-price-prediction-api/revisions/ed2a4cf9cadf?raw)
