Skip to main content
POST
/
v2
/
{entity}
/
{project}
/
predictions
{
  "prediction_id": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

entity
string
required
project
string
required

Body

application/json

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
any
required

The output of the prediction

evaluation_run_id
string | null

Optional evaluation run ID to link this prediction as a child call

Response

Successful Response

prediction_id
string
required

The prediction ID