@vertesia/common 1.5.0-dev.20260905.011013Z → 1.5.0-dev.20260910.052912Z
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api-contract/components.generated.json +139 -3
- package/lib/api-schemas/cost-analytics.d.ts +38 -0
- package/lib/api-schemas/cost-analytics.d.ts.map +1 -1
- package/lib/api-schemas/cost-analytics.js +31 -1
- package/lib/api-schemas/cost-analytics.js.map +1 -1
- package/lib/api-schemas/interaction.d.ts +19 -0
- package/lib/api-schemas/interaction.d.ts.map +1 -1
- package/lib/api-schemas/interaction.js +9 -1
- package/lib/api-schemas/interaction.js.map +1 -1
- package/lib/api-schemas/registry.d.ts +57 -0
- package/lib/api-schemas/registry.d.ts.map +1 -1
- package/lib/vertesia-common.js +1 -1
- package/lib/vertesia-common.js.map +1 -1
- package/lib/workflow-analytics.d.ts +3 -1
- package/lib/workflow-analytics.d.ts.map +1 -1
- package/lib/workflow-analytics.js +2 -0
- package/lib/workflow-analytics.js.map +1 -1
- package/package.json +3 -3
- package/src/api-contract/components.generated.json +139 -3
- package/src/api-schemas/cost-analytics.ts +34 -1
- package/src/api-schemas/interaction.contract.test.ts +23 -0
- package/src/api-schemas/interaction.ts +9 -1
- package/src/workflow-analytics.ts +2 -0
|
@@ -10049,7 +10049,8 @@
|
|
|
10049
10049
|
"resume_tools",
|
|
10050
10050
|
"resume_user",
|
|
10051
10051
|
"checkpoint",
|
|
10052
|
-
"nested_interaction"
|
|
10052
|
+
"nested_interaction",
|
|
10053
|
+
"background"
|
|
10053
10054
|
],
|
|
10054
10055
|
"description": "Types of LLM calls in a conversation"
|
|
10055
10056
|
},
|
|
@@ -10874,6 +10875,10 @@
|
|
|
10874
10875
|
"ExecutionRunWorkflow": {
|
|
10875
10876
|
"type": "object",
|
|
10876
10877
|
"properties": {
|
|
10878
|
+
"agent_run_id": {
|
|
10879
|
+
"type": "string",
|
|
10880
|
+
"description": "Root agent run owning this inference, including inference performed by child workstreams."
|
|
10881
|
+
},
|
|
10877
10882
|
"rate_limit_id": {
|
|
10878
10883
|
"type": "string",
|
|
10879
10884
|
"description": "Stable identifier pairing an interaction rate-limit admission with its completion feedback."
|
|
@@ -13520,6 +13525,10 @@
|
|
|
13520
13525
|
"prompt_cache_diagnostic": {
|
|
13521
13526
|
"$ref": "#/components/schemas/PromptCacheDiagnostic"
|
|
13522
13527
|
},
|
|
13528
|
+
"service_tier": {
|
|
13529
|
+
"type": "string",
|
|
13530
|
+
"description": "Processing tier actually used by the provider"
|
|
13531
|
+
},
|
|
13523
13532
|
"tool_use": {
|
|
13524
13533
|
"type": "array",
|
|
13525
13534
|
"items": {
|
|
@@ -13586,6 +13595,10 @@
|
|
|
13586
13595
|
},
|
|
13587
13596
|
"workflow_id": {
|
|
13588
13597
|
"type": "string"
|
|
13598
|
+
},
|
|
13599
|
+
"agent_run_id": {
|
|
13600
|
+
"type": "string",
|
|
13601
|
+
"description": "Root agent run owning this inference, including inference performed by child workstreams."
|
|
13589
13602
|
}
|
|
13590
13603
|
},
|
|
13591
13604
|
"required": [
|
|
@@ -33807,7 +33820,8 @@
|
|
|
33807
33820
|
"resume_tools",
|
|
33808
33821
|
"resume_user",
|
|
33809
33822
|
"checkpoint",
|
|
33810
|
-
"nested_interaction"
|
|
33823
|
+
"nested_interaction",
|
|
33824
|
+
"background"
|
|
33811
33825
|
]
|
|
33812
33826
|
},
|
|
33813
33827
|
"attemptNumber": {
|
|
@@ -38489,6 +38503,7 @@
|
|
|
38489
38503
|
"project",
|
|
38490
38504
|
"project_tag",
|
|
38491
38505
|
"provider",
|
|
38506
|
+
"service_tier",
|
|
38492
38507
|
"interaction",
|
|
38493
38508
|
"workflow"
|
|
38494
38509
|
],
|
|
@@ -38516,6 +38531,10 @@
|
|
|
38516
38531
|
"type": "string",
|
|
38517
38532
|
"description": "Filter by provider"
|
|
38518
38533
|
},
|
|
38534
|
+
"service_tier": {
|
|
38535
|
+
"type": "string",
|
|
38536
|
+
"description": "Filter by resolved processing tier"
|
|
38537
|
+
},
|
|
38519
38538
|
"project_id": {
|
|
38520
38539
|
"type": "string",
|
|
38521
38540
|
"description": "Filter by project ID (optional, for org scope)"
|
|
@@ -38701,6 +38720,10 @@
|
|
|
38701
38720
|
"provider_account_id": {
|
|
38702
38721
|
"type": "string"
|
|
38703
38722
|
},
|
|
38723
|
+
"service_tier": {
|
|
38724
|
+
"type": "string",
|
|
38725
|
+
"description": "Processing tier this price applies to"
|
|
38726
|
+
},
|
|
38704
38727
|
"input_price_per_m_tokens": {
|
|
38705
38728
|
"type": "number"
|
|
38706
38729
|
},
|
|
@@ -38810,6 +38833,10 @@
|
|
|
38810
38833
|
"provider_account_id": {
|
|
38811
38834
|
"type": "string"
|
|
38812
38835
|
},
|
|
38836
|
+
"service_tier": {
|
|
38837
|
+
"type": "string",
|
|
38838
|
+
"description": "Processing tier this price applies to"
|
|
38839
|
+
},
|
|
38813
38840
|
"list_price_date": {
|
|
38814
38841
|
"type": "string"
|
|
38815
38842
|
},
|
|
@@ -38866,6 +38893,9 @@
|
|
|
38866
38893
|
"provider": {
|
|
38867
38894
|
"type": "string"
|
|
38868
38895
|
},
|
|
38896
|
+
"service_tier": {
|
|
38897
|
+
"type": "string"
|
|
38898
|
+
},
|
|
38869
38899
|
"cost": {
|
|
38870
38900
|
"type": "number"
|
|
38871
38901
|
},
|
|
@@ -38959,6 +38989,53 @@
|
|
|
38959
38989
|
"$ref": "#/components/schemas/ModelPricing"
|
|
38960
38990
|
}
|
|
38961
38991
|
},
|
|
38992
|
+
"pricing_coverage": {
|
|
38993
|
+
"type": "object",
|
|
38994
|
+
"properties": {
|
|
38995
|
+
"priced_calls": {
|
|
38996
|
+
"type": "number"
|
|
38997
|
+
},
|
|
38998
|
+
"unpriced_calls": {
|
|
38999
|
+
"type": "number"
|
|
39000
|
+
},
|
|
39001
|
+
"assumed_default_calls": {
|
|
39002
|
+
"type": "number"
|
|
39003
|
+
},
|
|
39004
|
+
"unpriced": {
|
|
39005
|
+
"type": "array",
|
|
39006
|
+
"items": {
|
|
39007
|
+
"type": "object",
|
|
39008
|
+
"properties": {
|
|
39009
|
+
"model": {
|
|
39010
|
+
"type": "string"
|
|
39011
|
+
},
|
|
39012
|
+
"provider": {
|
|
39013
|
+
"type": "string"
|
|
39014
|
+
},
|
|
39015
|
+
"service_tier": {
|
|
39016
|
+
"type": "string"
|
|
39017
|
+
},
|
|
39018
|
+
"calls": {
|
|
39019
|
+
"type": "number"
|
|
39020
|
+
}
|
|
39021
|
+
},
|
|
39022
|
+
"required": [
|
|
39023
|
+
"model",
|
|
39024
|
+
"service_tier",
|
|
39025
|
+
"calls"
|
|
39026
|
+
],
|
|
39027
|
+
"additionalProperties": false
|
|
39028
|
+
}
|
|
39029
|
+
}
|
|
39030
|
+
},
|
|
39031
|
+
"required": [
|
|
39032
|
+
"priced_calls",
|
|
39033
|
+
"unpriced_calls",
|
|
39034
|
+
"assumed_default_calls",
|
|
39035
|
+
"unpriced"
|
|
39036
|
+
],
|
|
39037
|
+
"additionalProperties": false
|
|
39038
|
+
},
|
|
38962
39039
|
"query_range": {
|
|
38963
39040
|
"type": "object",
|
|
38964
39041
|
"properties": {
|
|
@@ -39007,6 +39084,53 @@
|
|
|
39007
39084
|
"$ref": "#/components/schemas/ModelPricing"
|
|
39008
39085
|
}
|
|
39009
39086
|
},
|
|
39087
|
+
"pricing_coverage": {
|
|
39088
|
+
"type": "object",
|
|
39089
|
+
"properties": {
|
|
39090
|
+
"priced_calls": {
|
|
39091
|
+
"type": "number"
|
|
39092
|
+
},
|
|
39093
|
+
"unpriced_calls": {
|
|
39094
|
+
"type": "number"
|
|
39095
|
+
},
|
|
39096
|
+
"assumed_default_calls": {
|
|
39097
|
+
"type": "number"
|
|
39098
|
+
},
|
|
39099
|
+
"unpriced": {
|
|
39100
|
+
"type": "array",
|
|
39101
|
+
"items": {
|
|
39102
|
+
"type": "object",
|
|
39103
|
+
"properties": {
|
|
39104
|
+
"model": {
|
|
39105
|
+
"type": "string"
|
|
39106
|
+
},
|
|
39107
|
+
"provider": {
|
|
39108
|
+
"type": "string"
|
|
39109
|
+
},
|
|
39110
|
+
"service_tier": {
|
|
39111
|
+
"type": "string"
|
|
39112
|
+
},
|
|
39113
|
+
"calls": {
|
|
39114
|
+
"type": "number"
|
|
39115
|
+
}
|
|
39116
|
+
},
|
|
39117
|
+
"required": [
|
|
39118
|
+
"model",
|
|
39119
|
+
"service_tier",
|
|
39120
|
+
"calls"
|
|
39121
|
+
],
|
|
39122
|
+
"additionalProperties": false
|
|
39123
|
+
}
|
|
39124
|
+
}
|
|
39125
|
+
},
|
|
39126
|
+
"required": [
|
|
39127
|
+
"priced_calls",
|
|
39128
|
+
"unpriced_calls",
|
|
39129
|
+
"assumed_default_calls",
|
|
39130
|
+
"unpriced"
|
|
39131
|
+
],
|
|
39132
|
+
"additionalProperties": false
|
|
39133
|
+
},
|
|
39010
39134
|
"query_range": {
|
|
39011
39135
|
"type": "object",
|
|
39012
39136
|
"properties": {
|
|
@@ -39068,13 +39192,25 @@
|
|
|
39068
39192
|
},
|
|
39069
39193
|
"aws_pricing": {
|
|
39070
39194
|
"type": "number"
|
|
39195
|
+
},
|
|
39196
|
+
"xai_pricing": {
|
|
39197
|
+
"type": "number"
|
|
39198
|
+
},
|
|
39199
|
+
"openrouter_pricing": {
|
|
39200
|
+
"type": "number"
|
|
39201
|
+
},
|
|
39202
|
+
"openai_costs": {
|
|
39203
|
+
"type": "number"
|
|
39071
39204
|
}
|
|
39072
39205
|
},
|
|
39073
39206
|
"required": [
|
|
39074
39207
|
"date",
|
|
39075
39208
|
"gcp_list",
|
|
39076
39209
|
"gcp_effective",
|
|
39077
|
-
"aws_pricing"
|
|
39210
|
+
"aws_pricing",
|
|
39211
|
+
"xai_pricing",
|
|
39212
|
+
"openrouter_pricing",
|
|
39213
|
+
"openai_costs"
|
|
39078
39214
|
],
|
|
39079
39215
|
"additionalProperties": false
|
|
39080
39216
|
},
|
|
@@ -8,6 +8,9 @@ export declare const PricingSyncDayResultSchema: z.ZodObject<{
|
|
|
8
8
|
gcp_list: z.ZodNumber;
|
|
9
9
|
gcp_effective: z.ZodNumber;
|
|
10
10
|
aws_pricing: z.ZodNumber;
|
|
11
|
+
xai_pricing: z.ZodNumber;
|
|
12
|
+
openrouter_pricing: z.ZodNumber;
|
|
13
|
+
openai_costs: z.ZodNumber;
|
|
11
14
|
}, z.core.$strict>;
|
|
12
15
|
export declare const PricingSyncResultSchema: z.ZodObject<{
|
|
13
16
|
days: z.ZodArray<z.ZodObject<{
|
|
@@ -15,6 +18,9 @@ export declare const PricingSyncResultSchema: z.ZodObject<{
|
|
|
15
18
|
gcp_list: z.ZodNumber;
|
|
16
19
|
gcp_effective: z.ZodNumber;
|
|
17
20
|
aws_pricing: z.ZodNumber;
|
|
21
|
+
xai_pricing: z.ZodNumber;
|
|
22
|
+
openrouter_pricing: z.ZodNumber;
|
|
23
|
+
openai_costs: z.ZodNumber;
|
|
18
24
|
}, z.core.$strict>>;
|
|
19
25
|
total_days: z.ZodNumber;
|
|
20
26
|
}, z.core.$strict>;
|
|
@@ -29,6 +35,7 @@ export declare const CostAnalyticsQuerySchema: z.ZodObject<{
|
|
|
29
35
|
project: "project";
|
|
30
36
|
project_tag: "project_tag";
|
|
31
37
|
provider: "provider";
|
|
38
|
+
service_tier: "service_tier";
|
|
32
39
|
workflow: "workflow";
|
|
33
40
|
}>>;
|
|
34
41
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
@@ -40,6 +47,7 @@ export declare const CostAnalyticsQuerySchema: z.ZodObject<{
|
|
|
40
47
|
model: z.ZodOptional<z.ZodString>;
|
|
41
48
|
environment_id: z.ZodOptional<z.ZodString>;
|
|
42
49
|
provider: z.ZodOptional<z.ZodString>;
|
|
50
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
43
51
|
project_id: z.ZodOptional<z.ZodString>;
|
|
44
52
|
workflow_id: z.ZodOptional<z.ZodString>;
|
|
45
53
|
workflow_run_id: z.ZodOptional<z.ZodString>;
|
|
@@ -95,6 +103,7 @@ export declare const ModelPricingSchema: z.ZodObject<{
|
|
|
95
103
|
model: z.ZodString;
|
|
96
104
|
provider: z.ZodOptional<z.ZodString>;
|
|
97
105
|
provider_account_id: z.ZodOptional<z.ZodString>;
|
|
106
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
98
107
|
input_price_per_m_tokens: z.ZodNumber;
|
|
99
108
|
cached_input_price_per_m_tokens: z.ZodOptional<z.ZodNumber>;
|
|
100
109
|
cache_write_input_price_per_m_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -127,6 +136,7 @@ export declare const ModelPriceComparisonSchema: z.ZodObject<{
|
|
|
127
136
|
model: z.ZodString;
|
|
128
137
|
provider: z.ZodOptional<z.ZodString>;
|
|
129
138
|
provider_account_id: z.ZodOptional<z.ZodString>;
|
|
139
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
130
140
|
list_price_date: z.ZodOptional<z.ZodString>;
|
|
131
141
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
132
142
|
effective_to: z.ZodOptional<z.ZodString>;
|
|
@@ -144,6 +154,7 @@ export declare const CostByDimensionSchema: z.ZodObject<{
|
|
|
144
154
|
dimension: z.ZodString;
|
|
145
155
|
label: z.ZodOptional<z.ZodString>;
|
|
146
156
|
provider: z.ZodOptional<z.ZodString>;
|
|
157
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
147
158
|
cost: z.ZodNumber;
|
|
148
159
|
input_tokens: z.ZodNumber;
|
|
149
160
|
cached_input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -165,6 +176,7 @@ export declare const ModelPriceComparisonResponseSchema: z.ZodObject<{
|
|
|
165
176
|
model: z.ZodString;
|
|
166
177
|
provider: z.ZodOptional<z.ZodString>;
|
|
167
178
|
provider_account_id: z.ZodOptional<z.ZodString>;
|
|
179
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
168
180
|
list_price_date: z.ZodOptional<z.ZodString>;
|
|
169
181
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
170
182
|
effective_to: z.ZodOptional<z.ZodString>;
|
|
@@ -198,6 +210,7 @@ export declare const CostAnalyticsResponseSchema: z.ZodObject<{
|
|
|
198
210
|
dimension: z.ZodString;
|
|
199
211
|
label: z.ZodOptional<z.ZodString>;
|
|
200
212
|
provider: z.ZodOptional<z.ZodString>;
|
|
213
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
201
214
|
cost: z.ZodNumber;
|
|
202
215
|
input_tokens: z.ZodNumber;
|
|
203
216
|
cached_input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -227,6 +240,7 @@ export declare const CostAnalyticsResponseSchema: z.ZodObject<{
|
|
|
227
240
|
model: z.ZodString;
|
|
228
241
|
provider: z.ZodOptional<z.ZodString>;
|
|
229
242
|
provider_account_id: z.ZodOptional<z.ZodString>;
|
|
243
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
230
244
|
input_price_per_m_tokens: z.ZodNumber;
|
|
231
245
|
cached_input_price_per_m_tokens: z.ZodOptional<z.ZodNumber>;
|
|
232
246
|
cache_write_input_price_per_m_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -237,6 +251,17 @@ export declare const CostAnalyticsResponseSchema: z.ZodObject<{
|
|
|
237
251
|
unavailable: "unavailable";
|
|
238
252
|
}>;
|
|
239
253
|
}, z.core.$strict>>;
|
|
254
|
+
pricing_coverage: z.ZodOptional<z.ZodObject<{
|
|
255
|
+
priced_calls: z.ZodNumber;
|
|
256
|
+
unpriced_calls: z.ZodNumber;
|
|
257
|
+
assumed_default_calls: z.ZodNumber;
|
|
258
|
+
unpriced: z.ZodArray<z.ZodObject<{
|
|
259
|
+
model: z.ZodString;
|
|
260
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
261
|
+
service_tier: z.ZodString;
|
|
262
|
+
calls: z.ZodNumber;
|
|
263
|
+
}, z.core.$strict>>;
|
|
264
|
+
}, z.core.$strict>>;
|
|
240
265
|
query_range: z.ZodObject<{
|
|
241
266
|
from: z.ZodString;
|
|
242
267
|
to: z.ZodString;
|
|
@@ -257,6 +282,7 @@ export declare const CostRunPriceResponseSchema: z.ZodObject<{
|
|
|
257
282
|
dimension: z.ZodString;
|
|
258
283
|
label: z.ZodOptional<z.ZodString>;
|
|
259
284
|
provider: z.ZodOptional<z.ZodString>;
|
|
285
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
260
286
|
cost: z.ZodNumber;
|
|
261
287
|
input_tokens: z.ZodNumber;
|
|
262
288
|
cached_input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -277,6 +303,7 @@ export declare const CostRunPriceResponseSchema: z.ZodObject<{
|
|
|
277
303
|
model: z.ZodString;
|
|
278
304
|
provider: z.ZodOptional<z.ZodString>;
|
|
279
305
|
provider_account_id: z.ZodOptional<z.ZodString>;
|
|
306
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
280
307
|
input_price_per_m_tokens: z.ZodNumber;
|
|
281
308
|
cached_input_price_per_m_tokens: z.ZodOptional<z.ZodNumber>;
|
|
282
309
|
cache_write_input_price_per_m_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -287,6 +314,17 @@ export declare const CostRunPriceResponseSchema: z.ZodObject<{
|
|
|
287
314
|
unavailable: "unavailable";
|
|
288
315
|
}>;
|
|
289
316
|
}, z.core.$strict>>>;
|
|
317
|
+
pricing_coverage: z.ZodOptional<z.ZodObject<{
|
|
318
|
+
priced_calls: z.ZodNumber;
|
|
319
|
+
unpriced_calls: z.ZodNumber;
|
|
320
|
+
assumed_default_calls: z.ZodNumber;
|
|
321
|
+
unpriced: z.ZodArray<z.ZodObject<{
|
|
322
|
+
model: z.ZodString;
|
|
323
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
324
|
+
service_tier: z.ZodString;
|
|
325
|
+
calls: z.ZodNumber;
|
|
326
|
+
}, z.core.$strict>>;
|
|
327
|
+
}, z.core.$strict>>;
|
|
290
328
|
query_range: z.ZodOptional<z.ZodObject<{
|
|
291
329
|
from: z.ZodString;
|
|
292
330
|
to: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cost-analytics.d.ts","sourceRoot":"","sources":["../../src/api-schemas/cost-analytics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,wBAAwB;;;kBAKE,CAAC;AAExC,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"cost-analytics.d.ts","sourceRoot":"","sources":["../../src/api-schemas/cost-analytics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,wBAAwB;;;kBAKE,CAAC;AAExC,eAAO,MAAM,0BAA0B;;;;;;;;kBAUE,CAAC;AAE1C,eAAO,MAAM,uBAAuB;;;;;;;;;;;kBAKE,CAAC;AAEvC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAqDE,CAAC;AAExC,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;kBA0BE,CAAC;AAEvC,eAAO,MAAM,0BAA0B;;;iBAKE,CAAC;AAE1C,eAAO,MAAM,qBAAqB;;;;;;;;;iBAWE,CAAC;AAErC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;kBAYE,CAAC;AAElC,eAAO,MAAM,yBAAyB;;;;;;;;kBAUE,CAAC;AAEzC,eAAO,MAAM,iBAAiB;;;;;;;;kBAUE,CAAC;AAEjC,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;kBAmBE,CAAC;AAE1C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;kBAcE,CAAC;AAgBrC,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;kBASE,CAAC;AAElD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAaE,CAAC;AAE3C,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAeE,CAAC"}
|
|
@@ -16,6 +16,9 @@ export const PricingSyncDayResultSchema = z
|
|
|
16
16
|
gcp_list: z.number(),
|
|
17
17
|
gcp_effective: z.number(),
|
|
18
18
|
aws_pricing: z.number(),
|
|
19
|
+
xai_pricing: z.number(),
|
|
20
|
+
openrouter_pricing: z.number(),
|
|
21
|
+
openai_costs: z.number(),
|
|
19
22
|
})
|
|
20
23
|
.meta({ id: 'PricingSyncDayResult' });
|
|
21
24
|
export const PricingSyncResultSchema = z
|
|
@@ -29,13 +32,24 @@ export const CostAnalyticsQuerySchema = z
|
|
|
29
32
|
from: timeBoundarySchema.meta({ description: 'Start time (ISO string or epoch ms)' }).optional(),
|
|
30
33
|
to: timeBoundarySchema.meta({ description: 'End time (ISO string or epoch ms)' }).optional(),
|
|
31
34
|
group_by: z
|
|
32
|
-
.enum([
|
|
35
|
+
.enum([
|
|
36
|
+
'model',
|
|
37
|
+
'environment',
|
|
38
|
+
'account',
|
|
39
|
+
'project',
|
|
40
|
+
'project_tag',
|
|
41
|
+
'provider',
|
|
42
|
+
'service_tier',
|
|
43
|
+
'interaction',
|
|
44
|
+
'workflow',
|
|
45
|
+
])
|
|
33
46
|
.meta({ description: 'Group results by this dimension' })
|
|
34
47
|
.optional(),
|
|
35
48
|
resolution: z.enum(['hour', 'day', 'week', 'month']).meta({ description: 'Time series resolution' }).optional(),
|
|
36
49
|
model: z.string().meta({ description: 'Filter by model pattern' }).optional(),
|
|
37
50
|
environment_id: z.string().meta({ description: 'Filter by environment ID' }).optional(),
|
|
38
51
|
provider: z.string().meta({ description: 'Filter by provider' }).optional(),
|
|
52
|
+
service_tier: z.string().meta({ description: 'Filter by resolved processing tier' }).optional(),
|
|
39
53
|
project_id: z.string().meta({ description: 'Filter by project ID (optional, for org scope)' }).optional(),
|
|
40
54
|
workflow_id: z.string().meta({ description: 'Filter by workflow / agent run ID' }).optional(),
|
|
41
55
|
workflow_run_id: z.string().meta({ description: 'Filter by Temporal workflow run ID' }).optional(),
|
|
@@ -115,6 +129,7 @@ export const ModelPricingSchema = z
|
|
|
115
129
|
model: z.string(),
|
|
116
130
|
provider: z.string().optional(),
|
|
117
131
|
provider_account_id: z.string().optional(),
|
|
132
|
+
service_tier: z.string().meta({ description: 'Processing tier this price applies to' }).optional(),
|
|
118
133
|
input_price_per_m_tokens: z.number(),
|
|
119
134
|
cached_input_price_per_m_tokens: z.number().optional(),
|
|
120
135
|
cache_write_input_price_per_m_tokens: z.number().optional(),
|
|
@@ -149,6 +164,7 @@ export const ModelPriceComparisonSchema = z
|
|
|
149
164
|
model: z.string(),
|
|
150
165
|
provider: z.string().optional(),
|
|
151
166
|
provider_account_id: z.string().optional(),
|
|
167
|
+
service_tier: z.string().meta({ description: 'Processing tier this price applies to' }).optional(),
|
|
152
168
|
list_price_date: z.string().optional(),
|
|
153
169
|
effective_from: z.string().optional(),
|
|
154
170
|
effective_to: z.string().optional(),
|
|
@@ -168,6 +184,7 @@ export const CostByDimensionSchema = z
|
|
|
168
184
|
dimension: z.string(),
|
|
169
185
|
label: z.string().optional(),
|
|
170
186
|
provider: z.string().optional(),
|
|
187
|
+
service_tier: z.string().optional(),
|
|
171
188
|
cost: z.number(),
|
|
172
189
|
input_tokens: z.number(),
|
|
173
190
|
cached_input_tokens: z.number().optional(),
|
|
@@ -177,6 +194,17 @@ export const CostByDimensionSchema = z
|
|
|
177
194
|
periods: z.array(CostTimeSeriesPointSchema).optional(),
|
|
178
195
|
})
|
|
179
196
|
.meta({ id: 'CostByDimension' });
|
|
197
|
+
const PricingCoverageSchema = z.strictObject({
|
|
198
|
+
priced_calls: z.number(),
|
|
199
|
+
unpriced_calls: z.number(),
|
|
200
|
+
assumed_default_calls: z.number(),
|
|
201
|
+
unpriced: z.array(z.strictObject({
|
|
202
|
+
model: z.string(),
|
|
203
|
+
provider: z.string().optional(),
|
|
204
|
+
service_tier: z.string(),
|
|
205
|
+
calls: z.number(),
|
|
206
|
+
})),
|
|
207
|
+
});
|
|
180
208
|
export const ModelPriceComparisonResponseSchema = z
|
|
181
209
|
.strictObject({
|
|
182
210
|
prices: z.array(ModelPriceComparisonSchema),
|
|
@@ -193,6 +221,7 @@ export const CostAnalyticsResponseSchema = z
|
|
|
193
221
|
by_dimension: z.array(CostByDimensionSchema),
|
|
194
222
|
time_series: z.array(CostTimeSeriesPointSchema),
|
|
195
223
|
pricing: z.array(ModelPricingSchema),
|
|
224
|
+
pricing_coverage: PricingCoverageSchema.optional(),
|
|
196
225
|
query_range: z.strictObject({
|
|
197
226
|
from: z.string(),
|
|
198
227
|
to: z.string(),
|
|
@@ -205,6 +234,7 @@ export const CostRunPriceResponseSchema = z
|
|
|
205
234
|
summary: CostSummarySchema,
|
|
206
235
|
by_model: z.array(CostByDimensionSchema),
|
|
207
236
|
pricing: z.array(ModelPricingSchema).optional(),
|
|
237
|
+
pricing_coverage: PricingCoverageSchema.optional(),
|
|
208
238
|
query_range: z
|
|
209
239
|
.strictObject({
|
|
210
240
|
from: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cost-analytics.js","sourceRoot":"","sources":["../../src/api-schemas/cost-analytics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,+FAA+F;AAC/F,oGAAoG;AACpG,+FAA+F;AAC/F,UAAU;AACV,MAAM,kBAAkB,GAA+B,CAAC,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC;AAEpG,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACpC,YAAY,CAAC;IACV,IAA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E;IAC/C,gBAAgB,EAAE,qBAAqB,CAAC,QAAQ,EAAE;IAClD,WAAW,EAAE,CAAC;SACT,YAAY,CAAC;QACV,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;KACjB,CAAC;SACD,QAAQ,EAAE;IACf,cAAc,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAC9C,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC7B,CAAC;KACD,IAAI,CAAC,EAAE,EAAE,EAAE,sBAAsB,EAAE,CAAC,CAAC"}
|
|
@@ -138,6 +138,7 @@ export declare const StreamingOptionsSchema: z.ZodObject<{
|
|
|
138
138
|
}, z.core.$strict>;
|
|
139
139
|
export declare const TemplateTypeSchema: z.ZodEnum<typeof TemplateType>;
|
|
140
140
|
export declare const ExecutionRunWorkflowSchema: z.ZodObject<{
|
|
141
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
141
142
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
142
143
|
run_id: z.ZodString;
|
|
143
144
|
workflow_id: z.ZodString;
|
|
@@ -8478,6 +8479,7 @@ export declare const InteractionExecutionResultSchema: z.ZodObject<{
|
|
|
8478
8479
|
created_by: z.ZodString;
|
|
8479
8480
|
updated_by: z.ZodString;
|
|
8480
8481
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
8482
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
8481
8483
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
8482
8484
|
run_id: z.ZodString;
|
|
8483
8485
|
workflow_id: z.ZodString;
|
|
@@ -9770,6 +9772,7 @@ export declare const PopulatedExecutionRunResultSchema: z.ZodObject<{
|
|
|
9770
9772
|
created_by: z.ZodString;
|
|
9771
9773
|
updated_by: z.ZodString;
|
|
9772
9774
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
9775
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
9773
9776
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
9774
9777
|
run_id: z.ZodString;
|
|
9775
9778
|
workflow_id: z.ZodString;
|
|
@@ -11057,6 +11060,7 @@ export declare const FindRunResultSchema: z.ZodObject<{
|
|
|
11057
11060
|
created_by: z.ZodOptional<z.ZodString>;
|
|
11058
11061
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
11059
11062
|
workflow: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
11063
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
11060
11064
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
11061
11065
|
run_id: z.ZodString;
|
|
11062
11066
|
workflow_id: z.ZodString;
|
|
@@ -11724,6 +11728,7 @@ export declare const FindRunResultArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
11724
11728
|
created_by: z.ZodOptional<z.ZodString>;
|
|
11725
11729
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
11726
11730
|
workflow: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
11731
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
11727
11732
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
11728
11733
|
run_id: z.ZodString;
|
|
11729
11734
|
workflow_id: z.ZodString;
|
|
@@ -12425,6 +12430,7 @@ export declare const LegacyExecutionRunResultSchema: z.ZodObject<{
|
|
|
12425
12430
|
created_by: z.ZodString;
|
|
12426
12431
|
updated_by: z.ZodString;
|
|
12427
12432
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
12433
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
12428
12434
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
12429
12435
|
run_id: z.ZodString;
|
|
12430
12436
|
workflow_id: z.ZodString;
|
|
@@ -13692,6 +13698,7 @@ export declare const LegacyPopulatedExecutionRunResultSchema: z.ZodObject<{
|
|
|
13692
13698
|
created_by: z.ZodString;
|
|
13693
13699
|
updated_by: z.ZodString;
|
|
13694
13700
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
13701
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
13695
13702
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
13696
13703
|
run_id: z.ZodString;
|
|
13697
13704
|
workflow_id: z.ZodString;
|
|
@@ -15019,6 +15026,7 @@ export declare const ExecutionRunRefSchema: z.ZodObject<{
|
|
|
15019
15026
|
created_by: z.ZodString;
|
|
15020
15027
|
updated_by: z.ZodString;
|
|
15021
15028
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
15029
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
15022
15030
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
15023
15031
|
run_id: z.ZodString;
|
|
15024
15032
|
workflow_id: z.ZodString;
|
|
@@ -16588,6 +16596,7 @@ export declare const UpdateExecutionRunPayloadSchema: z.ZodObject<{
|
|
|
16588
16596
|
created_by: z.ZodOptional<z.ZodString>;
|
|
16589
16597
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
16590
16598
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
16599
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
16591
16600
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
16592
16601
|
run_id: z.ZodString;
|
|
16593
16602
|
workflow_id: z.ZodString;
|
|
@@ -17346,6 +17355,7 @@ export declare const ExecutionRunRefArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
17346
17355
|
created_by: z.ZodString;
|
|
17347
17356
|
updated_by: z.ZodString;
|
|
17348
17357
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
17358
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
17349
17359
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
17350
17360
|
run_id: z.ZodString;
|
|
17351
17361
|
workflow_id: z.ZodString;
|
|
@@ -18814,6 +18824,7 @@ export declare const NamedInteractionExecutionPayloadSchema: z.ZodObject<{
|
|
|
18814
18824
|
input_schema: z.ZodObject<{}, z.core.$loose>;
|
|
18815
18825
|
}, z.core.$strict>>>;
|
|
18816
18826
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
18827
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
18817
18828
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
18818
18829
|
run_id: z.ZodString;
|
|
18819
18830
|
workflow_id: z.ZodString;
|
|
@@ -20222,6 +20233,7 @@ export declare const InteractionExecutionPayloadSchema: z.ZodObject<{
|
|
|
20222
20233
|
input_schema: z.ZodObject<{}, z.core.$loose>;
|
|
20223
20234
|
}, z.core.$strict>>>;
|
|
20224
20235
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
20236
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
20225
20237
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
20226
20238
|
run_id: z.ZodString;
|
|
20227
20239
|
workflow_id: z.ZodString;
|
|
@@ -21624,6 +21636,7 @@ export declare const AsyncInteractionExecutionPayloadSchema: z.ZodObject<{
|
|
|
21624
21636
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21625
21637
|
conversation: z.ZodOptional<z.ZodUnknown>;
|
|
21626
21638
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
21639
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
21627
21640
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
21628
21641
|
run_id: z.ZodString;
|
|
21629
21642
|
workflow_id: z.ZodString;
|
|
@@ -23041,6 +23054,7 @@ export declare const AsyncConversationExecutionPayloadSchema: z.ZodObject<{
|
|
|
23041
23054
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23042
23055
|
conversation: z.ZodOptional<z.ZodUnknown>;
|
|
23043
23056
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
23057
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
23044
23058
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
23045
23059
|
run_id: z.ZodString;
|
|
23046
23060
|
workflow_id: z.ZodString;
|
|
@@ -24509,6 +24523,7 @@ export declare const RunCreatePayloadSchema: z.ZodObject<{
|
|
|
24509
24523
|
input_schema: z.ZodObject<{}, z.core.$loose>;
|
|
24510
24524
|
}, z.core.$strict>>>;
|
|
24511
24525
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
24526
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
24512
24527
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
24513
24528
|
run_id: z.ZodString;
|
|
24514
24529
|
workflow_id: z.ZodString;
|
|
@@ -25917,6 +25932,7 @@ export declare const AsyncExecutionPayloadSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
25917
25932
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25918
25933
|
conversation: z.ZodOptional<z.ZodUnknown>;
|
|
25919
25934
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
25935
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
25920
25936
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
25921
25937
|
run_id: z.ZodString;
|
|
25922
25938
|
workflow_id: z.ZodString;
|
|
@@ -27379,6 +27395,7 @@ export declare const AsyncExecutionPayloadSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
27379
27395
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27380
27396
|
conversation: z.ZodOptional<z.ZodUnknown>;
|
|
27381
27397
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
27398
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
27382
27399
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
27383
27400
|
run_id: z.ZodString;
|
|
27384
27401
|
workflow_id: z.ZodString;
|
|
@@ -31162,6 +31179,7 @@ export declare const ExecutionResponseSchema: z.ZodObject<{
|
|
|
31162
31179
|
wait_latency_ms: z.ZodOptional<z.ZodNumber>;
|
|
31163
31180
|
provider_status: z.ZodOptional<z.ZodNumber>;
|
|
31164
31181
|
}, z.core.$strict>>;
|
|
31182
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
31165
31183
|
tool_use: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31166
31184
|
id: z.ZodString;
|
|
31167
31185
|
tool_name: z.ZodString;
|
|
@@ -31299,6 +31317,7 @@ export declare const RunClonePayloadSchema: z.ZodObject<{
|
|
|
31299
31317
|
workflow: z.ZodObject<{
|
|
31300
31318
|
run_id: z.ZodString;
|
|
31301
31319
|
workflow_id: z.ZodString;
|
|
31320
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
31302
31321
|
}, z.core.$strict>;
|
|
31303
31322
|
}, z.core.$strict>;
|
|
31304
31323
|
//# sourceMappingURL=interaction.d.ts.map
|