---
title: "Validates YAML descriptor"
method: POST
path: "/api/v1/workflows/validate"
tags: ["Workflows"]
---

# Validates YAML descriptor

`POST /api/v1/workflows/validate`

## Request

- Base URL: `https://api.getcortexapp.com`
- URL: `https://api.getcortexapp.com/api/v1/workflows/validate`
- Auth: HTTP bearer

Validates YAML descriptor.

## Request body

- string

## Response `200`

Validation result

- OpenApiResponse
  - `ok` boolean, required
  - `violations` ViolationDTO[], required
    - `description` string
    - `endLine` integer
    - `paths` string[], required
    - `pointer` string
    - `ruleLink` string
    - `startLine` integer
    - `title` string
    - `violationType` 'MUST' | 'SHOULD' | 'MAY' | 'HINT'

## Other responses

- `429`: The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.

## Changes

- **2026-11-03** `a7b058663c95`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cortex/apis/cortex-api/changes/api/v1/workflows/validate/post.md)

---

[API](https://skmtc.dev/cortex/apis/cortex-api.md) - [All operations](https://skmtc.dev/cortex/apis/cortex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cortex/apis/cortex-api/revisions/a7b058663c95?raw)
