Print env vars avatar
Print env vars
Try for free

No credit card required

View all Actors
Print env vars

Print env vars

lukaskrivka/print-env-vars
Try for free

No credit card required

Prints both raw and parsed environment variables provided to each actor run. Stores them to dataset, KV Store and log for easy analysis.

Example output

These are env vars at the time of writing this actor. For latest state, just run it.

RAW ENV VARS

Available with process.env

1{
2  APIFY_PROXY_PASSWORD: '*********',
3  APIFY_PROXY_STATUS_URL: 'http://proxy.apify.com',
4  APIFY_USER_ID: 'mPSyG35Lffj5ybtgz',
5  npm_config_user_agent: 'npm/10.2.4 node/v18.19.1 linux x64 workspaces/false',
6  APIFY_IS_AT_HOME: '1',
7  APIFY_ACT_RUN_ID: 'isBHoiJgoZxdFGedb',
8  NODE_VERSION: '18.19.1',
9  HOSTNAME: '6eef2bdf7271',
10  ACTOR_DEFAULT_REQUEST_QUEUE_ID: 'QRYxQqh9XlvRmGdva',
11  ACTOR_RUN_ID: 'isBHoiJgoZxdFGedb',
12  APIFY_FACT: 'There are no weapons of mass destruction in Iraq, Chuck Norris lives in Oklahoma.',
13  APIFY_DEFAULT_REQUEST_QUEUE_ID: 'QRYxQqh9XlvRmGdva',
14  YARN_VERSION: '1.22.19',
15  npm_node_execpath: '/usr/local/bin/node',
16  SHLVL: '3',
17  npm_config_noproxy: '',
18  ACTOR_TIMEOUT_AT: '2024-04-04T14:49:28.483Z',
19  APIFY_TIMEOUT_AT: '2024-04-04T14:49:28.483Z',
20  HOME: '/root',
21  npm_package_json: '/usr/src/app/package.json',
22  ACTOR_STANDBY_PORT: '4322',
23  APIFY_ACTOR_RUN_ID: 'isBHoiJgoZxdFGedb',
24  npm_package_engines_node: '>=18.0.0',
25  NODE_OPTIONS: '--max_old_space_size=30000 --max-http-header-size=80000',
26  ACTOR_BUILD_ID: '1dwKs4eE5zBfM9s9C',
27  APIFY_PROXY_PORT: '8011',
28  npm_config_userconfig: '/root/.npmrc',
29  npm_config_local_prefix: '/usr/src/app',
30  ACTOR_DEFAULT_KEY_VALUE_STORE_ID: 'Gpo6nIdDdn3jit89X',
31  ACTOR_EVENTS_WEBSOCKET_URL: 'ws://10.0.83.204:9092/isBHoiJgoZxdFGedb',
32  APIFY_DEFAULT_KEY_VALUE_STORE_ID: 'Gpo6nIdDdn3jit89X',
33  COLOR: '1',
34  ACTOR_MEMORY_MBYTES: '256',
35  APIFY_MEMORY_MBYTES: '256',
36  npm_config_progress: '',
37  ACTOR_BUILD_NUMBER: '0.0.6',
38  APIFY_SDK_LATEST_VERSION: '2.2.2',
39  APIFY_ACTOR_BUILD_ID: '1dwKs4eE5zBfM9s9C',
40  APIFY_ACTOR_EVENTS_WS_URL: 'ws://10.0.83.204:9092/isBHoiJgoZxdFGedb',
41  APIFY_ACT_ID: 'oXTuyqGR803PjzDha',
42  ACTOR_ID: 'oXTuyqGR803PjzDha',
43  npm_config_prefix: '/usr/local',
44  npm_config_npm_version: '10.2.4',
45  ACTOR_INPUT_KEY: 'INPUT',
46  APIFY_INPUT_KEY: 'INPUT',
47  TERM: 'xterm',
48  APIFY_DEDICATED_CPUS: '0.0546875',
49  APIFY_META_ORIGIN: 'DEVELOPMENT',
50  APIFY_WORKFLOW_KEY: 'gqaov514eih1',
51  APIFY_ACTOR_BUILD_NUMBER: '0.0.6',
52  npm_config_cache: '/root/.npm',
53  ACTOR_MAX_PAID_DATASET_ITEMS: '',
54  APIFY_PROXY_HOSTNAME: '10.0.83.204',
55  APIFY_ACTOR_ID: 'oXTuyqGR803PjzDha',
56  npm_config_node_gyp: '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
57  PATH: '/usr/src/app/node_modules/.bin:/usr/src/node_modules/.bin:/usr/node_modules/.bin:/node_modules/.bin:/usr/local/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
58  NODE: '/usr/local/bin/node',
59  npm_package_name: 'js-scrape-single-page',
60  APIFY_DISABLE_OUTDATED_WARNING: '',
61  APIFY_API_PUBLIC_BASE_URL: 'https://api.apify.com',
62  ACTOR_WEB_SERVER_URL: 'https://sdmufc32a7tc.runs.apify.net',
63  APIFY_TOKEN: '*********',
64  npm_config_loglevel: 'silent',
65  npm_lifecycle_script: 'node ./src/main.js',
66  ACTOR_TASK_ID: '',
67  npm_package_version: '0.0.1',
68  npm_lifecycle_event: 'start',
69  APIFY_API_BASE_URL: 'http://10.0.83.204:8010/',
70  npm_config_update_notifier: '',
71  ACTOR_STARTED_AT: '2024-04-04T14:43:28.483Z',
72  ACTOR_WEB_SERVER_PORT: '4321',
73  APIFY_CONTAINER_URL: 'https://sdmufc32a7tc.runs.apify.net',
74  APIFY_STARTED_AT: '2024-04-04T14:43:28.483Z',
75  APIFY_HEADLESS: '1',
76  ACTOR_DEFAULT_DATASET_ID: 'a5ghrBUX09exB6grE',
77  APIFY_ACTOR_TASK_ID: '',
78  APIFY_DEFAULT_DATASET_ID: 'a5ghrBUX09exB6grE',
79  npm_config_globalconfig: '/usr/local/etc/npmrc',
80  npm_config_init_module: '/root/.npm-init.js',
81  APIFY_CONTAINER_PORT: '4321',
82  PWD: '/usr/src/app',
83  npm_execpath: '/usr/local/lib/node_modules/npm/bin/npm-cli.js',
84  npm_config_global_prefix: '/usr/local',
85  npm_command: 'start',
86  NODE_ENV: 'production',
87  INIT_CWD: '/usr/src/app',
88  EDITOR: 'vi'
89}

