# validate_config_file

> **Function** in `langgraph_cli`

📖 [View in docs](https://reference.langchain.com/python/langgraph-cli/config/validate_config_file)

Load and validate a configuration file.

## Signature

```python
validate_config_file(
    config_path: pathlib.Path,
) -> Config
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/55ec2f21939ce7755e6398c11b541de8926245ee/libs/cli/langgraph_cli/config.py#L608)