GET
/
datasets
/
snapshots
/
{id}
cURL
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,
  "error": "<string>",
  "error_code": "<string>",
  "warning": "<string>",
  "warning_code": "<string>",
  "initiation_type": "<string>"
}

Authorizations

Authorization
string
header
required

Use your Bright Data API Key as a Bearer token in the Authorization header.

Get API Key from: https://brightdata.com/cp/setting/users.

Example: Authorization: Bearer b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07df

Path Parameters

id
string
required

A Snapshot ID is a unique identifier for a specific data snapshot, used to retrieve results from a data collection job triggered via the API. Read more about Snapshot ID.

Example:

"snap_m2bxug4e2o352v1jv1"

Response

200
application/json

OK

The response is of type object.