获取搜索状态
使用 Bright Data Archive API 获取搜索状态。GET /webarchive/search/ 返回 200 OK,包含匹配文件数、快照大小和预估费用。
- 您查询的条目数量
- 完整数据快照的估计大小和成本
estimate_batch_size 以字节为单位。dump_cost_usd 是基于 files_count 和您当前缓存/存档定价层的估计总成本。cost_breakdown 对象显示缓存和存档页面的单独成本。授权
Use your Bright Data API Key as a Bearer token in the Authorization header.
How to authenticate:
- Obtain your API Key from the Bright Data account settings at https://brightdata.com/cp/setting/users
- Include the API Key in the Authorization header of your requests
- Format:
Authorization: Bearer YOUR_API_KEY
Example:
Learn how to get your Bright Data API key: https://docs.brightdata.com/api-reference/authentication
路径参数
Unique identifier for the search
"ucd_abc123xyz"
响应
Search status response
- Success
- Pending
- Failed
Unique identifier for the search
Current status: in_progress, done, or failed
done The filters used for this search (echoed back)
Total number of matching files found
Estimated number of batches for the dump
Estimated total size in bytes
Estimated total cost to create a dump
Breakdown of costs between cache and archive pages
Estimated time to complete the dump in seconds
How long the search took to complete
Error message (only present when status is failed)