# getDatasetById

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

Get basic metadata and available versions for a given dataset.

**Headers**

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

**Body**

| Name    | Type   | Description |
| ------- | ------ | ----------- |
| Dataset | string | Dataset     |

**Response**

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

```json
{
  "data": {
    "created_on": "2019-08-24T14:15:22Z",
    "updated_on": "2019-08-24T14:15:22Z",
    "dataset": "string",
    "is_downloadable": true,
    "metadata": {
      "title": "Deforestation alerts (GLAD-S2)",
      "subtitle": "Sentinel-2 based deforestation alerts",
      "source": "Global Land Analysis and Discovery (GLAD), University of Maryland",
      "license": "[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)",
      "data_language": "en",
      "overview": "This data set is a forest loss alert product developed by the Global Land Analysis and Discovery lab at the University of Maryland.", 
      "function": "Identifies areas of primary forest loss  in near real time using Sentinel-2 imagery",
      "citation": "Pickens, A.H., Hansen, M.C., Adusei, B., and Potapov P. 2020. Sentinel-2 Forest Loss Alert. Global Land Analysis and Discovery (GLAD), University of Maryland.",
      "cautions": "Results are masked to only within the primary forest mask.", 
      "tags": [
        "Forest Change"
      ],
      "learn_more": "https://glad.earthengine.app/view/s2-forest-alerts"
    },
    "versions": []
  },
  "status": "success"
}
```

{% endtab %}

{% tab title="422" %}

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

{% endtab %}
{% endtabs %}
