---
title: "Get Dashboard Versions"
method: POST
path: "/v1/workload-definition/batch"
tags: ["WorkloadDefinitions"]
---

# Get Dashboard Versions

`POST /v1/workload-definition/batch`

Fetch a batch of Workload Definitions

## Request body

- RecordIdentityBatchRequest
  - `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

## Response `200`

Fetched

- WorkloadDefinition[]
  - `sysId` string — Identifier of the definition
  - `createdOn` string, date-time — Definition created on
  - `updatedOn` string, date-time — Definition updated on
  - `headVersion` 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
  - `releaseVersion` 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
  - `tenant_id` string, required — Tenant owning the workload
  - `owner` string — Owner of the workload
  - `name` string — Name of the workload
  - `description` string — Description of the workload
  - `workload_type` string — Type of the workload
  - `is_active` boolean, required — States if the workload is active or not
  - `attachments` string[] — List of attachment IDs associated with this workload

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `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)
