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

# Toggle Breaker



## OpenAPI

````yaml /api-reference/openapi.json patch /api/v1/bound/breakers/{breaker_id}
openapi: 3.1.0
info:
  title: Sakshi — Agent Governance API
  description: >-
    Registry (KYA), decision flight recorder, bounded autonomy, evidence packs,
    fairness screens. Auth: bearer ingest keys create evidence; OIDC JWTs with
    governance roles mutate state.
  version: 0.1.0
servers:
  - url: https://demo.rotavision.com
    description: Public demo (read-only, synthetic data)
  - url: https://{host}
    description: Your Sakshi deployment (single-tenant, in your environment)
    variables:
      host:
        default: sakshi.your-company.internal
security:
  - bearerAuth: []
paths:
  /api/v1/bound/breakers/{breaker_id}:
    patch:
      tags:
        - bound
      summary: Toggle Breaker
      operationId: toggle_breaker_api_v1_bound_breakers__breaker_id__patch
      parameters:
        - name: breaker_id
          in: path
          required: true
          schema:
            type: string
            title: Breaker Id
        - name: enabled
          in: query
          required: true
          schema:
            type: boolean
            title: Enabled
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BreakerOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BreakerOut:
      properties:
        id:
          type: string
          title: Id
        agent_id:
          type: string
          title: Agent Id
        name:
          type: string
          title: Name
        metric:
          type: string
          title: Metric
        params:
          additionalProperties: true
          type: object
          title: Params
        enabled:
          type: boolean
          title: Enabled
        created_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Created By
        created_at:
          type: string
          format: date-time
          title: Created At
        last_checked_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Checked At
        last_value:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Value
        fired_event_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Fired Event Id
      type: object
      required:
        - id
        - agent_id
        - name
        - metric
        - params
        - enabled
        - created_by
        - created_at
        - last_checked_at
        - last_value
        - fired_event_id
      title: BreakerOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Ingest API key or OIDC JWT. See /authentication.

````