---
title: "Get ID-list mutation status"
description: "Read an identity returned by a queued migration write, or a supplied identity used by a bulk job. Completed chunks are not a visibility guarantee."
product: general
lang: en
token_estimate: 1411
---
# Get ID-list mutation status

## Get ID-list mutation status

**GET** `/console/v1/segments/{id}/id_list/operations/{operationID}`

Full URL: `https://statsigapi.net/console/v1/segments/{id}/id_list/operations/{operationID}`

> For AI agents: a documentation index is available at [/llms.txt](/llms.txt). Append `.md` to any page URL for markdown, or send `Accept: text/markdown`.

Get ID-list mutation status

Read an identity returned by a queued migration write, or a supplied identity used by a bulk job. Completed chunks are not a visibility guarantee.

## Authorizations

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| STATSIG-API-KEY | string | Yes | — | apiKey (header) |

## Path parameters

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| id (path) | string | Yes | — | — |
| operationID (path) | string | Yes | — | Constraints: min length: 1, max length: 200 |

## Response (application/json)

**200** — Membership operation status

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| message | string | Yes | — | A simple string explaining the result of the operation. |
| data | object | Yes | — | — |
| data.operationID | string | Yes | — | — |
| data.state | string | Yes | — | Allowed values: queued, accepted, running, completed, failed, cancelled |
| data.phase | string | No | — | Allowed values: ingest, sweep, replicate, verify, publish |
| data.chunks | integer | No | — | Constraints: format: int64, min: 0 |
| data.completedChunks | integer | No | — | Constraints: format: int64, min: 0 |
| data.processedRows | integer | No | — | Constraints: format: int64, min: 0 |
| data.error | string | No | — | Allowed values: invalid_input, unavailable |

```json
{
  "message": "string",
  "data": {
    "operationID": "string",
    "state": "queued",
    "phase": "ingest",
    "chunks": 0,
    "completedChunks": 0,
    "processedRows": 0,
    "error": "invalid_input"
  }
}
```

**400** — Invalid membership operation identity

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| status | integer | Yes | — | Allowed values: 400 |
| message | string | Yes | — | — |

```json
{
  "status": 400,
  "message": "Invalid request. Please check the request input and try again."
}
```

**401** — This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| status | integer | Yes | — | Allowed values: 401 |
| message | string | Yes | — | — |

```json
{
  "status": 401,
  "message": "This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx"
}
```

**404** — Segment or membership operation not found

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| status | integer | Yes | — | Allowed values: 404 |
| message | string | Yes | — | — |

```json
{
  "status": 404,
  "message": "Not Found. The requested resource could not be found."
}
```

**409** — Operation identity is ambiguous across backend generations

## Code samples

### cURL

```bash
curl -X GET "https://statsigapi.net/console/v1/segments/{id}/id_list/operations/{operationID}" \
  -H "Content-Type: application/json" \
  -H "STATSIG-API-KEY: YOUR_API_KEY"
```

### Python

```python
import requests

response = requests.get(
    "https://statsigapi.net/console/v1/segments/{id}/id_list/operations/{operationID}",
    headers={
        "Content-Type": "application/json",
        "STATSIG-API-KEY": "YOUR_API_KEY"
    }
)
data = response.json()
```

### JavaScript

```javascript
const response = await fetch("https://statsigapi.net/console/v1/segments/{id}/id_list/operations/{operationID}", {
  method: "GET",
  headers: {
    "Content-Type": "application/json",
    "STATSIG-API-KEY": "YOUR_API_KEY"
  }
});
const data = await response.json();
```

### PHP

```php
<?php
$ch = curl_init("https://statsigapi.net/console/v1/segments/{id}/id_list/operations/{operationID}");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "Content-Type: application/json",
    "STATSIG-API-KEY: YOUR_API_KEY"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
```

### Go

```go
package main

import (
  "bytes"
  "net/http"
)

func main() {
req, _ := http.NewRequest("GET", "https://statsigapi.net/console/v1/segments/{id}/id_list/operations/{operationID}", nil)
req.Header.Set("Content-Type", "application/json")
req.Header.Set("STATSIG-API-KEY", "YOUR_API_KEY")
  client := &http.Client{}
  resp, _ := client.Do(req)
  defer resp.Body.Close()
}
```

### Java

```java
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://statsigapi.net/console/v1/segments/{id}/id_list/operations/{operationID}"))
      .method("GET", HttpRequest.BodyPublishers.noBody())
.header("Content-Type", "application/json")
      .header("STATSIG-API-KEY", "YOUR_API_KEY")
      .build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
```

### Ruby

```ruby
require "net/http"
require "json"

uri = URI("https://statsigapi.net/console/v1/segments/{id}/id_list/operations/{operationID}")
request = Net::HTTP::Get.new(uri)
request["Content-Type"] = "application/json"
request["STATSIG-API-KEY"] = "YOUR_API_KEY"
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == "https") do |http|
  http.request(request)
end
```

