Skip to main content

Get head

GET 

/v2/request-queues/:queueId/head

ClientsApify API Python Client ReferenceApify API JavaScript Client ReferenceReturns given number of first requests from the queue.

The response contains the hadMultipleClients boolean field which indicates that the queue was accessed by more than one client (with unique or empty clientKey). This field is used by Apify SDK to determine whether the local cache is consistent with the request queue, and thus optimize performance of certain operations.

Request

Responses

Response Headers