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

# List Migration Tasks

> Retrieve a list of migration tasks for a specific migration



## OpenAPI

````yaml v1/openapi.json get /api/v1/migration-tasks
openapi: 3.1.0
info:
  title: EDM API
  version: 1.0.0
  description: >-
    This API is built from TypeScript source code and uses common types defined
    in your shared files. It exposes endpoints for migration workflows, file
    management, and migration modal creation.
servers:
  - url: https://worker.anon.com
security:
  - bearerAuth: []
paths:
  /api/v1/migration-tasks:
    get:
      tags:
        - Migration Tasks
      summary: List Migration Tasks
      description: Retrieve a list of migration tasks for a specific migration
      operationId: api.v1.migration-tasks.list
      parameters:
        - name: migration_id
          in: query
          required: true
          description: Migration ID to list tasks for
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MigrationTaskResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIErrorResponse'
components:
  schemas:
    MigrationTaskResponse:
      type: object
      properties:
        object:
          type: string
          enum:
            - migration_task
        id:
          type: string
          format: uuid
          description: Unique identifier for the migration task
        created:
          type: string
          format: date-time
          description: Timestamp when the migration task was created
        updated:
          type: string
          format: date-time
          description: Timestamp when the migration task was last updated
        migration_id:
          type: string
          format: uuid
          description: Unique identifier for the migration
        status:
          type: string
          enum:
            - PENDING
            - IN_PROGRESS
            - COMPLETE
            - FAILED
            - AWAITING_USER_INPUT
            - NO_DATA
          description: Current status of the migration task
        data_category:
          type: string
          enum:
            - EMPLOYEE
            - COMPENSATION
            - DEDUCTION_SETUP
            - COMPANY
            - TAX
            - TRAVEL
          description: Category of the data being migrated
        data_type:
          type: string
          enum:
            - Location
            - EntityType
            - StateTax
            - EmployeeRoster
            - EmployeeDetails
            - Deductions
            - ContractorPayments
            - TimeOffBalances
            - PayrollJournal
            - FederalTax
            - DirectDeposit
            - ContractorRoster
            - PTOData
            - Signatory
            - SilverEntityType
            - SilverLocation
            - SilverFederalTax
            - SilverItemDetails
            - SilverSignatory
            - SilverEmployeeRoster
            - SilverEmployeeDetails
            - BookingsReport
            - TransactionReport
            - EmployeeW2Previews
            - EmployeeDirectDeposit
            - FederalTaxSetup
            - StateTaxSetup
            - addServiceAccount
            - ItemCatalogue
            - GiftCardsData
            - ItemDetails
            - GoldItemDetails
            - GoldEmployeeData
            - GoldEntityType
          description: Type of the data being migrated
        completed_at:
          type:
            - string
            - 'null'
          format: date-time
          description: Timestamp when the migration task was completed
      required:
        - object
        - id
        - created
        - updated
        - migration_id
        - status
        - data_category
        - data_type
        - completed_at
      additionalProperties: false
    APIErrorResponse:
      type: object
      properties:
        type:
          type: string
          enum:
            - api_error
        message:
          type: string
      required:
        - type
        - message
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Bearer token authentication

````