@@ -544,7 +544,7 @@ class BuildStats(BaseModel):
544544 )
545545 duration_millis : Annotated [int | None , Field (examples = [1000 ])] = None
546546 run_time_secs : Annotated [float | None , Field (examples = [45.718 ])] = None
547- compute_units : Annotated [float , Field (examples = [0.0126994444444444 ])]
547+ compute_units : Annotated [float | None , Field (examples = [0.0126994444444444 ])] = None
548548 image_size_bytes : Annotated [int | None , Field (examples = [975770223 ])] = None
549549
550550
@@ -875,7 +875,7 @@ class Dataset(BaseModel):
875875 ),
876876 ] = None
877877 """
878- Defines the schema of items in your dataset, the full specification can be found in [Apify docs](https://docs.apify.com/actors/development/actor-definition /dataset-schema)
878+ Defines the schema of items in your dataset, the full specification can be found in [Apify docs](https://docs.apify.com/storage /dataset-schema)
879879 """
880880 console_url : Annotated [AnyUrl , Field (examples = ['https://console.apify.com/storage/datasets/27TmTznX9YPeAYhkC' ])]
881881 items_public_url : Annotated [
@@ -1477,8 +1477,8 @@ class KeyValueStoreStats(BaseModel):
14771477 populate_by_name = True ,
14781478 alias_generator = to_camel ,
14791479 )
1480- read_count : Annotated [int , Field (examples = [9 ])]
1481- write_count : Annotated [int , Field (examples = [3 ])]
1480+ read_count : Annotated [int | None , Field (examples = [9 ])] = None
1481+ write_count : Annotated [int | None , Field (examples = [3 ])] = None
14821482 delete_count : Annotated [int | None , Field (examples = [6 ])] = None
14831483 list_count : Annotated [int | None , Field (examples = [2 ])] = None
14841484 s3_storage_bytes : Annotated [int | None , Field (examples = [18 ])] = None
@@ -2933,8 +2933,8 @@ class RunStats(BaseModel):
29332933 input_body_len : Annotated [int | None , Field (examples = [240 ], ge = 0 )] = None
29342934 migration_count : Annotated [int | None , Field (examples = [0 ], ge = 0 )] = None
29352935 reboot_count : Annotated [int | None , Field (examples = [0 ], ge = 0 )] = None
2936- restart_count : Annotated [int , Field (examples = [0 ], ge = 0 )]
2937- resurrect_count : Annotated [int , Field (examples = [2 ], ge = 0 )]
2936+ restart_count : Annotated [int | None , Field (examples = [0 ], ge = 0 )] = None
2937+ resurrect_count : Annotated [int | None , Field (examples = [2 ], ge = 0 )] = None
29382938 mem_avg_bytes : Annotated [float | None , Field (examples = [267874071.9 ])] = None
29392939 mem_max_bytes : Annotated [int | None , Field (examples = [404713472 ], ge = 0 )] = None
29402940 mem_current_bytes : Annotated [int | None , Field (examples = [0 ], ge = 0 )] = None
@@ -2946,7 +2946,7 @@ class RunStats(BaseModel):
29462946 duration_millis : Annotated [int | None , Field (examples = [248472 ], ge = 0 )] = None
29472947 run_time_secs : Annotated [float | None , Field (examples = [248.472 ], ge = 0.0 )] = None
29482948 metamorph : Annotated [int | None , Field (examples = [0 ], ge = 0 )] = None
2949- compute_units : Annotated [float , Field (examples = [0.13804 ], ge = 0.0 )]
2949+ compute_units : Annotated [float | None , Field (examples = [0.13804 ], ge = 0.0 )] = None
29502950
29512951
29522952@docs_group ('Models' )
@@ -3335,7 +3335,7 @@ class TaggedBuildInfo(BaseModel):
33353335 str | None , Field (examples = ['0.0.2' ], pattern = '^([0-9]|[1-9][0-9])\\ .([0-9]|[1-9][0-9])(\\ .[1-9][0-9]{0,4})$' )
33363336 ] = None
33373337 """
3338- The build number/version string.
3338+ The build number/version string. Can be `null` for legacy builds that lack a valid build number.
33393339 """
33403340 build_number_int : Annotated [int | None , Field (examples = [42 ])] = None
33413341 """
@@ -3831,7 +3831,10 @@ class Webhook(BaseModel):
38313831 condition : WebhookCondition
38323832 ignore_ssl_errors : Annotated [bool , Field (examples = [False ])]
38333833 do_not_retry : Annotated [bool | None , Field (examples = [False ])] = None
3834- request_url : Annotated [AnyUrl | None , Field (examples = ['http://example.com/' ])]
3834+ request_url : Annotated [AnyUrl | None , Field (examples = ['http://example.com/' ])] = None
3835+ """
3836+ URL of the HTTP request sent by the webhook. It is omitted or `null` for hook actions other than the conventional HTTP case (e.g. Slack or email notifications).
3837+ """
38353838 payload_template : Annotated [str | None , Field (examples = ['{\\ n "userId": {{userId}}...' ])] = None
38363839 headers_template : Annotated [str | None , Field (examples = ['{\\ n "Authorization": "Bearer ..."}' ])] = None
38373840 description : Annotated [str | None , Field (examples = ['this is webhook description' ])] = None
@@ -3906,6 +3909,9 @@ class WebhookDispatchWebhookSummary(BaseModel):
39063909 action_type : Annotated [str | None , Field (examples = ['HTTP_REQUEST' ])] = None
39073910 condition : WebhookCondition | None = None
39083911 request_url : Annotated [AnyUrl | None , Field (examples = ['https://example.com/webhook' ])] = None
3912+ """
3913+ URL of the HTTP request sent by the webhook. It is `null` for hook actions other than the conventional HTTP case (e.g. Slack or email notifications).
3914+ """
39093915 is_ad_hoc : Annotated [bool | None , Field (examples = [False ])] = None
39103916
39113917
@@ -3997,7 +4003,7 @@ class WebhookStats(BaseModel):
39974003 populate_by_name = True ,
39984004 alias_generator = to_camel ,
39994005 )
4000- total_dispatches : Annotated [int , Field (examples = [1 ])]
4006+ total_dispatches : Annotated [int | None , Field (examples = [1 ])] = None
40014007
40024008
40034009@docs_group ('Models' )
0 commit comments