Anchor Browser icon

Anchor Browser

Interact with Anchor Browser API for browser automation and control

Task → Deploy Task

AI-generated

Summary

Deploys a new version of an existing Anchor Browser task by sending a POST request to {baseUrl}/v1/task/{taskId}/deploy with the provided deploy configuration, and returns the API response unchanged as JSON.

Inputs

  • Base URL — Base URL of the Anchor Browser API. Defaults to https://api.anchorbrowser.io.
  • Task ID (required) — The ID of the task to deploy a new version for. Required for this operation.
  • Deploy Task Configuration — Optional collection with the fields to send in the deploy request: Code (base64-encoded task code; the UI marks it as required for new versions), Language (only TypeScript is offered, default 'typescript'), and Description (optional free-text description of the version).

Output shape

The raw response body from POST {baseUrl}/v1/task/{taskId}/deploy.

The node passes the API response through unchanged as the output JSON. No binary data is produced. On an API error with Continue On Fail enabled, the node outputs an object with error, code, and status fields; otherwise it throws a NodeOperationError.

Examples

Example 1: You have created a task with the Create Task operation and want to push a new version of its code for execution.

Select the Task resource and the Deploy Task operation, enter the ID of an existing task in the Task ID field, and optionally fill in the Deploy Task Configuration collection.

Discussion