---
title: "List Migrations — API Reference"
canonical: "https://repull.dev/docs/api/migrations/list"
description: "GET /v1/migrations — list your migrations with their state and the listings and reservations each one has imported."
updated: "2026-11-30T00:48:58.694Z"
commit: "18314c12fefb59a7545ef7607c0893919de20aa9"
---

# List migrations

Migrations · `GET /v1/migrations`

List migrations

`GET /v1/migrations`

#### Request

**curl**

```bash
curl https://api.repull.dev/v1/migrations?limit=25 \
  -H "Authorization: Bearer $REPULL_API_KEY"
```

**TypeScript**

```typescript
import { Repull } from '@repull/sdk'

const repull = new Repull({ apiKey: process.env.REPULL_API_KEY! })

const { data, pagination } = await repull.migrations.list({ limit: 25 })
```

**Python**

```python
import os
from repull import AuthenticatedClient
from repull.api.migrate import list_migrations

client = AuthenticatedClient(
    base_url="https://api.repull.dev",
    token=os.environ["REPULL_API_KEY"],
)

page = list_migrations.sync(client=client, limit=25)
```

**Go**

```go
import (
	"context"
	"os"

	"github.com/ivannikolovbg/repull-go/repull"
)

client, err := repull.NewClientWithResponses(
	repull.DefaultBaseURL,
	repull.WithBearer(os.Getenv("REPULL_API_KEY")),
)
ctx := context.Background()

limit := 25
resp, err := client.ListMigrationsWithResponse(ctx, &repull.ListMigrationsParams{Limit: &limit})
```

**Ruby**

```ruby
config = Repull::Configuration.new
config.access_token = ENV.fetch('REPULL_API_KEY')
config.host = 'api.repull.dev'

client = Repull::ApiClient.new(config)

api = Repull::MigrateApi.new(client)
page = api.list_migrations(limit: 25)
```

**PHP**

```php
$config = Repull\Configuration::getDefaultConfiguration()
    ->setAccessToken(getenv('REPULL_API_KEY'));
$http = new GuzzleHttp\Client();

$api = new Repull\Api\MigrateApi($http, $config);
$page = $api->listMigrations(25);
```

**C#**

```csharp
using Repull.SDK;

var client = RepullClientFactory.Create(
    Environment.GetEnvironmentVariable("REPULL_API_KEY")!);

var page = await client.V1.Migrations.GetAsync(c => c.QueryParameters.Limit = 25);
```

#### Response

```
{
  "data": [ { "workspaceId": "1204", "name": "Seaside Rentals", "state": "imported", "counts": { "listings": 48, "reservations": 1312 } } ],
  "pagination": { "nextCursor": null, "hasMore": false, "total": 1 }
}
```

**Query Parameters**

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | `integer` | No | Page size, 1–100. Default: `25`. |
| `cursor` | `string` | No | \`pagination.nextCursor\` from the previous page. |
