Skip to main content
POST
Create prediction

Authorizations

Authorization
string
header
required

Obtain a token from POST /api/login. Valid for 1 hour.

Path Parameters

modelKey
string<uuid>
required

Body

multipart/form-data
file
file
required

Response

Prediction created successfully

predictionKey
string<uuid>
required
status
enum<string>
required

Status of a prediction job:

Available options:
PENDING,
RUNNING,
COMPLETED,
FAILED,
TIMEOUT
predictionCreationProgressUrl
string
required

URL to poll for prediction progress