Get Dataset Versions Endpoint
const url = 'https://example.com/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/versions/?skip=0&limit=50';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/versions/?skip=0&limit=50'Get paginated version history for a dataset.
Access follows Rule 1 on the read path. feat(#1316): field redaction on
top follows the same owner-or-admin predicate as refresh-runs and dataset
reads — a caller who is neither the owner nor an admin gets the version
timeline (filenames, formats, feature counts) but not file_hash or
uploaded_by. Unredacted, a PUBLIC dataset’s version history enumerates
its editors, the exact leak ADR-002 Decision 4e closed for refresh-runs.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Query Parameters
Section titled “Query Parameters ”Responses
Section titled “ Responses ”Successful Response
object
One version in a dataset’s history.
feat(#1316): file_hash and uploaded_by are null for any caller who
is neither the dataset’s owner nor an admin — the same predicate that
gates origin_uri/origin_ref on the dataset itself and
triggered_by on refresh-runs (ADR-002 Decision 4e). Unredacted, a
public dataset’s version history enumerates its editors.
object
Example generated
{ "versions": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "dataset_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "version_number": 1, "source_filename": "example", "source_format": "example", "feature_count": 1, "srid": 1, "geometry_type": "example", "file_hash": "example", "uploaded_by": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "uploaded_at": "2026-04-15T12:00:00Z" } ], "total": 1}Bad request — invalid payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks access to this resource
Not found
Conflict — resource state prevents the operation
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request