---
title: "Predict the class given and input array"
method: POST
path: "/predict"
tags: ["data"]
---

# Predict the class given and input array

`POST /predict`

## Request body

- FeatureVector
  - `sepal_length_cm` number, float
  - `sepal_width_cm` number, float
  - `petal_length_cm` number, float
  - `petal_width_cm` number, float

## Response `200`

Successful operation

---

[API](https://skmtc.dev/whylabs/apis/swagger-whylogs-flask-app.md) · [All operations](https://skmtc.dev/whylabs/apis/swagger-whylogs-flask-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/whylabs/swagger-whylogs-flask-app/revisions/5cfb1ec3797c/schema)
