---
title: "GET /stdcm/search_environment/list"
method: GET
path: "/stdcm/search_environment/list"
tags: ["stdcm_search_environment"]
---

# GET /stdcm/search_environment/list

`GET /stdcm/search_environment/list`

## Query parameters

- `page` integer
- `page_size` integer

## Response `200`

The paginated list of all existing stdcm search environments

- object — Statistics about a paginated editoast response Provides the pagination settings issued in the request alongside a few convenience fields useful to navigate the paginated results. # Expected usage This struct is meant to be used and flattened in the response of a paginated query. ``` #[derive(Serialize, ToSchema)] struct MyPaginatedResponse { #[schema(flatten)] pagination: PaginationStats, result: Vec<MyData>, // any other field that makes sense in a paginated response } ``` We named the data field `result` to cope with the old pagination schema which enforced this name. For new paginated responses, the field name is up to your imagination :)
  - `count` integer, required — The total number of items
  - `current` integer, required — The current page number
  - `next` integer, nullable, required — The next page number, if any
  - `page_count` integer, required — The total number of pages
  - `page_size` integer, required — The number of items per page
  - `previous` integer, nullable, required — The previous page number, if any
  - `results` StdcmSearchEnvironmentResponse[], required
    - `allowed_tracks` object, nullable, required — Map of a gauge with their authorized track section ids. None means no zones restrictions.
    - `electrical_profile_set_id` integer, nullable
    - `enabled_from` string, date-time, required
    - `enabled_until` string, date-time, required
    - `id` integer, required
    - `infra_id` integer, required
    - `operational_points` integer[], nullable
    - `operational_points_id_filtered` string[], nullable
    - `search_window_begin` string, date-time, required
    - `search_window_end` string, date-time, required
    - `speed_limits` SpeedLimits
      - `default_speed_limit_tag` string, nullable
      - `speed_limit_tags` object, required
    - `temporary_speed_limit_group_id` integer, nullable
    - `timetable_id` integer, required
    - `work_schedule_group_id` integer, nullable

---

[API](https://skmtc.net/openrailassociation/apis/osrd-editoast.md) · [All operations](https://skmtc.net/openrailassociation/apis/osrd-editoast/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrailassociation/osrd-editoast/versions/1840dbbd64ac/schema)
