Predict Mixed Media

Predict a mixed media asset after the blob has been uploaded to the bucket

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Request params

FieldTypeRequiredDescription
media_idstring (UUID)YesPath parameter. Identifier of the mixed media object returned by Create Mixed Media or Create VAST Mixed Media.

No request body is required.

Response 200 OK

FieldTypeDescription
media_idstring (UUID)Identifier of the mixed media object. Same as the media_id in the request path.

Prediction runs asynchronously. Poll GET /predict/v2/media/{media_id} to track status (init, started, done, or failed).

Other responses

StatusDescription
202 AcceptedPrediction is already in progress. Response body: {"detail": "Prediction already started"}.
400 Bad RequestThe media exists but is not mixed media. Response body: {"detail": "Media is not mixed media"}.
404 Not FoundNo media with this media_id exists for your company.

Example request

PUT /predict/v2/mixed-media/036d5cb3-4fb1-4e88-98e6-1854b607d296/predict
X-API-Key: {your_api_key}

Example response

{
  "media_id": "036d5cb3-4fb1-4e88-98e6-1854b607d296"
}

If prediction is already running:

{
  "detail": "Prediction already started"
}

(Status 202.)

Typical workflow

  1. Create mixed mediaCreate Mixed Media or Create VAST Mixed Media.
  2. Upload the file (manual upload only) — PUT the binary to resumable_url, or wait for VAST capture to finish.
  3. Predict mixed mediaPUT /predict/v2/mixed-media/{media_id}/predict (this endpoint).
  4. Poll media statusGET /predict/v2/media/{media_id} until prediction status is done.
  5. Optionally configure objectives, AOIs, benchmark ranges, and impact score via the shared Media endpoints.

If the asset was predicted before (status is done), calling this endpoint again re-runs prediction and frame-level metrics (FRT).

Path Params
string
required
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json