Skip to main content
GET
Get Prediction
Use the data.task_id returned from Create Prediction as the path parameter prediction_id.

Response fields

Authorizations

Authorization
string
header
required

Authorization: Bearer YOUR_API_KEY

Path Parameters

prediction_id
string
required

Task ID (data.task_id) returned when the prediction was created.

Response

Prediction detail

code
string
required

Response status code. "0" indicates success.

Example:

"0"

data
object
required
request_id
string
required

Unique request identifier for support and debugging.

Example:

"8bd6b5784a1e42b79bf172607f476f56"

usage
object

Billing summary for the prediction. May be omitted while the task is still processing.