Create Task (Legacy)
Tasks (Legacy)
Create Task (Legacy)
Creates a new task or updates an existing task with the same name. Tasks are reusable code snippets that can be executed in browser sessions. Tasks support versioning with draft and published versions.
If you are using the new Task Builder, see the non-deprecated Tasks endpoints in this API reference.
POST
Create Task (Legacy)
Documentation Index
Fetch the complete documentation index at: https://docs.anchorbrowser.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key passed in the header
Body
application/json
Task name (letters, numbers, hyphens, and underscores only)
Required string length:
1 - 255Pattern:
^[a-zA-Z0-9_-]+$Programming language for the task
Available options:
typescript Base64 encoded task code (optional)
Pattern:
^[A-Za-z0-9+/]*={0,2}$Optional description of the task
Maximum string length:
1000Browser configuration for task execution
Response
Task created or updated successfully

