---
title: "Returns the SourceDocumentMetadata with the given Key if it exists."
method: GET
path: "/sdocmeta/sdoc/{sdoc_id}/metadata/{metadata_key}"
tags: ["sdocMetadata"]
---

# Returns the SourceDocumentMetadata with the given Key if it exists.

`GET /sdocmeta/sdoc/{sdoc_id}/metadata/{metadata_key}`

## Path parameters

- `sdoc_id` integer, required
- `metadata_key` string, required

## Response `200`

Successful Response

- SourceDocumentMetadataRead
  - `int_value` integer, nullable, required — Int Value of the SourceDocumentMetadata
  - `str_value` string, nullable, required — String Value of the SourceDocumentMetadata
  - `boolean_value` boolean, nullable, required — Boolean Value of the SourceDocumentMetadata
  - `date_value` string, date-time, nullable, required — Date Value of the SourceDocumentMetadata
  - `list_value` string[], nullable, required — List Value of the SourceDocumentMetadata
  - `id` integer, required — ID of the SourceDocumentMetadata
  - `project_metadata_id` integer, required — ID of the ProjectMetadata
  - `source_document_id` integer, required — SourceDocument the SourceDocumentMetadata belongs to

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/versions/6b22366ce2d1/schema)
