GET
/
organizations
/
{organization_name}
/
projects
/
{project_name}
/
containers
/
{container_group_name}
/
instances
Go
import (
  "fmt"
  "encoding/json"
  "github.com/saladtechnologies/salad-cloud-sdk-go/pkg/saladcloudsdkconfig"
  "github.com/saladtechnologies/salad-cloud-sdk-go/pkg/saladcloudsdk"

)

config := saladcloudsdkconfig.NewConfig()
client := saladcloudsdk.NewSaladCloudSdk(config)

response, err := client.ContainerGroups.ListContainerGroupInstances(context.Background(), "organizationName", "projectName", "containerGroupName")
if err != nil {
  panic(err)
}

fmt.Println(response)
{
  "instances": [
    {
      "id": "db3a4591-efc3-46c0-b06a-3d820c0ec100",
      "machine_id": "eb3a4591-efc3-46c0-b06a-3d820c0ec100",
      "state": "allocating",
      "update_time": "2023-11-07T05:31:56Z",
      "version": 1073741824,
      "ready": true,
      "started": true,
      "deletion_cost": 0
    }
  ]
}
Last Updated: July 1, 2025

Authorizations

Salad-Api-Key
string
header
required

Path Parameters

organization_name
string
required

Your organization name. This identifies the billing context for the API operation and represents a security boundary for SaladCloud resources. The organization must be created before using the API, and you must be a member of the organization.

Required string length: 2 - 63
Examples:

"acme-corp"

project_name
string
required

Your project name. This represents a collection of related SaladCloud resources. The project must be created before using the API.

Required string length: 2 - 63
Examples:

"dev-env"

container_group_name
string
required

The unique container group name

Required string length: 2 - 63
Examples:

"mandlebrot"

Response

OK

A collection of container group instances returned as part of a paginated response or batch operation result.

instances
object[]
required

An array of container group instances, each representing a deployed container group with its current state and configuration information.

Maximum length: 1000