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

# Retrieve Audit Ledger

> Retrieve the full tax compliance ledger with FIFO cost-basis accounting for all historical trades.

Compile and retrieve historic cryptographic balance ledger records for the authenticated smart wallet to ensure total transparency and auditing compliance.


## OpenAPI

````yaml GET /v1/actions/audit/ledger
openapi: 3.1.0
info:
  title: Aegis Secure API
  description: >-
    Zero-trust API for Developer-Controlled Wallets (DCW) and programmatic
    Policy Engine controls.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.aegisintent.xyz
    description: Production API Server
security: []
paths:
  /v1/actions/audit/ledger:
    get:
      tags:
        - Actions API
      summary: Retrieve Audit Ledger
      description: >-
        Retrieve the full tax compliance ledger with FIFO cost-basis accounting
        for all historical trades.
      parameters:
        - name: X-Aegis-Email
          in: header
          required: true
          schema:
            type: string
          description: Agent email address
      responses:
        '200':
          description: Audit trails compiled successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  ledger:
                    type: array
                    items:
                      type: object
      security:
        - BearerAuth: []
        - AegisEmail: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Provide raw API session token issued by `/v1/connect/complete`
    AegisEmail:
      type: apiKey
      in: header
      name: X-Aegis-Email
      description: Dual-header token holder identity confirmation

````