Skip to content

Commit 9488677

Browse files
chore: add request_id to generated ChargeRunRequest model from OpenAPI spec (#1159)
1 parent 96f21b1 commit 9488677

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ keep_model_order = true
251251
# workflow committing nothing unless the models changed. A local regeneration that only moves this line is that
252252
# same case - drop it rather than committing it alone.
253253
[tool.apify.openapi-spec]
254-
version = "v2-2026-10-20T095308Z"
254+
version = "v2-2026-10-21T115842Z"
255255

256256
[tool.uv]
257257
# Minimal defense against supply-chain atatcks.

‎src/apify_client/_models.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,10 @@ class ChargeRunRequest(BaseModel):
735735
)
736736
event_name: Annotated[str, Field(examples=['ANALYZE_PAGE'])]
737737
count: Annotated[int, Field(examples=[1])]
738+
request_id: Annotated[str | None, Field(examples=['7Hs2kQw9LxP4mN1vB'])] = None
739+
"""
740+
ID of the Server Actor request being charged, from the `X-Actor-Request-ID` header of the incoming request. Required for multi-tenant Server Actor runs, where it identifies the request the charge belongs to.
741+
"""
738742

739743

740744
@docs_group('Models')

0 commit comments

Comments
 (0)