> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Return the schema for a specified Dataset

<Card horizontal arrow title="Playground" icon="code" href="/api-reference/dataset-schema-api/return-the-schema-for-a-specified-dataset" />

**Method**: `GET`\
**Endpoint**: `/api/data/v2/datasources/<DATASET_ID>/schemas/latest`

**Example**:

```json theme={"dark"}
{
  "method": "GET",
  "url": "https://{instance}.domo.com/api/data/v2/datasources/<DATASET_ID>/schemas/latest",
  "headers": {
    "X-DOMO-Developer-Token": "",
    "Content-Type": "application/json"
  },
  "body":
}
```

**Response**:\
Description of the Response with an example of the data

```json theme={"dark"}
200:
{
    "schema": {
        "columns": [
            {
                "type": "<TYPE>",
                "name": "<NAME>",
                "id": "<ID>",
                "visible": true,
                "metadata": {
                    "colLabel": "<LABEL>",
                    "colFormat": "",
                    "isEncrypted": false
                }
            }
        ]
    }
}
```
