Skip to main content
GET
/
environment
/
{environmentId}
/
container
List containers
curl --request GET \
  --url https://api.qovery.com/environment/{environmentId}/container \
  --header 'Authorization: <api-key>'
{
  "results": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "storage": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "type": "FAST_SSD",
          "size": 16,
          "mount_point": "/mnt/images"
        }
      ],
      "image_name": "<string>",
      "tag": "<string>",
      "registry_id": "<string>",
      "registry": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "url": "<string>",
        "kind": "ECR"
      },
      "environment": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      },
      "maximum_cpu": 16000,
      "maximum_memory": 16384,
      "maximum_gpu": 2,
      "name": "<string>",
      "description": "<string>",
      "arguments": [
        "<string>"
      ],
      "entrypoint": "<string>",
      "cpu": 1250,
      "memory": 1024,
      "gpu": 1,
      "min_running_instances": 1,
      "max_running_instances": 1,
      "healthchecks": {
        "readiness_probe": {
          "type": {
            "tcp": {
              "port": 123,
              "host": "<string>"
            },
            "http": {
              "path": "<string>",
              "scheme": "<string>",
              "port": 123
            },
            "exec": {
              "command": [
                "<any>"
              ]
            },
            "grpc": {
              "service": "<string>",
              "port": 123
            }
          },
          "initial_delay_seconds": 123,
          "period_seconds": 123,
          "timeout_seconds": 123,
          "success_threshold": 123,
          "failure_threshold": 123
        },
        "liveness_probe": {
          "type": {
            "tcp": {
              "port": 123,
              "host": "<string>"
            },
            "http": {
              "path": "<string>",
              "scheme": "<string>",
              "port": 123
            },
            "exec": {
              "command": [
                "<any>"
              ]
            },
            "grpc": {
              "service": "<string>",
              "port": 123
            }
          },
          "initial_delay_seconds": 123,
          "period_seconds": 123,
          "timeout_seconds": 123,
          "success_threshold": 123,
          "failure_threshold": 123
        }
      },
      "auto_preview": true,
      "ports": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>",
          "internal_port": 8080,
          "external_port": 8080,
          "publicly_accessible": true,
          "is_default": true,
          "protocol": "HTTP",
          "public_path": "<string>",
          "public_path_rewrite": "<string>"
        }
      ],
      "auto_deploy": true,
      "annotations_groups": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "name": "<string>",
          "annotations": [
            {
              "key": "<string>",
              "value": "<string>"
            }
          ],
          "scopes": [
            "DEPLOYMENTS"
          ]
        }
      ],
      "labels_groups": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "name": "<string>",
          "labels": [
            {
              "key": "<string>",
              "value": "<string>",
              "propagate_to_cloud_provider": true
            }
          ]
        }
      ],
      "icon_uri": "<string>",
      "service_type": "APPLICATION"
    }
  ]
}

Authorizations

Authorization
string
header
required

Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"

Path Parameters

environmentId
string<uuid>
required

Environment ID

Response

List containers

results
object[]