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

# List this org's KB audit export jobs (newest first)

> Durable, newest-first history of this org's audit export jobs.

Deliberately NOT meta-audited (the one export route that isn't): unlike
query/detail/download — which surface retrieval-audit *content* — this
returns only the caller's own export-job *metadata* (status/window/counts),
and the UI polls it, so recording a ``KBRetrievalAuditAccessLog`` row per poll
would flood the compliance log for no governance gain. The actual data-egress
points (``export_requested`` / ``export_downloaded``) stay audited. Mints
per-file download tokens inline so the history panel is directly actionable;
keyset-paginated on ``ix_kb_audit_export_jobs_org_created``.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/knowledge-base/audit/exports
openapi: 3.1.0
info:
  title: Feather API
  description: >-
    Unified customer experience platform API. Manages identity, conversations,
    memory, agents, procedures, policies, model routing, knowledge bases,
    integrations, and runtime execution.
  version: 1.87.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/knowledge-base/audit/exports:
    get:
      tags:
        - knowledge-base-audit
      summary: List this org's KB audit export jobs (newest first)
      description: >-
        Durable, newest-first history of this org's audit export jobs.


        Deliberately NOT meta-audited (the one export route that isn't): unlike

        query/detail/download — which surface retrieval-audit *content* — this

        returns only the caller's own export-job *metadata*
        (status/window/counts),

        and the UI polls it, so recording a ``KBRetrievalAuditAccessLog`` row
        per poll

        would flood the compliance log for no governance gain. The actual
        data-egress

        points (``export_requested`` / ``export_downloaded``) stay audited.
        Mints

        per-file download tokens inline so the history panel is directly
        actionable;

        keyset-paginated on ``ix_kb_audit_export_jobs_org_created``.
      operationId: listKBAuditExports
      parameters:
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - enum:
                  - pending
                  - running
                  - succeeded
                  - partial
                  - failed
                  - expired
                type: string
              - type: 'null'
            description: Optional status filter.
            title: Status
          description: Optional status filter.
        - 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'
            description: Opaque cursor from a prior page.
            title: Cursor
          description: Opaque cursor from a prior page.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CursorPage_ExportJobResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    CursorPage_ExportJobResponse_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ExportJobResponse'
          type: array
          title: Items
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
        has_more:
          type: boolean
          title: Has More
      type: object
      required:
        - items
        - has_more
      title: CursorPage[ExportJobResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ExportJobResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        status:
          type: string
          title: Status
        export_format:
          type: string
          title: Export Format
        window_start:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Window Start
        window_end:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Window End
        created_at:
          type: string
          format: date-time
          title: Created At
        started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started At
        finalized_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Finalized At
        expires_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Expires At
        total_rows:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Rows
        partial_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Partial Count
        failed_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Failed Count
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
        filters:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Filters
        files:
          items:
            $ref: '#/components/schemas/ExportFileStatus'
          type: array
          title: Files
          default: []
      type: object
      required:
        - id
        - status
        - export_format
        - created_at
      title: ExportJobResponse
      description: Status view of an export job (with per-file download tokens when ready).
    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
    ExportFileStatus:
      properties:
        name:
          type: string
          title: Name
        sha256_plaintext:
          anyOf:
            - type: string
            - type: 'null'
          title: Sha256 Plaintext
        download_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Download Token
      type: object
      required:
        - name
      title: ExportFileStatus
      description: Per-file status; ``download_token`` is present only when downloadable.
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````