Skip to main content
GET
cURL
返回为给定数据集视图存储的完整交付配置。deliver 对象包含特定于目标的字段(例如 S3 目标的 bucketcredentialsregion),顶级 tarcompressbatch_sizefilename 字段描述输出文件的打包方式。
通过调用 获取数据集视图 来查找 view_id

授权

Authorization
string
header
必填

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

路径参数

view_id
string
必填

Unique identifier for the dataset view.

示例:

"v_id1"

响应

Current delivery configuration for the view

Delivery configuration for a dataset view. Used by the view delivery settings GET, PUT and bulk PUT endpoints.

deliver
Microsoft Azure · object

Delivery destination configuration. The type field selects the destination (for example s3, sftp, webhook) and the remaining fields depend on the destination schema returned by /datasets/delivery_settings/{destination_type}/schema.

filename
object

Configuration for the output file name and format.

flatten_csv
boolean
默认值:false

When true, nested fields are flattened for CSV output.

tar
boolean
默认值:false

When true, delivered files are bundled into a TAR archive.

compress
boolean
默认值:false

When true, delivered files are gzip compressed.

batch_size
integer

Maximum records per batch file. Use to split large deliveries into smaller files. Maximum batch size is 5GB.

示例:

1000