---
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.

## Changes

- **2019-02-22** `8e2f718635ef` — 5 breaking, 1 info
  - removed the success response with the status `270`
  - removed the success response with the status `271`
  - removed the success response with the status `272`
  - removed the success response with the status `273`
  - …2 more
- **2018-09-18** `4df86fe63217` — 1 info
  - the `query` request parameter `api_key` became optional
- **2018-01-17** `2209d99ea36e` — 1 breaking, 6 info
  - the `query` request parameter `api_key` became required
  - removed the non-success response with the status `412`
  - added the success response with the status `270`
  - added the success response with the status `271`
  - …3 more

[Change history](https://skmtc.dev/openml/apis/openml-api/changes/data/features/:id/get.md)

---

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