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

# Export Receipts

> Returns the receipts matching the same filters as GET /v1/receipts, ordered by seq ASC, as a downloadable file. JSONL preserves each receipt’s signed canonical + chain fields (this_hash, signature, key_id); CSV is a flat analyst-friendly projection. Note: full offline chain verification needs the Evidence Bundle (GET /v1/compliance/evidence-bundle), which also carries the signing-key registry + trust anchor — a filtered export has seq gaps and omits the keys. Bounded per call by `limit` (max 50000); the `X-Wardin-Truncated` response header is true when more rows matched. Narrow with filters or page GET /v1/receipts.



## OpenAPI

````yaml GET /v1/receipts/export
openapi: 3.0.0
info:
  title: Wardin API
  description: AI governance & observability platform — external REST API
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /v1/receipts/export:
    get:
      tags:
        - receipts
      summary: Bulk export matched receipts (JSONL or CSV)
      description: >-
        Returns the receipts matching the same filters as GET /v1/receipts,
        ordered by seq ASC, as a downloadable file. JSONL preserves each
        receipt’s signed canonical + chain fields (this_hash, signature,
        key_id); CSV is a flat analyst-friendly projection. Note: full offline
        chain verification needs the Evidence Bundle (GET
        /v1/compliance/evidence-bundle), which also carries the signing-key
        registry + trust anchor — a filtered export has seq gaps and omits the
        keys. Bounded per call by `limit` (max 50000); the `X-Wardin-Truncated`
        response header is true when more rows matched. Narrow with filters or
        page GET /v1/receipts.
      operationId: ReceiptsController_exportReceipts
      parameters:
        - name: format
          required: false
          in: query
          schema:
            enum:
              - jsonl
              - csv
            type: string
        - name: limit
          required: false
          in: query
          description: Row cap (max 50000)
          schema:
            example: 10000
            type: number
        - name: from
          required: false
          in: query
          description: RFC3339 lower ts bound (inclusive)
          schema:
            type: string
        - name: to
          required: false
          in: query
          description: RFC3339 upper ts bound (inclusive)
          schema:
            type: string
        - name: actor
          required: false
          in: query
          schema:
            type: string
        - name: provider
          required: false
          in: query
          schema:
            type: string
        - name: model
          required: false
          in: query
          schema:
            type: string
        - name: check
          required: false
          in: query
          schema:
            type: string
        - name: upstreamStatus
          required: false
          in: query
          schema:
            type: string
      responses:
        '200':
          description: A JSONL or CSV file of the matched receipts (attachment).
        '400':
          description: Malformed from/to timestamp
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````