---
title: "Validate Template Endpoint"
method: GET
path: "/v1/templates/{template_id}/validate"
tags: ["templates"]
---

# Validate Template Endpoint

`GET /v1/templates/{template_id}/validate`

Return structural violations for a template's goals and settings.

Checks: resolved_reference fields reference a registered data_source,
data_source endpoint.url is non-empty, output_schema.template is a
transformation map, default_params {fieldName} targets exist as sibling
fields, and items vs item_schema on resolved_reference arrays.

Returns {"violations": [...]} — empty list means no structural errors.

## Path parameters

- `template_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/roxels/apis/interviewer.md) · [All operations](https://skmtc.dev/roxels/apis/interviewer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/roxels/interviewer/revisions/4ef48ed226e1/schema)
