---
title: "POST /gateway-migration-status"
method: POST
path: "/gateway-migration-status"
tags: ["Automatic Migration"]
---

# POST /gateway-migration-status

`POST /gateway-migration-status`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/gateway-migration-status`
- Auth: none declared

## Request body

- GatewayStatusMigration: gatewayStatusMigration is a command that get migration status
  - `id` string: Migration ID
  - `json` boolean: Set output format to JSON
  - `name` string: Migration name to display
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication

## Response `200`

gatewayMigrationStatusResponse wraps response body.

- MigrationStatusReplyObj
  - `certificates` MigrationItems
    - `failed` integer
    - `migrated` integer
    - `skipped` integer
    - `total` integer
    - `updated` integer
  - `computers` integer
  - `download_report` MigrationDownloadReport
    - `migration_job` MigrationDownloadJob
      - `Duration` string
      - `Started at` string
      - `Summary` MigrationDownloadSummary
        - `Created` integer
        - `Failed` integer
        - `Migrated` integer
        - `Skipped` integer
        - `Updated` integer
      - `Total Items` integer
      - `Type` string
    - `secrets` MigrationDownloadSecret[]
      - `details` string
      - `error_message` string
      - `secret_name` string
      - `status` string
      - `version` string
  - `duration_time` string
  - `error` string
  - `last_status_message` string
  - `max_name_length` integer
  - `max_value_length` integer
  - `migration_id` string
  - `migration_items` MigrationItems
    - `failed` integer
    - `migrated` integer
    - `skipped` integer
    - `total` integer
    - `updated` integer
  - `migration_name` string
  - `migration_state` string
  - `migration_type` string
  - `migration_type_name` string
  - `rotated_secrets` MigrationItems
    - `failed` integer
    - `migrated` integer
    - `skipped` integer
    - `total` integer
    - `updated` integer
  - `start_time` string
  - `sync` SyncCounters: Non-zero only when usc_name is configured on the migration.
    - `created` integer
    - `failed` integer
    - `skipped` integer
  - `targets` MigrationItems
    - `failed` integer
    - `migrated` integer
    - `skipped` integer
    - `total` integer
    - `updated` integer

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/operations-integrations.md) - [All operations](https://skmtc.dev/akeyless/apis/operations-integrations/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/operations-integrations/revisions/2ae61e73aa1d?raw)
