ApifyEnvVars
Index
Enumeration Members
- API_BASE_URL
- API_PUBLIC_BASE_URL
- DEDICATED_CPUS
- DEFAULT_BROWSER_PATH
- DISABLE_BROWSER_SANDBOX
- DISABLE_OUTDATED_WARNING
- FACT
- HEADLESS
- INPUT_SECRETS_PRIVATE_KEY_FILE
- INPUT_SECRETS_PRIVATE_KEY_PASSPHRASE
- IS_AT_HOME
- LOCAL_STORAGE_DIR
- LOG_FORMAT
- LOG_LEVEL
- MAX_USED_CPU_RATIO
- META_ORIGIN
- METAMORPH_AFTER_SLEEP_MILLIS
- PERSIST_STATE_INTERVAL_MILLIS
- PERSIST_STORAGE
- PROXY_HOSTNAME
- PROXY_PASSWORD
- PROXY_PORT
- PROXY_STATUS_URL
- PURGE_ON_START
- SDK_LATEST_VERSION
- SYSTEM_INFO_INTERVAL_MILLIS
- TOKEN
- USER_ID
- USER_IS_PAYING
- WORKFLOW_KEY
Enumeration Members
API_BASE_URL
Base URL of the Apify API (typically 'https://api.apify.com').
API_PUBLIC_BASE_URL
Public URL of the Apify API accessible from external networks.
DEDICATED_CPUS
Number of dedicated CPU cores allocated to the Actor based on memory allocation.
DEFAULT_BROWSER_PATH
File system path to the default browser executable for web scraping.
DISABLE_BROWSER_SANDBOX
Set to '1' to disable browser sandbox mode for compatibility with containerized environments.
DISABLE_OUTDATED_WARNING
Set to '1' to suppress warnings about outdated SDK versions.
FACT
Fun fact about the Apify platform displayed during Actor startup.
HEADLESS
Set to '1' to run browsers in headless mode without graphical interface.
INPUT_SECRETS_PRIVATE_KEY_FILE
Path to the private key file used for decrypting secret input values.
INPUT_SECRETS_PRIVATE_KEY_PASSPHRASE
Passphrase for unlocking the private key file used for secret decryption.
IS_AT_HOME
Set to '1' when the Actor is running on official Apify platform infrastructure.
LOCAL_STORAGE_DIR
Local file system directory path where Actor data and storage is persisted.
LOG_FORMAT
Logging output format: 'pretty' for human-readable, 'json' for structured logs.
LOG_LEVEL
Minimum logging level: 'DEBUG', 'INFO', 'WARNING', 'ERROR' in ascending order.
MAX_USED_CPU_RATIO
Maximum CPU utilization ratio (0.0-1.0) that the Actor should not exceed.
META_ORIGIN
How the Actor run was initiated: 'WEB', 'API', 'SCHEDULER', 'TEST', etc.
METAMORPH_AFTER_SLEEP_MILLIS
Milliseconds to wait before Actor metamorphosis (transformation) occurs.
PERSIST_STATE_INTERVAL_MILLIS
Interval in milliseconds for automatic state persistence (default: 60000ms).
PERSIST_STORAGE
Set to '1' to persist Actor storage data after run completion.
PROXY_HOSTNAME
Hostname for Apify Proxy service (typically 'proxy.apify.com').
PROXY_PASSWORD
Authentication password for accessing Apify Proxy services.
PROXY_PORT
TCP port number for connecting to Apify Proxy (typically 8000).
PROXY_STATUS_URL
URL endpoint for retrieving Apify Proxy status and connection information.
PURGE_ON_START
Set to '1' to clear all local storage before Actor execution begins.
SDK_LATEST_VERSION
Latest available version of the Apify SDK for update notifications.
SYSTEM_INFO_INTERVAL_MILLIS
Interval in milliseconds for sending system resource usage information.
TOKEN
API authentication token of the user who initiated the Actor run.
USER_ID
Unique identifier of the user who started the Actor (may differ from Actor owner).
USER_IS_PAYING
Set to '1' if the user who started the Actor has an active paid subscription.
WORKFLOW_KEY
Unique identifier for grouping related Actor runs and API operations together.
Environment variables with APIFY_ prefix set by the Apify platform.
These variables provide configuration, authentication, and platform-specific settings for Actors running on the Apify platform. They control behavior like logging, proxy settings, browser configuration, and platform integration.