---
title: "Template List Batch"
method: POST
path: "/v2/operation/automation/templates/batch"
tags: ["Automation"]
---

# Template List Batch

`POST /v2/operation/automation/templates/batch`

Batch the templates

## 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

- AutomationTemplate[]
  - `sysId` string — ID of the template
  - `services` string[], required — Service(s) associated with the template.
  - `name` string, required — Name of the template
  - `content` string, required — Raw content of the template which is usually in YAML or JSON format
  - `content_type` string, required — Template content source (git, file)
  - `content_url` string — Git project URL when the content type is git required only in case of content type git
  - `content_files` string, required — Details about content like its data,filename
  - `description` string, required — Usage of template
  - `resources` string — Resources created/modified by the template
  - `resource_types` AutomationTemplateResourceTypesMapping[] — Resource Types for Services.
    - `service_name` 'AWS' | 'Azure' | 'AzureStack' | 'Azure_CSP' | 'Azure_CSP-Direct' | 'Azure_EA' | 'Azure_MCA' | 'Cloudstack' | 'GCP' | 'MS_VMM' | 'OCI' | 'Openstack' | 'PrivateCloud' | 'Rackspace' | 'VMware' | 'VMware_VCD' | 'vCenter' — Cloud Service and it's resource type.
    - `resource_types` string[] — Resource type of the service.
  - `status` string — Status of the template[active/inactive]. Only active templates can be executed
  - `sub_classifications` AutomationTemplateSubClassification[] — Sub classification of the template
    - `key` string — List sub-classification based on templates.
    - `classifications` string[] — List of sub-classification for templates.
  - `template_types` string[] — Type of the template like Cloud, Monitoring, Orchestration., etc
  - `engine_type` string — Engine type of the template
  - `classifications` string[] — Classification of the template
  - `scope` string, required — Scope of the template [MarketPlace, MyTemplates]
  - `created_by` string, required — Name of the user who created the template.
  - `created_at` string, required — Template creation time
  - `updated_by` string, required — Name of the user who updated the templated.
  - `updated_at` string, required — Template updated time
  - `blueprint_support` boolean — Blueprint support for the template

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `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)
