Skip to main content
GET
/
cloud
/
v2
/
ai
/
clusters
/
{project_id}
/
{region_id}
/
{cluster_id}
Get bare metal GPU cluster
curl --request GET \
  --url https://api.gcore.com/cloud/v2/ai/clusters/{project_id}/{region_id}/{cluster_id} \
  --header 'Authorization: <api-key>'
{
  "cluster_id": "<string>",
  "cluster_name": "<string>",
  "cluster_status": "ACTIVE",
  "created_at": "2025-04-17 12:05:22.597284",
  "creator_task_id": "d1e1500b-e2be-40aa-9a4b-cc493fa1af30",
  "flavor": "<string>",
  "image_id": "<string>",
  "image_name": "ubuntu-22.04-x64-nvidia-a100/h100-550-12.4-eni",
  "interfaces": [
    {
      "network_id": "<string>",
      "port_id": "<string>",
      "subnet_id": "<string>",
      "type": "<string>"
    }
  ],
  "password": "my-password",
  "project_id": 123,
  "region": "<string>",
  "region_id": 123,
  "servers": [
    {
      "addresses": {},
      "blackhole_ports": [
        {
          "AlarmEnd": "2023-11-07T05:31:56Z",
          "AlarmStart": "2023-11-07T05:31:56Z",
          "AlarmState": "ACK_REQ",
          "AlertDuration": "<string>",
          "DestinationIP": "<string>",
          "ID": 123
        }
      ],
      "created_at": "2023-11-07T05:31:56Z",
      "creator_task_id": "<string>",
      "ddos_profile": {
        "fields": [
          {
            "base_field": 10,
            "default": null,
            "description": "ARK server ports. Valid port values are in range 1000-65535",
            "field_name": "ARK Ports",
            "field_type": null,
            "field_value": "<unknown>",
            "id": 123,
            "name": "<string>",
            "required": true,
            "validation_schema": "<unknown>",
            "value": null
          }
        ],
        "id": 123,
        "options": {
          "active": true,
          "bgp": true
        },
        "profile_template": {
          "description": "description",
          "fields": [
            {
              "default": null,
              "description": "ARK server ports. Valid port values are in range 1000-65535",
              "field_type": null,
              "id": 123,
              "name": "<string>",
              "required": true,
              "validation_schema": "<unknown>"
            }
          ],
          "id": 123,
          "name": "<string>"
        },
        "profile_template_description": "ARK server ports. Valid port values are in range 1000-65535",
        "protocols": [
          {
            "port": "80",
            "protocols": [
              "TCP",
              "HTTP"
            ]
          },
          {
            "port": "53",
            "protocols": [
              "UDP"
            ]
          }
        ],
        "site": "ED",
        "status": {
          "error_description": "",
          "status": "Updated"
        }
      },
      "fixed_ip_assignments": [
        {
          "external": true,
          "ip_address": "<string>",
          "subnet_id": "<string>"
        }
      ],
      "flavor": {
        "architecture": "<string>",
        "flavor_id": "<string>",
        "flavor_name": "<string>",
        "hardware_description": {
          "cpu": "<string>",
          "disk": "<string>",
          "gpu": "<string>",
          "license": "<string>",
          "network": "<string>",
          "ram": "<string>"
        },
        "os_type": "<string>",
        "ram": 123,
        "resource_class": "<string>",
        "vcpus": 123
      },
      "id": "<string>",
      "instance_description": "Instance description",
      "instance_isolation": {
        "reason": "Suspicious activities"
      },
      "name": "<string>",
      "project_id": 123,
      "region": "<string>",
      "region_id": 123,
      "security_groups": [
        {
          "name": "<string>"
        }
      ],
      "ssh_key_name": "my-ssh-key",
      "status": "ACTIVE",
      "tags": [
        {
          "key": "<string>",
          "read_only": true,
          "value": "<string>"
        }
      ],
      "task_id": null,
      "task_state": "<string>",
      "vm_state": "active"
    }
  ],
  "ssh_key_name": "my-ssh-key",
  "tags": [
    {
      "key": "<string>",
      "read_only": true,
      "value": "<string>"
    }
  ],
  "task_id": "d1e1500b-e2be-40aa-9a4b-cc493fa1af30",
  "task_status": "CLUSTER_CLEAN_UP",
  "user_data": "<string>",
  "username": "my-username"
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

cluster_id
string
required

GPU cluster ID

Response

200 - application/json

GPU cluster

cluster_id
string<uuid4>
required

GPU Cluster ID

cluster_name
string
required

GPU Cluster Name

cluster_status
enum<string>
required

GPU Cluster status

Available options:
ACTIVE,
ERROR,
PENDING,
SUSPENDED
created_at
string | null
required

Datetime when the cluster was created

Example:

"2025-04-17 12:05:22.597284"

creator_task_id
string<uuid4> | null
required
deprecated

Task that created this entity

Example:

"d1e1500b-e2be-40aa-9a4b-cc493fa1af30"

flavor
string
required

Flavor ID is the same as the name

image_id
string<uuid4>
required

Image ID

image_name
string | null
required

Image name

Example:

"ubuntu-22.04-x64-nvidia-a100/h100-550-12.4-eni"

interfaces
AIClusterNetworkSerializer · object[] | null
required

Networks managed by user and associated with the cluster

password
string | null
required

A password for a bare metal server. This parameter is used to set a password for the "Admin" user on a Windows instance, a default user or a new user on a Linux instance

Example:

"my-password"

project_id
integer
required

Project ID

region
string
required

Region name

region_id
integer
required

Region ID

servers
GPUClusterServerSerializer · object[]
required

GPU cluster servers

ssh_key_name
string | null
required

Keypair name to inject into new cluster(s)

Example:

"my-ssh-key"

tags
TagSerializer · object[]
required

List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.

task_id
string<uuid4> | null
required

Task ID associated with the cluster

Example:

"d1e1500b-e2be-40aa-9a4b-cc493fa1af30"

task_status
enum<string>
required

Task status

Available options:
CLUSTER_CLEAN_UP,
CLUSTER_RESIZE,
CLUSTER_RESUME,
CLUSTER_SUSPEND,
ERROR,
FINISHED,
IPU_SERVERS,
NETWORK,
POPLAR_SERVERS,
POST_DEPLOY_SETUP,
VIPU_CONTROLLER
user_data
string | null
required

String in base64 format. Must not be passed together with 'username' or 'password'. Examples of the user_data: https://cloudinit.readthedocs.io/en/latest/topics/examples.html

username
string | null
required

A name of a new user in the Linux instance. It may be passed with a 'password' parameter

Example:

"my-username"