---
title: "POST /agentcc/guardrail-configs/validate-cel/"
method: POST
path: "/agentcc/guardrail-configs/validate-cel/"
tags: ["agentcc"]
---

# POST /agentcc/guardrail-configs/validate-cel/

`POST /agentcc/guardrail-configs/validate-cel/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/agentcc/guardrail-configs/validate-cel/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Validate a CEL expression syntax.

## Request body

- ValidateCELRequest
  - `expression` string, required

## Response `200`

OK

- ValidateCELResponse
  - `status` boolean, required
  - `result` ValidateCELResult, required
    - `expression` string, required
    - `valid` boolean, required
    - `error` string, nullable

## Other responses

- `400`: Bad Request
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
