Skip to main content
POST
Submit a prediction job

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Run a model over one uploaded image. image_id must be ready and model_id must be one of the ids returned by GET /models.

model_id
string
required
Example:

"c0ffee00-1234-5678-9abc-def012345678"

image_id
string
required
Example:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

Response

Successful Response

The acknowledgement returned when a job is accepted onto the queue. status is submitted for a fresh job or skipped when an identical job is already running. Poll GET /job/{job_id} for progress.

status
enum<string>
required
Available options:
submitted,
skipped
job_id
string
required
reason
string | null
task_id
string | null
runpod_job_id
string | null