GET
/
pipelines
/
{pipeline_id}
/
jobs
const headers = {'Content-Type': 'application/json', 'API-Key': '<lume_api_key>'};
const pipeline_id = '<pipeline_id>';

fetch(`https://api.lume.ai/pipelines/${pipeline_id}/jobs`, {
    method: 'GET',
    headers: headers,
})
.then(response => response.json())
.catch(err => console.error(err));
{
    "items": [
        {
            "id": "5b9e1989-2847-4364-88e5-9ff6a1ffa8bf",
            "created_at": "2024-02-29T02:22:27.652689Z",
            "pipeline_id": "243876bd-5beb-4c71-8b43-a5a8a91b6ec9"
        }
    ],
    "total": 1,
    "page": 1,
    "size": 50,
    "pages": 1
}

Gets all jobs ran for a designated pipeline.

See the Job Guide to learn more.

const headers = {'Content-Type': 'application/json', 'API-Key': '<lume_api_key>'};
const pipeline_id = '<pipeline_id>';

fetch(`https://api.lume.ai/pipelines/${pipeline_id}/jobs`, {
    method: 'GET',
    headers: headers,
})
.then(response => response.json())
.catch(err => console.error(err));
{
    "items": [
        {
            "id": "5b9e1989-2847-4364-88e5-9ff6a1ffa8bf",
            "created_at": "2024-02-29T02:22:27.652689Z",
            "pipeline_id": "243876bd-5beb-4c71-8b43-a5a8a91b6ec9"
        }
    ],
    "total": 1,
    "page": 1,
    "size": 50,
    "pages": 1
}

Authorizations

lume-api-key
string
headerrequired

Path Parameters

pipeline_id
string
required

Query Parameters

page
integer
default: 1

Page number

size
integer
default: 50

Page size

Response

200 - application/json
items
object[]
required
total
integer | null
required
page
integer | null
required
size
integer | null
required
pages
integer | null