GET
/
organizations
/
{organization_name}
/
projects
/
{project_name}
/
queues
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.Queues.ListQueues(context.Background(), "organizationName", "projectName")
if err != nil {
  panic(err)
}

fmt.Println(response)
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "display_name": "<string>",
      "description": "<string>",
      "container_groups": [
        {
          "autostart_policy": true,
          "container": {
            "command": null,
            "environment_variables": {},
            "hash": "<string>",
            "image": "acme/:latest",
            "image_caching": true,
            "logging": {
              "axiom": {
                "host": "<string>",
                "api_token": "<string>",
                "dataset": "<string>"
              },
              "datadog": {
                "host": "<string>",
                "api_key": "<string>",
                "tags": [
                  {
                    "name": "<string>",
                    "value": "<string>"
                  }
                ]
              },
              "http": {
                "host": "<string>",
                "port": 32768,
                "user": "<string>",
                "password": "<string>",
                "path": "<string>",
                "format": "json",
                "headers": [
                  {
                    "name": "<string>",
                    "value": "<string>"
                  }
                ],
                "compression": "none"
              },
              "new_relic": {
                "host": "<string>",
                "ingestion_key": "<string>"
              },
              "splunk": {
                "host": "<string>",
                "token": "<string>"
              },
              "tcp": {
                "host": "<string>",
                "port": 32768
              }
            },
            "resources": {
              "cpu": 8,
              "memory": 31232,
              "gpu_classes": [
                "3c90c3cc-0d44-4b50-8888-8dd25736052a"
              ],
              "storage_amount": 134754598912,
              "shm_size": 64
            },
            "size": 4611686018427388000
          },
          "country_codes": [
            "af"
          ],
          "create_time": "2023-11-07T05:31:56Z",
          "current_state": {
            "description": "<string>",
            "finish_time": "2023-11-07T05:31:56Z",
            "instance_status_counts": {
              "allocating_count": 1073741823,
              "creating_count": 1073741823,
              "running_count": 1073741823,
              "stopping_count": 1073741823
            },
            "start_time": "2023-11-07T05:31:56Z",
            "status": "pending"
          },
          "display_name": "Name",
          "id": "ab3a4591-efc3-46c0-b06a-3d820c0ec100",
          "liveness_probe": {
            "exec": {
              "command": [
                "<string>"
              ]
            },
            "failure_threshold": 3,
            "grpc": {
              "port": 32768,
              "service": "<string>"
            },
            "http": {
              "headers": [
                {
                  "name": "<any>",
                  "value": "<any>"
                }
              ],
              "path": "<string>",
              "port": 32768,
              "scheme": "http"
            },
            "initial_delay_seconds": 0,
            "period_seconds": 10,
            "success_threshold": 1,
            "tcp": {
              "port": 32767
            },
            "timeout_seconds": 30
          },
          "name": "mandlebrot",
          "networking": {
            "auth": true,
            "client_request_timeout": 100000,
            "dns": "<string>",
            "load_balancer": "round_robin",
            "port": 60000,
            "protocol": "http",
            "server_response_timeout": 100000,
            "single_connection_limit": false
          },
          "organization_name": "acme-corp",
          "pending_change": true,
          "priority": "high",
          "project_name": "dev-env",
          "queue_autoscaler": {
            "desired_queue_length": 50,
            "max_replicas": 250,
            "max_downscale_per_minute": 50,
            "max_upscale_per_minute": 50,
            "min_replicas": 50,
            "polling_period": 907
          },
          "queue_connection": {
            "path": "<string>",
            "port": 32768,
            "queue_name": "<string>"
          },
          "readiness_probe": {
            "exec": {
              "command": [
                "<string>"
              ]
            },
            "failure_threshold": 3,
            "grpc": {
              "port": 32768,
              "service": "<string>"
            },
            "http": {
              "headers": [
                {
                  "name": "<any>",
                  "value": "<any>"
                }
              ],
              "path": "<string>",
              "port": 32768,
              "scheme": "http"
            },
            "initial_delay_seconds": 0,
            "period_seconds": 1,
            "success_threshold": 1,
            "tcp": {
              "port": 32767
            },
            "timeout_seconds": 1
          },
          "readme": "<string>",
          "replicas": 50,
          "restart_policy": "always",
          "startup_probe": {
            "exec": {
              "command": [
                "<string>"
              ]
            },
            "failure_threshold": 15,
            "grpc": {
              "port": 32768,
              "service": "<string>"
            },
            "http": {
              "headers": [
                {
                  "name": "<any>",
                  "value": "<any>"
                }
              ],
              "path": "<string>",
              "port": 32768,
              "scheme": "http"
            },
            "initial_delay_seconds": 0,
            "tcp": {
              "port": 32767
            },
            "period_seconds": 3,
            "success_threshold": 2,
            "timeout_seconds": 10
          },
          "update_time": "2023-11-07T05:31:56Z",
          "version": 1073741824
        }
      ],
      "create_time": "2023-11-07T05:31:56Z",
      "update_time": "2023-11-07T05:31:56Z"
    }
  ]
}
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"

Response

OK

Represents a Queue Collection

items
object[]
required

The list of queues.

Maximum length: 100