curl --request POST \
--url http://localhost:3333/v1/browserbase/automations \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"taskId": "<string>",
"name": "<string>",
"targetUrl": "<string>",
"instruction": "<string>",
"description": "<string>",
"evaluationCriteria": "<string>",
"schedule": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"taskId": "<string>",
"targetUrl": "<string>",
"instruction": "<string>",
"isEnabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"schedule": "<string>"
}curl --request POST \
--url http://localhost:3333/v1/browserbase/automations \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"taskId": "<string>",
"name": "<string>",
"targetUrl": "<string>",
"instruction": "<string>",
"description": "<string>",
"evaluationCriteria": "<string>",
"schedule": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"taskId": "<string>",
"targetUrl": "<string>",
"instruction": "<string>",
"isEnabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"schedule": "<string>"
}API key for authentication
Task ID this automation belongs to
Automation name
Target URL to start from
Natural language instruction for navigation
Automation description
Optional natural-language criteria used to evaluate the automation result. When set, the run gets a pass/fail verdict.
Cron schedule expression
Was this page helpful?