> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/api/doc/admin/v2/llms.txt)

# Get a topic's storage mode migration status

> POST /redpanda.core.admin.v2.TopicService/GetTopicStorageModeMigrationStatus
> 
> Reports the progress of a topic's storage mode migration from `local`
> or `tiered_v1` to `cloud` or `tiered_v2`: the topic-level status and
> how many of its partitions have finished migrating. The controller
> records partition progress about every 10 seconds, so it can trail the
> actual migration by about that much.



## Servers
- http://localhost:9644: http://localhost:9644



## Parameters
### Headers

- **Connect-Protocol-Version** (number)
  Define the version of the Connect protocol

- **Connect-Timeout-Ms** (number)
  Define the timeout, in ms




### Body: application/json (object)

- **topic** (string)
  Name of the topic to report on. The topic must already exist; the
   request fails with a not-found error otherwise.



## Responses
### 200
Success

#### Body: application/json (object)
- **backedOffPartitions** (array[integer(int32)])
  IDs, in ascending order, of the admitted partitions whose migration gave
   up after making no progress for
   `topic_storage_mode_migration_error_backoff_timeout`. Each stays in its
   pre-migration storage mode until retried with
   `RetryPartitionStorageModeMigration`. No more of the topic's partitions
   are admitted until then. A partition whose leader does not answer is
   left out.

- **migratedFrom** (string)
  Storage mode the topic migrated from, as a `redpanda.storage.mode.impl`
   value such as `local` or `tiered_v1`. Empty when the topic has never
   migrated.

- **partitionsAdmitted** (integer(int32))
  Number of the topic's partitions admitted to migrate so far:
   partitions with an ID below this value may start migrating, or have
   started or finished. Rises as earlier partitions finish, keeping at
   most `topic_storage_mode_migration_max_concurrent_partitions`
   partitions migrating across the cluster, until it reaches
   `partitions_to_migrate`. Holds while any of the topic's partitions are
   in `backed_off_partitions`. Zero when the topic has never migrated, and
   at the start of a migration before any partition is admitted.

- **partitionsComplete** (integer(int32))
  Number of partitions counted in `partitions_to_migrate` that have
   finished migrating. Zero when the topic has never migrated.

- **partitionsToMigrate** (integer(int32))
  Number of the topic's partitions that migrate: those that existed when
   the migration started. Partitions added later are created in the
   target storage mode and are not counted. Zero when the topic has never
   migrated.

- **status** (string)
  Whether the topic has no migration, is migrating, or has finished
   migrating.


### default
Error

#### Body: application/json (object)
- **code** (string)
  The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].

- **details** (array[object])
  A list of messages that carry the error details. There is no limit on the number of messages.

- **message** (string)
  A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.



[Powered by Bump.sh](https://bump.sh)
