curl --request GET \
--url https://api.example.com/v2/{entity}/{project}/predictions/{prediction_id} \
--header 'Authorization: Basic <encoded-value>'{
"prediction_id": "<string>",
"model": "<string>",
"inputs": {},
"output": "<unknown>",
"evaluation_run_id": "<string>",
"wb_user_id": "<string>"
}Read a prediction.
curl --request GET \
--url https://api.example.com/v2/{entity}/{project}/predictions/{prediction_id} \
--header 'Authorization: Basic <encoded-value>'{
"prediction_id": "<string>",
"model": "<string>",
"inputs": {},
"output": "<unknown>",
"evaluation_run_id": "<string>",
"wb_user_id": "<string>"
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Successful Response
The prediction ID
The model reference (weave:// URI)
The inputs to the prediction
The output of the prediction
Evaluation run ID if this prediction is linked to one
Do not set directly. Server will automatically populate this field.
Was this page helpful?