---
title: "Get data features"
method: GET
path: "/data/features/{id}"
tags: ["data"]
---

# Get data features

`GET /data/features/{id}`

Returns the features of a dataset.

## Path parameters

- `id` number, required

## Query parameters

- `api_key` string

## Response `200`

All the features of the dataset

- DataFeatures
  - `data_features` DataFeaturesDataFeatures
    - `feature` DataFeaturesDataFeaturesFeature[]
      - `index` string — Feature index
      - `name` string — Feature name
      - `data_type` string — Feature data type
      - `is_target` string — Whether this feature is seen as a target feature
      - `is_ignore` string — Whether this feature should be ignored in modelling (e.g. every value is unique)
      - `is_row_identifier` string — Whether this feature is a row identifier

## Other responses

- `412` — Precondition failed. An error code and message are returned. 270 - Please provide dataset ID. 271 - Unknown dataset. Data set with the given data ID was not found (or is not shared with you). 272 - No features found. The dataset did not contain any features, or we could not extract them. 273 - Dataset not processed yet. The dataset was not processed yet, features are not yet available. Please wait for a few minutes. 274 - Dataset processed with error. The feature extractor has run into an error while processing the dataset. Please check whether it is a valid supported file. If so, please contact the API admins.

---

[API](https://skmtc.net/openml/apis/openml-api.md) · [All operations](https://skmtc.net/openml/apis/openml-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openml/openml-api/revisions/263d3d6ee586/schema)
