---
title: "POST /agentcc/guardrail-policies/"
method: POST
path: "/agentcc/guardrail-policies/"
tags: ["agentcc"]
---

# POST /agentcc/guardrail-policies/

`POST /agentcc/guardrail-policies/`

## Request

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

CRUD for reusable guardrail policies. Org-scoped.

## Request body

- AgentccGuardrailPolicy
  - `id` string, uuid
  - `organization` string, uuid
  - `name` string, required
  - `description` string
  - `scope` 'global' | 'project' | 'key'
  - `checks` object
  - `mode` 'enforce' | 'monitor'
  - `is_active` boolean
  - `priority` integer
  - `applied_keys` object
  - `applied_projects` object
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Response `201`

Created

- AgentccGuardrailPolicy
  - `id` string, uuid
  - `organization` string, uuid
  - `name` string, required
  - `description` string
  - `scope` 'global' | 'project' | 'key'
  - `checks` object
  - `mode` 'enforce' | 'monitor'
  - `is_active` boolean
  - `priority` integer
  - `applied_keys` object
  - `applied_projects` object
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `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)
