ActorClient
Index
Methods
build
Parameters
keyword-onlyversion_number: str
keyword-onlybeta_packages: bool | None = None
keyword-onlytag: str | None = None
keyword-onlyuse_cache: bool | None = None
keyword-onlywait_for_finish: int | None = None
Returns dict
builds
Retrieve a client for the builds of this Actor.
Returns BuildCollectionClient
call
Start the Actor and wait for it to finish before returning the Run object.
It waits indefinitely, unless the wait_secs argument is provided.
https://docs.apify.com/api/v2#/reference/actors/run-collection/run-actor
Parameters
keyword-onlyrun_input: Any = None
keyword-onlycontent_type: str | None = None
keyword-onlybuild: str | None = None
keyword-onlymax_items: int | None = None
keyword-onlymemory_mbytes: int | None = None
keyword-onlytimeout_secs: int | None = None
keyword-onlywebhooks: list[dict] | None = None
keyword-onlywait_secs: int | None = None
Returns dict | None
delete
Returns None
get
Retrieve the Actor.
https://docs.apify.com/api/v2#/reference/actors/actor-object/get-actor
Returns dict | None
last_run
Retrieve the client for the last run of this Actor.
Last run is retrieved based on the start time of the runs.
Parameters
keyword-onlystatus: ActorJobStatus | None = None
keyword-onlyorigin: MetaOrigin | None = None
Returns RunClient
runs
Retrieve a client for the runs of this Actor.
Returns RunCollectionClient
start
Start the Actor and immediately return the Run object.
https://docs.apify.com/api/v2#/reference/actors/run-collection/run-actor
Parameters
keyword-onlyrun_input: Any = None
keyword-onlycontent_type: str | None = None
keyword-onlybuild: str | None = None
keyword-onlymax_items: int | None = None
keyword-onlymemory_mbytes: int | None = None
keyword-onlytimeout_secs: int | None = None
keyword-onlywait_for_finish: int | None = None
keyword-onlywebhooks: list[dict] | None = None
Returns dict
update
Update the Actor with the specified fields.
https://docs.apify.com/api/v2#/reference/actors/actor-object/update-actor
Parameters
keyword-onlyname: str | None = None
keyword-onlytitle: str | None = None
keyword-onlydescription: str | None = None
keyword-onlyseo_title: str | None = None
keyword-onlyseo_description: str | None = None
keyword-onlyversions: list[dict] | None = None
keyword-onlyrestart_on_error: bool | None = None
keyword-onlyis_public: bool | None = None
keyword-onlyis_deprecated: bool | None = None
keyword-onlyis_anonymously_runnable: bool | None = None
keyword-onlycategories: list[str] | None = None
keyword-onlydefault_run_build: str | None = None
keyword-onlydefault_run_max_items: int | None = None
keyword-onlydefault_run_memory_mbytes: int | None = None
keyword-onlydefault_run_timeout_secs: int | None = None
keyword-onlyexample_run_input_body: Any = None
keyword-onlyexample_run_input_content_type: str | None = None
keyword-onlyactor_standby_is_enabled: bool | None = None
keyword-onlyactor_standby_desired_requests_per_actor_run: int | None = None
keyword-onlyactor_standby_max_requests_per_actor_run: int | None = None
keyword-onlyactor_standby_idle_timeout_secs: int | None = None
keyword-onlyactor_standby_build: str | None = None
keyword-onlyactor_standby_memory_mbytes: int | None = None
Returns dict
version
Retrieve the client for the specified version of this Actor.
Parameters
version_number: str
Returns ActorVersionClient
versions
Retrieve a client for the versions of this Actor.
Returns ActorVersionCollectionClient
webhooks
Retrieve a client for webhooks associated with this Actor.
Returns WebhookCollectionClient
Sub-client for manipulating a single Actor.