Skip to main content
POST
Validate a destination again
POST /webarchive/destinations/{id}/validate runs the test upload to the bucket again and stores the result in validation. Send the body {}.
A 200 response doesn’t mean success. Check validation.status: valid means Bright Data can write to the bucket.
The last validation, including the one on create, sets when the next one is allowed: 5 minutes after a valid result, 1 minute after any other result. A validation before then, or while one is running, returns 429 destination_validation_cooldown.
Bright Data never validates on its own. A valid result shows as expired after 24 hours and the destination keeps working. Validate is limited to 10 requests per minute and 60 per hour. The test uploads an object under <prefix>/.brd-destination-probe/ (5 MiB + 1 byte as a multipart upload on Amazon S3 and OCI, 1 KiB on GCS, Azure and Alibaba OSS), lists and reads it back and deletes it when the credentials allow it. validation.probe_key shows its path and validation.probe_deleted shows if it was deleted.

Authorizations

Authorization
string
header
required

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

How to authenticate:

  1. Obtain your API Key from the Bright Data account settings at https://brightdata.com/cp/setting/users
  2. Include the API Key in the Authorization header of your requests
  3. Format: Authorization: Bearer YOUR_API_KEY

Example:

Learn how to get your Bright Data API key: https://docs.brightdata.com/api-reference/authentication

Path Parameters

id
string
required

Destination ID: dst_ followed by 32 hex characters.

Pattern: ^dst_[a-f0-9]{32}$
Example:

"dst_0123456789abcdef0123456789abcdef"

Body

application/json

The body is of type object.

Response

The destination with the new validation result

id
string

Destination ID

Example:

"dst_0123456789abcdef0123456789abcdef"

customer_id
string

Your Bright Data Account ID

name
string
target
object

Where Bright Data writes. Credentials are never returned.

validation
object

Result of the last test upload.

firehose_validation
object

assume_role only. Result of the same test with the Bright Data Data Firehose role. For information only: it doesn't change validation.status.

target_revision
integer

Increases when the target changes

auth_revision
integer

Increases when the credentials or role change

next_validation_at
string<date-time>

Earliest time of the next validation

created_at
string<date-time>
updated_at
string<date-time>