Skip to main content

Get request queue for last run

GET 

/v2/actor-tasks/:actorTaskId/runs/last/request-queue

Returns the default request queue of the last actor task run. Redispatches to Get request queue.

Using the status query parameter you can ensure to only get a run with a certain status (e.g. status=SUCCEEDED). Only the most recent run with that status is used.

Request

Path Parameters

    actorTaskId string required

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


    Example: janedoe~my-task

Query Parameters

    status string

    Filter for the run status. Only the most recent run with this status is used.


    Example: SUCCEEDED

Status 200

Response Headers
    {
    "data": {
    "id": "WkzbQMuFYuamGv3YF",
    "name": "some-name",
    "userId": "wRsJZtadYvn4mBZmm",
    "createdAt": "2019-12-12T07:34:14.202Z",
    "modifiedAt": "2030-12-13T08:36:13.202Z",
    "accessedAt": "2019-12-14T08:36:13.202Z",
    "totalRequestCount": 870,
    "handledRequestCount": 100,
    "pendingRequestCount": 670,
    "hadMultipleClients": true,
    "consoleUrl": "https://api.apify.com/v2/request-queues/27TmTznX9YPeAYhkC",
    "stats": {
    "deleteCount": 0,
    "headItemReadCount": 5,
    "readCount": 100,
    "storageBytes": 1024,
    "writeCount": 10
    },
    "generalAccess": "RESTRICTED"
    }
    }