---
title: "Retrieve the latest version with the given metadata."
method: GET
path: "/subjects/{subject}/metadata"
tags: ["Subjects (v1)"]
---

# Retrieve the latest version with the given metadata.

`GET /subjects/{subject}/metadata`

Retrieve the latest version with the given metadata.

## Path parameters

- `subject` string, required

## Query parameters

- `key` string
- `value` string
- `format` string
- `deleted` boolean

## Response `200`

The schema.

## Other responses

- `404` — Error code 40401 -- Subject not found Error code 40403 -- Schema not found
- `500` — Internal Server Error.

---

[API](https://skmtc.dev/confluent/apis/confluent-cloud-apis.md) · [All operations](https://skmtc.dev/confluent/apis/confluent-cloud-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/confluent/confluent-cloud-apis/revisions/a6a73f98a698/schema)
