> ## 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.

# Get Migration

> Retrieve details for a specific migration by ID



## OpenAPI

````yaml v1/openapi.json get /api/v1/migrations/{id}
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/migrations/{id}:
    get:
      tags:
        - Migrations
      summary: Get Migration
      description: Retrieve details for a specific migration by ID
      operationId: api.v1.migrations.get
      parameters:
        - name: id
          in: path
          required: true
          description: Migration ID
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MigrationResponse'
        '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:
    MigrationResponse:
      type: object
      properties:
        object:
          type: string
          enum:
            - migration
        id:
          type: string
          format: uuid
          description: Unique identifier for the migration
        created:
          type: string
          format: date-time
          description: Timestamp when the migration was created
        status:
          type: string
          enum:
            - NOT_READY
            - NOT_STARTED
            - WORKING
            - PENDING_USER_INPUT
            - COMPLETE
            - FAILED
            - LOGIN_ABANDONED
            - COMPLETED_WITH_FAILURES
          description: Current status of the migration
        created_by_user_id:
          type: string
          description: Unique identifier for the user who created the migration
        company_id:
          type:
            - string
            - 'null'
          format: uuid
          description: Unique identifier for the company
      required:
        - object
        - id
        - created
        - status
        - created_by_user_id
        - company_id
      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

````