Skip to main content

Create Policy

POST 

/api/policies

Creates a new policy in your organization.

The policy will be created with the specified name, LLM prompt, and result type. Policies can be set as active or draft. When result_type is "options", result_options is required.

Request

Responses

Policy created successfully