---
title: "Get Metadata Per Schema"
method: GET
path: "/api/v1/pipelines/sources/{source_name}/metadata"
tags: ["secure"]
---

# Get Metadata Per Schema

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

Fetches metadata for specified schema from a source.

Args:
    source_name (str): Source name.
    schema (Optional[str]): Schema name. Defaults to None.

Returns:
    MetadataResponse: Detailed metadata information for the specified schema, or all schemas if none specified.

## Path parameters

- `source_name` string, required

## Query parameters

- `schema` string, nullable

## Response `200`

Successful Response

- MetadataResponse — Metadata response class.
  - `tables` object, required

## Other responses

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

## Changes

- **2025-02-27** `b0ed6c7dac42` — 1 warning, 4 info
  - deleted the `query` request parameter `tables`
  - api operation id `get_metadata_api_v1_pipelines_sources__source_name__metadata_get` removed and replaced with `get_metadata_per_schema_api_v1_pipelines_sources__source_name__metadata_get`
  - added the non-success response with the status `422`
  - removed the non-success response with the status `404`
  - …1 more

[Change history](https://skmtc.dev/redis/apis/redis-data-integration-api/changes/api/v1/pipelines/sources/:source_name/metadata/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)
