跳转到主要内容
POST
Trigger AI Flow

授权

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
description
string
必填
Maximum string length: 500
示例:

"Extract product data from this page"

urls
string<uri>[]
必填
Maximum array length: 1

响应

200 - application/json

AI flow triggered

id
string

Unique identifier for the AI job

queued
boolean

Indicates whether the job is queued or currently running