# One application's nameserver migrations and their analytics

> One application's nameserver migrations and their analytics: CustomDomain™ API reference. Lists request parameters, the request body, responses and error codes.

Source: https://docs.customdomain.ai/docs/api-reference/nameservers/listNameserverMigrations

## `GET https://api.customdomain.ai/v1/applications/{id}/nameserver-migrations`

The application's nameserver migrations, newest first, with their analytics: counts per state, path and target, the median time to active, how many waited on DNSSEC and for how long, failures by code, rollbacks and drifts. Only this application's migrations; `since` narrows both the list and the analytics.

### Authentication

`apiKey`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes |  |
| `limit` | query | integer | no |  |
| `since` | query | string | no | Keep the migrations created at or after this time (RFC 3339). |

### Responses

| Status | Description |
| --- | --- |
| `200` | Migrations and analytics |
| `400` | Error envelope: {code, title, details}. |
| `401` | Error envelope: {code, title, details}. |
| `403` | Error envelope: {code, title, details}. |
| `404` | Error envelope: {code, title, details}. |
| `503` | Error envelope: {code, title, details}. |

### `200` response body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `migrations` | array of object | yes |  |
| `stats` | object | yes |  |

The full specification is served at `GET https://api.customdomain.ai/v1/openapi.json`.
