Skip to main content
POST
Create or Update Task Draft (Legacy)

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
required

Base64 encoded task code

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 draft created or updated successfully

data
object