PUT
/
api
/
v1
/
scheduled-task
/
{task_id}
curl --request PUT \
  --url https://api.browser-use.com/api/v1/scheduled-task/{task_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "task": "<string>",
  "schedule_type": "interval",
  "interval_minutes": 123,
  "cron_expression": "<string>",
  "start_at": "2023-11-07T05:31:56Z",
  "end_at": "2023-11-07T05:31:56Z",
  "is_active": true,
  "use_adblock": true,
  "use_proxy": true,
  "highlight_elements": true,
  "llm_model": "gpt-4o",
  "save_browser_data": true,
  "structured_output_json": "<string>"
}'
{
  "id": "<string>",
  "task": "<string>",
  "save_browser_data": true,
  "structured_output_json": "<string>",
  "llm_model": "gpt-4o",
  "use_adblock": true,
  "use_proxy": true,
  "highlight_elements": true,
  "schedule_type": "interval",
  "interval_minutes": 123,
  "cron_expression": "<string>",
  "start_at": "2023-11-07T05:31:56Z",
  "next_run_at": "2023-11-07T05:31:56Z",
  "end_at": "2023-11-07T05:31:56Z",
  "is_active": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
string
required

Body

application/json

Request model for updating individual fields of a scheduled task.

Response

200
application/json

Successful Response

Response model for a single scheduled task.