Returns the snapshot model for the snapshot specified by the {snapshot_id} parameter within the dataset specified by the {dataset_id}. This endpoint takes the same query parameters and returns the same data as the GET /snapshots/{snapshot_id} endpoint. See GET /snapshots/{snapshot_id} for additional information.

Query parameters

NameTypeDescriptionRequired?
row_sort string See note below. false
highlight boolean See note below. false
row_limit integer See note below. false
ancestor string See note below. false
row_offset integer See note below. false
query string See note below. false
stats boolean See note below. false
query_mode string See note below. false

See GET /snapshots/{snapshot_id} for descriptions of these parameters.

Responses

CodeReturns
200 The snapshot model for the snapshot.
401 Invalid login credentials
404 Requested resource not found
405 Method not allowed

Example

This example returns the snapshot metadata and the first three rows from the specified snapshot (from the “Companies listed on the NASDAQ stock exchange” dataset) with the rows pre-sorted by the symbol (“Company Symbol”) column.

$ curl -X GET 'https://public.enigma.com/api/datasets/ebb5e1c4-3780-4524-9d12-6f2a9f6b83b6/snapshots/8508e202-7b9c-4419-84c8-63276c23626c?row_limit=3&row_sort=symbol'