Input and output
Configure your Actor's input parameters using Apify Console, locally or via API. Access parameters in key-value stores from your Actor's code.
Each Actor accepts input, which tells it what it should do. You can run an Actor using the Apify Console UI, then configure the input using the autogenerated UI:
When running an Actor using the API you can pass the same input as the JSON object. In this case, the corresponding JSON input looks as follows:
Options - Build, Timeout, and Memory
As part of the input, you can also specify run options such as build, timeout, and memory for your Actor run.
|Build||Tag or number of the build to run (e.g. latest or 1.2.34).|
|Timeout||Timeout for the Actor run in seconds. Zero value means there is no timeout.|
|Memory||Amount of memory allocated for the Actor run, in megabytes.|
While the input object provides a way to instruct Actors, an Actor can also generate an output, usually stored in its default dataset, but some additional files might be stored in its key-value store. Always read the Actor's README to learn more about its output.
For more details about storages, visit the storage section.
You can quickly access the Actor's output from the run detail page:
And to access all the data associated with the run, see the storage tab, where you can explore the Actor's default dataset,key-value store, and request queue:
You can also use API to retrieve the output. To learn more about this, read the Run an actor or task and retrieve data via API tutorial.