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

fetch(`https://api.lume.ai/jobs/${job_id}/data`, {
    method: 'POST', // Change to 'GET' if it was a typo
    headers: headers,
})
.then(response => response.json())
.catch(err => console.error(err));
{
    "items": [
        {
            "first_name": "John",
            "last_name": "Doe"
        },
        {
            "first_name": "Jane",
            "last_name": "Doe"
        }
    ],
    "total": 2,
    "page": 1,
    "size": 50,
    "pages": 1
}   

Gets the source data records for a designated job. See the Source Data Guide to learn more. Depending on the number of records, this query will be paginated.

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

fetch(`https://api.lume.ai/jobs/${job_id}/data`, {
    method: 'POST', // Change to 'GET' if it was a typo
    headers: headers,
})
.then(response => response.json())
.catch(err => console.error(err));
{
    "items": [
        {
            "first_name": "John",
            "last_name": "Doe"
        },
        {
            "first_name": "Jane",
            "last_name": "Doe"
        }
    ],
    "total": 2,
    "page": 1,
    "size": 50,
    "pages": 1
}   

Authorizations

lume-api-key
string
headerrequired

Path Parameters

job_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