> ## Documentation Index
> Fetch the complete documentation index at: https://docs.capy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure review settings



## OpenAPI

````yaml /openapi.json put /api/v1/review-settings
openapi: 3.1.0
info:
  title: Capy API
  version: 1.0.0
  description: Programmatic access to Capy's agent platform.
servers:
  - url: https://api.capy.ai
security:
  - bearerAuth: []
tags:
  - name: threads
  - name: tasks
  - name: messages
  - name: reviews
  - name: usage
paths:
  /api/v1/review-settings:
    put:
      tags:
        - reviews
      summary: Configure review settings
      operationId: reviews.configure
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfigureReviewRequest'
        required: true
      responses:
        '200':
          description: ReviewSettings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReviewSettings'
        '401':
          description: capy/Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/capy_Unauthorized'
        '403':
          description: capy/Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/capy_Forbidden'
        '422':
          description: capy/ReviewRefused
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/capy_ReviewRefused'
      security:
        - bearerAuth: []
components:
  schemas:
    ConfigureReviewRequest:
      type: object
      properties:
        repo:
          type: string
        autoReview:
          type: string
          enum:
            - 'off'
            - once
            - always
        postingThreshold:
          type: string
          enum:
            - low
            - medium
            - high
        postInvestigate:
          type: boolean
        postNotes:
          type: boolean
      required:
        - repo
      additionalProperties: false
    ReviewSettings:
      type: object
      properties:
        repo:
          type: string
        billingOrgId:
          anyOf:
            - type: string
            - type: 'null'
        heldByCaller:
          type: boolean
        autoReview:
          type: string
          enum:
            - 'off'
            - once
            - always
        postingThreshold:
          type: string
          enum:
            - low
            - medium
            - high
        postInvestigate:
          type: boolean
        postNotes:
          type: boolean
      required:
        - repo
        - billingOrgId
        - heldByCaller
        - autoReview
        - postingThreshold
        - postInvestigate
        - postNotes
      additionalProperties: false
    capy_Unauthorized:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - capy/Unauthorized
      required:
        - _tag
      additionalProperties: false
    capy_Forbidden:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - capy/Forbidden
      required:
        - _tag
      additionalProperties: false
    capy_ReviewRefused:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - capy/ReviewRefused
        reason:
          type: string
      required:
        - _tag
        - reason
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Capy API key
      description: An API key created in Capy under Settings → API.

````