Skip to main content

List requests in queue for last run

GET 

/v2/acts/:actorId/runs/last/request-queue/requests

Returns requests from the default request queue of the last Actor run. Redispatches to List requests.

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

    actorId string required

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


    Example: janedoe~my-actor

Query Parameters

    status string

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


    Example: SUCCEEDED
    exclusiveStartId string

    All requests up to this one (including) are skipped from the result.

    limit number

    Maximum number of requests to return.


    Example: 100

Status 200

Response Headers
    {
    "data": {
    "items": [
    {
    "id": "dnjkDMKLmdlkmlkmld",
    "uniqueKey": "GET|60d83e70|e3b0c442|https://apify.com/career",
    "url": "https://apify.com/career",
    "method": "GET",
    "retryCount": 0,
    "loadedUrl": "https://apify.com/jobs",
    "payload": "Unknown Type: object,null",
    "headers": "Unknown Type: object,null",
    "userData": {
    "label": "DETAIL",
    "image": "https://picserver1.eu"
    },
    "noRetry": false,
    "errorMessages": "Unknown Type: array,null",
    "handledAt": "2019-06-16T10:23:31.607Z"
    }
    ],
    "count": 2,
    "limit": 2,
    "exclusiveStartId": "Ihnsp8YrvJ8102Kj"
    }
    }