Skip to main content
GET
/
api
/
cached-jobs
/
alive
Get stats about current job being executed (pending/active)
curl --request GET \
  --url https://api.mentionlab.io/api/cached-jobs/alive \
  --header 'x-organisation-id: <x-organisation-id>' \
  --header 'x-project-id: <x-project-id>'
{
  "active": 123,
  "pending": 123
}

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

Response

200 - application/json
active
number
required

The number of jobs currently in active status

pending
number
required

The number of job currently in pending status