Get Model Prediction
Retrieve the status and results of a model prediction by its ID.
Prediction statuses are starting or processing while work is in flight.
Terminal statuses are success, failed, and cancelled.
Authorizations
API key for authentication
Path Parameters
Prediction ID
Response
Prediction retrieved successfully
Unique prediction identifier
"abc123-def456-ghi789"
Input parameters used for the prediction
{
"prompt": "A beautiful sunset over the ocean with vibrant colors",
"aspect_ratio": "16:9"
}Current status of the prediction. starting and processing are
non-terminal. success, failed, and cancelled are terminal.
starting, processing, success, failed, cancelled "success"
Prediction output (type varies based on model)
"https://storage.example.com/predictions/abc123/image.jpg"
Execution logs from the prediction
null
Performance and cost metrics
Related API endpoints