---
title: "List Config Schema Versions"
method: GET
path: "/config-schemas/"
tags: ["Forecasts"]
---

# List Config Schema Versions

`GET /config-schemas/`

## Request

- Base URL: `https://api.modoenergy.com/pub/v1/forecasts`
- URL: `https://api.modoenergy.com/pub/v1/forecasts/config-schemas/`
- Auth: API key in header `X-token`

Lists the simulation config schema versions currently supported for each market region: the current version and, during a release grace period, the previous (deprecated) one.

To fetch a schema document itself, call `GET /config-schemas/{market_region}/` for the latest, or `GET /config-schemas/{market_region}/{version}/` to pin a version. Use `?market_region=` to filter this list to a specific region.

## Query parameters

- `market_region` 'caiso' | 'ercot' | 'gb' | 'germany' | 'isone' | 'italy' | 'miso' | 'nem' | 'nyiso' | 'pjm' | 'poland' | 'spain' | 'spp'
- `limit` integer
- `offset` integer

## Response `200`

Paginated list of supported config schema versions.

- PaginatedConfigSchemaListResponse
  - `count` integer: Total number of results.
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` ConfigSchemaListItem[]
    - `api_version` string: Deprecated alias of `schema_version`; use `schema_version` instead.
    - `market_region` 'caiso' | 'ercot' | 'gb' | 'germany' | 'isone' | 'italy' | 'miso' | 'nem' | 'nyiso' | 'pjm' | 'poland' | 'spain' | 'spp': The market region this schema applies to.
    - `schema_version` string: The schema version string for this schema. Pass this value (or just its major version, e.g. `1`) as `schema_version` when submitting a run via `POST /runs/`.
    - `status` 'current' | 'deprecated': Whether this is the region's current schema or the previous (deprecated) one, still supported for a grace period after a new version is released.

## Other responses

- `400`: Unknown market_region filter value.
- `401`: Missing or invalid X-token.

---

[API](https://skmtc.dev/modoenergy/apis/modo-energy-forecasts-api.md) - [All operations](https://skmtc.dev/modoenergy/apis/modo-energy-forecasts-api/llms.txt) - [OpenAPI document](https://skmtc.dev/modoenergy/apis/modo-energy-forecasts-api/revisions/24a95c4b710c?raw)
