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

# Get audit log

> Retrieve permission change audit log



## OpenAPI

````yaml get /v1/rbac/audit
openapi: 3.0.0
info:
  title: RBAC API
  version: 1.0.0
  description: API for Role-Based Access Control management
servers: []
security:
  - bearerAuth: []
tags:
  - name: RBAC
    description: Role-Based Access Control operations
paths:
  /v1/rbac/audit:
    get:
      tags:
        - RBAC
      summary: Get audit log
      description: Retrieve permission change audit log
      parameters:
        - name: from
          in: query
          schema:
            type: string
            format: date-time
        - name: to
          in: query
          schema:
            type: string
            format: date-time
        - name: actor_id
          in: query
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Audit log retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuditLog'
components:
  schemas:
    AuditLog:
      type: object
      properties:
        entries:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              timestamp:
                type: string
                format: date-time
              actor_id:
                type: string
                format: uuid
              action:
                type: string
                enum:
                  - create
                  - update
                  - delete
              permission_id:
                type: string
                format: uuid
              old_value:
                type: object
              new_value:
                type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````