> ## Documentation Index
> Fetch the complete documentation index at: https://docs.poly.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# poly validate

> Reference for the `poly validate` command.

Validate the project's configuration locally.

Examples:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
poly validate
poly validate --path /path/to/project
```

Returns a list of validation errors for the whole project. These indicate project misconfiguration that will either be rejected on [`poly push`](https://docs.poly.ai/adk/reference/cli/push) or break the project's runtime behavior.

`--json` output shape:

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "success": true,
  "valid": true,
  "errors": []
}
```

When there are validation errors the command exits non-zero, with or without `--json`.
