---
title: "Validate a template"
method: POST
path: "/automation-studio/templates/validate"
tags: ["Automation Studio"]
---

# Validate a template

`POST /automation-studio/templates/validate`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/automation-studio/templates/validate`
- Auth: none declared

Validates an entire template without saving it. Covers the same checks that the UI performs. Returns every validation issue found rather than stopping at the first one.

## Request body

- object

## Response `200`

Validation result: { isValid, errors, warnings }

- AutomationStudioValidateTemplateResponse200
  - `isValid` boolean: Whether the template passed every deep-validation check.
  - `errors` AutomationStudioTemplatesValidatePostResponsesContentApplicationJsonSchemaErrorsItems[]: Errors found, each shaped { code, message, path }. Empty when isValid is true.
    - `code` string
    - `message` string
    - `path` string
  - `warnings` AutomationStudioTemplatesValidatePostResponsesContentApplicationJsonSchemaWarningsItems[]: Non-blocking issues found, each shaped { code, message, path }.
    - `code` string
    - `message` string
    - `path` string

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Automation Studio` added
  - api tag `automationStudio` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/automation-studio/templates/validate/post.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
