Skip to main content
POST
/
api
/
cached-jobs
/
{id}
/
job-executions
List job executions for a cached job
curl --request POST \
  --url https://api.mentionlab.io/api/cached-jobs/{id}/job-executions \
  --header 'Content-Type: application/json' \
  --header 'x-organisation-id: <x-organisation-id>' \
  --header 'x-project-id: <x-project-id>' \
  --data '
{
  "cachedJobId": "<string>",
  "externalId": "<string>",
  "status": [
    "<string>"
  ],
  "updatedAtFrom": "2023-11-07T05:31:56Z",
  "updatedAtTo": "2023-11-07T05:31:56Z",
  "createdAtFrom": "2023-11-07T05:31:56Z",
  "createdAtTo": "2023-11-07T05:31:56Z",
  "sort": [
    "<string>"
  ]
}
'
{
  "page": {
    "totalRecords": 123,
    "limit": 123,
    "currentPage": 123,
    "totalPages": 123,
    "nextPage": 123,
    "prevPage": 123
  },
  "results": [
    {
      "id": 1,
      "cachedJob": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
      "externalId": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
      "status": "success",
      "flags": 0,
      "updatedAt": "2023-08-22T10:00:00.000Z",
      "createdAt": "2023-08-22T10:00:00.000Z"
    }
  ]
}

Headers

x-organisation-id
string
required

Organisation ID to specify the organisation context

x-project-id
string
required

Project ID to specify the project context

Path Parameters

id
string<uuid>
required

Query Parameters

limit
number
Example:

50

page
number
Example:

0

Body

application/json
cachedJobId
string
externalId
string
status
string[]
updatedAtFrom
string<date-time>
updatedAtTo
string<date-time>
createdAtFrom
string<date-time>
createdAtTo
string<date-time>
sort
string[]

Response

200 - application/json
page
object
required
results
object[]