---
title: "Create a browser automation"
method: POST
path: "/v1/browserbase/automations"
tags: ["Browserbase"]
---

# Create a browser automation

`POST /v1/browserbase/automations`

## Request body

- CreateBrowserAutomationDto
  - `taskId` string, required — Task ID this automation belongs to
  - `name` string, required — Automation name
  - `description` string — Automation description
  - `targetUrl` string, required — Target URL to start from
  - `instruction` string, required — Natural language instruction for navigation
  - `schedule` string — Cron schedule expression

## Response `201`

Automation created

- 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)
