GET
/
datasets
/
snapshots
/
{id}
/
parts
curl --request GET \
  --url https://api.brightdata.com/datasets/snapshots/{id}/parts \
  --header 'Authorization: Bearer <token>'
{
  "parts": 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"

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.