---
title: "Validate Template"
method: POST
path: "/v1/validate-template"
tags: ["Fixer"]
---

# Validate Template

`POST /v1/validate-template`

Validate a template configuration

## Request body

- object
  - `templateName` string
  - `templateId` string
  - `template_id` string, nullable — ID of the template
  - `template_path` string, nullable — Full path to the template to use for validation
  - `response_format` 'DIFF' | 'CHANGED_FILES' | 'ALL_FILES', nullable — Format for the response
  - `meta` object, nullable — Meta information for the request
    - `external_id` string, nullable — Customer tracking identifier

## Response `200`

Successful Response

- object
  - `success` boolean, required — Whether the template validation succeeded
  - `error` string, nullable — Error message if validation failed

## Other responses

- `400` — Bad request
- `404` — Not found
- `408` — Request timeout
- `500` — Internal server error

## Changes

- **2025-10-29** `17a1ccb59fba` — 1 info
  - api operation id `validate_template` was added
- **2025-10-29** `1a4801fc49a1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/benchify/apis/benchify-api/changes/v1/validate-template/post.md)

---

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