Skip to main content

Get task

GET 

/v2/actor-tasks/:actorTaskId

Get an object that contains all the details about a task.

Request

Path Parameters

    actorTaskId string required

    Task ID or a tilde-separated owner's username and task's name.


    Example: janedoe~my-task

Status 200

Response Headers
    {
    "data": {
    "id": "zdc3Pyhyz3m8vjDeM",
    "userId": "wRsJZtadYvn4mBZmm",
    "actId": "asADASadYvn4mBZmm",
    "name": "my-task",
    "username": "janedoe",
    "createdAt": "2018-10-26T07:23:14.855Z",
    "modifiedAt": "2018-10-26T13:30:49.578Z",
    "removedAt": "2024-07-29T15:51:28.071Z",
    "stats": {
    "totalRuns": 15
    },
    "options": {
    "build": "latest",
    "timeoutSecs": 300,
    "memoryMbytes": 128,
    "restartOnError": false,
    "maxItems": 0
    },
    "input": {
    "startUrls": [
    {
    "url": "https://example.com"
    }
    ],
    "maxRequestsPerCrawl": 100
    },
    "title": "string",
    "actorStandby": {
    "isEnabled": true,
    "desiredRequestsPerActorRun": 0,
    "maxRequestsPerActorRun": 0,
    "idleTimeoutSecs": 0,
    "build": "string",
    "memoryMbytes": 0,
    "disableStandbyFieldsOverride": true,
    "shouldPassActorInput": true
    },
    "standbyUrl": "string"
    }
    }