GET
/
cloud
/
v3
/
gpu
/
baremetal
/
{project_id}
/
{region_id}
/
clusters
/
{cluster_id}
/
servers
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
page = client.cloud.gpu_baremetal_clusters.servers.list(
    cluster_id="1aaaab48-10d0-46d9-80cc-85209284ceb4",
    project_id=1,
    region_id=7,
)
page = page.results[0]
print(page.id)
{
  "count": 1,
  "results": [
    {
      "created_at": "2025-03-17T13:22:23Z",
      "flavor": "g3-ai-64-384-3000-l40s-48-2",
      "id": "b6e58490-58d3-451c-bb77-4178157c98b2",
      "image_id": "ded40aad-505c-463b-aa59-8f5f455d1b6f",
      "ip_addresses": [
        "192.168.1.1"
      ],
      "name": "my-server-e2241889",
      "security_groups": [
        {
          "name": "some_name"
        }
      ],
      "ssh_key_name": "ded40aad-505c-463b-aa59-8f5f455d1b6f",
      "status": "ACTIVE",
      "tags": [
        {
          "key": "task_id",
          "read_only": true,
          "value": "d74c2bb9-cea7-4b23-a009-2f13518ae66d"
        }
      ],
      "task_id": "ded40aad-505c-463b-aa59-8f5f455d1b6f",
      "updated_at": "2025-03-17T13:22:23Z"
    }
  ]
}

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

Examples:

1

region_id
integer
required

Region ID

Examples:

7

cluster_id
string<uuid4>
required

Cluster unique identifier

Examples:

"1aaaab48-10d0-46d9-80cc-85209284ceb4"

Query Parameters

changed_before
string<date-time>

Filters the results to include only servers whose last change timestamp is less than the specified datetime. Format: ISO 8601.

Examples:

"2025-10-01T12:00:00Z"

changed_since
string<date-time>

Filters the results to include only servers whose last change timestamp is greater than or equal to the specified datetime. Format: ISO 8601.

Examples:

"2025-10-01T12:00:00Z"

ip_address
string

Filter servers by ip address.

Examples:

"237.84.2.178"

limit
integer
default:10

Limit of items on a single page

Required range: 0 < x <= 1000
Examples:

10

name
string

Filter servers by name. You can provide a full or partial name, servers with matching names will be returned. For example, entering 'test' will return all servers that contain 'test' in their name.

offset
integer
default:0

Offset in results list

Required range: x >= 0
Examples:

0

order_by
enum<string>

Order field

Available options:
created_at.asc,
created_at.desc,
status.asc,
status.desc
status
enum<string>

Filters servers by status.

Available options:
ACTIVE,
BUILD,
ERROR,
HARD_REBOOT,
MIGRATING,
PAUSED,
REBOOT,
REBUILD,
RESIZE,
REVERT_RESIZE,
SHELVED,
SHELVED_OFFLOADED,
SHUTOFF,
SOFT_DELETED,
SUSPENDED,
VERIFY_RESIZE
uuids
string[]

Filter servers by uuid.

Response

200 - application/json

OK

The response is of type object.