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

# POST /gateway-migration-status

`POST /gateway-migration-status`

## 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
  - `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.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
