Jobs

Stream a job until it is done

Server-sent events. When the job is done, one job event carries the job, as GET /jobs/{job_id} returns it, and the stream ends. Comment lines keep the stream open while the job runs. A stream that ends with no job event timed out: read the job with GET /jobs/{job_id}. Only task previews signal at once; other jobs are seen within one heartbeat.

get/jobs/{job_id}/stream

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/jobs/{job_id}/stream
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

job_idinteger required

Job id is unique identifier for Job object. If processing is not completed, it will return processing otherwise it will have information about Job

Example:10

Response

Request fulfilled, document follows

unknown required

Changes

No recorded changes to this operation across all 5 revisions of this API.