Update a Hive AI policy
update_ai_policyIdempotent
Change one Hive AI policy. Enabling one is refused unless the person is an owner or admin.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| tone | No | ||
| status | No | Native lifecycle status. The legacy disabled value is accepted as paused. | |
| policyId | Yes | The policy to change. | |
| goalEvent | No | Optional goal event, or null to clear it. | |
| languages | No | ||
| policyType | No | ||
| instruction | No | ||
| outputSchema | No | The policy output schema stored by Hive. | |
| piiRedaction | No | Redact personal information before evaluation. | |
| allowedTopics | No | ||
| blockedTopics | No | ||
| retentionDays | No | Stored result retention, from 0 to 3650 days. | |
| fallbackAction | No | ||
| idempotencyKey | Yes | A caller-generated unique key (8-200 characters). Reuse it only when retrying this exact write. | |
| injectionDefense | No | Enable the native injection checks. | |
| requireCitations | No | ||
| knowledgeSourceIds | No | Exact knowledge source ids to use; an empty list restores the native default. | |
| confidenceThreshold | No | ||
| providerConnectionId | No | Saved provider connection id, or null for the workspace default. | |
| requireHumanApproval | No |