GET
/
datasets
/
snapshots
/
{id}
curl --request GET \
  --url https://api.brightdata.com/datasets/snapshots/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "created": "2023-11-07T05:31:56Z",
  "status": "scheduled",
  "dataset_id": "<string>",
  "customer_id": "<string>",
  "dataset_size": 123,
  "file_size": 123,
  "cost": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Snapshot ID

Example:

"snap_m2bxug4e2o352v1jv1"

Response

200
application/json
OK
id
string
created
string
status
enum<string>
Available options:
scheduled,
building,
ready,
failed
dataset_id
string
customer_id
string
dataset_size
integer

Number of records in the snapshot

file_size
integer

Size of the snapshot file in bytes

cost
number