Styles
Path parameters
dataset_version_idstringRequired
UUID of the dataset version to query. Each dataset can have multiple versions representing different states of the data over time
Query parameters
api_keystringRequired
Earthscale API key used to authenticate requests and determine which datasets you have access to. API keys can be managed in the Earthscale Web App under the user menu (top-right) -> 'API Settings'
formatconst: mapboxOptionalDefault:
Style specification format. 'mapbox' returns a MapLibre/Mapbox GL style JSON with sources and layers configured for this dataset
mapboxmap_idany ofOptional
Restrict to visualization settings from a specific Earthscale map. If omitted, returns the most recently used style for this dataset globally
string · uuidOptional
nullOptional
Responses
200
Mapbox/MapLibre style JSON
application/json
Responseany
204
If the dataset version is not in that map or has no defined visualization.
422
Validation Error
application/json
get
/vector/{dataset_version_id}/styleLast updated