# getMetadata

<mark style="color:green;">`GET`</mark> `/dataset/{dataset}/{version}/metadata`

Get metadata record for a dataset version.

**Headers**

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Bearer <token>`   |

**Body**

| Name     | Type   | Description                |
| -------- | ------ | -------------------------- |
| Dataset  | string | Dataset                    |
| Version  | number | version                    |
| metadata | string | include\_dataset\_metadata |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  "data": {
    "content_date_range": {
      "start_date": "2000-01-01",
      "end_date": "2021-04-06"
    },
    "content_date_description": "2000 - present"
  },
  "status": "success"
}
```

{% endtab %}

{% tab title="422" %}

```json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
```

{% endtab %}
{% endtabs %}
