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

# Get a bank migration import

> Get a bank migration import. Access is subject to the permissions, authentication, and branch requirements documented for this operation.



## OpenAPI

````yaml /openapi/tenant-staff-v1.openapi.yaml get /bank-migrations/imports/{importId}
openapi: 3.1.0
info:
  title: Anbyan Staff Session API
  version: 1.0.0
  description: >
    Human staff API authenticated with short-lived staff sessions. Login uses
    email and password, followed by MFA when required.
servers:
  - url: https://{tenantDomain}/api/v1/staff
    description: Staff session API on a tenant domain
    variables:
      tenantDomain:
        default: tenant.example.com
security:
  - bearerAuth: []
tags:
  - name: Auth
  - name: Ledger
  - name: Deposits
  - name: Withdrawals
  - name: Transfers
  - name: Vaults
  - name: Direct Deposits
  - name: Bank Migrations
  - name: Accounts
  - name: Account Products
  - name: Clients
  - name: Client Compliance
  - name: Product Applications
  - name: Card Programs
  - name: Card Design Sets
  - name: Cards
  - name: Dashboard
  - name: Simulator
  - name: Compliance Program
  - name: Staff
  - name: Incidents
  - name: Branches
  - name: Jurisdictions
  - name: Locations
  - name: Notifications
  - name: Settings
  - name: FX
  - name: Passbooks
  - name: Access Control
  - name: Users
  - name: Activity Logs
paths:
  /bank-migrations/imports/{importId}:
    get:
      tags:
        - Bank Migrations
      summary: Get a bank migration import
      description: >-
        Get a bank migration import. Access is subject to the permissions,
        authentication, and branch requirements documented for this operation.
      operationId: getBankMigrationImport
      parameters:
        - $ref: '#/components/parameters/ImportId'
      responses:
        '200':
          $ref: '#/components/responses/BankMigrationImportData'
components:
  parameters:
    ImportId:
      name: importId
      in: path
      required: true
      schema:
        type: string
  responses:
    BankMigrationImportData:
      description: Bank migration import.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BankMigrationImportData'
  schemas:
    BankMigrationImportData:
      type: object
      properties:
        message:
          type: string
        data:
          $ref: '#/components/schemas/BankMigrationImport'
    BankMigrationImport:
      type: object
      properties:
        id:
          type: string
        importNumber:
          type: string
        name:
          type: string
        importType:
          type: string
          enum:
            - clients
            - accounts
            - transactions
            - mixed
        status:
          type: string
          enum:
            - draft
            - pending_approval
            - queued
            - validating
            - validated
            - ready_to_commit
            - committing
            - completed
            - completed_with_errors
            - failed
            - cancelled
        currentStep:
          type:
            - string
            - 'null'
        sourceFilename:
          type:
            - string
            - 'null'
        counts:
          type: object
          properties:
            totalRows:
              type: integer
            validatedRows:
              type: integer
            readyRows:
              type: integer
            committedRows:
              type: integer
            failedRows:
              type: integer
            needsReviewRows:
              type: integer
        metadata:
          $ref: '#/components/schemas/GenericObject'
    GenericObject:
      type: object
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.