Authorizations
API key passed in the header
Path Parameters
The ID of the task
The version to retrieve (draft, latest, or version number)
Response
Task version retrieved successfully
curl --request GET \
--url https://api.anchorbrowser.io/v1/task/{taskId}/{taskVersion} \
--header 'anchor-api-key: <api-key>'
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": "<string>",
"code": "<string>",
"language": "typescript",
"description": "<string>",
"browserConfiguration": {
"initial_url": "<string>",
"recording": {
"active": true
},
"proxy": {
"active": true,
"type": "anchor_proxy",
"country_code": "af",
"region": "<string>",
"city": "<string>"
},
"timeout": {
"max_duration": 123,
"idle_timeout": 123
},
"live_view": {
"read_only": true
}
},
"deleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Retrieves a specific version of a task, including the full code content.
curl --request GET \
--url https://api.anchorbrowser.io/v1/task/{taskId}/{taskVersion} \
--header 'anchor-api-key: <api-key>'
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": "<string>",
"code": "<string>",
"language": "typescript",
"description": "<string>",
"browserConfiguration": {
"initial_url": "<string>",
"recording": {
"active": true
},
"proxy": {
"active": true,
"type": "anchor_proxy",
"country_code": "af",
"region": "<string>",
"city": "<string>"
},
"timeout": {
"max_duration": 123,
"idle_timeout": 123
},
"live_view": {
"read_only": true
}
},
"deleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
API key passed in the header
The ID of the task
The version to retrieve (draft, latest, or version number)
Task version retrieved successfully
Show child attributes
Was this page helpful?