Skip to content
GuidesBlogPlaygroundDashboard

Datasets

List all datasets
$client->datasets->list(): DatasetList
GET/api/v1/datasets
Create a new dataset (admin only)
$client->datasets->create(string name, string slug, ?string attribution, ?string description, ?string license, ?string sourceURL): Dataset
POST/api/v1/datasets
Get dataset by ID
$client->datasets->retrieve(string id): Dataset
GET/api/v1/datasets/{id}
Delete a dataset
$client->datasets->delete(string id): void
DELETE/api/v1/datasets/{id}
Query features in a dataset
$client->datasets->features(string id, ?string cursor, ?string format, ?int limit, ?float outputBuffer, ?bool outputCentroid, ?string outputFields, ?bool outputGeometry, ?string outputInclude, ?int outputPrecision, ?float outputSimplify, ?string outputSort): FeatureCollection
GET/api/v1/datasets/{id}/features
ModelsExpand Collapse
string id

Dataset UUID

\Datetime insertedAt

Creation timestamp (UTC)

string name

Human-readable dataset name

string slug

URL-friendly identifier

\Datetime updatedAt

Last update timestamp (UTC)

?string attribution

Required attribution text

?string description

Dataset description

?string license

License identifier (e.g. CC-BY-4.0)

?string sourceURL

URL of the original data source

list<Dataset> datasets

Array of dataset metadata objects