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

# List imports

> List all imports for the user's family with pagination and filtering.



## OpenAPI

````yaml /openapi.yaml get /api/v1/imports
openapi: 3.0.3
info:
  title: Sure API
  version: v1
  description: OpenAPI documentation for the Sure API.
servers:
  - url: https://app.sure.am
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
paths:
  /api/v1/imports:
    get:
      tags:
        - Imports
      summary: List imports
      description: List all imports for the user's family with pagination and filtering.
      parameters:
        - name: page
          in: query
          required: false
          description: 'Page number (default: 1)'
          schema:
            type: integer
        - name: per_page
          in: query
          required: false
          description: 'Items per page (default: 25, max: 100)'
          schema:
            type: integer
        - name: status
          in: query
          required: false
          description: Filter by status
          schema:
            type: string
            enum:
              - pending
              - complete
              - importing
              - reverting
              - revert_failed
              - failed
        - name: type
          in: query
          required: false
          description: Filter by import type
          schema:
            type: string
            enum:
              - TransactionImport
              - TradeImport
              - AccountImport
              - MintImport
              - CategoryImport
              - RuleImport
              - PdfImport
              - QifImport
              - SureImport
      responses:
        '200':
          description: imports filtered by type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportCollection'
      security:
        - apiKeyAuth: []
components:
  schemas:
    ImportCollection:
      type: object
      required:
        - data
        - meta
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ImportSummary'
        meta:
          type: object
          required:
            - current_page
            - total_pages
            - total_count
            - per_page
          properties:
            current_page:
              type: integer
              minimum: 1
            next_page:
              type: integer
              nullable: true
            prev_page:
              type: integer
              nullable: true
            total_pages:
              type: integer
              minimum: 0
            total_count:
              type: integer
              minimum: 0
            per_page:
              type: integer
              minimum: 1
    ImportSummary:
      type: object
      required:
        - id
        - type
        - status
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          enum:
            - TransactionImport
            - TradeImport
            - AccountImport
            - MintImport
            - CategoryImport
            - RuleImport
            - PdfImport
            - QifImport
            - SureImport
        status:
          type: string
          enum:
            - pending
            - complete
            - importing
            - reverting
            - revert_failed
            - failed
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        account_id:
          type: string
          format: uuid
          nullable: true
        rows_count:
          type: integer
          minimum: 0
        error:
          type: string
          nullable: true
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      name: X-Api-Key
      in: header
      description: API key for authentication. Generate one from your account settings.

````