{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/strix-ai/json-schema/strix-ai-update-pr-review-settings-request-schema.json",
  "title": "UpdatePrReviewSettingsRequest",
  "description": "Partial settings update. Supply at least one property; omitted settings keep their current values.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/strix-ai-openapi.json#/components/schemas/UpdatePrReviewSettingsRequest",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 1,
  "properties": {
    "live_status_enabled": {
      "type": "boolean",
      "default": true,
      "description": "Show live progress on GitHub. When disabled, comments are first posted with results. The review page always shows progress."
    },
    "exclude_bots": {
      "type": "boolean",
      "description": "Skip PRs opened by bot authors."
    },
    "excluded_authors": {
      "description": "Full replacement list of author logins to exclude from automatic review.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 500
    },
    "included_authors": {
      "description": "Author logins to review exclusively. An empty list reviews every author. When set, PRs from other authors are skipped and not billed.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 500
    },
    "reviewed_bots": {
      "description": "Full replacement list of bot logins to review even when exclude_bots is true.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 200
    },
    "review_on_push": {
      "type": "boolean",
      "description": "Re-review when new commits are pushed."
    },
    "target_branches": {
      "description": "Branch-name patterns (single `*` wildcard, case-insensitive) that limit automatic reviews to matching base branches. An empty array reviews all branches.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 100
    },
    "skip_excluded_path_prs": {
      "type": "boolean",
      "description": "Skip automatic reviews of pull requests whose changed files all match excluded_paths."
    },
    "excluded_paths": {
      "description": "Path glob patterns used by skip_excluded_path_prs, such as `*.md`, `docs/`, or `*.{md,mdx}`. Supports `*`, `?`, `**`, `[abc]`, `[!abc]`, and `{a,b}`; other characters are literal. Replaces the full list.",
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 200
      },
      "maxItems": 200
    },
    "allow_overage": {
      "type": "boolean",
      "description": "Permit reviews beyond the plan limit."
    },
    "overage_review_cap": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 51,
      "description": "Maximum reviews when overage is allowed. A deep review counts as 3. Send null for no cap."
    },
    "block_on_findings": {
      "type": "boolean",
      "description": "When true, findings with a severity in blocking_severities submit a blocking review. When false, findings never block."
    },
    "blocking_severities": {
      "description": "Finding severities that trigger a blocking review when block_on_findings is true.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "critical",
          "high",
          "medium",
          "low"
        ]
      },
      "maxItems": 4
    },
    "approve_clean_prs": {
      "type": "boolean",
      "description": "When true, submit a GitHub approval on a clean PR instead of only a passing commit status."
    },
    "posted_severities": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "critical",
          "high",
          "medium",
          "low"
        ]
      },
      "maxItems": 4,
      "description": "Finding severities posted on pull requests (inline comments and the summary comment). Findings at other severities are kept in Strix but not posted, and never block or fail the status check, even when their severity is in blocking_severities. Defaults to all four severities."
    },
    "default_depth": {
      "type": "string",
      "enum": [
        "normal",
        "deep"
      ],
      "description": "Depth every review runs at unless the start request's `depth` or an `@strix /deep` or `@strix /normal` comment picks one."
    }
  }
}