---
title: "Validate Cel"
method: POST
path: "/api/v1/policies/validate/cel"
tags: ["Policy"]
---

# Validate Cel

`POST /api/v1/policies/validate/cel`

Validate policies

## Request body

- C1ApiPolicyV1EditorValidateRequest — The EditorValidateRequest message.
  - `text` string — The text field.

## Response `200`

Successful response

- C1ApiPolicyV1EditorValidateResponse — The EditorValidateResponse message.
  - `markers` C1ApiEditorV1EditorMarker[], nullable — The markers field.
    - `endColumn` integer — The endColumn field.
    - `endLineNumber` integer — The endLineNumber field.
    - `message` string — The message field.
    - `severity` 'UNKNOWN' | 'HINT' | 'INFO' | 'WARNING' | 'ERROR' — The severity field.
    - `startColumn` integer — The startColumn field.
    - `startLineNumber` integer — The startLineNumber field.

## Changes

> 33 revisions in range; 1 could not be searched.

- **2025-06-24** `f5a989bebcdb` — 1 warning, 1 info
  - removed the request property `cel`
  - added the new optional request property `text`
- **2025-04-10** `17f9f3bcedd5` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/policies/validate/cel/post.md)

---

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