---
title: "Get Databases For Sources"
method: GET
path: "/api/v1/pipelines/sources/{source_name}/databases"
tags: ["secure"]
---

# Get Databases For Sources

`GET /api/v1/pipelines/sources/{source_name}/databases`

Fetches available databases for the specified source.

Args:
    source_name (str): The name of the source.

Returns:
    DatabaseResponse: List of available databases for the source.

## Path parameters

- `source_name` string, required

## Response `200`

Successful Response

- DatabaseResponse — Database response class.
  - `databases` string[], required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `422` — Validation Error

## Changes

- **2025-02-27** `b0ed6c7dac42` — 4 info
  - api operation id `get_databases_api_v1_pipelines_sources__source_name__databases_get` removed and replaced with `get_databases_for_sources_api_v1_pipelines_sources__source_name__databases_get`
  - added the non-success response with the status `422`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `423`

[Change history](https://skmtc.dev/redis/apis/redis-data-integration-api/changes/api/v1/pipelines/sources/:source_name/databases/get.md)

---

[API](https://skmtc.dev/redis/apis/redis-data-integration-api.md) · [All operations](https://skmtc.dev/redis/apis/redis-data-integration-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/redis/redis-data-integration-api/revisions/93cd17c85fc8/schema)
