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

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

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

List Schedule objects for a given `extension_id` and `environment_id`.

## Path parameters

- `extension_id` string, required
- `environment_id` string, required

## Query parameters

- `limit` integer
- `offset` integer
- `description` string
- `events.created.at` string, date-time
- `events.last_triggered.at` string, date-time
- `events.next_trigger.at` string, date-time
- `events.updated.at` string, date-time
- `id` string
- `method` string
- `name` string
- `status` 'enabled' | 'disabled' | 'obsolete' | 'pending'
- `type` 'onetime' | 'recurring' | 'advanced'

## Response `200`

- EaasSchedule[]
  - `id` string
  - `name` string, required
  - `description` string, nullable
  - `method` string, required
  - `parameter` object, nullable
  - `trigger` EaasTrigger, required — Schedule trigger type. Is used to specify a concrete Schedule type. `type` -- the schedule type: onetime, recurring or advanced. `start` -- the start date for the schedule. `end` -- the end date for the schedule (optional). `unit` -- recurring type: hour, day, week or month (for recurring type only). `amount` -- recurring amount (for recurring type only). `cron_expression` -- cron expression (for advanced type only). `date` -- one time date (for onetime type only).
    - `type` 'onetime' | 'recurring' | 'advanced', required
    - `start` string, date-time, nullable
    - `end` string, date-time, nullable
    - `unit` 'hours' | 'days' | 'weeks' | 'months', nullable
    - `amount` integer, nullable
    - `cron_expression` string, nullable
    - `date` string, date-time
  - `environment` EaasEnvironmentReference — Environment. Is used to specify a concrete Environment. `id` -- the environment id. `type` -- the environment type: development, test or production. `icon` -- the environment icon.
    - `id` string
    - `type` 'production' | 'test' | 'development', required
    - `icon` string, nullable
    - `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
    - `ui_modules` string
    - `hostname` string, required
    - `domain` string, required
    - `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
    - `runtime` string, required
  - `events` object
    - `created` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `updated` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `last_triggered` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `next_trigger` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
  - `status` 'enabled' | 'disabled' | 'obsolete' | 'pending'
  - `reason` string, nullable

## Other responses

- `400`

---

[API](https://skmtc.dev/cloudblue/apis/cloudblue-connect-api.md) · [All operations](https://skmtc.dev/cloudblue/apis/cloudblue-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudblue/cloudblue-connect-api/revisions/0421d2a97c52/schema)
