---
title: "Get Schema Metadata"
method: GET
path: "/schemas/metadata"
---

# Get Schema Metadata

`GET /schemas/metadata`

## Request

- The document declares no server URL.
- Auth: none declared

Get all schema metadata associated with a specific survey id.

Parameters:
survey_id (str): survey id of the collection
schema_processor_service (SchemaProcessorService): injected dependency for processing the metadata collection.

## Query parameters

- `survey_id` string, nullable

## Response `200`

Successful Response

- SchemaMetadata[]
  - `survey_id` string, required
  - `schema_location` string, required
  - `sds_schema_version` integer, required
  - `sds_published_at` string, required
  - `schema_version` string, required
  - `title` string, required
  - `guid` string, required

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error

## Changes

> 32 revisions in range; 2 not diffed.

- **2026-07-01** `9a87e51baf13`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/office-of-national-statistics/apis/supplementary-data-service/changes/schemas/metadata/get.md)

---

[API](https://skmtc.dev/office-of-national-statistics/apis/supplementary-data-service.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/supplementary-data-service/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/supplementary-data-service/revisions/9a87e51baf13?raw)
