You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use these commands to manage your Apify account authentication, access tokens, and configuration settings. These commands control how you interact with Apify platform and manage sensitive information.
85
85
@@ -223,9 +223,9 @@ ARGUMENTS
223
223
<!-- auth-commands-end -->
224
224
<!-- prettier-ignore-end -->
225
225
226
-
### Actor Development
226
+
### Actor development
227
227
228
-
These commands help you develop Actors locally. Use them to create new Actor projects, initialize configurations, run Actors in development mode, and validate input schemas.
228
+
These commands help you develop Actors locally. Use them to create new Actor projects, initialize configurations, run Actors in development mode, and validate input schemas. This section also includes commands used within running Actors to interact with the Apify platform, such as reading input, storing values, and pushing data.
229
229
230
230
<!-- prettier-ignore-start -->
231
231
<!-- actor-dev-commands-start -->
@@ -299,31 +299,35 @@ DESCRIPTION
299
299
in package.json file.
300
300
301
301
USAGE
302
-
$ apify run [--entrypoint <value>]
302
+
$ apify run [--allow-missing-secrets] [--entrypoint <value>]
--entrypoint=<value> Optional entrypoint for running
307
-
with injected environment variables.
308
-
For Python, it is the module name, or a path to a file.
309
-
For Node.js, it is the npm script name, or a path to a
310
-
JS/MJS file. You can also pass in a directory name,
311
-
provided that directory contains an "index.js" file.
312
-
-i, --input=<value> Optional JSON input to be
313
-
given to the Actor.
314
-
--input-file=<value> Optional path to a file with JSON
315
-
input to be given to the Actor. The file must be a valid
316
-
JSON file. You can also specify `-` to read from
317
-
standard input.
318
-
-p, --purge Whether to purge the default
319
-
request queue, dataset and key-value store before the
320
-
run starts.
321
-
For crawlee projects, this is the default behavior, and
322
-
the flag is optional.
323
-
Use `--no-purge` to keep the storage folder intact.
324
-
--resurrect Whether to keep the default
325
-
request queue, dataset and key-value store before the
326
-
run starts.
306
+
--allow-missing-secrets Allow the command to
307
+
continue even when secret values are not found in the
308
+
local secrets storage.
309
+
--entrypoint=<value> Optional entrypoint for
310
+
running with injected environment variables.
311
+
For Python, it is the module name, or a path to a
312
+
file.
313
+
For Node.js, it is the npm script name, or a path to
314
+
a JS/MJS file. You can also pass in a directory name,
315
+
provided that directory contains an "index.js" file.
316
+
-i, --input=<value> Optional JSON input to
317
+
be given to the Actor.
318
+
--input-file=<value> Optional path to a file with
319
+
JSON input to be given to the Actor. The file must be
320
+
a valid JSON file. You can also specify `-` to read
321
+
from standard input.
322
+
-p, --purge Whether to purge the
323
+
default request queue, dataset and key-value store
324
+
before the run starts.
325
+
For crawlee projects, this is the default behavior,
326
+
and the flag is optional.
327
+
Use `--no-purge` to keep the storage folder intact.
328
+
--resurrect Whether to keep the default
329
+
request queue, dataset and key-value store before the
330
+
run starts.
327
331
```
328
332
329
333
##### `apify validate-schema`
@@ -345,72 +349,6 @@ ARGUMENTS
345
349
path Optional path to your INPUT_SCHEMA.json file. If not provided
346
350
./INPUT_SCHEMA.json is used.
347
351
```
348
-
<!-- actor-dev-commands-end -->
349
-
<!-- prettier-ignore-end -->
350
-
351
-
### Actor Management
352
-
353
-
These commands let you manage Actors on Apify platform. They provide functionality fordeployment, execution, monitoring, and maintenance of your Actorsin the cloud environment.
354
-
355
-
#### Basic Actor Operations
356
-
357
-
Use these commands to handle core Actor operations like creation, listing, deletion, and basic runtime management. These are the essential commands for working with Actors on Apify platform.
358
-
359
-
<!-- prettier-ignore-start -->
360
-
<!-- actor-basic-commands-start -->
361
-
##### `apify actors`
362
-
363
-
```sh
364
-
DESCRIPTION
365
-
Manages Actor creation, deployment, and execution on the Apify platform.
366
-
367
-
SUBCOMMANDS
368
-
actors start Starts Actor remotely and returns run details
369
-
immediately.
370
-
actors rm Permanently removes an Actor from your account.
371
-
actors push Deploys Actor to Apify platform using settings from
372
-
'.actor/actor.json'.
373
-
actors pull Download Actor code to current directory. Clones Git
374
-
repositories or fetches Actor files based on the source type.
375
-
actors ls Prints a list of recently executed Actors or Actors
376
-
you own.
377
-
actors info Get information about an Actor.
378
-
actors call Executes Actor remotely using your authenticated
379
-
account.
380
-
actors build Creates a new build of the Actor.
381
-
```
382
-
383
-
##### `apify actors ls`
384
-
385
-
```sh
386
-
DESCRIPTION
387
-
Prints a list of recently executed Actors or Actors you own.
388
-
389
-
USAGE
390
-
$ apify actors ls [--desc] [--json] [--limit <value>] [--my]
391
-
[--offset <value>]
392
-
393
-
FLAGS
394
-
--desc Sort Actors in descending order.
395
-
--json Format the command output as JSON
396
-
--limit=<value> Number of Actors that will be listed.
397
-
--my Whether to list Actors made by the logged
398
-
in user.
399
-
--offset=<value> Number of Actors that will be skipped.
400
-
```
401
-
402
-
##### `apify actors rm`
403
-
404
-
```sh
405
-
DESCRIPTION
406
-
Permanently removes an Actor from your account.
407
-
408
-
USAGE
409
-
$ apify actors rm <actorId>
410
-
411
-
ARGUMENTS
412
-
actorId The Actor ID to delete.
413
-
```
414
352
415
353
##### `apify actor`
416
354
@@ -620,10 +558,72 @@ FLAGS
620
558
content type of the record. By default
621
559
"application/json" is used.
622
560
```
561
+
<!-- actor-dev-commands-end -->
562
+
<!-- prettier-ignore-end -->
563
+
564
+
### Actor management
565
+
566
+
These commands let you manage Actors on Apify platform. They provide functionality fordeployment, execution, monitoring, and maintenance of your Actorsin the cloud environment.
567
+
568
+
<!-- prettier-ignore-start -->
569
+
<!-- actor-basic-commands-start -->
570
+
##### `apify actors`
571
+
572
+
```sh
573
+
DESCRIPTION
574
+
Manages Actor creation, deployment, and execution on the Apify platform.
575
+
576
+
SUBCOMMANDS
577
+
actors start Starts Actor remotely and returns run details
578
+
immediately.
579
+
actors rm Permanently removes an Actor from your account.
580
+
actors push Deploys Actor to Apify platform using settings from
581
+
'.actor/actor.json'.
582
+
actors pull Download Actor code to current directory. Clones Git
583
+
repositories or fetches Actor files based on the source type.
584
+
actors ls Prints a list of recently executed Actors or Actors
585
+
you own.
586
+
actors info Get information about an Actor.
587
+
actors call Executes Actor remotely using your authenticated
588
+
account.
589
+
actors build Creates a new build of the Actor.
590
+
```
591
+
592
+
##### `apify actors ls`
593
+
594
+
```sh
595
+
DESCRIPTION
596
+
Prints a list of recently executed Actors or Actors you own.
597
+
598
+
USAGE
599
+
$ apify actors ls [--desc] [--json] [--limit <value>] [--my]
600
+
[--offset <value>]
601
+
602
+
FLAGS
603
+
--desc Sort Actors in descending order.
604
+
--json Format the command output as JSON
605
+
--limit=<value> Number of Actors that will be listed.
606
+
--my Whether to list Actors made by the logged
607
+
in user.
608
+
--offset=<value> Number of Actors that will be skipped.
609
+
```
610
+
611
+
##### `apify actors rm`
612
+
613
+
```sh
614
+
DESCRIPTION
615
+
Permanently removes an Actor from your account.
616
+
617
+
USAGE
618
+
$ apify actors rm <actorId>
619
+
620
+
ARGUMENTS
621
+
actorId The Actor ID to delete.
622
+
```
623
623
<!-- actor-basic-commands-end -->
624
624
<!-- prettier-ignore-end -->
625
625
626
-
#### Actor Deployment
626
+
#### Actor deployment
627
627
628
628
These commands handle the deployment workflow of Actors to Apify platform. Use them to push local changes, pull remote Actors, and manage Actor versions and builds.
629
629
@@ -636,18 +636,24 @@ DESCRIPTION
636
636
Deploys Actor to Apify platform using settings from '.actor/actor.json'.
637
637
Files under '3' MB upload as "Multiple source files"; larger projects upload
638
638
as ZIP file.
639
+
Files matched by .gitignore and .actorignore are excluded. Use negation
640
+
patterns (e.g. !dist/) in .actorignore to force-include git-ignored files.
actorId Name or ID of the Actor to push (e.g. "apify/hello-world" or
647
650
"E2jjCZBezvAZnX8Rb"). If not provided, the command will create or
648
651
modify the Actor with the name specified in'.actor/actor.json' file.
649
652
650
653
FLAGS
654
+
--allow-missing-secrets Allow the command to
655
+
continue even when secret values are not found in
656
+
the local secrets storage.
651
657
-b, --build-tag=<value> Build tag to be
652
658
applied to the successful Actor build. By default,
653
659
it is taken from the '.actor/actor.json' file
@@ -783,7 +789,7 @@ FLAGS
783
789
<!-- actor-deploy-commands-end -->
784
790
<!-- prettier-ignore-end -->
785
791
786
-
#### Actor Builds
792
+
#### Actor builds
787
793
788
794
Use these commands to manage Actor build processes. They help you create, monitor, and maintain versioned snapshots of your Actors that can be executed on Apify platform.
789
795
@@ -927,7 +933,7 @@ ARGUMENTS
927
933
<!-- actor-build-commands-end -->
928
934
<!-- prettier-ignore-end -->
929
935
930
-
#### Actor Runs
936
+
#### Actor runs
931
937
932
938
These commands control Actor execution on Apify platform. Use them to start, monitor, and manage Actor runs, including accessing logs and handling execution states.
933
939
@@ -1202,7 +1208,7 @@ ARGUMENTS
1202
1208
<!-- dataset-commands-end -->
1203
1209
<!-- prettier-ignore-end -->
1204
1210
1205
-
#### Key-Value Stores
1211
+
#### Key-value stores
1206
1212
1207
1213
These commands handle key-value store operations. Use them to create stores, manage key-value pairs, and handle persistent storage of arbitrary data types.
1208
1214
@@ -1410,7 +1416,7 @@ FLAGS
1410
1416
<!-- keyval-commands-end -->
1411
1417
<!-- prettier-ignore-end -->
1412
1418
1413
-
#### Request Queues
1419
+
#### Request queues
1414
1420
1415
1421
These commands manage request queues, which handle URL processing for web scraping and automation tasks. Use them to maintain lists of URLs with automatic retry mechanisms and state management.
0 commit comments