> ## 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.

# List Rules



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/admin/entitlement-rules
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/admin/entitlement-rules:
    get:
      tags:
        - access
      summary: List Rules
      operationId: list_rules_api_v1_admin_entitlement_rules_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/RuleOut'
                type: array
                title: Response List Rules Api V1 Admin Entitlement Rules Get
components:
  schemas:
    RuleOut:
      properties:
        id:
          type: string
          title: Id
        match_on:
          type: string
          title: Match On
        match_mode:
          type: string
          title: Match Mode
        claim_value:
          type: string
          title: Claim Value
        grants_role:
          anyOf:
            - type: string
            - type: 'null'
          title: Grants Role
        grants_org_unit:
          anyOf:
            - type: string
            - type: 'null'
          title: Grants Org Unit
        priority:
          type: integer
          title: Priority
        enabled:
          type: boolean
          title: Enabled
        note:
          anyOf:
            - type: string
            - type: 'null'
          title: Note
        created_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Created By
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
      type: object
      required:
        - id
        - match_on
        - match_mode
        - claim_value
        - grants_role
        - grants_org_unit
        - priority
        - enabled
        - note
        - created_by
        - created_at
        - updated_at
      title: RuleOut
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Ingest API key or OIDC JWT. See /authentication.

````