Set Policy Enforcement
Enable or disable enforcement of data-governance policies on K2 queries. Requires k2.policies.manage. When enabled, queries are rewritten to satisfy active policies or rejected if they cannot be safely constrained. Read the current value from GET /orgs/{org_id}/k2/{kb_id} (governance_enforced on the KB detail).
Authorizations
Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.
Body
When true, queries are rewritten to satisfy active policies or rejected if they cannot be safely constrained. When false, governance is audit-only.
Response
Updated enforcement status
Whether governance policies are enforced on queries (vs audit-only).