Skip to content
GuidesPlaygroundDashboard

Datasets

List all datasets
datasets.list() -> DatasetList { datasets }
GET/api/v1/datasets
Create a new dataset (admin only)
datasets.create(**kwargs) -> Dataset { id, inserted_at, name, 6 more }
POST/api/v1/datasets
Get dataset by ID
datasets.retrieve(id) -> Dataset { id, inserted_at, name, 6 more }
GET/api/v1/datasets/{id}
Delete a dataset
datasets.delete(id) -> void
DELETE/api/v1/datasets/{id}
Query features in a dataset
datasets.features(id, **kwargs) -> FeatureCollection { features, type }
GET/api/v1/datasets/{id}/features
ModelsExpand Collapse
class Dataset { id, inserted_at, name, 6 more }
id: String

Dataset ID

formatuuid
inserted_at: Time

Creation timestamp

formatdate-time
name: String

Dataset name

slug: String

URL-friendly slug

updated_at: Time

Last update timestamp

formatdate-time
attribution: String

Attribution text

description: String

Dataset description

license: String

License identifier

source_url: String

Source data URL

class DatasetList { datasets }
datasets: Array[Dataset { id, inserted_at, name, 6 more } ]
id: String

Dataset ID

formatuuid
inserted_at: Time

Creation timestamp

formatdate-time
name: String

Dataset name

slug: String

URL-friendly slug

updated_at: Time

Last update timestamp

formatdate-time
attribution: String

Attribution text

description: String

Dataset description

license: String

License identifier

source_url: String

Source data URL