@@ -94,32 +94,82 @@ class ActorRunUsage(BaseModel):
9494
9595@docs_group ('Actor' )
9696class ActorRun (BaseModel ):
97+ """Represents an Actor run and its associated data."""
98+
9799 __model_config__ = ConfigDict (populate_by_name = True )
98100
99101 id : Annotated [str , Field (alias = 'id' )]
102+ """Unique identifier of the Actor run."""
103+
100104 act_id : Annotated [str , Field (alias = 'actId' )]
105+ """ID of the Actor that was run."""
106+
101107 user_id : Annotated [str , Field (alias = 'userId' )]
108+ """ID of the user who started the run."""
109+
102110 actor_task_id : Annotated [str | None , Field (alias = 'actorTaskId' )] = None
111+ """ID of the Actor task, if the run was started from a task."""
112+
103113 started_at : Annotated [datetime , Field (alias = 'startedAt' )]
114+ """Time when the Actor run started."""
115+
104116 finished_at : Annotated [datetime | None , Field (alias = 'finishedAt' )] = None
117+ """Time when the Actor run finished."""
118+
105119 status : Annotated [ActorJobStatus , Field (alias = 'status' )]
120+ """Current status of the Actor run."""
121+
106122 status_message : Annotated [str | None , Field (alias = 'statusMessage' )] = None
123+ """Detailed message about the run status."""
124+
107125 is_status_message_terminal : Annotated [bool | None , Field (alias = 'isStatusMessageTerminal' )] = None
126+ """Whether the status message is terminal (final)."""
127+
108128 meta : Annotated [ActorRunMeta , Field (alias = 'meta' )]
129+ """Metadata about the Actor run."""
130+
109131 stats : Annotated [ActorRunStats , Field (alias = 'stats' )]
132+ """Statistics of the Actor run."""
133+
110134 options : Annotated [ActorRunOptions , Field (alias = 'options' )]
135+ """Configuration options for the Actor run."""
136+
111137 build_id : Annotated [str , Field (alias = 'buildId' )]
138+ """ID of the Actor build used for this run."""
139+
112140 exit_code : Annotated [int | None , Field (alias = 'exitCode' )] = None
141+ """Exit code of the Actor run process."""
142+
113143 default_key_value_store_id : Annotated [str , Field (alias = 'defaultKeyValueStoreId' )]
144+ """ID of the default key-value store for this run."""
145+
114146 default_dataset_id : Annotated [str , Field (alias = 'defaultDatasetId' )]
147+ """ID of the default dataset for this run."""
148+
115149 default_request_queue_id : Annotated [str , Field (alias = 'defaultRequestQueueId' )]
150+ """ID of the default request queue for this run."""
151+
116152 build_number : Annotated [str | None , Field (alias = 'buildNumber' )] = None
153+ """Build number of the Actor build used for this run."""
154+
117155 container_url : Annotated [str , Field (alias = 'containerUrl' )]
156+ """URL of the container running the Actor."""
157+
118158 is_container_server_ready : Annotated [bool | None , Field (alias = 'isContainerServerReady' )] = None
159+ """Whether the container's HTTP server is ready to accept requests."""
160+
119161 git_branch_name : Annotated [str | None , Field (alias = 'gitBranchName' )] = None
162+ """Name of the git branch used for the Actor build."""
163+
120164 usage : Annotated [ActorRunUsage | None , Field (alias = 'usage' )] = None
165+ """Resource usage statistics for the run."""
166+
121167 usage_total_usd : Annotated [float | None , Field (alias = 'usageTotalUsd' )] = None
168+ """Total cost of the run in USD."""
169+
122170 usage_usd : Annotated [ActorRunUsage | None , Field (alias = 'usageUsd' )] = None
171+ """Resource usage costs in USD."""
172+
123173 pricing_info : Annotated [
124174 FreeActorPricingInfo
125175 | FlatPricePerMonthActorPricingInfo
@@ -128,10 +178,13 @@ class ActorRun(BaseModel):
128178 | None ,
129179 Field (alias = 'pricingInfo' , discriminator = 'pricing_model' ),
130180 ] = None
181+ """Pricing information for the Actor."""
182+
131183 charged_event_counts : Annotated [
132184 dict [str , int ] | None ,
133185 Field (alias = 'chargedEventCounts' ),
134186 ] = None
187+ """Count of charged events for pay-per-event pricing model."""
135188
136189
137190class FreeActorPricingInfo (BaseModel ):
0 commit comments