GET
/
batches
/
pipelines
/
run
/
$
{pipelineId}
curl --request GET \
  --url 'https://api.getomni.ai/batches/pipelines/run/${pipelineId}' \
  --header 'x-api-key: <api-key>'
{
  "batchId": "123e4567-e89b-12d3-a456-426614174000",
  "requests": [
    ...,
  ],
  "status": "COMPLETE",
  "timeElapsed": 7885
}

Path Parameters

pipelineId
string
required

The ID of the pipeline to run

Query Parameters

jobId
string
required

The job ID of the pipeline run

Response

batchId
string

The batch ID of the pipeline run

requests
array

A list of requests that were made to the pipeline

status
string

The status of the pipeline run

timeElapsed
number

The time elapsed in milliseconds for the pipeline run

{
  "batchId": "123e4567-e89b-12d3-a456-426614174000",
  "requests": [
    ...,
  ],
  "status": "COMPLETE",
  "timeElapsed": 7885
}