Skip to main content
Version: Next

RequestResourceCamelDict

A request stored in the request queue, including its metadata and processing state.

Hierarchy

Index

Properties

errorMessages

errorMessages: NotRequired[list[str] | None]

Error messages recorded from failed processing attempts.

handledAt

handledAt: NotRequired[str | None]

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

headers

headers: NotRequired[dict[str, Any] | None]

HTTP headers sent with the request.

id

id: NotRequired[str]

A unique identifier assigned to the request.

loadedUrl

loadedUrl: NotRequired[str | None]

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

lockByClient

lockByClient: NotRequired[str]

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

lockExpiresAt: NotRequired[str]

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

method

method: NotRequired[Literal['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'CONNECT', 'OPTIONS', 'TRACE', 'PATCH']]

The HTTP method of the request.

noRetry

noRetry: NotRequired[bool | None]

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

payload

payload: NotRequired[str | dict[str, Any] | None]

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

retryCount

retryCount: NotRequired[int]

The number of times this request has been retried.

uniqueKey

uniqueKey: str

A unique key used for request de-duplication. Requests with the same unique key are considered identical.

url

url: str

The URL of the request.

userData

userData: NotRequired[dict[str, Any]]