Get Job Result
get_job_resultRetrieve the completed result of a background command, including exit code, stdout, stderr, and duration. Waits for job completion if still running.
Instructions
Fetch the completed result of a background command.
RETURNS the same shape as execute_experiment: exit code, stdout, stderr, duration. If the job is still running this waits for it, bounded by the job's own timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id to fetch. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| job_id | Yes | ||
| status | Yes | ||
| stderr | No | ||
| stdout | No | ||
| command | Yes | ||
| exit_code | No | ||
| duration_ms | No | ||
| experiment_id | Yes | ||
| stderr_truncated | No | ||
| stdout_truncated | No |