Create a dataset snapshot based on a provided filter
value field.
| Operator | Field Types | Description |
|---|---|---|
in | Any | Field value equals any value in file |
not_in | Any | Field value does not equal any value in file |
includes | Array, Text | Field value contains any value in file |
not_includes | Array, Text | Field value does not contain any value in file |
array_includes | Array | Any value in file exists in field value |
not_array_includes | Array | No values in file exist in field value |
| Issue | Possible Solution |
|---|---|
| ”File not found” | Make sure the filename in your filter exactly matches the uploaded file name. |
| ”Invalid file format” | Check CSV header matches the filter field name, or ensure JSON is an array of objects. |
| ”Field not found” | Verify field exists in dataset. Use Get Dataset Metadata. |
在 Authorization 头中使用您的 Bright Data API Key 作为 Bearer token。
认证方法:
Authorization: Bearer YOUR_API_KEY示例:
Authorization: Bearer b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07df了解如何获取 Bright Data API Key: https://docs.brightdata.com/cn/api-reference/authentication#如何生成新的-api-key?
要筛选的数据集 ID(在 multipart/form-data 模式下为必填)
"gd_l1viktl72bvl7bjuj0"
限制包含在快照中的记录数量
1000
{
"name": "name",
"operator": "=",
"value": "John"
}创建快照的任务已成功启动
快照 ID