Get Hedra Job Result
hedra_get_jobRetrieve a completed job's full result envelope, including downloadable output URLs and asset IDs, or the error if it failed. Use it to get the final generated file or diagnose why a job failed.
Instructions
Fetch the full result envelope for a job, including its outputs (with download URLs and asset_ids) once complete, or its error if it failed.
Use this to retrieve the final generated file's URL, or the failure reason for a FAILED job. For a lighter-weight progress check while a job is still running, use hedra_get_job_status instead — or use hedra_wait_for_job to block until it finishes.
Args:
job_id (string, required): the job id returned by hedra_submit_job (format job_).
Returns: JSON {job_id, model, status, outputs: [{url, asset_id, content_type, ...}], error, created_at, updated_at}. outputs[].url is the downloadable result; outputs[].asset_id can be fed back into another model's input as {"source":"asset","asset_id":...}.
Error Handling:
"Error [NOT_FOUND]: Job not found." — double check the job_id, or that it belongs to this API key's workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job's id, formatted job_<uuid> — returned by hedra_submit_job. |