Skip to main content
POST
Generate policy recommendation

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Body

application/json
team_id
string
required

Team identifier to generate recommendation for

strictness
enum<string>
default:balanced

Desired strictness level for the recommended policy

Available options:
permissive,
balanced,
strict
existing_policy
object

Optional existing policy to use as a starting point

Response

Policy recommendation

A complete CLPI policy document defining capability mappings, forbidden tools, escalation triggers, and enforcement defaults.

rationale
object[]
expected_coverage
number
Required range: 0 <= x <= 1
fault_lines_addressed
integer