# LockedRequestQueueHead<!-- -->

A batch of locked requests from the request queue head.

## Index[](#Index)

### Properties

* [client_key](https://docs.apify.com/api/client/python/reference/class/LockedRequestQueueHead.md#client_key)
* [had_multiple_clients](https://docs.apify.com/api/client/python/reference/class/LockedRequestQueueHead.md#had_multiple_clients)
* [items](https://docs.apify.com/api/client/python/reference/class/LockedRequestQueueHead.md#items)
* [limit](https://docs.apify.com/api/client/python/reference/class/LockedRequestQueueHead.md#limit)
* [lock_secs](https://docs.apify.com/api/client/python/reference/class/LockedRequestQueueHead.md#lock_secs)
* [model_config](https://docs.apify.com/api/client/python/reference/class/LockedRequestQueueHead.md#model_config)
* [queue_has_locked_requests](https://docs.apify.com/api/client/python/reference/class/LockedRequestQueueHead.md#queue_has_locked_requests)
* [queue_modified_at](https://docs.apify.com/api/client/python/reference/class/LockedRequestQueueHead.md#queue_modified_at)

## Properties<!-- -->[](#Properties)

### [](#client_key)client_key

client_key: str | None

The client key used for locking the requests.

### [](#had_multiple_clients)had_multiple_clients

had_multiple_clients: bool

Whether the request queue has been accessed by multiple different clients.

### [](#items)items

items: [list](https://docs.apify.com/api/client/python/reference/class/ActorCollectionClient.md#list)\[[LockedRequestQueueHeadItem](https://docs.apify.com/api/client/python/reference/class/LockedRequestQueueHeadItem.md)]

The array of locked requests from the request queue head.

### [](#limit)limit

limit: int

The maximum number of requests returned.

### [](#lock_secs)lock_secs

lock_secs: int

The number of seconds the locks will be held.

### [](#model_config)model_config

model_config: Undefined

### [](#queue_has_locked_requests)queue_has_locked_requests

queue_has_locked_requests: bool | None

Whether the request queue contains requests locked by any client (either the one calling the endpoint or a different one).

### [](#queue_modified_at)queue_modified_at

queue_modified_at: AwareDatetime

The timestamp when the request queue was last modified. Modifications include adding, updating, or removing requests, as well as locking or unlocking requests in the request queue.
