---
title: "Update the Brainstorming Review consensus rule, including countAgentSignals and delegatedOwnerAgentParticipantId. Owner access is required."
method: PATCH
path: "/api/v1/draft-reviews/{sessionId}/consensus-rule"
tags: ["Draft reviews"]
---

# Update the Brainstorming Review consensus rule, including countAgentSignals and delegatedOwnerAgentParticipantId. Owner access is required.

`PATCH /api/v1/draft-reviews/{sessionId}/consensus-rule`

## Request

- Base URL: `https://commentary.dev`
- URL: `https://commentary.dev/api/v1/draft-reviews/{sessionId}/consensus-rule`
- Auth: HTTP bearer

## Path parameters

- `sessionId` string, required

## Headers

- `X-Commentary-Workspace-Id` string
- `X-Correlation-Id` string

## Request body

- ConsensusRule
  - `enabled` boolean
  - `mode` 'owner_decides' | 'no_open_blockers' | 'n_of_m' | 'required_reviewers'
  - `agreementThreshold` integer
  - `minResponseCount` integer
  - `requiredReviewerIds` string[]
  - `delegatedOwnerAgentParticipantId` string, nullable
  - `requiredReviewerCondition` 'all_required_agree' | 'no_required_objects' | 'owner_plus_one_required_agrees' | 'threshold_no_blockers'
  - `objectionPolicy` 'block' | 'owner_decision' | 'ignore'
  - `blockersBlock` boolean
  - `ownerOverrideAllowed` boolean
  - `countOwnerAgreement` boolean
  - `countAgentSignals` boolean
  - `autoApplyAcceptedThreads` boolean
  - `staleOnNewActivity` boolean
  - `decisionPollCompletion` 'closed' | 'threshold'

## Response `200`

Successful response.

- object
  - `ok` unknown
  - `consensusRule` ConsensusRule
    - `enabled` boolean
    - `mode` 'owner_decides' | 'no_open_blockers' | 'n_of_m' | 'required_reviewers'
    - `agreementThreshold` integer
    - `minResponseCount` integer
    - `requiredReviewerIds` string[]
    - `delegatedOwnerAgentParticipantId` string, nullable
    - `requiredReviewerCondition` 'all_required_agree' | 'no_required_objects' | 'owner_plus_one_required_agrees' | 'threshold_no_blockers'
    - `objectionPolicy` 'block' | 'owner_decision' | 'ignore'
    - `blockersBlock` boolean
    - `ownerOverrideAllowed` boolean
    - `countOwnerAgreement` boolean
    - `countAgentSignals` boolean
    - `autoApplyAcceptedThreads` boolean
    - `staleOnNewActivity` boolean
    - `decisionPollCompletion` 'closed' | 'threshold'

## Other responses

- `400`: The request was invalid.
- `401`: Authentication is required.
- `403`: The token or session does not have permission for this resource.
- `404`: The resource was not found.
- `429`: The request was rate limited.

---

[API](https://skmtc.dev/commentary/apis/commentary-public-api.md) · [All operations](https://skmtc.dev/commentary/apis/commentary-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/commentary/apis/commentary-public-api/revisions/7aaafc198c52?raw)
