List all policies and create a new policy
Create a new policy with an initial version. The initial version is automatically set as the current version.Documentation Index
Fetch the complete documentation index at: https://docs.roe-ai.com/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Type | Required | Description |
|---|---|---|---|
organization_id | uuid | Yes | UUID of the organization to create the policy in |
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name of the policy (max 255 characters) |
description | string | No | Description of the policy |
content | object | Yes | Policy content structure (see below) |
version_name | string | No | Name for the initial version (default: “version 1”) |
content field accepts a JSON object with the following optional sections:
| Field | Type | Description |
|---|---|---|
guidelines | object | Hierarchical structure with categories, rules, and sub-rules |
instructions | string | Free-form text instructions for the agent |
dispositions | object | Classification options for agent outputs |
summary_template | object | Handlebars-style template for generating summaries |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Organization ID. This is required for access control. It can be provided via query or request body depending on the endpoint.
Serializer for creating a new policy with initial version
Serializer for creating a new policy with initial version