|
1 | 1 | # generated by datamodel-codegen: |
2 | 2 | # filename: openapi.json |
3 | | -# timestamp: 2026-01-14T19:13:07+00:00 |
| 3 | +# timestamp: 2026-01-16T13:13:20+00:00 |
4 | 4 |
|
5 | 5 | from __future__ import annotations |
6 | 6 |
|
@@ -999,7 +999,15 @@ class Run(BaseModel): |
999 | 999 | Field(alias='pricingInfo', discriminator='pricing_model', title='ActorRunPricingInfo'), |
1000 | 1000 | ] = None |
1001 | 1001 | stats: RunStats |
1002 | | - charged_event_counts: Annotated[dict[str, int] | None, Field(alias='chargedEventCounts')] = None |
| 1002 | + charged_event_counts: Annotated[ |
| 1003 | + dict[str, int] | None, |
| 1004 | + Field( |
| 1005 | + alias='chargedEventCounts', examples=[{'actor-start': 1, 'page-crawled': 150, 'data-extracted': 75}], ge=0 |
| 1006 | + ), |
| 1007 | + ] = None |
| 1008 | + """ |
| 1009 | + A map of charged event types to their counts. The keys are event type identifiers defined by the Actor's pricing model (pay-per-event), and the values are the number of times each event was charged during this run. |
| 1010 | + """ |
1003 | 1011 | options: RunOptions |
1004 | 1012 | build_id: Annotated[str, Field(alias='buildId', examples=['7sT5jcggjjA9fNcxF'])] |
1005 | 1013 | exit_code: Annotated[float | None, Field(alias='exitCode', examples=[0])] = None |
@@ -1078,11 +1086,11 @@ class Task(BaseModel): |
1078 | 1086 | stats: TaskStats | None = None |
1079 | 1087 | options: TaskOptions | None = None |
1080 | 1088 | input: TaskInput | None = None |
| 1089 | + standby_url: Annotated[str | None, Field(alias='standbyUrl')] = None |
1081 | 1090 |
|
1082 | 1091 |
|
1083 | 1092 | class CreateTaskResponse(BaseModel): |
1084 | 1093 | data: Task |
1085 | | - standby_url: Annotated[str | None, Field(alias='standbyUrl')] = None |
1086 | 1094 |
|
1087 | 1095 |
|
1088 | 1096 | class UpdateTaskRequest(BaseModel): |
|
0 commit comments