---
title: "Update a browser automation"
method: PATCH
path: "/v1/browserbase/automations/{automationId}"
tags: ["Browserbase"]
---

# Update a browser automation

`PATCH /v1/browserbase/automations/{automationId}`

## Path parameters

- `automationId` string, required

## Request body

- UpdateBrowserAutomationDto
  - `name` string — Automation name
  - `description` string — Automation description
  - `targetUrl` string — Target URL to start from
  - `instruction` string — Natural language instruction
  - `schedule` string — Cron schedule expression
  - `isEnabled` boolean — Whether automation is enabled

## Response `200`

Automation updated

- BrowserAutomationResponseDto
  - `id` string, required
  - `name` string, required
  - `description` string
  - `taskId` string, required
  - `targetUrl` string, required
  - `instruction` string, required
  - `isEnabled` boolean, required
  - `schedule` string
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

---

[API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.dev/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/2fc5a4abe081/schema)
