Skip to main content
GET
/
api
/
job-executions
/
{id}
Get a job execution
curl --request GET \
  --url https://api.mentionlab.io/api/job-executions/{id} \
  --header 'x-organisation-id: <x-organisation-id>' \
  --header 'x-project-id: <x-project-id>'
{
  "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
number
required

Response

default - application/json
id
number
required
Example:

1

cachedJob
object
required

The cached job this execution belongs to

Example:

"a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"

externalId
string
required
Example:

"a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"

status
enum<string>
required
Available options:
pending,
partial,
success,
failed,
retrying
Example:

"success"

flags
number
required
Example:

0

updatedAt
string<date-time>
required
Example:

"2023-08-22T10:00:00.000Z"

createdAt
string<date-time>
required
Example:

"2023-08-22T10:00:00.000Z"