# RequestResource<!-- -->

Complete schema for a request in the queue.

Represents a URL to be crawled along with its metadata, retry information, and custom data.

### Hierarchy

* GeneratedRequestResource
  * *RequestResource*
    * [RequestQueueClientRequestToUpdate](https://docs.apify.com/api/client/js/reference/interface/RequestQueueClientRequestToUpdate.md)

## Index[](#Index)

### Properties

* [errorMessages](#errorMessages)
* [handledAt](#handledAt)
* [headers](#headers)
* [id](#id)
* [loadedUrl](#loadedUrl)
* [lockByClient](#lockByClient)
* [lockExpiresAt](#lockExpiresAt)
* [method](#method)
* [noRetry](#noRetry)
* [payload](#payload)
* [retryCount](#retryCount)
* [uniqueKey](#uniqueKey)
* [url](#url)
* [userData](#userData)

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

### [](#errorMessages)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7634)optionalinheritederrorMessages

errorMessages?

<!-- -->

: null | string\[]

Inherited from GeneratedRequestResource.errorMessages

```
null
```

Error messages recorded from failed processing attempts.

### [](#handledAt)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7640)optionalinheritedhandledAt

handledAt?

<!-- -->

: null | Date

Inherited from GeneratedRequestResource.handledAt

Format: date-time

```
2019-06-16T10:23:31.607Z
```

The timestamp when the request was marked as handled, if applicable.

### [](#headers)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7623)optionalinheritedheaders

headers?

<!-- -->

: null | Record\<string, unknown>

Inherited from GeneratedRequestResource.headers

```
null
```

HTTP headers sent with the request.

### [](#id)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7658)inheritedid

id: string

Inherited from GeneratedRequestResource.id

### [](#loadedUrl)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7613)optionalinheritedloadedUrl

loadedUrl?

<!-- -->

: null | string

Inherited from GeneratedRequestResource.loadedUrl

```
https://apify.com/jobs
```

The final URL that was loaded, after redirects (if any).

### [](#lockByClient)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7666)optionalinheritedlockByClient

lockByClient?

<!-- -->

: string

Inherited from GeneratedRequestResource.lockByClient

```
my-client-key
```

Key of the client that last locked the request. It is set when the request is locked and removed only by an explicit unlock or by an update of the request, so it can still be present after the lock has expired.

### [](#lockExpiresAt)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7660)optionalinheritedlockExpiresAt

lockExpiresAt?

<!-- -->

: Date

Inherited from GeneratedRequestResource.lockExpiresAt

The timestamp when the lock on this request expires. Only present while the request is locked.

### [](#method)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7607)optionalinheritedmethod

method?

<!-- -->

: GET | HEAD | POST | PUT | DELETE | CONNECT | OPTIONS | TRACE | PATCH

Inherited from GeneratedRequestResource.method

### [](#noRetry)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7629)optionalinheritednoRetry

noRetry?

<!-- -->

: null | boolean

Inherited from GeneratedRequestResource.noRetry

```
false
```

Indicates whether the request should not be retried if processing fails.

### [](#payload)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7618)optionalinheritedpayload

payload?

<!-- -->

: null | string | Record\<string, unknown>

Inherited from GeneratedRequestResource.payload

```
null
```

The request payload, typically used with POST or PUT requests.

### [](#retryCount)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7608)optionalinheritedretryCount

retryCount?

<!-- -->

: number

Inherited from GeneratedRequestResource.retryCount

### [](#uniqueKey)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7605)inheriteduniqueKey

uniqueKey: string

Inherited from GeneratedRequestResource.uniqueKey

### [](#url)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7606)inheritedurl

url: string

Inherited from GeneratedRequestResource.url

### [](#userData)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L7624)optionalinheriteduserData

userData?

<!-- -->

:

<!-- -->

{}

Inherited from GeneratedRequestResource.userData

#### Type declaration

