externalApifyClientOptions
Index
Properties
externaloptionalbaseUrl
URL of the Apify API, with or without the /v2 version path, which is appended when missing.
externaloptionalcompression
Compression of request bodies: the name of a built-in algorithm, or an HttpCompressor for a custom quality or algorithm. Bodies are compressed only in Node.js, and only when they are large enough to benefit and their content type does not already carry its own compression.
externaloptionalheaders
Additional headers sent with every request, such as an integration platform marker. They win over the built-in defaults, and a header set on a single call wins over them.
externaloptionalmaxRetries
externaloptionalminDelayBetweenRetriesMillis
externaloptionalpublicBaseUrl
Publicly accessible URL of the Apify API, used in the URLs the client generates. Like baseUrl, with or
without the /v2 version path.
Added in 2.17.0
externaloptionaltimeoutLongSecs
Duration of the long timeout tier, in seconds: downloads, uploads and streaming.
externaloptionaltimeoutMaxSecs
Cap on the timeout of a single request attempt, in seconds. It bounds the doubling of the timeout across retries, and caps tier and per-call timeouts alike, so raise it to allow a request timeout above 360 s.
externaloptionaltimeoutMediumSecs
Duration of the medium timeout tier, in seconds: listing, batch and trigger operations.
externaloptionaltimeoutShortSecs
Duration of the short timeout tier, in seconds: simple metadata reads and writes.
externaloptionaltoken
externaloptionaluserAgentSuffix
Added in 2.10.0
Configuration options for ApifyClient.