---
title: "Get Sources"
method: GET
path: "/weather/sources"
tags: ["sync"]
---

# Get Sources

`GET /weather/sources`

List all of the Weather Sources available.

An API route that returns a list of all the Weather Sources available from the WeatherController.
Each Source contains information about the source and a list of the Models available for that Source.

Args:
    None
Returns:
    A list of all Source available from the WeatherController

## Response `200`

Successful Response

- WeatherSource[]
  - `id` string, required — Source id
  - `name` string, required — Source name
  - `url` string — Source URL
  - `models` WeatherModel[] — Synchronous models
    - `id` string, required — Model id
    - `name` string, required — Model name
    - `version` string — Model version
    - `url` string — Model URL
    - `description` string — Model description
    - `predictive` boolean, required — Predictions or measurements
    - `async_model` boolean, required — Whether the model should be called asynchronously
    - `time_step_size_minutes` integer, required — Time between each measurement or prediction
    - `num_time_steps` integer, required — Number of data points in the result set
  - `async_models` WeatherModel[] — Asynchronous models
    - `id` string, required — Model id
    - `name` string, required — Model name
    - `version` string — Model version
    - `url` string — Model URL
    - `description` string — Model description
    - `predictive` boolean, required — Predictions or measurements
    - `async_model` boolean, required — Whether the model should be called asynchronously
    - `time_step_size_minutes` integer, required — Time between each measurement or prediction
    - `num_time_steps` integer, required — Number of data points in the result set

---

[API](https://skmtc.dev/alliander-opensource/apis/weather-api-v2.md) · [All operations](https://skmtc.dev/alliander-opensource/apis/weather-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alliander-opensource/weather-api-v2/revisions/3fcf5864fa7e/schema)
