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

# List import batch raw records



## OpenAPI

````yaml get /v1/import-batches/{batchId}/raw-records
openapi: 3.1.0
info:
  title: ReconLayer API
  version: 0.1.0
  summary: API-first reconciliation platform with dashboard-optional integration.
  description: >
    ReconLayer is designed to work headlessly.


    The dashboard is one consumer of this API, not the platform boundary.


    Organization resolution currently uses the `x-organization-id` header for
    development.

    In production, the intended model is:


    - dashboard requests authenticate through Clerk and the backend resolves the
    organization from the session

    - headless clients authenticate with API keys mapped to an organization

    - each API key can carry scopes for read/write/export/admin permissions


    Client write endpoints also use request-level idempotency.

    The client must generate an `Idempotency-Key` before the first attempt and

    reuse the same key on every retry of that same request.


    The route structure mirrors the domain:


    - `payment-intents` for expected payments

    - `reconciliation-cases` for reconciliation truth and workflow

    - `webhooks` for provider callbacks

    - `outbound-webhook-*` for client callback subscriptions and delivery
    tracking
servers:
  - url: https://api.reconlayer.com
security: []
tags:
  - name: dashboard
  - name: health
  - name: imports
  - name: outbound-webhooks
  - name: payment-intents
  - name: reconciliation-cases
  - name: integrations
  - name: settings
  - name: webhooks
paths:
  /v1/import-batches/{batchId}/raw-records:
    get:
      tags:
        - imports
      summary: List import batch raw records
      parameters:
        - schema:
            default: 100
            type: integer
            minimum: 1
            maximum: 500
          in: query
          name: limit
          required: true
        - schema:
            default: 0
            type: integer
            minimum: 0
            maximum: 9007199254740991
          in: query
          name: offset
          required: true
        - schema:
            type: string
            minLength: 1
          in: path
          name: batchId
          required: true
        - schema:
            type: string
            minLength: 1
          in: header
          name: authorization
          required: false
        - schema:
            type: string
            minLength: 1
          in: header
          name: x-organization-id
          required: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-65'
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-98'
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-98'
components:
  schemas:
    def-65:
      type: object
      required:
        - items
        - total
        - limit
        - offset
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/def-64'
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
      title: ImportBatchRawRecordListResponse
    def-98:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        message:
          type: string
        issues:
          type: array
          items:
            type: object
            additionalProperties: true
        details:
          type: object
          additionalProperties: true
        upstreamStatus:
          type: integer
      additionalProperties: true
      title: ApiErrorResponse
    def-64:
      type: object
      required:
        - id
        - importBatchId
        - paymentIntentId
        - sourceRef
        - rowNumber
        - normalizedType
        - normalizedId
        - validationStatus
        - validationErrors
        - receivedAt
        - payload
      properties:
        id:
          type: string
        importBatchId:
          type:
            - 'null'
            - string
        paymentIntentId:
          type:
            - 'null'
            - string
        sourceRef:
          type: string
        rowNumber:
          type:
            - 'null'
            - integer
        normalizedType:
          type:
            - 'null'
            - string
        normalizedId:
          type:
            - 'null'
            - string
        validationStatus:
          type:
            - 'null'
            - string
        validationErrors:
          type:
            - 'null'
            - object
          additionalProperties: true
        receivedAt:
          type: string
          format: date-time
        payload:
          type: object
          additionalProperties: true
      title: ImportBatchRawRecordSnapshot

````