---
title: "Retrieve the Status of an Online Migration"
method: GET
path: "/v2/databases/{database_cluster_uuid}/online-migration"
tags: ["DigitalOcean-public.v2-new_Databases"]
---

# Retrieve the Status of an Online Migration

`GET /v2/databases/{database_cluster_uuid}/online-migration`

To retrieve the status of the most recent online migration, send a GET request to `/v2/databases/$DATABASE_ID/online-migration`.

## Path parameters

- `database_cluster_uuid` string, uuid, required

## Response `200`

A JSON object.

- OnlineMigration
  - `id` string — The ID of the most recent migration.
  - `status` 'running' | 'syncing' | 'canceled' | 'error' | 'done' — The current status of the migration.
  - `created_at` string — The time the migration was initiated, in ISO 8601 format.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/versions/cb3bf9b21459/schema)
