---
title: "Prediction Create"
method: POST
path: "/object/{entity}/{project}/predictions"
tags: ["Predictions"]
---

# Prediction Create

`POST /object/{entity}/{project}/predictions`

Create a prediction.

## Path parameters

- `entity` string, required
- `project` string, required

## Request body

- PredictionCreateBody — Request body for creating a Prediction via REST API. This model excludes project_id since it comes from the URL path in RESTful endpoints.
  - `model` string, required — The model reference (weave:// URI)
  - `inputs` object, required — The inputs to the prediction
  - `output` unknown, required
  - `evaluation_run_id` string, nullable — Optional evaluation run ID to link this prediction as a child call

## Response `200`

Successful Response

- PredictionCreateRes
  - `prediction_id` string, required — The prediction ID

## Other responses

- `422` — Validation Error

## Changes

- **2026-01-07** `3758bf263a5e` — 1 info
  - endpoint added
- **2025-11-14** `e444bf379e61` — 1 breaking
  - api path removed without deprecation
- **2025-11-14** `b6cf2a1c4dac` — 1 info
  - endpoint added
- **2025-11-14** `b1962be94f75` — 1 breaking
  - api path removed without deprecation
- **2025-11-13** `b6cf2a1c4dac` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/wandb/apis/fastapi/changes/object/:entity/:project/predictions/post.md)

---

[API](https://skmtc.dev/wandb/apis/fastapi.md) · [All operations](https://skmtc.dev/wandb/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wandb/fastapi/revisions/3758bf263a5e/schema)
