跳转到主要内容
POST
Resume Self-Healing Job

授权

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

路径参数

collector_id
string
必填

Collector ID returned by the Create Scraper Template API endpoint.

请求体

application/json
message
boolean
必填

true approves the proposed diff and lets the Self-Healing job resume. false rejects the diff and ends the job.

示例:

true

auto_save
boolean

Optional. When true, the approved template is saved automatically once the Self-Healing job completes successfully. The template is saved only if message is true (you approved the diff) and the job succeeds. Currently applies to successful jobs only. Defaults to false.

示例:

true

响应

200

Self-Healing job resumed