---
title: "Validate config"
method: POST
path: "/validate-config"
tags: ["Config"]
---

# Validate config

`POST /validate-config`

Validates a config.yaml file for syntax errors and invalid values

## Response `200`

OK

- PkgServerValidateConfigResponse
  - `errors` GithubComPullbasePullbaseServerPkgConfigvalidateValidationError[]
    - `column` integer
    - `field` string
    - `line` integer
    - `message` string
  - `valid` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `405` — Method Not Allowed

---

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