---
title: "Service: /templates/validate [GET]"
source: https://dev.pageseeder.com/api/services/validate-all-templates-GET.html
description: "API endpoint for validating configuration files and ANT scripts across all server templates. Restricted to administrators, it returns validation status for each file with detailed error messages."
last_updated: 2026-09-02T11:36:16+10:00
document_type: api_endpoint
operation_id: developer-GET
resource_id: developer
path_template: /templates/validate
http_method: GET
api_category: developer
implementation_version: 6.1000
api_since: 5.9900
deprecated_since: null
obsolete_since: null
api_support: experimental
cache_control: null
generated_at: 2026-09-02
tokens: ~183
---

# /templates/validate \[GET\]

## Description

Validate configuration files and ANT scripts in all templates on the server.

## Parameters

No parameters required.

## Permission

This service is restricted to administrator.

## Response

```xml

<validations>
  <validation project="[project name]"
              base="/WEB-INF/config/template/[project name]">
    <file name="[name]"
          location="[path relative to base]"
          status="[valid|invalid]">
      <error message="[validation error]" />
      <error message="[validation error]" />
      ...
    </file>
    <file ...>
      ...
    </file>
    ...
  </validation>
</validations>
 
```

## Error Handling

No specific errors expected for this generator.

