get_job
Check the status of a generation by providing its ID. Long-poll up to 300 seconds to wait for completion, receiving the finished asset when ready.
Instructions
Fetch a generation's current state, optionally long-polling for up to wait_seconds. Returns the finished asset once the state is COMPLETE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_seconds | No | Long-poll for up to this many seconds. 0 returns the current state immediately. | |
| generation_id | Yes |