Ilyworks icon

Ilyworks

Transform images and video with the Ilyworks media API

Job → Wait Until Done

AI-generated

Summary

Poll a video processing job by its Job ID every specified number of seconds until it completes or fails, or until a timeout occurs.

Inputs

  • Job ID (required) — The jobId returned by a video submit operation to identify the job to wait for.
  • Poll Interval (Seconds) — Time interval in seconds between status checks; defaults to 3 seconds, with allowed range from 1 to 30 seconds.
  • Timeout (Seconds) — Maximum time in seconds to wait for completion before throwing an error; defaults to 300 seconds (5 minutes).

Output shape

A single record containing the final job status as JSON when the job completes successfully.

The operation throws an error if the job fails or does not complete within the specified timeout. The polling waits asynchronously and returns the job JSON once 'done' status is detected.

Links

Discussion