Tasks

Run Task

Executes a task in a browser session. The task can be run with a specific version or the latest version. Optionally, you can provide an existing session ID or let the system create a new one.

post/v1/task/run

Request body

taskIdstring uuid required

Task identifier

versionstring

Version to run (draft, latest, or version number)

asyncboolean

Whether to run the task asynchronously.

inputsobject

Environment variables for task execution (keys must start with ANCHOR_)

Response

Task executed successfully

Changes