---
title: "GET /devops/services/{extension_id}/environments"
method: GET
path: "/devops/services/{extension_id}/environments"
tags: ["DevOps"]
---

# GET /devops/services/{extension_id}/environments

`GET /devops/services/{extension_id}/environments`

Lists the Environment objects available for the given `extension_id`.

## Path parameters

- `extension_id` string, required

## Query parameters

- `limit` integer
- `offset` integer
- `events.created.at` string, date-time
- `events.updated.at` string, date-time
- `external_id` string
- `id` string
- `runtime` 'local' | 'cloud'
- `status` 'uninitialized' | 'building' | 'deploying' | 'standby' | 'running' | 'upgrading' | 'stopping' | 'stopped' | 'connected' | 'disconnected' | 'errored'
- `type` 'production' | 'test' | 'development'

## Response `200`

- EaasEnvironment[]
  - `id` string
  - `type` 'production' | 'test' | 'development'
  - `runtime` 'local' | 'cloud'
  - `external_id` string, uuid
  - `git` EaasGitInfo — Git Info. Is used to represent git repository information `auth` -- object containing `username` and `password` to git repository if required. `url` -- repository URL. `tag` -- tag to be used. Connect will checkout the code according to this tag. `commit` -- commit to be used. Connect will checkout the code according to this commit.
    - `url` string, uri, required
    - `tag` string, required
    - `commit` string, required
    - `auth` EaasGitCredentialsModel — Git Credentials. Is used to represent input object to request git tags. You need to provide `username` and `password` to your git repository as input data.
      - `username` string, nullable
      - `password` string, nullable
  - `readme_url` string, uri
  - `changelog_url` string, uri
  - `schedulables` object, nullable
  - `resources` EaasResource — Resources. Is used to represent the hardware resources like cpu and memory attached to an Environment
    - `cpu` integer, required
    - `memory` integer, required
  - `features` EaasFeatures
    - `event_processing_available` boolean
    - `custom_api_available` boolean
    - `web_app_available` string
    - `anvil_app_available` boolean
    - `transformation_app_available` boolean
  - `jwt_secret` string, nullable
  - `status` 'uninitialized' | 'building' | 'deploying' | 'standby' | 'running' | 'upgrading' | 'stopping' | 'stopped' | 'connected' | 'disconnected' | 'errored'
  - `log_level` 'DEBUG' | 'INFO' | 'WARNING' | 'ERROR'
  - `anvil_callables` object, nullable
  - `hostname` string
  - `domain` string
  - `configuration` EaasVariableReference[]
    - `name` string, required
    - `value` string, nullable
  - `configuration_changed` boolean
  - `instances` EaasInstanceReference[]
    - `id` string
    - `container_id` string, nullable
    - `runtime` 'local' | 'cloud'
    - `status` 'connected' | 'disconnected' | 'decommissioned'
    - `events` object
      - `created` object
        - `at` string, datetime
        - `by` object
          - `id` string
          - `name` string
          - `icon` string
      - `stopped` object
        - `at` string, datetime
        - `by` object
          - `id` string
          - `name` string
          - `icon` string
      - `decommissioned` object
        - `at` string, datetime
        - `by` object
          - `id` string
          - `name` string
          - `icon` string
  - `extension` EaasExtensionReference, required
    - `id` string, required
    - `name` string
    - `owner` EaasAccountReference
      - `id` string
      - `name` string, required
      - `icon` string, nullable
      - `role` 'vendor' | 'distributor' | 'reseller'
    - `icon` string, binary, nullable
    - `extension_id` string
  - `icon` string, nullable
  - `ui_modules` string
  - `current_image` EaasContainerImage
    - `name` string, nullable
    - `base_image` string, required
    - `repository_url` string, required
    - `repository_tag` string, required
    - `repository_commit` string, required
    - `repository_username` string, nullable
    - `command` string, required
  - `target_image` EaasContainerImage
    - `name` string, nullable
    - `base_image` string, required
    - `repository_url` string, required
    - `repository_tag` string, required
    - `repository_commit` string, required
    - `repository_username` string, nullable
    - `command` string, required
  - `replicas` string
  - `base_image_override` string, nullable — Operator-only override of the eaas-runner base image to build this environment (wins over the API base_image_version). Empty = use the global CloudSettings image.

## Other responses

- `400`

---

[API](https://skmtc.net/cloudblue/apis/cloudblue-connect-api.md) · [All operations](https://skmtc.net/cloudblue/apis/cloudblue-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudblue/cloudblue-connect-api/versions/54fef191d46c/schema)
