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

# Get one audit log entry, with readable payloads

> 
        Retrieve one approved audit log entry by id, with its payloads expanded into readable values.
        Access is the same as for the list: an entry the list hides is a 404 here.
        



## OpenAPI

````yaml https://api.meetcampfire.com/api/schema?format=json get /ca/api/v1/audit-log/{id}
openapi: 3.0.3
info:
  title: Campfire Developer APIs
  version: 1.0.0
  description: >
    ## Introduction

    Campfire's developer APIs offer granular access to Campfire's core
    accounting,

    revenue recognition, and financial data features.


    These APIs are designed to be used by developers to build custom
    integrations,

    automate workflows, and perform any other programmatic operations.


    ## Rate limits

    API users can make up to **10 requests per second**. This limit is shared
    across

    all endpoints for the same API user. OAuth app tokens get the same limit,

    counted separately for each app connection. Requests that exceed the limit
    receive a

    `429 Too Many Requests` response. Wait for the number of seconds specified
    in

    the `Retry-After` response header before retrying.
servers:
  - url: https://api.meetcampfire.com
    description: Production server
security: []
tags:
  - name: Cash Management
    description: Operations related to accounts, transactions, and other bank-related data.
  - name: Core Accounting
    description: >-
      Operations related to core accounting data, such as the chart of accounts,
      entity management, and the general ledger.
  - name: Revenue Recognition
    description: >-
      Operations related to revenue recognition, contract management, and
      contract data aggregation.
  - name: Accounts Receivable
    description: Operations related to invoicing and the AR subledger
  - name: Accounts Payable
    description: Operations related to billing and the AP subledger.
  - name: Financial Statements
    description: Operations related to financial statement generation and data aggregation.
  - name: Settings
    description: Operations related to system and accounting settings configuration.
paths:
  /ca/api/v1/audit-log/{id}:
    get:
      tags:
        - Settings
      summary: Get one audit log entry, with readable payloads
      description: |2-

                Retrieve one approved audit log entry by id, with its payloads expanded into readable values.
                Access is the same as for the list: an entry the list hides is a 404 here.
                
      operationId: ca_api_v1_audit_log_retrieve
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuditLogEntrySchema'
          description: ''
        '404':
          description: No approved entry with this id that you can access.
components:
  schemas:
    AuditLogEntrySchema:
      type: object
      description: >-
        The published shape of an audit entry, for the API docs;
        AuditLogEntrySerializer produces it.
      properties:
        id:
          type: integer
        operation:
          type: string
          nullable: true
          description: Raw operation, such as add, change or delete. Open set.
        model:
          type: string
          description: Object type as app_label.model. Open set.
        object_id:
          type: integer
          nullable: true
        parent_model:
          type: string
          nullable: true
        parent_object_id:
          type: integer
          nullable: true
        parent_draft_queue:
          type: integer
          nullable: true
          description: The audit entry this row was written as part of.
        created_by:
          type: integer
          nullable: true
        created_by_name:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
        approved_by:
          type: integer
          nullable: true
          description: User who gave final approval.
        approved_by_name:
          type: string
          nullable: true
        approved_at:
          type: string
          format: date-time
          nullable: true
        notes:
          type: string
          nullable: true
        reason:
          type: string
          nullable: true
        old_payload:
          nullable: true
        new_payload:
          nullable: true
        workflow_name:
          type: string
          nullable: true
        approvers:
          type: array
          items:
            type: object
            additionalProperties: {}
          description: Each workflow step; [] when the row had no workflow.
      required:
        - approved_at
        - approved_by
        - approved_by_name
        - approvers
        - created_at
        - created_by
        - created_by_name
        - id
        - model
        - new_payload
        - notes
        - object_id
        - old_payload
        - operation
        - parent_draft_queue
        - parent_model
        - parent_object_id
        - reason
        - workflow_name

````