Skip to main content
GET
/
api
/
data
/
v2
/
datasources
/
{DATASET_ID}
/
schemas
/
latest
Return the schema for a specified Dataset
curl --request GET \
  --url https://example.com/v1/api/data/v2/datasources/{DATASET_ID}/schemas/latest \
  --header 'X-DOMO-Developer-Token: <api-key>'
{
  "schema": {
    "columns": [
      {
        "type": "STRING",
        "name": "Example Column",
        "id": "col_1",
        "visible": true,
        "metadata": {
          "colLabel": "Example Column Label",
          "colFormat": "",
          "isEncrypted": false
        }
      }
    ]
  }
}

Authorizations

X-DOMO-Developer-Token
string
header
required

Domo Developer Token for authentication.

Path Parameters

DATASET_ID
string
required

The ID of the Dataset.

Example:

"aa7d9422-9abe-4581-bbf3-4a8cb5d3fc25"

Response

OK. Returns the schema object.

schema
object