GET
/
datasets
/
snapshots
/
{id}
/
parts
cURL
curl --request GET \
  --url https://api.brightdata.com/datasets/snapshots/{id}/parts \
  --header 'Authorization: Bearer <token>'
{
  "parts": 123
}

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:

"s_m4x7enmven8djfqak"

Query Parameters

format
enum<string>
default:json

Format of the response

Available options:
json,
ndjson,
jsonl,
csv
compress
boolean
default:false

Whether or not the response will be compressed in gzip format

batch_size
integer

Number of records that will be included in each response batch

Response

200
application/json

OK

The response is of type object.