# TimeoutOptions<!-- -->

Options shared by every method that sends a request to the API.

### Hierarchy

* *TimeoutOptions*

  * [ActorStartOptions](https://docs.apify.com/api/client/js/reference/interface/ActorStartOptions.md)
  * [ActorValidateInputOptions](https://docs.apify.com/api/client/js/reference/interface/ActorValidateInputOptions.md)
  * [ActorBuildOptions](https://docs.apify.com/api/client/js/reference/interface/ActorBuildOptions.md)
  * [ActorCollectionListOptions](https://docs.apify.com/api/client/js/reference/interface/ActorCollectionListOptions.md)
  * [ActorServerRequestOptions](https://docs.apify.com/api/client/js/reference/interface/ActorServerRequestOptions.md)
  * [BuildClientGetOptions](https://docs.apify.com/api/client/js/reference/interface/BuildClientGetOptions.md)
  * [BuildClientWaitForFinishOptions](https://docs.apify.com/api/client/js/reference/interface/BuildClientWaitForFinishOptions.md)
  * [BuildCollectionClientListOptions](https://docs.apify.com/api/client/js/reference/interface/BuildCollectionClientListOptions.md)
  * [DatasetClientListItemOptions](https://docs.apify.com/api/client/js/reference/interface/DatasetClientListItemOptions.md)
  * [DatasetCollectionClientListOptions](https://docs.apify.com/api/client/js/reference/interface/DatasetCollectionClientListOptions.md)
  * [DatasetCollectionClientGetOrCreateOptions](https://docs.apify.com/api/client/js/reference/interface/DatasetCollectionClientGetOrCreateOptions.md)
  * [KeyValueClientListKeysOptions](https://docs.apify.com/api/client/js/reference/interface/KeyValueClientListKeysOptions.md)
  * [KeyValueClientGetRecordOptions](https://docs.apify.com/api/client/js/reference/interface/KeyValueClientGetRecordOptions.md)
  * [KeyValueStoreRecordOptions](https://docs.apify.com/api/client/js/reference/interface/KeyValueStoreRecordOptions.md)
  * [KeyValueStoreCollectionClientListOptions](https://docs.apify.com/api/client/js/reference/interface/KeyValueStoreCollectionClientListOptions.md)
  * [KeyValueStoreCollectionClientGetOrCreateOptions](https://docs.apify.com/api/client/js/reference/interface/KeyValueStoreCollectionClientGetOrCreateOptions.md)
  * [LogOptions](https://docs.apify.com/api/client/js/reference/interface/LogOptions.md)
  * [RequestQueueClientListHeadOptions](https://docs.apify.com/api/client/js/reference/interface/RequestQueueClientListHeadOptions.md)
  * [RequestQueueClientListRequestsOptions](https://docs.apify.com/api/client/js/reference/interface/RequestQueueClientListRequestsOptions.md)
  * [RequestQueueClientPaginateRequestsOptions](https://docs.apify.com/api/client/js/reference/interface/RequestQueueClientPaginateRequestsOptions.md)
  * [RequestQueueClientListAndLockHeadOptions](https://docs.apify.com/api/client/js/reference/interface/RequestQueueClientListAndLockHeadOptions.md)
  * [RequestQueueClientAddRequestOptions](https://docs.apify.com/api/client/js/reference/interface/RequestQueueClientAddRequestOptions.md)
  * [RequestQueueClientProlongRequestLockOptions](https://docs.apify.com/api/client/js/reference/interface/RequestQueueClientProlongRequestLockOptions.md)
  * [RequestQueueClientDeleteRequestLockOptions](https://docs.apify.com/api/client/js/reference/interface/RequestQueueClientDeleteRequestLockOptions.md)
  * [RequestQueueClientBatchAddRequestWithRetriesOptions](https://docs.apify.com/api/client/js/reference/interface/RequestQueueClientBatchAddRequestWithRetriesOptions.md)
  * [RequestQueueCollectionListOptions](https://docs.apify.com/api/client/js/reference/interface/RequestQueueCollectionListOptions.md)
  * [GetStreamedLogOptions](https://docs.apify.com/api/client/js/reference/interface/GetStreamedLogOptions.md)
  * [RunGetOptions](https://docs.apify.com/api/client/js/reference/interface/RunGetOptions.md)
  * [RunAbortOptions](https://docs.apify.com/api/client/js/reference/interface/RunAbortOptions.md)
  * [RunMetamorphOptions](https://docs.apify.com/api/client/js/reference/interface/RunMetamorphOptions.md)
  * [RunResurrectOptions](https://docs.apify.com/api/client/js/reference/interface/RunResurrectOptions.md)
  * [RunChargeOptions](https://docs.apify.com/api/client/js/reference/interface/RunChargeOptions.md)
  * [RunWaitForFinishOptions](https://docs.apify.com/api/client/js/reference/interface/RunWaitForFinishOptions.md)
  * [RunIterateDatasetItemsOptions](https://docs.apify.com/api/client/js/reference/interface/RunIterateDatasetItemsOptions.md)
  * [RunCollectionListOptions](https://docs.apify.com/api/client/js/reference/interface/RunCollectionListOptions.md)
  * [ScheduleCollectionListOptions](https://docs.apify.com/api/client/js/reference/interface/ScheduleCollectionListOptions.md)
  * [StoreCollectionListOptions](https://docs.apify.com/api/client/js/reference/interface/StoreCollectionListOptions.md)
  * [StoreCollectionSearchOptions](https://docs.apify.com/api/client/js/reference/interface/StoreCollectionSearchOptions.md)
  * [TaskCollectionListOptions](https://docs.apify.com/api/client/js/reference/interface/TaskCollectionListOptions.md)
  * [WebhookCollectionListOptions](https://docs.apify.com/api/client/js/reference/interface/WebhookCollectionListOptions.md)
  * [WebhookDispatchCollectionListOptions](https://docs.apify.com/api/client/js/reference/interface/WebhookDispatchCollectionListOptions.md)

## Index[](#Index)

### Properties

* [signal](#signal)
* [timeoutSecs](#timeoutSecs)

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

### [](#signal)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/timeouts.ts#L49)optionalsignal

signal?

<!-- -->

: AbortSignal

Aborts the method. Once the signal aborts, the request in flight is ended, no retry or further poll follows, and the method rejects with the signal's `reason`.

### [](#timeoutSecs)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/timeouts.ts#L43)optionaltimeoutSecs

timeoutSecs?

<!-- -->

: [Timeout](https://docs.apify.com/api/client/js/reference.md#Timeout)

Timeout for the API request: a tier name (`'short'`, `'medium'`, `'long'`), a number of seconds, or `'noTimeout'`. Defaults to the tier the method is assigned, which its documentation names.
