---
title: "Create Organization Policy"
method: POST
path: "/v1/organization/policies"
tags: ["Organization Policies"]
---

# Create Organization Policy

`POST /v1/organization/policies`

## Request

- Base URL: `https://api.confident-ai.com`
- URL: `https://api.confident-ai.com/v1/organization/policies`
- Auth: none declared
- TypeScript: <https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api/docs/v1/organization/policies/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a custom organization policy from a set of permissions. Use `GET /v1/organization/permissions` to discover assignable permission ids.

## Request body

- CreateOrUpdatePolicy
  - `name` string, required: Name of the policy
  - `description` string, nullable: Optional description of the policy
  - `permissionIds` string[], required: The ids of the permissions granted by this policy

## Response `200`

- PolicyResponse
  - `success` boolean, required: Indicates if the request was successful
  - `data` object, required
    - `policy` Policy
      - `id` string, required: Unique identifier for the policy
      - `name` string, required: Name of the policy
      - `description` string, nullable: Optional description of the policy
      - `permissions` NamedRef[]: The permissions granted by this policy
        - `id` string, required: Unique identifier
        - `name` string, required: Name

## Changes

> 54 revisions in range; 3 not diffed.

- **2026-05-31** `173563ada468`: 2 info
  - api tag `Organization Policies` added
  - api tag `Policies` removed
- **2026-05-31** `78a7dd1b6b48`: 1 info
  - endpoint added
- **2026-05-31** `d493eef38a58`: 1 breaking
  - api path removed without deprecation
- **2026-05-31** `78a7dd1b6b48`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api/changes/v1/organization/policies/post.md)

---

[API](https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api.md) - [All operations](https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/confident-ai/apis/confident-ai-metrics-api/revisions/95cdde71b65e?raw)
