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
- 201
- 400
- 401
- 500
Policy created successfully
Invalid request body
Authentication required or invalid token
Internal server error