---
title: "Get the status of a background job being processed in an administrative context."
method: GET
path: "/admin/jobs/{jobType}"
tags: ["admin"]
---

# Get the status of a background job being processed in an administrative context.

`GET /admin/jobs/{jobType}`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/admin/jobs/{jobType}`
- Auth: none declared

Returns the current status and details of a background job.

## Path parameters

- `jobType` 'APPLICATION_LISTS_DATABASE_JOB' | 'REFRESH_REFERENCE_DATA', required: The type of the administrative background job

## Response `200`

Job status retrieved successfully.

- AdminJobStatus: Details of the database job status.
  - `lastRan` string, date-time: The last time the job was run.
  - `enabled` boolean: Whether the job is currently enabled.

## Other responses

- `401`: Authentication required or token invalid.
- `403`: Authenticated but not permitted to perform this action.
- `404`: The requested resource was not found.
- `409`: Conflict with the current state of the resource.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/hm-courts-and-tribunals-service/apis/applications-register-api.md) - [All operations](https://skmtc.dev/hm-courts-and-tribunals-service/apis/applications-register-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hm-courts-and-tribunals-service/apis/applications-register-api/revisions/36521cfe1ab7?raw)
