# getFields

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

Get the fields of a version. For a version with a vector default asset.

**Headers**

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

**Body**

| Name    | Type   | Description |
| ------- | ------ | ----------- |
| dataset | string | dataset     |
| version | number | version     |

**Response**

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

```javascript
{
  "data": [
    {
      "name": "string",
      "alias": "string",
      "description": "string",
      "data_type": "date",
      "unit": "string",
      "is_feature_info": true,
      "is_filter": true
    }
  ],
  "status": "success"
}
```

{% endtab %}

{% tab title="422" %}

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

{% endtab %}
{% endtabs %}
