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

# Get audit log

> Retrieve a single audit log entry by ID, including the full data payload.



## OpenAPI

````yaml /openapi/brms.json get /api/audit-logs/{auditLogId}
openapi: 3.0.3
info:
  title: GoRules BRMS
  version: local
servers: []
security: []
tags:
  - name: AI
    description: >-
      AI-powered assistant for interactive conversations and decision logic
      generation
  - name: Audit log
    description: Track and export organisation activity logs for compliance and monitoring
  - name: Branches
    description: >-
      Manage feature branches for collaborative decision development with
      commits and merging
  - name: Change requests
    description: Review and approve changes before merging or deploying to environments
  - name: Cloud
    description: Cloud-specific endpoints for organisation and client management
  - name: Decision
    description: Evaluate and simulate decision graphs with trace and performance data
  - name: Deployment workflows
    description: Manage deployment workflow runs and job approvals
  - name: Deployments
    description: Configure cloud storage providers for release deployments
  - name: Document
    description: Manage decision documents, versions, and file operations within projects
  - name: Environment
    description: >-
      Configure deployment environments with approval workflows and access
      tokens
  - name: Group
    description: Manage permission groups for project-level access control
  - name: Infrastructure
    description: Health check and infrastructure status endpoints
  - name: Integration
    description: Configure external integrations for HTTP requests and data sources
  - name: Invitation
    description: Manage organisation invitations for new members
  - name: Member
    description: Manage project membership and group assignments
  - name: Organisation
    description: Manage organisation settings, preferences, and licensing
  - name: Personal access token
    description: Create and manage personal access tokens for API authentication
  - name: Profile
    description: Manage current user profile settings
  - name: Project
    description: Create and manage projects with approval workflows
  - name: Release
    description: >-
      Package, version, and deploy decision documents. Learn more about
      [Releases](https://gorules.io/developers/brms/multi-environment)
  - name: Roles
    description: Define custom roles with permissions for organisation-wide access control
  - name: Security
    description: Manage project access tokens for API authentication
  - name: Templates
    description: Browse and apply project templates for quick onboarding
  - name: Test events
    description: Manage test events for decision evaluation and testing
  - name: User
    description: Manage organisation users, invitations, and service accounts
paths:
  /api/audit-logs/{auditLogId}:
    get:
      tags:
        - Audit log
      summary: Get audit log
      description: >-
        Retrieve a single audit log entry by ID, including the full data
        payload.
      operationId: getAuditLog
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: auditLogId
          required: true
          description: Audit log entry ID
      responses:
        '200':
          description: Audit log entry with full details
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                    description: Unique identifier of the audit log entry
                  createdAt:
                    type: string
                    description: Timestamp when the action was performed
                  type:
                    type: string
                    enum:
                      - organisation
                      - user
                      - group
                      - accessToken
                      - project
                      - document
                      - release
                      - member
                      - personalAccessToken
                    description: Category of the audited resource
                  action:
                    type: string
                    description: Specific action that was performed
                  ipAddress:
                    type: string
                    nullable: true
                    description: IP address of the client that performed the action
                  userAgent:
                    type: string
                    nullable: true
                    description: User agent of the client that performed the action
                  refId:
                    type: string
                    nullable: true
                    description: Reference ID of the affected resource
                  user:
                    type: object
                    nullable: true
                    properties:
                      id:
                        type: string
                        format: uuid
                      email:
                        type: string
                        format: email
                      firstName:
                        type: string
                        nullable: true
                      lastName:
                        type: string
                        nullable: true
                    required:
                      - id
                      - email
                      - firstName
                      - lastName
                    description: User who performed the action
                  project:
                    type: object
                    nullable: true
                    properties:
                      id:
                        type: string
                        format: uuid
                      name:
                        type: string
                    required:
                      - id
                      - name
                    description: Project associated with the audit log entry
                  data:
                    nullable: true
                    description: >-
                      Detailed payload of the action, containing before/after
                      state
                  organisationId:
                    type: string
                    nullable: true
                    format: uuid
                    description: Organisation ID associated with the audit log
                required:
                  - id
                  - createdAt
                  - type
                  - action
                  - ipAddress
                  - userAgent
                  - refId
                  - organisationId
                description: Audit log entry with full details
      security:
        - personalAccessToken: []
        - internalAuth: []
components:
  securitySchemes:
    personalAccessToken:
      type: http
      scheme: bearer
      description: Personal access token is obtained through your profile
    internalAuth:
      type: http
      scheme: internal
      description: Cannot be used directly

````