> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vertracloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# List Database Region Moves

> Lists the region moves of a database, most recent first. Requires the databases:read scope.

A region move takes a database to another region (`ny` or `sp`) in the background. This route lists the moves of one database, most recent first; [Get Database Region Move](https://docs.vertracloud.app/api-reference/endpoint/databases/moves/get.md) reads a single move. A move is started from the dashboard, where the option appears when it applies to your account: API keys can only read moves. While one is queued or running, `move_job_id` on the [status of the database](https://docs.vertracloud.app/api-reference/endpoint/databases/status.md) holds its ID.

**id** `string` *required*

The ID of the database. If the database belongs to a workspace, pass its ID in the `workspace_id` query parameter.

**workspace\_id** `string`

If the database belongs to a workspace, the workspace's ID. Required for workspace members acting on a database they don't own.

**limit** `number`

Maximum number of moves, from `1` to `20`. Default `5`. A value outside that range answers `400 VALIDATION_ERROR`.

### Response

**response** `array`

The moves of the database, most recent first.

**Toggle object**

**id** `string`

The move ID.

**resource\_id** `string`

The ID of the database that moves.

**resource\_type** `string`

`app` or `database`.

**origin** `string`

`user` when the move was requested from the dashboard, `platform` when Vertra moved the resource.

**from\_region** `string`

The region the move leaves: `ny` or `sp`.

**to\_region** `string`

The region the move goes to: `ny` or `sp`. It equals `from_region` when the move happens inside the same region.

**status** `string`

`queued` (waiting to start), `running`, `ready` (done), `rolled_back` (it failed and the database is back where it was), `failed` (it could not finish nor go back) or `canceled` (canceled from the dashboard while it was `queued`). `ready`, `rolled_back`, `failed` and `canceled` are final: the move does not change again.

**phase** `string`

The step of the move: `queued`, `stopping`, `copying`, `preparing`, `restoring`, `switching`, `starting`, `cleaning` or `rolling_back`.

**progress** `object`

Only while `status` is `running`, and it can be missing. Not sent in any other status.

**Toggle object**

**percent** `number`

Overall progress, from 0 to 99.

**done\_bytes** `number`

Bytes already transferred in the current step. Absent when the step has no byte count.

**total\_bytes** `number`

Bytes to transfer in the current step. Absent when unknown.

**eta\_seconds** `number`

Estimated seconds left. Absent when unknown.

**reason** `string`

Present when `status` is `rolled_back` or `failed`: the error code that says why, such as `MOVE_TIMEOUT` or `SNAPSHOT_EXCEEDS_STORAGE`. See [Error Codes](https://docs.vertracloud.app/api-reference/errors.md).

**created\_at** `string`

When the move was created.

**started\_at** `string`

When the move started. Absent while it is `queued`.

**finished\_at** `string`

When the move ended. Absent until then.

**downtime\_seconds** `number`

Seconds the database was out of service, once the move ended.

**result** `object`

Only when `status` is `ready`: what the move changed for you.

**Toggle object**

**host** `string`

The new host of the database, when it changed.

**port** `number`

The new port of the database, when it changed.

**client\_variables\_with\_old\_host** `array`

Your own application variables (`app_id` and `key`) that still contain the previous host or port of the database. Update them.

**apps\_to\_restart** `array`

IDs of applications of connected stacks that must restart to read the new connection data.

```json Response theme={null}
{
  "response": [
    {
      "id": "9f1c2b9a-8e4d-4f30-a2b4-5cd0e7a1b6c3",
      "resource_id": "550e8400-e29b-41d4-a716-446655440005",
      "resource_type": "database",
      "origin": "user",
      "from_region": "ny",
      "to_region": "sp",
      "status": "running",
      "phase": "copying",
      "progress": {
        "percent": 42,
        "done_bytes": 220200960,
        "total_bytes": 524288000,
        "eta_seconds": 38
      },
      "created_at": "2026-12-03T14:00:00.000Z",
      "started_at": "2026-12-03T14:00:05.000Z"
    },
    {
      "id": "3b7d6a10-52c1-4e8a-9d0f-1a2b3c4d5e6f",
      "resource_id": "550e8400-e29b-41d4-a716-446655440005",
      "resource_type": "database",
      "origin": "user",
      "from_region": "sp",
      "to_region": "ny",
      "status": "ready",
      "phase": "cleaning",
      "created_at": "2026-12-02T18:00:00.000Z",
      "started_at": "2026-12-02T18:00:04.000Z",
      "finished_at": "2026-12-02T18:03:20.000Z",
      "downtime_seconds": 41,
      "result": {
        "host": "db-abc123.vertraweb.app",
        "port": 5433,
        "client_variables_with_old_host": [
          { "app_id": "550e8400-e29b-41d4-a716-446655440001", "key": "DATABASE_URL" }
        ],
        "apps_to_restart": ["550e8400-e29b-41d4-a716-446655440001"]
      }
    }
  ]
}
```

### Error Responses

**code** `string`

The error code indicating the reason for failure. Possible values:

* `AUTH_TOKEN_MISSING`, `API_KEY_INVALID`, `SESSION_REVOKED`: The `Authorization` header is missing, the API key is invalid, or the dashboard session was revoked (`401`).
* `API_KEY_IP_DENIED`, `API_KEY_SCOPE_DENIED`: The API key is used from an IP outside its allowlist, or it lacks the `databases:read` scope (`403`).
* `ACCESS_DENIED`: You are a workspace member without the permission for this action, or you did not send the `workspace_id` (`403`).
* `DATABASE_NOT_FOUND`: The specified database was not found (`404`).
* `VALIDATION_ERROR`: `limit` is outside `1` to `20` (`400`).
* `INTERNAL_SERVER_ERROR`: An unexpected server error occurred.

**message** `string`

A descriptive message providing additional details about the error.

```json Error Response (404) theme={null}
{
  "code": "DATABASE_NOT_FOUND"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.