---
title: "Returns a batch of BackgroundJobs"
method: POST
path: "/v1/admin/background_job/batch"
tags: ["Background Jobs"]
---

# Returns a batch of BackgroundJobs

`POST /v1/admin/background_job/batch`

Get details for the Background Job ids passed in the request

## Request body

- BackgroundJobBatchRequest
  - `ids` RecordIdentity[]
    - `sysId` string — Unique Identifier of the tracked item
    - `lastUpdate` string, date-time — Last update of the tracked item
    - `table` string — Context of the tracked item
  - `include_details` boolean — Include payload details if true
  - `include_only_status` boolean — Include just the status field if true

## Response `200`

Generated

- BackgroundJobBatchResponse
  - `results` object — Map from identifier to response model

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/corestack/apis/corestack-external-api.md) · [All operations](https://skmtc.dev/corestack/apis/corestack-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corestack/corestack-external-api/revisions/bf2cdf20826d/schema)
