Skip to main content
POST
Prediction Create

Paramètres de chemin

entity
string
requis
project
string
requis

Corps

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
requis

The model reference (weave:// URI)

inputs
Inputs · object
requis

The inputs to the prediction

output
any
requis

The output of the prediction

evaluation_run_id
string | null

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

genai_span_ref
GenAISpanRef · object[] | null

Optional GenAI span reference(s) produced by this prediction.

Réponse

Successful Response

prediction_id
string
requis

The prediction ID

Dernière modification le 30 septembre 2026