Get Dataset by ID

Get a specific Dataset

Request
path Parameters
id
required
string

Dataset id

Responses
200

Ok

get/datasets/{id}
Request samples

dataset = project.datasets.get(dataset_id='dataset_id')

# 
# Get dataset by name or id.
# 
# **Prerequisites**: You must be an *owner* or *developer* to use this method.
# 
# You must provide at least ONE of the following params: dataset_id, dataset_name.
# 
# :param str dataset_name: optional - search by name
# :param str dataset_id: optional - search by id
# :param bool checkout: set the dataset as a default dataset object (cookies)
# :param bool fetch: optional - fetch entity from platform (True), default taken from cookie
# :return: Dataset object
# :rtype: dtlpy.entities.dataset.Dataset
# 
# 
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "name": "string",
  • "annotated": 0,
  • "itemsCount": 0,
  • "items": "string",
  • "directoryTree": "string",
  • "creator": "string",
  • "projects": [
    ],
  • "metadata": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "updatedBy": "string",
  • "readableType": "string",
  • "accessLevel": "private",
  • "driver": "string",
  • "readonly": true,
  • "error": null,
  • "expirationOptions": {
    },
  • "indexDriver": "v1",
  • "enableSyncWithCloned": true,
  • "srcDataset": "string",
  • "annotationsCount": 0
}