curl -k "https://api.brightdata.com/datasets/request_collection?dataset_id=gd_l1vikfnt1wgvvqz95w&type=url_collection" \
    -H "Authorization: Bearer API_TOKEN" \
    -H "Content-Type: application/json" \
    -d '[{"id":"user-id"}]' 
{
"request_id": "j_lsu5sdup1ggkc5umby"
}

Endpoint: POST /datasets/initiate_collection

POST body

request_id
string
required

The unique identifier for the collection request you are inquiring about.

freshness_ms
string
required

The time in milliseconds indicating the desired data freshness.

Body Example
{
    "request_id": "j_lsu5sdup1ggkc5umby",
    "freshness_ms": 2592000000
}