Skip to main content
POST
/
v1
/
task
/
{taskId}
/
deploy
Deploy Task (Legacy)
curl --request POST \
  --url https://api.anchorbrowser.io/v1/task/{taskId}/deploy \
  --header 'Content-Type: application/json' \
  --header 'anchor-api-key: <api-key>' \
  --data '{}'
{}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

taskId
string<uuid>
required

The ID of the task

Body

application/json
code
string

Base64 encoded task code (required for new versions)

Minimum string length: 1
Pattern: ^[A-Za-z0-9+/]*={0,2}$
language
enum<string>

Programming language for the task

Available options:
typescript
description
string

Optional description of the version

Maximum string length: 1000
browserConfiguration
object

Browser configuration for task execution

Response

Task deployed successfully

data
object