---
title: "Get document metadata for a single document"
method: GET
path: "/server-provided-path-document-metadata"
tags: ["Download"]
---

# Get document metadata for a single document

`GET /server-provided-path-document-metadata`

This endpoint returns the metadata for a single document. Its URL is retrieved from the links object in the initial document selection response, with the `document_version_metadata` property.

## Response `200`

- DocumentMetadata
  - `metadata` DocumentMetadataEntry[], required — An array of metadata entries
    - `name` string, required — The name of the metadata property
    - `value` string[], required — The value of the metadata property, can be a list
    - `data_type` 'string' | 'boolean' | 'date-time' | 'date' | 'integer32' | 'integer64' | 'number' | 'url', required — The data type of the items in the value array

## Changes

- **2022-08-11** `2d09dcd8ade2` — 1 info
  - api operation id `/server-provided-path-document-metadata` was added
- **2022-02-16** `30259031e29d` — 1 info
  - api tag `Download` added
- **2022-02-14** `3eaa30d597fd` — 2 info
  - api operation id `/server-provided-path-document-metadata` removed and replaced with ``
  - api tag `Download` removed

[Change history](https://skmtc.dev/buildingsmart/apis/opencde-documents-api/changes/server-provided-path-document-metadata/get.md)

---

[API](https://skmtc.dev/buildingsmart/apis/opencde-documents-api.md) · [All operations](https://skmtc.dev/buildingsmart/apis/opencde-documents-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/buildingsmart/opencde-documents-api/revisions/b6d5b5ee5da6/schema)
