Job
Find all Job Items for a Job
Retrieve a paginated list of Job Items associated with a specific Job
get/jobs/{id}/items
Query parameters
sortDirection'ASC' | 'DESC' | 'asc' | 'desc'
Sort direction. Defaults to ASC.
sortBy'id' | 'createdAt' | 'updatedAt' | 'status'
Field to sort by. Defaults to createdAt.
pagenumber
Page number for offset pagination. Defaults to 1.
pageSizenumber
Number of items per page for offset pagination. Defaults to 10.
limitnumber
Opts into cursor pagination and sets the page size. When provided, "page"/"pageSize" are ignored and the response returns a "nextCursor" instead of a total count.
cursorstring
Opaque cursor from a previous cursor-paginated response. Used together with "limit" to fetch the next page.
Response
OK
Example response
{
"pagination": {
"mode": "offset",
"pageSize": 10,
"hasPreviousPage": true,
"page": 2,
"itemCount": 11,
"pageCount": 2
},
"data": [
{
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "job_item_2QEpCL2gXIgEslJf7iSvHLTuZ9N",
"status": "completed",
"statusMessage": "Processed successfully",
"input": {
"userId": "user_123",
"action": "send_email"
}
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.