---
title: "Batch Service Account Details"
method: POST
path: "/v2/service_account/batch"
tags: ["Service Account Governance"]
---

# Batch Service Account Details

`POST /v2/service_account/batch`

Retrieve the Service Account details for the specified ids

## Request body

- ServiceAccountBatchRequest
  - `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_billing_as_parent` boolean — Also include billing accounts as parents.
  - `include_fields` string[] — List of fields to include in the response. Must be a subset of ServiceAccountDetails keys.
  - `include_sync_status` string[] — List of fields to include in the response. Must be a subset of ServiceAccountSync keys.
  - `additional_fields` string[]

## Response `200`

Fetched

- ServiceAccountBatchResponse
  - `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)
