diff --git a/src/apify_client/clients/resource_clients/actor_collection.py b/src/apify_client/clients/resource_clients/actor_collection.py index accd0d24..2f91ba7b 100644 --- a/src/apify_client/clients/resource_clients/actor_collection.py +++ b/src/apify_client/clients/resource_clients/actor_collection.py @@ -26,7 +26,7 @@ def list( limit: int | None = None, offset: int | None = None, desc: bool | None = None, - sort_by: Literal['createdAt', 'lastRunStartedAt'] | None = 'createdAt', + sort_by: Literal['createdAt', 'stats.lastRunStartedAt'] | None = 'createdAt', ) -> ListPage[dict]: """List the Actors the user has created or used. @@ -152,7 +152,7 @@ async def list( limit: int | None = None, offset: int | None = None, desc: bool | None = None, - sort_by: Literal['createdAt', 'lastRunStartedAt'] | None = 'createdAt', + sort_by: Literal['createdAt', 'stats.lastRunStartedAt'] | None = 'createdAt', ) -> ListPage[dict]: """List the Actors the user has created or used.