Tasks (Legacy)

Get Task Draft (Legacy)

Changed on

Retrieves the draft version of a task, including the full code content.

If you are using the new Task Builder, see the non-deprecated Tasks endpoints in this API reference.

get/v1/task/{taskId}/draft

Request

  • Base URL
    https://api.anchorbrowser.io
  • Auth
    API key in header anchor-api-key

Path parameters

taskIdstring uuid required

The ID of the task

Response

Task draft retrieved successfully

Example response

{
  "data": {
    "browserConfiguration": {
      "tags": [
        "production",
        "scraping",
        "customer-123"
      ],
      "domain_allowlist": [
        "example.com",
        "example.org"
      ]
    }
  }
}

Changes