PARSED ENV VARS

Available with Actor.getEnv()

1{
2  apiBaseUrl: 'http://10.0.83.204:8010/',
3  apiPublicBaseUrl: 'https://api.apify.com',
4  chromeExecutablePath: null,
5  dedicatedCpus: 0,
6  disableOutdatedWarning: null,
7  fact: 'There are no weapons of mass destruction in Iraq, Chuck Norris lives in Oklahoma.',
8  headless: '1',
9  inputSecretsPrivateKeyFile: null,
10  inputSecretsPrivateKeyPassphrase: null,
11  isAtHome: '1',
12  localStorageDir: null,
13  logLevel: null,
14  logFormat: null,
15  metaOrigin: 'DEVELOPMENT',
16  metamorphAfterSleepMillis: null,
17  persistStateIntervalMillis: null,
18  proxyPassword: '*********',
19  proxyHostname: '10.0.83.204',
20  proxyPort: 8011,
21  proxyStatusUrl: 'http://proxy.apify.com',
22  purgeOnStart: null,
23  sdkLatestVersion: '2.2.2',
24  systemInfoIntervalMillis: null,
25  token: '*********',
26  userId: 'mPSyG35Lffj5ybtgz',
27  workflowKey: 'gqaov514eih1',
28  xvfb: null,
29  actorBuildId: '1dwKs4eE5zBfM9s9C',
30  actorBuildNumber: '0.0.6',
31  actorEventsWsUrl: 'ws://10.0.83.204:9092/isBHoiJgoZxdFGedb',
32  actorId: 'oXTuyqGR803PjzDha',
33  actorMaxPaidDatasetItems: null,
34  actorRunId: 'isBHoiJgoZxdFGedb',
35  actorTaskId: null,
36  containerPort: 4321,
37  containerUrl: 'https://sdmufc32a7tc.runs.apify.net',
38  defaultDatasetId: 'a5ghrBUX09exB6grE',
39  defaultKeyValueStoreId: 'Gpo6nIdDdn3jit89X',
40  defaultRequestQueueId: 'QRYxQqh9XlvRmGdva',
41  inputKey: 'INPUT',
42  memoryMbytes: 256,
43  startedAt: 2024-04-04T14:43:28.483Z,
44  timeoutAt: 2024-04-04T14:49:28.483Z,
45  actId: 'oXTuyqGR803PjzDha',
46  actRunId: 'isBHoiJgoZxdFGedb',
47  buildId: '1dwKs4eE5zBfM9s9C',
48  buildNumber: '0.0.6',
49  eventsWebsocketUrl: 'ws://10.0.83.204:9092/isBHoiJgoZxdFGedb',
50  maxPaidDatasetItems: null,
51  webServerPort: 4321,
52  webServerUrl: 'https://sdmufc32a7tc.runs.apify.net'
53}
Developer
Maintained by Community
Actor metrics
  • 1 monthly users
  • 100.0% runs succeeded
  • 0.0 days response time
  • Created in Sep 2023
  • Modified 16 days ago