Jobs

Get batch status

Check the processing status of a batch upload. Returns all jobs in the batch with a summary of completed, failed, and pending counts.

get/jobs/batches/{batchId}

Request

  • Base URL
    https://api.markcopy.ai/api/v1
  • Auth
    API key in header X-API-Key

Path parameters

batchIdstring required
Example:batch_x7y8z9w0v1uT

The batch ID returned from the batch upload endpoint (prefixed with batch_).

Response

Batch details with all jobs.

batchIdstring
status'processing' | 'completed'

processing if any jobs are still pending, completed when all jobs have finished.

Example response

{
  "jobs": [
    {
      "jobId": "job_a8f3x9k2m4pQ",
      "batchId": "batch_x7y8z9w0v1uT",
      "type": "knowledge-document-upload"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.