Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ keep_model_order = true
# workflow committing nothing unless the models changed. A local regeneration that only moves this line is that
# same case - drop it rather than committing it alone.
[tool.apify.openapi-spec]
version = "v2-2026-10-27T134926Z"
version = "v2-2026-10-29T100357Z"

[tool.uv]
# Minimal defense against supply-chain atatcks.
Expand Down
16 changes: 16 additions & 0 deletions src/apify_client/_literals.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,22 @@
"""Determines the permission level that the Actor requires to run. For details, see [Actor permissions](https://docs.apify.com/platform/actors/development/permissions)."""


Deployment = (
Literal[
'SINGLE_TENANT',
'MULTI_TENANT_OWNER_PAID',
'MULTI_TENANT_FREE_USERS',
'MULTI_TENANT_PAYING_USERS',
]
| str
)
"""
Which pool the Server Actor run serves. `SINGLE_TENANT` is a private instance in the caller's account.
The `MULTI_TENANT_*` pools run in the Actor owner's account and serve many callers;
charges in them require a `requestId` (see the charge endpoint).
"""


Encoding = (
Literal[
'utf-8',
Expand Down
10 changes: 6 additions & 4 deletions src/apify_client/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from apify_client._literals import (
ActorJobStatus,
ActorPermissionLevel,
Deployment,
Encoding,
ErrorType,
GeneralAccess,
Expand Down Expand Up @@ -3513,7 +3514,7 @@ class Run(BaseModel):
"""
standby: RunStandby | None = None
"""
Standby configuration of the run. `null` for runs that are not Actor Standby runs.
Server Actor deployment of this run, `null` for runs not started by a Server Actor request.
"""
integration_tracking: IntegrationTracking | None = None
"""
Expand Down Expand Up @@ -3772,10 +3773,11 @@ class RunStandby(BaseModel):
populate_by_name=True,
alias_generator=to_camel,
)
deployment: Annotated[str, Field(examples=['SINGLE_TENANT'])]
deployment: Annotated[Deployment, Field(examples=['MULTI_TENANT_PAYING_USERS'])]
"""
How the Standby run is deployed: `SINGLE_TENANT`, `MULTI_TENANT_FREE_USERS`, `MULTI_TENANT_PAYING_USERS` or `MULTI_TENANT_OWNER_PAID`. `SINGLE_TENANT` is a private instance in the user's account.
The `MULTI_TENANT_*` values are runs in the Actor owner's account that serve requests from many users.
Which pool the Server Actor run serves. `SINGLE_TENANT` is a private instance in the caller's account.
The `MULTI_TENANT_*` pools run in the Actor owner's account and serve many callers;
charges in them require a `requestId` (see the charge endpoint).

"""

Expand Down
Loading