---
title: "List the instances attached to a rig"
method: GET
path: "/clusters/{clusterID}/rigs/{rigID}/instances"
tags: ["admin"]
---

# List the instances attached to a rig

`GET /clusters/{clusterID}/rigs/{rigID}/instances`

## Request

- Base URL: `https://api.e2b.app`
- URL: `https://api.e2b.app/clusters/{clusterID}/rigs/{rigID}/instances`
- Auth: one of:
  - API key in header `X-Admin-Token`
  - HTTP bearer

List the instances attached to the rig's scaling group with their creation time and transition state, sorted by instance ID.

## Path parameters

- `clusterID` string, uuid, required
- `rigID` string, required

## Response `200`

Successfully returned the instances of the rig

- RigInstance[]
  - `id` string, required: Provider instance ID (EC2 instance ID on AWS, instance name on GCP), also the node ID the orchestrator reports
  - `createdAt` string, date-time: When the provider created the instance. Omitted while the instance is transitioning.
  - `transitioning` boolean, required: The provider is creating, deleting, recreating or otherwise mutating the instance
  - `terminating` boolean, required: The instance is on its way out of the group and can never become healthy again

## Other responses

- `400`: Bad request
- `401`: Authentication error
- `404`: Not found
- `429`: Too many requests
- `500`: Server error
- `501`: Not implemented by this deployment

## Changes

- **2026-09-14** `a37f50c70019`: 1 info
  - added the non-success response with the status `429`
- **2026-09-07** `fc7dc26a953d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/e2b-dev/apis/e2b-api/changes/clusters/:clusterID/rigs/:rigID/instances/get.md)

---

[API](https://skmtc.dev/e2b-dev/apis/e2b-api.md) - [All operations](https://skmtc.dev/e2b-dev/apis/e2b-api/llms.txt) - [OpenAPI document](https://skmtc.dev/e2b-dev/apis/e2b-api/revisions/99fccbc60e6d?raw)
