Stream job output
stream_jobCheck or read a workbook parse job started by submit_job: return completed NDJSON records, wait up to 60 seconds, get status-only details, or skip already-read records with since.
Instructions
Check on or read a parse job started by submit_job. By default it returns the job's NDJSON records once it has completed: the same output parse_workbook returns, one JSON record per line. Pass wait_seconds (up to 60) to wait that long for a job still processing; if it is still processing after that, the call fails with job_not_ready, so call again. Pass status_only: true to get the status instead, without waiting: {job_id, status, created_at, updated_at, expires_at, bytes_in, records_out, stream_url, error}, where status is "processing", "completed" or "failed". A failed job returns its parse error, and an unknown or expired job_id, or one submitted with another API key, fails with not_found. Everything after since comes back in one result, with no paging; pass since to skip records you already have. parse_workbook returns its result directly and needs no job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Number of records to skip from the start (the 0-based index of the first record to return; default 0) | |
| job_id | Yes | Job ID returned by submit_job | |
| status_only | No | Return the job's status instead of its records, without waiting (default false) | |
| wait_seconds | No | Seconds to wait for a job that is still processing (0-60, default 0: don't wait) |