11# generated by datamodel-codegen:
22# filename: https://docs.apify.com/api/openapi.json
3- # timestamp: 2026-02-27T09:05:36 +00:00
3+ # timestamp: 2026-02-24T14:39:16 +00:00
44
55from __future__ import annotations
66
@@ -276,15 +276,48 @@ class FreeActorPricingInfo(CommonActorPricingInfo):
276276 pricing_model : Annotated [Literal ['FREE' ], Field (alias = 'pricingModel' )]
277277
278278
279+ class ActorPermissionLevel (StrEnum ):
280+ """Determines permissions that the Actor requires to run. For more information, see the [Actor permissions documentation](https://docs.apify.com/platform/actors/development/permissions)."""
281+
282+ LIMITED_PERMISSIONS = 'LIMITED_PERMISSIONS'
283+ FULL_PERMISSIONS = 'FULL_PERMISSIONS'
284+
285+
279286class DefaultRunOptions (BaseModel ):
280287 model_config = ConfigDict (
281288 extra = 'allow' ,
282289 populate_by_name = True ,
283290 )
284- build : Annotated [str , Field (examples = ['latest' ])]
291+ build : Annotated [str | None , Field (examples = ['latest' ])] = None
285292 timeout_secs : Annotated [int | None , Field (alias = 'timeoutSecs' , examples = [3600 ])] = None
286- memory_mbytes : Annotated [int , Field (alias = 'memoryMbytes' , examples = [2048 ])]
293+ memory_mbytes : Annotated [int | None , Field (alias = 'memoryMbytes' , examples = [2048 ])] = None
287294 restart_on_error : Annotated [bool | None , Field (alias = 'restartOnError' , examples = [False ])] = None
295+ max_items : Annotated [int | None , Field (alias = 'maxItems' )] = None
296+ force_permission_level : Annotated [ActorPermissionLevel | None , Field (alias = 'forcePermissionLevel' )] = None
297+
298+
299+ class ActorStandby (BaseModel ):
300+ model_config = ConfigDict (
301+ extra = 'allow' ,
302+ populate_by_name = True ,
303+ )
304+ is_enabled : Annotated [bool | None , Field (alias = 'isEnabled' )] = None
305+ desired_requests_per_actor_run : Annotated [int | None , Field (alias = 'desiredRequestsPerActorRun' )] = None
306+ max_requests_per_actor_run : Annotated [int | None , Field (alias = 'maxRequestsPerActorRun' )] = None
307+ idle_timeout_secs : Annotated [int | None , Field (alias = 'idleTimeoutSecs' )] = None
308+ build : str | None = None
309+ memory_mbytes : Annotated [int | None , Field (alias = 'memoryMbytes' )] = None
310+ disable_standby_fields_override : Annotated [bool | None , Field (alias = 'disableStandbyFieldsOverride' )] = None
311+ should_pass_actor_input : Annotated [bool | None , Field (alias = 'shouldPassActorInput' )] = None
312+
313+
314+ class ExampleRunInput (BaseModel ):
315+ model_config = ConfigDict (
316+ extra = 'allow' ,
317+ populate_by_name = True ,
318+ )
319+ body : Annotated [str | None , Field (examples = ['{ "helloWorld": 123 }' ])] = None
320+ content_type : Annotated [str | None , Field (alias = 'contentType' , examples = ['application/json; charset=utf-8' ])] = None
288321
289322
290323class CreateActorRequest (BaseModel ):
@@ -312,22 +345,9 @@ class CreateActorRequest(BaseModel):
312345 ] = None
313346 categories : list [str ] | None = None
314347 default_run_options : Annotated [DefaultRunOptions | None , Field (alias = 'defaultRunOptions' )] = None
315-
316-
317- class ActorPermissionLevel (StrEnum ):
318- """Determines permissions that the Actor requires to run. For more information, see the [Actor permissions documentation](https://docs.apify.com/platform/actors/development/permissions)."""
319-
320- LIMITED_PERMISSIONS = 'LIMITED_PERMISSIONS'
321- FULL_PERMISSIONS = 'FULL_PERMISSIONS'
322-
323-
324- class ExampleRunInput (BaseModel ):
325- model_config = ConfigDict (
326- extra = 'allow' ,
327- populate_by_name = True ,
328- )
329- body : Annotated [str , Field (examples = ['{ "helloWorld": 123 }' ])]
330- content_type : Annotated [str , Field (alias = 'contentType' , examples = ['application/json; charset=utf-8' ])]
348+ actor_standby : Annotated [ActorStandby | None , Field (alias = 'actorStandby' )] = None
349+ example_run_input : Annotated [ExampleRunInput | None , Field (alias = 'exampleRunInput' )] = None
350+ is_deprecated : Annotated [bool | None , Field (alias = 'isDeprecated' )] = None
331351
332352
333353class TaggedBuildInfo (BaseModel ):
@@ -390,6 +410,7 @@ class Actor(BaseModel):
390410 """
391411 A brief, LLM-generated readme summary
392412 """
413+ actor_standby : Annotated [ActorStandby | None , Field (alias = 'actorStandby' )] = None
393414
394415
395416class ActorResponse (BaseModel ):
@@ -442,15 +463,15 @@ class UpdateActorRequest(BaseModel):
442463 extra = 'allow' ,
443464 populate_by_name = True ,
444465 )
445- name : Annotated [str , Field (examples = ['MyActor' ])]
466+ name : Annotated [str | None , Field (examples = ['MyActor' ])] = None
446467 description : Annotated [str | None , Field (examples = ['My favourite actor!' ])] = None
447- is_public : Annotated [bool , Field (alias = 'isPublic' , examples = [False ])]
468+ is_public : Annotated [bool | None , Field (alias = 'isPublic' , examples = [False ])] = None
448469 actor_permission_level : Annotated [ActorPermissionLevel | None , Field (alias = 'actorPermissionLevel' )] = None
449470 seo_title : Annotated [str | None , Field (alias = 'seoTitle' , examples = ['My actor' ])] = None
450471 seo_description : Annotated [str | None , Field (alias = 'seoDescription' , examples = ['My actor is the best' ])] = None
451472 title : Annotated [str | None , Field (examples = ['My Actor' ])] = None
452473 restart_on_error : Annotated [bool | None , Field (alias = 'restartOnError' , examples = [False ])] = None
453- versions : list [CreateOrUpdateVersionRequest ]
474+ versions : list [CreateOrUpdateVersionRequest ] | None = None
454475 pricing_infos : Annotated [
455476 list [
456477 PayPerEventActorPricingInfo
@@ -508,6 +529,9 @@ class UpdateActorRequest(BaseModel):
508529 ```
509530
510531 """
532+ actor_standby : Annotated [ActorStandby | None , Field (alias = 'actorStandby' )] = None
533+ example_run_input : Annotated [ExampleRunInput | None , Field (alias = 'exampleRunInput' )] = None
534+ is_deprecated : Annotated [bool | None , Field (alias = 'isDeprecated' )] = None
511535
512536
513537class ListOfVersions (BaseModel ):
@@ -601,9 +625,7 @@ class ExampleWebhookDispatch(BaseModel):
601625 populate_by_name = True ,
602626 )
603627 status : WebhookDispatchStatus
604- finished_at : Annotated [AwareDatetime | None , Field (alias = 'finishedAt' , examples = ['2019-12-13T08:36:13.202Z' ])] = (
605- None
606- )
628+ finished_at : Annotated [AwareDatetime , Field (alias = 'finishedAt' , examples = ['2019-12-13T08:36:13.202Z' ])]
607629
608630
609631class WebhookStats (BaseModel ):
@@ -1244,6 +1266,7 @@ class TaskOptions(BaseModel):
12441266 timeout_secs : Annotated [int | None , Field (alias = 'timeoutSecs' , examples = [300 ])] = None
12451267 memory_mbytes : Annotated [int | None , Field (alias = 'memoryMbytes' , examples = [128 ])] = None
12461268 restart_on_error : Annotated [bool | None , Field (alias = 'restartOnError' , examples = [False ])] = None
1269+ max_items : Annotated [int | None , Field (alias = 'maxItems' )] = None
12471270
12481271
12491272class TaskInput (BaseModel ):
@@ -1267,6 +1290,8 @@ class CreateTaskRequest(BaseModel):
12671290 name : Annotated [str , Field (examples = ['my-task' ])]
12681291 options : TaskOptions | None = None
12691292 input : TaskInput | None = None
1293+ title : str | None = None
1294+ actor_standby : Annotated [ActorStandby | None , Field (alias = 'actorStandby' )] = None
12701295
12711296
12721297class Task (BaseModel ):
@@ -1286,6 +1311,8 @@ class Task(BaseModel):
12861311 options : TaskOptions | None = None
12871312 input : TaskInput | None = None
12881313 standby_url : Annotated [AnyUrl | None , Field (alias = 'standbyUrl' )] = None
1314+ title : str | None = None
1315+ actor_standby : Annotated [ActorStandby | None , Field (alias = 'actorStandby' )] = None
12891316
12901317
12911318class TaskResponse (BaseModel ):
@@ -1303,17 +1330,11 @@ class UpdateTaskRequest(BaseModel):
13031330 extra = 'allow' ,
13041331 populate_by_name = True ,
13051332 )
1306- id : Annotated [str , Field (examples = ['ZxLNxrRaZrSjuhT9y' ])]
1307- user_id : Annotated [str , Field (alias = 'userId' , examples = ['BPWZBd7Z9c746JAnF' ])]
1308- act_id : Annotated [str , Field (alias = 'actId' , examples = ['asADASadYvn4mBZmm' ])]
1309- name : Annotated [str , Field (examples = ['my-task' ])]
1310- username : Annotated [str | None , Field (examples = ['janedoe' ])] = None
1311- created_at : Annotated [AwareDatetime , Field (alias = 'createdAt' , examples = ['2018-10-26T07:23:14.855Z' ])]
1312- modified_at : Annotated [AwareDatetime , Field (alias = 'modifiedAt' , examples = ['2018-10-26T13:30:49.578Z' ])]
1313- removed_at : Annotated [AwareDatetime | None , Field (alias = 'removedAt' )] = None
1314- stats : TaskStats | None = None
1333+ name : Annotated [str | None , Field (examples = ['my-task' ])] = None
1334+ title : str | None = None
13151335 options : TaskOptions | None = None
13161336 input : TaskInput | None = None
1337+ actor_standby : Annotated [ActorStandby | None , Field (alias = 'actorStandby' )] = None
13171338
13181339
13191340class Webhook (BaseModel ):
@@ -2655,6 +2676,7 @@ class ScheduleCreate(BaseModel):
26552676 cron_expression : Annotated [str | None , Field (alias = 'cronExpression' , examples = ['* * * * *' ])] = None
26562677 timezone : Annotated [str | None , Field (examples = ['UTC' ])] = None
26572678 description : Annotated [str | None , Field (examples = ['Schedule of actor ...' ])] = None
2679+ title : str | None = None
26582680 actions : list [ScheduleCreateActions ] | None = None
26592681
26602682
@@ -2687,6 +2709,7 @@ class Schedule(BaseModel):
26872709 modified_at : Annotated [AwareDatetime , Field (alias = 'modifiedAt' , examples = ['2019-12-20T06:33:11.202Z' ])]
26882710 next_run_at : Annotated [AwareDatetime | None , Field (alias = 'nextRunAt' , examples = ['2019-04-12T07:34:10.202Z' ])] = None
26892711 last_run_at : Annotated [AwareDatetime | None , Field (alias = 'lastRunAt' , examples = ['2019-04-12T07:33:10.202Z' ])] = None
2712+ title : str | None = None
26902713 actions : list [ScheduleActions ]
26912714
26922715
0 commit comments