---
title: "This endpoint fetches predictions from the model."
method: POST
path: "/api/projects/{projectName}/models/{modelName}/predict"
---

# This endpoint fetches predictions from the model.

`POST /api/projects/{projectName}/models/{modelName}/predict`

Uses this model to make a prediction for values of new data.

## Path parameters

- `projectName` string, required
- `modelName` string, required

## Request body

- unknown[]
  - unknown

## Response `200`

Model queried succesfully

- object

## Other responses

- `401` — Invalid API key error message
- `404` — Project or model not found
- `500` — Server error

---

[API](https://skmtc.net/mindsdb/apis/mindsdb-api.md) · [All operations](https://skmtc.net/mindsdb/apis/mindsdb-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mindsdb/mindsdb-api/versions/387ff52538f9/schema)
