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

# List Audit

> Reference for merged 0.6.0 source. The latest verified binary release is 0.5.5; use your Engine’s /api/openapi.json for its installed contract.



## OpenAPI

````yaml /engine/openapi.json get /api/audit
openapi: 3.1.0
info:
  title: nerditd
  version: 0.6.0
  description: >-
    Current source interface (0.6.0); verify your installed Engine version. This
    is not a claim that 0.6.0 is released.
servers:
  - url: http://127.0.0.1:9321
    description: Default local Engine; use your configured endpoint.
security: []
paths:
  /api/audit:
    get:
      tags:
        - Audit
      summary: List Audit
      description: >-
        Reference for merged 0.6.0 source. The latest verified binary release is
        0.5.5; use your Engine’s /api/openapi.json for its installed contract.
      operationId: list_audit
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            default: 50
            title: Limit
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Cursor
        - name: action
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Action
        - name: result
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Result
        - name: target
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Target
        - name: target_type
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Target Type
        - name: principal_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Principal Id
        - name: action_prefix
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Action Prefix
        - name: since
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Since
        - name: until
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Until
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuditLogPage'
          description: HTTP 200 response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: HTTP 422 response
components:
  schemas:
    AuditLogPage:
      properties:
        items:
          items:
            $ref: '#/components/schemas/AuditLogEntry'
          type: array
          title: Items
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
      type: object
      required:
        - items
      title: AuditLogPage
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AuditLogEntry:
      properties:
        id:
          type: integer
          title: Id
        ts:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Ts
        principal_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Principal Id
        principal_role:
          anyOf:
            - type: string
            - type: 'null'
          title: Principal Role
        action:
          type: string
          title: Action
        target_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Target Type
        target_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Target Id
        params_redacted:
          anyOf:
            - {}
            - type: 'null'
          title: Params Redacted
        result:
          anyOf:
            - type: string
            - type: 'null'
          title: Result
        status_code:
          anyOf:
            - type: integer
            - type: 'null'
          title: Status Code
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
        idempotency_key:
          anyOf:
            - type: string
            - type: 'null'
          title: Idempotency Key
      type: object
      required:
        - id
        - action
      title: AuditLogEntry
    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

````