@ancplua/qyl-api-schema 1.0.2 → 1.0.3
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/api/routes.tsp +0 -53
- package/generated/json-schema/qyl-api-schema.json +0 -1950
- package/generated/openapi/qyl.openapi.json +93 -2316
- package/generated/otel-keys.gen.tsp +1 -1
- package/generated/ts-runtime/api.d.ts +0 -432
- package/generated/ts-runtime/api.js +0 -144
- package/index.tsp +0 -1
- package/package.json +2 -3
- package/models/cost-etl-audit.tsp +0 -982
|
@@ -50,9 +50,6 @@
|
|
|
50
50
|
{
|
|
51
51
|
"name": "Sessions"
|
|
52
52
|
},
|
|
53
|
-
{
|
|
54
|
-
"name": "GenAI cost"
|
|
55
|
-
},
|
|
56
53
|
{
|
|
57
54
|
"name": "Health"
|
|
58
55
|
}
|
|
@@ -89,168 +86,62 @@
|
|
|
89
86
|
]
|
|
90
87
|
}
|
|
91
88
|
},
|
|
92
|
-
"/api/v1/
|
|
89
|
+
"/api/v1/logs": {
|
|
93
90
|
"get": {
|
|
94
|
-
"operationId": "
|
|
91
|
+
"operationId": "LogsApi_list",
|
|
95
92
|
"parameters": [
|
|
96
93
|
{
|
|
97
94
|
"$ref": "#/components/parameters/ProjectScopeHeader"
|
|
98
95
|
},
|
|
99
96
|
{
|
|
100
|
-
"name": "
|
|
97
|
+
"name": "sessionId",
|
|
101
98
|
"in": "query",
|
|
102
99
|
"required": false,
|
|
103
|
-
"description": "Optional audit-period start. Omitted dates select the previous 30 completed UTC days; an explicit range may not exceed 180 days.",
|
|
104
100
|
"schema": {
|
|
105
|
-
"
|
|
106
|
-
"format": "date-time"
|
|
101
|
+
"$ref": "#/components/schemas/Common.SessionId"
|
|
107
102
|
},
|
|
108
103
|
"explode": false
|
|
109
104
|
},
|
|
110
105
|
{
|
|
111
|
-
"name": "
|
|
106
|
+
"name": "serviceName",
|
|
112
107
|
"in": "query",
|
|
113
108
|
"required": false,
|
|
114
|
-
"description": "Optional audit-period end. Omitted dates select the previous 30 completed UTC days; an explicit range may not exceed 180 days.",
|
|
115
109
|
"schema": {
|
|
116
|
-
"type": "string"
|
|
117
|
-
"format": "date-time"
|
|
110
|
+
"type": "string"
|
|
118
111
|
},
|
|
119
112
|
"explode": false
|
|
120
113
|
},
|
|
121
114
|
{
|
|
122
|
-
"name": "
|
|
115
|
+
"name": "level",
|
|
123
116
|
"in": "query",
|
|
124
117
|
"required": false,
|
|
125
118
|
"schema": {
|
|
126
|
-
"type": "
|
|
127
|
-
"format": "int32",
|
|
128
|
-
"minimum": 1,
|
|
129
|
-
"maximum": 100,
|
|
130
|
-
"default": 25
|
|
119
|
+
"type": "string"
|
|
131
120
|
},
|
|
132
121
|
"explode": false
|
|
133
|
-
}
|
|
134
|
-
],
|
|
135
|
-
"responses": {
|
|
136
|
-
"200": {
|
|
137
|
-
"description": "The request has succeeded.",
|
|
138
|
-
"content": {
|
|
139
|
-
"application/json": {
|
|
140
|
-
"schema": {
|
|
141
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlAuditReport"
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
"400": {
|
|
147
|
-
"description": "Bad request - validation failed (400)",
|
|
148
|
-
"headers": {
|
|
149
|
-
"X-Trace-Id": {
|
|
150
|
-
"required": false,
|
|
151
|
-
"description": "Trace ID for correlation",
|
|
152
|
-
"schema": {
|
|
153
|
-
"type": "string"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"X-Request-Id": {
|
|
157
|
-
"required": false,
|
|
158
|
-
"description": "Request ID for support",
|
|
159
|
-
"schema": {
|
|
160
|
-
"type": "string"
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
"content": {
|
|
165
|
-
"application/problem+json": {
|
|
166
|
-
"schema": {
|
|
167
|
-
"$ref": "#/components/schemas/Common.Errors.ValidationError"
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
122
|
},
|
|
172
|
-
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
"schema": {
|
|
179
|
-
"type": "string"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
"X-Trace-Id": {
|
|
183
|
-
"required": false,
|
|
184
|
-
"description": "Trace ID for correlation",
|
|
185
|
-
"schema": {
|
|
186
|
-
"type": "string"
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"X-Request-Id": {
|
|
190
|
-
"required": false,
|
|
191
|
-
"description": "Request ID for support",
|
|
192
|
-
"schema": {
|
|
193
|
-
"type": "string"
|
|
194
|
-
}
|
|
195
|
-
}
|
|
123
|
+
{
|
|
124
|
+
"name": "severityMin",
|
|
125
|
+
"in": "query",
|
|
126
|
+
"required": false,
|
|
127
|
+
"schema": {
|
|
128
|
+
"$ref": "#/components/schemas/OTel.Enums.SeverityNumber"
|
|
196
129
|
},
|
|
197
|
-
"
|
|
198
|
-
"application/problem+json": {
|
|
199
|
-
"schema": {
|
|
200
|
-
"$ref": "#/components/schemas/Common.Errors.UnauthorizedError"
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
130
|
+
"explode": false
|
|
204
131
|
},
|
|
205
|
-
"500": {
|
|
206
|
-
"description": "Internal server error (500)",
|
|
207
|
-
"headers": {
|
|
208
|
-
"X-Trace-Id": {
|
|
209
|
-
"required": false,
|
|
210
|
-
"description": "Trace ID for correlation",
|
|
211
|
-
"schema": {
|
|
212
|
-
"type": "string"
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
"X-Request-Id": {
|
|
216
|
-
"required": false,
|
|
217
|
-
"description": "Request ID for support",
|
|
218
|
-
"schema": {
|
|
219
|
-
"type": "string"
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
"content": {
|
|
224
|
-
"application/problem+json": {
|
|
225
|
-
"schema": {
|
|
226
|
-
"$ref": "#/components/schemas/Common.Errors.InternalServerError"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
"tags": [
|
|
233
|
-
"GenAI cost"
|
|
234
|
-
],
|
|
235
|
-
"security": [
|
|
236
|
-
{
|
|
237
|
-
"ApiKeyAuth": []
|
|
238
|
-
}
|
|
239
|
-
]
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
"/api/v1/cost/etl-audit/evaluate": {
|
|
243
|
-
"post": {
|
|
244
|
-
"operationId": "GenAiEtlAuditApi_evaluate",
|
|
245
|
-
"parameters": [
|
|
246
132
|
{
|
|
247
|
-
"
|
|
133
|
+
"name": "traceId",
|
|
134
|
+
"in": "query",
|
|
135
|
+
"required": false,
|
|
136
|
+
"schema": {
|
|
137
|
+
"$ref": "#/components/schemas/Common.TraceId"
|
|
138
|
+
},
|
|
139
|
+
"explode": false
|
|
248
140
|
},
|
|
249
141
|
{
|
|
250
142
|
"name": "startTime",
|
|
251
143
|
"in": "query",
|
|
252
144
|
"required": false,
|
|
253
|
-
"description": "Optional audit-period start. Omitted dates select the previous 30 completed UTC days; an explicit range may not exceed 180 days.",
|
|
254
145
|
"schema": {
|
|
255
146
|
"type": "string",
|
|
256
147
|
"format": "date-time"
|
|
@@ -261,12 +152,33 @@
|
|
|
261
152
|
"name": "endTime",
|
|
262
153
|
"in": "query",
|
|
263
154
|
"required": false,
|
|
264
|
-
"description": "Optional audit-period end. Omitted dates select the previous 30 completed UTC days; an explicit range may not exceed 180 days.",
|
|
265
155
|
"schema": {
|
|
266
156
|
"type": "string",
|
|
267
157
|
"format": "date-time"
|
|
268
158
|
},
|
|
269
159
|
"explode": false
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "query",
|
|
163
|
+
"in": "query",
|
|
164
|
+
"required": false,
|
|
165
|
+
"schema": {
|
|
166
|
+
"type": "string"
|
|
167
|
+
},
|
|
168
|
+
"explode": false
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "limit",
|
|
172
|
+
"in": "query",
|
|
173
|
+
"required": false,
|
|
174
|
+
"schema": {
|
|
175
|
+
"type": "integer",
|
|
176
|
+
"format": "int32",
|
|
177
|
+
"minimum": 1,
|
|
178
|
+
"maximum": 10000,
|
|
179
|
+
"default": 100
|
|
180
|
+
},
|
|
181
|
+
"explode": false
|
|
270
182
|
}
|
|
271
183
|
],
|
|
272
184
|
"responses": {
|
|
@@ -275,7 +187,36 @@
|
|
|
275
187
|
"content": {
|
|
276
188
|
"application/json": {
|
|
277
189
|
"schema": {
|
|
278
|
-
"
|
|
190
|
+
"type": "object",
|
|
191
|
+
"required": [
|
|
192
|
+
"items",
|
|
193
|
+
"has_more"
|
|
194
|
+
],
|
|
195
|
+
"properties": {
|
|
196
|
+
"items": {
|
|
197
|
+
"type": "array",
|
|
198
|
+
"items": {
|
|
199
|
+
"$ref": "#/components/schemas/OTel.Logs.LogRecord"
|
|
200
|
+
},
|
|
201
|
+
"description": "List of items in this page"
|
|
202
|
+
},
|
|
203
|
+
"next_cursor": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"description": "Cursor for the next page (null if no more pages)"
|
|
206
|
+
},
|
|
207
|
+
"prev_cursor": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"description": "Cursor for the previous page (null if first page)"
|
|
210
|
+
},
|
|
211
|
+
"has_more": {
|
|
212
|
+
"type": "boolean",
|
|
213
|
+
"description": "Whether there are more items available"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"unevaluatedProperties": {
|
|
217
|
+
"not": {}
|
|
218
|
+
},
|
|
219
|
+
"description": "Cursor-based paginated response wrapper"
|
|
279
220
|
}
|
|
280
221
|
}
|
|
281
222
|
}
|
|
@@ -367,18 +308,8 @@
|
|
|
367
308
|
}
|
|
368
309
|
},
|
|
369
310
|
"tags": [
|
|
370
|
-
"
|
|
311
|
+
"Logs"
|
|
371
312
|
],
|
|
372
|
-
"requestBody": {
|
|
373
|
-
"required": true,
|
|
374
|
-
"content": {
|
|
375
|
-
"application/json": {
|
|
376
|
-
"schema": {
|
|
377
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlAuditEvaluationRequest"
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
},
|
|
382
313
|
"security": [
|
|
383
314
|
{
|
|
384
315
|
"ApiKeyAuth": []
|
|
@@ -386,33 +317,16 @@
|
|
|
386
317
|
]
|
|
387
318
|
}
|
|
388
319
|
},
|
|
389
|
-
"/api/v1/
|
|
320
|
+
"/api/v1/metrics": {
|
|
390
321
|
"get": {
|
|
391
|
-
"operationId": "
|
|
322
|
+
"operationId": "MetricsApi_list",
|
|
323
|
+
"description": "List persisted OTLP metric data points without re-aggregating producer values.",
|
|
392
324
|
"parameters": [
|
|
393
325
|
{
|
|
394
326
|
"$ref": "#/components/parameters/ProjectScopeHeader"
|
|
395
327
|
},
|
|
396
328
|
{
|
|
397
|
-
"name": "
|
|
398
|
-
"in": "query",
|
|
399
|
-
"required": false,
|
|
400
|
-
"schema": {
|
|
401
|
-
"$ref": "#/components/schemas/Common.SessionId"
|
|
402
|
-
},
|
|
403
|
-
"explode": false
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"name": "serviceName",
|
|
407
|
-
"in": "query",
|
|
408
|
-
"required": false,
|
|
409
|
-
"schema": {
|
|
410
|
-
"type": "string"
|
|
411
|
-
},
|
|
412
|
-
"explode": false
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
"name": "level",
|
|
329
|
+
"name": "name",
|
|
416
330
|
"in": "query",
|
|
417
331
|
"required": false,
|
|
418
332
|
"schema": {
|
|
@@ -421,20 +335,20 @@
|
|
|
421
335
|
"explode": false
|
|
422
336
|
},
|
|
423
337
|
{
|
|
424
|
-
"name": "
|
|
338
|
+
"name": "type",
|
|
425
339
|
"in": "query",
|
|
426
340
|
"required": false,
|
|
427
341
|
"schema": {
|
|
428
|
-
"$ref": "#/components/schemas/OTel.Enums.
|
|
342
|
+
"$ref": "#/components/schemas/OTel.Enums.MetricType"
|
|
429
343
|
},
|
|
430
344
|
"explode": false
|
|
431
345
|
},
|
|
432
346
|
{
|
|
433
|
-
"name": "
|
|
347
|
+
"name": "serviceName",
|
|
434
348
|
"in": "query",
|
|
435
349
|
"required": false,
|
|
436
350
|
"schema": {
|
|
437
|
-
"
|
|
351
|
+
"type": "string"
|
|
438
352
|
},
|
|
439
353
|
"explode": false
|
|
440
354
|
},
|
|
@@ -459,24 +373,24 @@
|
|
|
459
373
|
"explode": false
|
|
460
374
|
},
|
|
461
375
|
{
|
|
462
|
-
"name": "
|
|
376
|
+
"name": "limit",
|
|
463
377
|
"in": "query",
|
|
464
378
|
"required": false,
|
|
465
379
|
"schema": {
|
|
466
|
-
"type": "
|
|
380
|
+
"type": "integer",
|
|
381
|
+
"format": "int32",
|
|
382
|
+
"minimum": 1,
|
|
383
|
+
"maximum": 1000,
|
|
384
|
+
"default": 100
|
|
467
385
|
},
|
|
468
386
|
"explode": false
|
|
469
387
|
},
|
|
470
388
|
{
|
|
471
|
-
"name": "
|
|
389
|
+
"name": "cursor",
|
|
472
390
|
"in": "query",
|
|
473
391
|
"required": false,
|
|
474
392
|
"schema": {
|
|
475
|
-
"type": "
|
|
476
|
-
"format": "int32",
|
|
477
|
-
"minimum": 1,
|
|
478
|
-
"maximum": 10000,
|
|
479
|
-
"default": 100
|
|
393
|
+
"type": "string"
|
|
480
394
|
},
|
|
481
395
|
"explode": false
|
|
482
396
|
}
|
|
@@ -496,7 +410,7 @@
|
|
|
496
410
|
"items": {
|
|
497
411
|
"type": "array",
|
|
498
412
|
"items": {
|
|
499
|
-
"$ref": "#/components/schemas/OTel.
|
|
413
|
+
"$ref": "#/components/schemas/OTel.Metrics.MetricPoint"
|
|
500
414
|
},
|
|
501
415
|
"description": "List of items in this page"
|
|
502
416
|
},
|
|
@@ -608,221 +522,7 @@
|
|
|
608
522
|
}
|
|
609
523
|
},
|
|
610
524
|
"tags": [
|
|
611
|
-
"
|
|
612
|
-
],
|
|
613
|
-
"security": [
|
|
614
|
-
{
|
|
615
|
-
"ApiKeyAuth": []
|
|
616
|
-
}
|
|
617
|
-
]
|
|
618
|
-
}
|
|
619
|
-
},
|
|
620
|
-
"/api/v1/metrics": {
|
|
621
|
-
"get": {
|
|
622
|
-
"operationId": "MetricsApi_list",
|
|
623
|
-
"description": "List persisted OTLP metric data points without re-aggregating producer values.",
|
|
624
|
-
"parameters": [
|
|
625
|
-
{
|
|
626
|
-
"$ref": "#/components/parameters/ProjectScopeHeader"
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
"name": "name",
|
|
630
|
-
"in": "query",
|
|
631
|
-
"required": false,
|
|
632
|
-
"schema": {
|
|
633
|
-
"type": "string"
|
|
634
|
-
},
|
|
635
|
-
"explode": false
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
"name": "type",
|
|
639
|
-
"in": "query",
|
|
640
|
-
"required": false,
|
|
641
|
-
"schema": {
|
|
642
|
-
"$ref": "#/components/schemas/OTel.Enums.MetricType"
|
|
643
|
-
},
|
|
644
|
-
"explode": false
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
"name": "serviceName",
|
|
648
|
-
"in": "query",
|
|
649
|
-
"required": false,
|
|
650
|
-
"schema": {
|
|
651
|
-
"type": "string"
|
|
652
|
-
},
|
|
653
|
-
"explode": false
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
"name": "startTime",
|
|
657
|
-
"in": "query",
|
|
658
|
-
"required": false,
|
|
659
|
-
"schema": {
|
|
660
|
-
"type": "string",
|
|
661
|
-
"format": "date-time"
|
|
662
|
-
},
|
|
663
|
-
"explode": false
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
"name": "endTime",
|
|
667
|
-
"in": "query",
|
|
668
|
-
"required": false,
|
|
669
|
-
"schema": {
|
|
670
|
-
"type": "string",
|
|
671
|
-
"format": "date-time"
|
|
672
|
-
},
|
|
673
|
-
"explode": false
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
"name": "limit",
|
|
677
|
-
"in": "query",
|
|
678
|
-
"required": false,
|
|
679
|
-
"schema": {
|
|
680
|
-
"type": "integer",
|
|
681
|
-
"format": "int32",
|
|
682
|
-
"minimum": 1,
|
|
683
|
-
"maximum": 1000,
|
|
684
|
-
"default": 100
|
|
685
|
-
},
|
|
686
|
-
"explode": false
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
"name": "cursor",
|
|
690
|
-
"in": "query",
|
|
691
|
-
"required": false,
|
|
692
|
-
"schema": {
|
|
693
|
-
"type": "string"
|
|
694
|
-
},
|
|
695
|
-
"explode": false
|
|
696
|
-
}
|
|
697
|
-
],
|
|
698
|
-
"responses": {
|
|
699
|
-
"200": {
|
|
700
|
-
"description": "The request has succeeded.",
|
|
701
|
-
"content": {
|
|
702
|
-
"application/json": {
|
|
703
|
-
"schema": {
|
|
704
|
-
"type": "object",
|
|
705
|
-
"required": [
|
|
706
|
-
"items",
|
|
707
|
-
"has_more"
|
|
708
|
-
],
|
|
709
|
-
"properties": {
|
|
710
|
-
"items": {
|
|
711
|
-
"type": "array",
|
|
712
|
-
"items": {
|
|
713
|
-
"$ref": "#/components/schemas/OTel.Metrics.MetricPoint"
|
|
714
|
-
},
|
|
715
|
-
"description": "List of items in this page"
|
|
716
|
-
},
|
|
717
|
-
"next_cursor": {
|
|
718
|
-
"type": "string",
|
|
719
|
-
"description": "Cursor for the next page (null if no more pages)"
|
|
720
|
-
},
|
|
721
|
-
"prev_cursor": {
|
|
722
|
-
"type": "string",
|
|
723
|
-
"description": "Cursor for the previous page (null if first page)"
|
|
724
|
-
},
|
|
725
|
-
"has_more": {
|
|
726
|
-
"type": "boolean",
|
|
727
|
-
"description": "Whether there are more items available"
|
|
728
|
-
}
|
|
729
|
-
},
|
|
730
|
-
"unevaluatedProperties": {
|
|
731
|
-
"not": {}
|
|
732
|
-
},
|
|
733
|
-
"description": "Cursor-based paginated response wrapper"
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
},
|
|
738
|
-
"400": {
|
|
739
|
-
"description": "Bad request - validation failed (400)",
|
|
740
|
-
"headers": {
|
|
741
|
-
"X-Trace-Id": {
|
|
742
|
-
"required": false,
|
|
743
|
-
"description": "Trace ID for correlation",
|
|
744
|
-
"schema": {
|
|
745
|
-
"type": "string"
|
|
746
|
-
}
|
|
747
|
-
},
|
|
748
|
-
"X-Request-Id": {
|
|
749
|
-
"required": false,
|
|
750
|
-
"description": "Request ID for support",
|
|
751
|
-
"schema": {
|
|
752
|
-
"type": "string"
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
},
|
|
756
|
-
"content": {
|
|
757
|
-
"application/problem+json": {
|
|
758
|
-
"schema": {
|
|
759
|
-
"$ref": "#/components/schemas/Common.Errors.ValidationError"
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
},
|
|
764
|
-
"401": {
|
|
765
|
-
"description": "Unauthorized - authentication required (401)",
|
|
766
|
-
"headers": {
|
|
767
|
-
"WWW-Authenticate": {
|
|
768
|
-
"required": false,
|
|
769
|
-
"description": "Authentication scheme expected",
|
|
770
|
-
"schema": {
|
|
771
|
-
"type": "string"
|
|
772
|
-
}
|
|
773
|
-
},
|
|
774
|
-
"X-Trace-Id": {
|
|
775
|
-
"required": false,
|
|
776
|
-
"description": "Trace ID for correlation",
|
|
777
|
-
"schema": {
|
|
778
|
-
"type": "string"
|
|
779
|
-
}
|
|
780
|
-
},
|
|
781
|
-
"X-Request-Id": {
|
|
782
|
-
"required": false,
|
|
783
|
-
"description": "Request ID for support",
|
|
784
|
-
"schema": {
|
|
785
|
-
"type": "string"
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
},
|
|
789
|
-
"content": {
|
|
790
|
-
"application/problem+json": {
|
|
791
|
-
"schema": {
|
|
792
|
-
"$ref": "#/components/schemas/Common.Errors.UnauthorizedError"
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
},
|
|
797
|
-
"500": {
|
|
798
|
-
"description": "Internal server error (500)",
|
|
799
|
-
"headers": {
|
|
800
|
-
"X-Trace-Id": {
|
|
801
|
-
"required": false,
|
|
802
|
-
"description": "Trace ID for correlation",
|
|
803
|
-
"schema": {
|
|
804
|
-
"type": "string"
|
|
805
|
-
}
|
|
806
|
-
},
|
|
807
|
-
"X-Request-Id": {
|
|
808
|
-
"required": false,
|
|
809
|
-
"description": "Request ID for support",
|
|
810
|
-
"schema": {
|
|
811
|
-
"type": "string"
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
},
|
|
815
|
-
"content": {
|
|
816
|
-
"application/problem+json": {
|
|
817
|
-
"schema": {
|
|
818
|
-
"$ref": "#/components/schemas/Common.Errors.InternalServerError"
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
},
|
|
824
|
-
"tags": [
|
|
825
|
-
"Metrics"
|
|
525
|
+
"Metrics"
|
|
826
526
|
],
|
|
827
527
|
"security": [
|
|
828
528
|
{
|
|
@@ -15346,1929 +15046,6 @@
|
|
|
15346
15046
|
"maxLength": 256,
|
|
15347
15047
|
"description": "User identifier (pseudonymized for privacy)"
|
|
15348
15048
|
},
|
|
15349
|
-
"Cost.GenAiEtlAuditCluster": {
|
|
15350
|
-
"type": "object",
|
|
15351
|
-
"required": [
|
|
15352
|
-
"cluster_id",
|
|
15353
|
-
"workflow_key",
|
|
15354
|
-
"service_name",
|
|
15355
|
-
"output_contract",
|
|
15356
|
-
"task_family",
|
|
15357
|
-
"call_count",
|
|
15358
|
-
"input_tokens",
|
|
15359
|
-
"output_tokens",
|
|
15360
|
-
"cache_read_input_tokens",
|
|
15361
|
-
"cache_creation_input_tokens",
|
|
15362
|
-
"reasoning_output_tokens",
|
|
15363
|
-
"error_count",
|
|
15364
|
-
"error_rate",
|
|
15365
|
-
"average_latency_ms",
|
|
15366
|
-
"p95_latency_ms",
|
|
15367
|
-
"catalog_token_estimate",
|
|
15368
|
-
"candidate_status",
|
|
15369
|
-
"candidate_path",
|
|
15370
|
-
"validation_metrics",
|
|
15371
|
-
"residual_path",
|
|
15372
|
-
"evidence_signals",
|
|
15373
|
-
"missing_evidence",
|
|
15374
|
-
"promotion_gates"
|
|
15375
|
-
],
|
|
15376
|
-
"properties": {
|
|
15377
|
-
"cluster_id": {
|
|
15378
|
-
"type": "string",
|
|
15379
|
-
"description": "Stable identifier derived from the privacy-safe cluster dimensions."
|
|
15380
|
-
},
|
|
15381
|
-
"workflow_key": {
|
|
15382
|
-
"type": "string",
|
|
15383
|
-
"description": "Privacy-safe derived grouping identity used to group repeated calls."
|
|
15384
|
-
},
|
|
15385
|
-
"service_name": {
|
|
15386
|
-
"type": "string"
|
|
15387
|
-
},
|
|
15388
|
-
"span_name": {
|
|
15389
|
-
"type": "string",
|
|
15390
|
-
"description": "Present only when an upstream source proves or canonicalizes a low-cardinality, privacy-safe span name."
|
|
15391
|
-
},
|
|
15392
|
-
"operation_name": {
|
|
15393
|
-
"type": "string"
|
|
15394
|
-
},
|
|
15395
|
-
"provider": {
|
|
15396
|
-
"type": "string"
|
|
15397
|
-
},
|
|
15398
|
-
"model": {
|
|
15399
|
-
"type": "string"
|
|
15400
|
-
},
|
|
15401
|
-
"output_contract": {
|
|
15402
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlOutputContract"
|
|
15403
|
-
},
|
|
15404
|
-
"task_family": {
|
|
15405
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlTaskFamily"
|
|
15406
|
-
},
|
|
15407
|
-
"call_count": {
|
|
15408
|
-
"$ref": "#/components/schemas/Common.Count"
|
|
15409
|
-
},
|
|
15410
|
-
"input_tokens": {
|
|
15411
|
-
"$ref": "#/components/schemas/Common.TokenCount"
|
|
15412
|
-
},
|
|
15413
|
-
"output_tokens": {
|
|
15414
|
-
"$ref": "#/components/schemas/Common.TokenCount"
|
|
15415
|
-
},
|
|
15416
|
-
"cache_read_input_tokens": {
|
|
15417
|
-
"$ref": "#/components/schemas/Common.TokenCount"
|
|
15418
|
-
},
|
|
15419
|
-
"cache_creation_input_tokens": {
|
|
15420
|
-
"$ref": "#/components/schemas/Common.TokenCount"
|
|
15421
|
-
},
|
|
15422
|
-
"reasoning_output_tokens": {
|
|
15423
|
-
"$ref": "#/components/schemas/Common.TokenCount"
|
|
15424
|
-
},
|
|
15425
|
-
"error_count": {
|
|
15426
|
-
"$ref": "#/components/schemas/Common.Count"
|
|
15427
|
-
},
|
|
15428
|
-
"error_rate": {
|
|
15429
|
-
"$ref": "#/components/schemas/Common.Ratio"
|
|
15430
|
-
},
|
|
15431
|
-
"average_latency_ms": {
|
|
15432
|
-
"$ref": "#/components/schemas/Common.DurationMs"
|
|
15433
|
-
},
|
|
15434
|
-
"p95_latency_ms": {
|
|
15435
|
-
"$ref": "#/components/schemas/Common.DurationMs"
|
|
15436
|
-
},
|
|
15437
|
-
"catalog_token_estimate": {
|
|
15438
|
-
"allOf": [
|
|
15439
|
-
{
|
|
15440
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenCostEstimate"
|
|
15441
|
-
}
|
|
15442
|
-
],
|
|
15443
|
-
"description": "Outcome and, when calculated, detailed current-catalog token-and-request estimate for this cluster. Aggregate provider billing is never attributed to a cluster."
|
|
15444
|
-
},
|
|
15445
|
-
"measurable_coverage": {
|
|
15446
|
-
"allOf": [
|
|
15447
|
-
{
|
|
15448
|
-
"$ref": "#/components/schemas/Common.Ratio"
|
|
15449
|
-
}
|
|
15450
|
-
],
|
|
15451
|
-
"description": "Fraction of calls with a task-specific correctness signal."
|
|
15452
|
-
},
|
|
15453
|
-
"safe_deferral_coverage": {
|
|
15454
|
-
"allOf": [
|
|
15455
|
-
{
|
|
15456
|
-
"$ref": "#/components/schemas/Common.Ratio"
|
|
15457
|
-
}
|
|
15458
|
-
],
|
|
15459
|
-
"description": "Fraction of calls proven safe to route to a residual path."
|
|
15460
|
-
},
|
|
15461
|
-
"candidate_status": {
|
|
15462
|
-
"allOf": [
|
|
15463
|
-
{
|
|
15464
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCandidateStatus"
|
|
15465
|
-
}
|
|
15466
|
-
],
|
|
15467
|
-
"description": "Evidence status qualifying the proposed candidate path."
|
|
15468
|
-
},
|
|
15469
|
-
"candidate_path": {
|
|
15470
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCandidatePath"
|
|
15471
|
-
},
|
|
15472
|
-
"validation_metrics": {
|
|
15473
|
-
"type": "array",
|
|
15474
|
-
"items": {
|
|
15475
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlValidationMetric"
|
|
15476
|
-
},
|
|
15477
|
-
"minItems": 1,
|
|
15478
|
-
"description": "Task-specific metrics required to falsify the proposed replacement."
|
|
15479
|
-
},
|
|
15480
|
-
"residual_path": {
|
|
15481
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlResidualPath"
|
|
15482
|
-
},
|
|
15483
|
-
"evidence_signals": {
|
|
15484
|
-
"type": "array",
|
|
15485
|
-
"items": {
|
|
15486
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlEvidenceSignal"
|
|
15487
|
-
}
|
|
15488
|
-
},
|
|
15489
|
-
"missing_evidence": {
|
|
15490
|
-
"type": "array",
|
|
15491
|
-
"items": {
|
|
15492
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlEvidenceSignal"
|
|
15493
|
-
}
|
|
15494
|
-
},
|
|
15495
|
-
"promotion_gates": {
|
|
15496
|
-
"type": "array",
|
|
15497
|
-
"items": {
|
|
15498
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlPromotionGate"
|
|
15499
|
-
}
|
|
15500
|
-
}
|
|
15501
|
-
},
|
|
15502
|
-
"unevaluatedProperties": {
|
|
15503
|
-
"not": {}
|
|
15504
|
-
},
|
|
15505
|
-
"description": "Observed economics and evidence for one repeated GenAI workflow cluster."
|
|
15506
|
-
},
|
|
15507
|
-
"Cost.GenAiEtlAuditEvaluationRequest": {
|
|
15508
|
-
"type": "object",
|
|
15509
|
-
"required": [
|
|
15510
|
-
"scenarios"
|
|
15511
|
-
],
|
|
15512
|
-
"properties": {
|
|
15513
|
-
"scenarios": {
|
|
15514
|
-
"type": "array",
|
|
15515
|
-
"items": {
|
|
15516
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlClusterScenario"
|
|
15517
|
-
},
|
|
15518
|
-
"minItems": 1,
|
|
15519
|
-
"maxItems": 100
|
|
15520
|
-
}
|
|
15521
|
-
},
|
|
15522
|
-
"unevaluatedProperties": {
|
|
15523
|
-
"not": {}
|
|
15524
|
-
},
|
|
15525
|
-
"description": "Batch of cluster scenarios evaluated against one audit period."
|
|
15526
|
-
},
|
|
15527
|
-
"Cost.GenAiEtlAuditEvaluationResponse": {
|
|
15528
|
-
"type": "object",
|
|
15529
|
-
"required": [
|
|
15530
|
-
"generated_at",
|
|
15531
|
-
"period_start",
|
|
15532
|
-
"period_end",
|
|
15533
|
-
"results"
|
|
15534
|
-
],
|
|
15535
|
-
"properties": {
|
|
15536
|
-
"generated_at": {
|
|
15537
|
-
"type": "string",
|
|
15538
|
-
"format": "date-time"
|
|
15539
|
-
},
|
|
15540
|
-
"period_start": {
|
|
15541
|
-
"type": "string",
|
|
15542
|
-
"format": "date-time"
|
|
15543
|
-
},
|
|
15544
|
-
"period_end": {
|
|
15545
|
-
"type": "string",
|
|
15546
|
-
"format": "date-time"
|
|
15547
|
-
},
|
|
15548
|
-
"results": {
|
|
15549
|
-
"type": "array",
|
|
15550
|
-
"items": {
|
|
15551
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlClusterEvaluation"
|
|
15552
|
-
}
|
|
15553
|
-
}
|
|
15554
|
-
},
|
|
15555
|
-
"unevaluatedProperties": {
|
|
15556
|
-
"not": {}
|
|
15557
|
-
},
|
|
15558
|
-
"description": "Batch result for ETL replacement scenarios."
|
|
15559
|
-
},
|
|
15560
|
-
"Cost.GenAiEtlAuditReport": {
|
|
15561
|
-
"type": "object",
|
|
15562
|
-
"required": [
|
|
15563
|
-
"generated_at",
|
|
15564
|
-
"period_start",
|
|
15565
|
-
"period_end",
|
|
15566
|
-
"summary",
|
|
15567
|
-
"billing_sources",
|
|
15568
|
-
"catalog_sources",
|
|
15569
|
-
"clusters"
|
|
15570
|
-
],
|
|
15571
|
-
"properties": {
|
|
15572
|
-
"generated_at": {
|
|
15573
|
-
"type": "string",
|
|
15574
|
-
"format": "date-time"
|
|
15575
|
-
},
|
|
15576
|
-
"period_start": {
|
|
15577
|
-
"type": "string",
|
|
15578
|
-
"format": "date-time"
|
|
15579
|
-
},
|
|
15580
|
-
"period_end": {
|
|
15581
|
-
"type": "string",
|
|
15582
|
-
"format": "date-time"
|
|
15583
|
-
},
|
|
15584
|
-
"summary": {
|
|
15585
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlAuditSummary"
|
|
15586
|
-
},
|
|
15587
|
-
"billing_sources": {
|
|
15588
|
-
"type": "array",
|
|
15589
|
-
"items": {
|
|
15590
|
-
"$ref": "#/components/schemas/Cost.ProviderBillingSource"
|
|
15591
|
-
},
|
|
15592
|
-
"description": "Provider-owned aggregate billing sources. These totals are not attributed to clusters or used as evaluation baselines."
|
|
15593
|
-
},
|
|
15594
|
-
"catalog_sources": {
|
|
15595
|
-
"type": "array",
|
|
15596
|
-
"items": {
|
|
15597
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogSource"
|
|
15598
|
-
},
|
|
15599
|
-
"description": "Configured live model catalog sources and their current synchronization state."
|
|
15600
|
-
},
|
|
15601
|
-
"clusters": {
|
|
15602
|
-
"type": "array",
|
|
15603
|
-
"items": {
|
|
15604
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlAuditCluster"
|
|
15605
|
-
}
|
|
15606
|
-
}
|
|
15607
|
-
},
|
|
15608
|
-
"unevaluatedProperties": {
|
|
15609
|
-
"not": {}
|
|
15610
|
-
},
|
|
15611
|
-
"description": "Trace-level ETL audit for a bounded period."
|
|
15612
|
-
},
|
|
15613
|
-
"Cost.GenAiEtlAuditSummary": {
|
|
15614
|
-
"type": "object",
|
|
15615
|
-
"required": [
|
|
15616
|
-
"total_calls",
|
|
15617
|
-
"total_input_tokens",
|
|
15618
|
-
"total_output_tokens",
|
|
15619
|
-
"catalog_token_priced_call_coverage"
|
|
15620
|
-
],
|
|
15621
|
-
"properties": {
|
|
15622
|
-
"total_calls": {
|
|
15623
|
-
"$ref": "#/components/schemas/Common.Count"
|
|
15624
|
-
},
|
|
15625
|
-
"total_input_tokens": {
|
|
15626
|
-
"$ref": "#/components/schemas/Common.TokenCount"
|
|
15627
|
-
},
|
|
15628
|
-
"total_output_tokens": {
|
|
15629
|
-
"$ref": "#/components/schemas/Common.TokenCount"
|
|
15630
|
-
},
|
|
15631
|
-
"estimated_catalog_token_cost_usd": {
|
|
15632
|
-
"allOf": [
|
|
15633
|
-
{
|
|
15634
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
15635
|
-
}
|
|
15636
|
-
],
|
|
15637
|
-
"description": "Counterfactual token and request cost of the full observed audit population before the cluster response limit is applied, using the current live catalog snapshot; this is not an official billed total or a historical price claim."
|
|
15638
|
-
},
|
|
15639
|
-
"catalog_token_priced_call_coverage": {
|
|
15640
|
-
"allOf": [
|
|
15641
|
-
{
|
|
15642
|
-
"$ref": "#/components/schemas/Common.Ratio"
|
|
15643
|
-
}
|
|
15644
|
-
],
|
|
15645
|
-
"description": "Fraction of observed calls covered by all-or-nothing calculated token-and-request estimates; missing pricing is not treated as zero."
|
|
15646
|
-
},
|
|
15647
|
-
"estimated_token_economic_concentration": {
|
|
15648
|
-
"allOf": [
|
|
15649
|
-
{
|
|
15650
|
-
"$ref": "#/components/schemas/Common.Ratio"
|
|
15651
|
-
}
|
|
15652
|
-
],
|
|
15653
|
-
"description": "Returned top-cluster token-and-request estimate divided by estimated_catalog_token_cost_usd for the full observed audit population."
|
|
15654
|
-
},
|
|
15655
|
-
"measurable_coverage": {
|
|
15656
|
-
"allOf": [
|
|
15657
|
-
{
|
|
15658
|
-
"$ref": "#/components/schemas/Common.Ratio"
|
|
15659
|
-
}
|
|
15660
|
-
],
|
|
15661
|
-
"description": "Fraction of calls with a task-specific correctness signal."
|
|
15662
|
-
},
|
|
15663
|
-
"safe_deferral_coverage": {
|
|
15664
|
-
"allOf": [
|
|
15665
|
-
{
|
|
15666
|
-
"$ref": "#/components/schemas/Common.Ratio"
|
|
15667
|
-
}
|
|
15668
|
-
],
|
|
15669
|
-
"description": "Fraction of calls proven safe to defer to a residual path."
|
|
15670
|
-
},
|
|
15671
|
-
"candidate_etl_estimated_token_spend_share": {
|
|
15672
|
-
"allOf": [
|
|
15673
|
-
{
|
|
15674
|
-
"$ref": "#/components/schemas/Common.Ratio"
|
|
15675
|
-
}
|
|
15676
|
-
],
|
|
15677
|
-
"description": "Fraction of estimated current-catalog token-and-request spend attached to ETL-shaped candidates."
|
|
15678
|
-
}
|
|
15679
|
-
},
|
|
15680
|
-
"unevaluatedProperties": {
|
|
15681
|
-
"not": {}
|
|
15682
|
-
},
|
|
15683
|
-
"description": "Aggregate trace-level economics for the requested audit period."
|
|
15684
|
-
},
|
|
15685
|
-
"Cost.GenAiEtlCalculatedClusterEvaluationBase": {
|
|
15686
|
-
"type": "object",
|
|
15687
|
-
"required": [
|
|
15688
|
-
"status",
|
|
15689
|
-
"frontier_cost_per_call_usd",
|
|
15690
|
-
"current_period_cost_usd",
|
|
15691
|
-
"gross_replaceable_value_usd",
|
|
15692
|
-
"net_replaceable_value_usd"
|
|
15693
|
-
],
|
|
15694
|
-
"properties": {
|
|
15695
|
-
"status": {
|
|
15696
|
-
"type": "string",
|
|
15697
|
-
"enum": [
|
|
15698
|
-
"calculated"
|
|
15699
|
-
]
|
|
15700
|
-
},
|
|
15701
|
-
"frontier_cost_per_call_usd": {
|
|
15702
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
15703
|
-
},
|
|
15704
|
-
"current_period_cost_usd": {
|
|
15705
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
15706
|
-
},
|
|
15707
|
-
"gross_replaceable_value_usd": {
|
|
15708
|
-
"type": "number",
|
|
15709
|
-
"format": "double"
|
|
15710
|
-
},
|
|
15711
|
-
"net_replaceable_value_usd": {
|
|
15712
|
-
"type": "number",
|
|
15713
|
-
"format": "double",
|
|
15714
|
-
"description": "Net period value; this may be negative when maintenance or error cost exceeds gross savings."
|
|
15715
|
-
}
|
|
15716
|
-
},
|
|
15717
|
-
"allOf": [
|
|
15718
|
-
{
|
|
15719
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlClusterEvaluationBase"
|
|
15720
|
-
}
|
|
15721
|
-
]
|
|
15722
|
-
},
|
|
15723
|
-
"Cost.GenAiEtlCandidatePath": {
|
|
15724
|
-
"type": "string",
|
|
15725
|
-
"enum": [
|
|
15726
|
-
"exact_cache",
|
|
15727
|
-
"deterministic_code",
|
|
15728
|
-
"bounded_retrieval",
|
|
15729
|
-
"small_classifier_extractor",
|
|
15730
|
-
"smaller_generative_model",
|
|
15731
|
-
"frontier_model",
|
|
15732
|
-
"insufficient_evidence"
|
|
15733
|
-
],
|
|
15734
|
-
"description": "Lowest-risk implementation class suggested by currently available evidence."
|
|
15735
|
-
},
|
|
15736
|
-
"Cost.GenAiEtlCandidateStatus": {
|
|
15737
|
-
"type": "string",
|
|
15738
|
-
"enum": [
|
|
15739
|
-
"hypothesis_only",
|
|
15740
|
-
"insufficient_evidence"
|
|
15741
|
-
],
|
|
15742
|
-
"description": "Evidence status of the proposed replacement path."
|
|
15743
|
-
},
|
|
15744
|
-
"Cost.GenAiEtlCatalogTokenAmbiguousModelEstimate": {
|
|
15745
|
-
"type": "object",
|
|
15746
|
-
"required": [
|
|
15747
|
-
"status"
|
|
15748
|
-
],
|
|
15749
|
-
"properties": {
|
|
15750
|
-
"status": {
|
|
15751
|
-
"type": "string",
|
|
15752
|
-
"enum": [
|
|
15753
|
-
"ambiguous_model"
|
|
15754
|
-
]
|
|
15755
|
-
}
|
|
15756
|
-
},
|
|
15757
|
-
"unevaluatedProperties": {
|
|
15758
|
-
"not": {}
|
|
15759
|
-
},
|
|
15760
|
-
"allOf": [
|
|
15761
|
-
{
|
|
15762
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenEstimateFailureBase"
|
|
15763
|
-
}
|
|
15764
|
-
]
|
|
15765
|
-
},
|
|
15766
|
-
"Cost.GenAiEtlCatalogTokenCalculatedEstimate": {
|
|
15767
|
-
"type": "object",
|
|
15768
|
-
"required": [
|
|
15769
|
-
"status",
|
|
15770
|
-
"estimated_catalog_token_cost_usd",
|
|
15771
|
-
"estimated_catalog_token_cost_per_call_usd",
|
|
15772
|
-
"provenance",
|
|
15773
|
-
"components"
|
|
15774
|
-
],
|
|
15775
|
-
"properties": {
|
|
15776
|
-
"status": {
|
|
15777
|
-
"type": "string",
|
|
15778
|
-
"enum": [
|
|
15779
|
-
"calculated"
|
|
15780
|
-
]
|
|
15781
|
-
},
|
|
15782
|
-
"estimated_catalog_token_cost_usd": {
|
|
15783
|
-
"allOf": [
|
|
15784
|
-
{
|
|
15785
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
15786
|
-
}
|
|
15787
|
-
],
|
|
15788
|
-
"description": "Estimated token and request cost for the reported cluster period using the current catalog snapshot; this is counterfactual for historical periods and is not an official billed total."
|
|
15789
|
-
},
|
|
15790
|
-
"estimated_catalog_token_cost_per_call_usd": {
|
|
15791
|
-
"allOf": [
|
|
15792
|
-
{
|
|
15793
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
15794
|
-
}
|
|
15795
|
-
],
|
|
15796
|
-
"description": "Estimated token and request cost per observed cluster call; this is not an official billed total."
|
|
15797
|
-
},
|
|
15798
|
-
"provenance": {
|
|
15799
|
-
"allOf": [
|
|
15800
|
-
{
|
|
15801
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogPriceProvenance"
|
|
15802
|
-
}
|
|
15803
|
-
],
|
|
15804
|
-
"description": "Exact catalog snapshot and model-match evidence."
|
|
15805
|
-
},
|
|
15806
|
-
"components": {
|
|
15807
|
-
"type": "array",
|
|
15808
|
-
"items": {
|
|
15809
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenEstimateComponent"
|
|
15810
|
-
},
|
|
15811
|
-
"minItems": 1,
|
|
15812
|
-
"description": "Included token or request usage and rate contributions. Ordered source overrides carry conditional evidence; ordinary inclusive subtype replacements do not require it."
|
|
15813
|
-
},
|
|
15814
|
-
"exclusions": {
|
|
15815
|
-
"type": "array",
|
|
15816
|
-
"items": {
|
|
15817
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenEstimateExclusion"
|
|
15818
|
-
},
|
|
15819
|
-
"minItems": 1,
|
|
15820
|
-
"description": "Meters or conditional adjustments explicitly omitted from this calculated estimate."
|
|
15821
|
-
}
|
|
15822
|
-
},
|
|
15823
|
-
"unevaluatedProperties": {
|
|
15824
|
-
"not": {}
|
|
15825
|
-
},
|
|
15826
|
-
"description": "Calculated all-or-nothing current-catalog token and request estimate for a complete workflow cluster."
|
|
15827
|
-
},
|
|
15828
|
-
"Cost.GenAiEtlCatalogTokenClusterEvaluation": {
|
|
15829
|
-
"type": "object",
|
|
15830
|
-
"required": [
|
|
15831
|
-
"frontier_cost_basis",
|
|
15832
|
-
"catalog_provenance"
|
|
15833
|
-
],
|
|
15834
|
-
"properties": {
|
|
15835
|
-
"frontier_cost_basis": {
|
|
15836
|
-
"type": "string",
|
|
15837
|
-
"enum": [
|
|
15838
|
-
"catalog_token_estimate"
|
|
15839
|
-
]
|
|
15840
|
-
},
|
|
15841
|
-
"catalog_provenance": {
|
|
15842
|
-
"allOf": [
|
|
15843
|
-
{
|
|
15844
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogPriceProvenance"
|
|
15845
|
-
}
|
|
15846
|
-
],
|
|
15847
|
-
"description": "Exact live-catalog snapshot and model-match evidence used for the calculated frontier cost."
|
|
15848
|
-
}
|
|
15849
|
-
},
|
|
15850
|
-
"unevaluatedProperties": {
|
|
15851
|
-
"not": {}
|
|
15852
|
-
},
|
|
15853
|
-
"allOf": [
|
|
15854
|
-
{
|
|
15855
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCalculatedClusterEvaluationBase"
|
|
15856
|
-
}
|
|
15857
|
-
]
|
|
15858
|
-
},
|
|
15859
|
-
"Cost.GenAiEtlCatalogTokenConditionalPricingUnresolvableEstimate": {
|
|
15860
|
-
"type": "object",
|
|
15861
|
-
"required": [
|
|
15862
|
-
"status"
|
|
15863
|
-
],
|
|
15864
|
-
"properties": {
|
|
15865
|
-
"status": {
|
|
15866
|
-
"type": "string",
|
|
15867
|
-
"enum": [
|
|
15868
|
-
"conditional_pricing_unresolvable"
|
|
15869
|
-
]
|
|
15870
|
-
}
|
|
15871
|
-
},
|
|
15872
|
-
"unevaluatedProperties": {
|
|
15873
|
-
"not": {}
|
|
15874
|
-
},
|
|
15875
|
-
"allOf": [
|
|
15876
|
-
{
|
|
15877
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenEstimateFailureBase"
|
|
15878
|
-
}
|
|
15879
|
-
]
|
|
15880
|
-
},
|
|
15881
|
-
"Cost.GenAiEtlCatalogTokenCostEstimate": {
|
|
15882
|
-
"oneOf": [
|
|
15883
|
-
{
|
|
15884
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenCalculatedEstimate"
|
|
15885
|
-
},
|
|
15886
|
-
{
|
|
15887
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenSourceUnavailableEstimate"
|
|
15888
|
-
},
|
|
15889
|
-
{
|
|
15890
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenStaleSourceEstimate"
|
|
15891
|
-
},
|
|
15892
|
-
{
|
|
15893
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenMissingModelIdentityEstimate"
|
|
15894
|
-
},
|
|
15895
|
-
{
|
|
15896
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenModelNotFoundEstimate"
|
|
15897
|
-
},
|
|
15898
|
-
{
|
|
15899
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenAmbiguousModelEstimate"
|
|
15900
|
-
},
|
|
15901
|
-
{
|
|
15902
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenIncompleteUsageEstimate"
|
|
15903
|
-
},
|
|
15904
|
-
{
|
|
15905
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenConditionalPricingUnresolvableEstimate"
|
|
15906
|
-
},
|
|
15907
|
-
{
|
|
15908
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenUnsupportedPricingEstimate"
|
|
15909
|
-
}
|
|
15910
|
-
],
|
|
15911
|
-
"description": "All-or-nothing current-catalog token and request estimate. The status literal selects the complete calculated or fail-closed response shape."
|
|
15912
|
-
},
|
|
15913
|
-
"Cost.GenAiEtlCatalogTokenEstimateFailureBase": {
|
|
15914
|
-
"type": "object",
|
|
15915
|
-
"properties": {
|
|
15916
|
-
"exclusions": {
|
|
15917
|
-
"type": "array",
|
|
15918
|
-
"items": {
|
|
15919
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenEstimateExclusion"
|
|
15920
|
-
},
|
|
15921
|
-
"minItems": 1,
|
|
15922
|
-
"description": "Available meter or conditional evidence explaining why the cluster estimate failed closed."
|
|
15923
|
-
}
|
|
15924
|
-
}
|
|
15925
|
-
},
|
|
15926
|
-
"Cost.GenAiEtlCatalogTokenIncompleteUsageEstimate": {
|
|
15927
|
-
"type": "object",
|
|
15928
|
-
"required": [
|
|
15929
|
-
"status"
|
|
15930
|
-
],
|
|
15931
|
-
"properties": {
|
|
15932
|
-
"status": {
|
|
15933
|
-
"type": "string",
|
|
15934
|
-
"enum": [
|
|
15935
|
-
"incomplete_usage"
|
|
15936
|
-
]
|
|
15937
|
-
}
|
|
15938
|
-
},
|
|
15939
|
-
"unevaluatedProperties": {
|
|
15940
|
-
"not": {}
|
|
15941
|
-
},
|
|
15942
|
-
"allOf": [
|
|
15943
|
-
{
|
|
15944
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenEstimateFailureBase"
|
|
15945
|
-
}
|
|
15946
|
-
]
|
|
15947
|
-
},
|
|
15948
|
-
"Cost.GenAiEtlCatalogTokenMissingModelIdentityEstimate": {
|
|
15949
|
-
"type": "object",
|
|
15950
|
-
"required": [
|
|
15951
|
-
"status"
|
|
15952
|
-
],
|
|
15953
|
-
"properties": {
|
|
15954
|
-
"status": {
|
|
15955
|
-
"type": "string",
|
|
15956
|
-
"enum": [
|
|
15957
|
-
"missing_model_identity"
|
|
15958
|
-
]
|
|
15959
|
-
}
|
|
15960
|
-
},
|
|
15961
|
-
"unevaluatedProperties": {
|
|
15962
|
-
"not": {}
|
|
15963
|
-
},
|
|
15964
|
-
"allOf": [
|
|
15965
|
-
{
|
|
15966
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenEstimateFailureBase"
|
|
15967
|
-
}
|
|
15968
|
-
]
|
|
15969
|
-
},
|
|
15970
|
-
"Cost.GenAiEtlCatalogTokenModelNotFoundEstimate": {
|
|
15971
|
-
"type": "object",
|
|
15972
|
-
"required": [
|
|
15973
|
-
"status"
|
|
15974
|
-
],
|
|
15975
|
-
"properties": {
|
|
15976
|
-
"status": {
|
|
15977
|
-
"type": "string",
|
|
15978
|
-
"enum": [
|
|
15979
|
-
"model_not_found"
|
|
15980
|
-
]
|
|
15981
|
-
}
|
|
15982
|
-
},
|
|
15983
|
-
"unevaluatedProperties": {
|
|
15984
|
-
"not": {}
|
|
15985
|
-
},
|
|
15986
|
-
"allOf": [
|
|
15987
|
-
{
|
|
15988
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenEstimateFailureBase"
|
|
15989
|
-
}
|
|
15990
|
-
]
|
|
15991
|
-
},
|
|
15992
|
-
"Cost.GenAiEtlCatalogTokenSourceUnavailableEstimate": {
|
|
15993
|
-
"type": "object",
|
|
15994
|
-
"required": [
|
|
15995
|
-
"status"
|
|
15996
|
-
],
|
|
15997
|
-
"properties": {
|
|
15998
|
-
"status": {
|
|
15999
|
-
"type": "string",
|
|
16000
|
-
"enum": [
|
|
16001
|
-
"source_unavailable"
|
|
16002
|
-
]
|
|
16003
|
-
}
|
|
16004
|
-
},
|
|
16005
|
-
"unevaluatedProperties": {
|
|
16006
|
-
"not": {}
|
|
16007
|
-
},
|
|
16008
|
-
"allOf": [
|
|
16009
|
-
{
|
|
16010
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenEstimateFailureBase"
|
|
16011
|
-
}
|
|
16012
|
-
]
|
|
16013
|
-
},
|
|
16014
|
-
"Cost.GenAiEtlCatalogTokenStaleSourceEstimate": {
|
|
16015
|
-
"type": "object",
|
|
16016
|
-
"required": [
|
|
16017
|
-
"status"
|
|
16018
|
-
],
|
|
16019
|
-
"properties": {
|
|
16020
|
-
"status": {
|
|
16021
|
-
"type": "string",
|
|
16022
|
-
"enum": [
|
|
16023
|
-
"stale_source"
|
|
16024
|
-
]
|
|
16025
|
-
}
|
|
16026
|
-
},
|
|
16027
|
-
"unevaluatedProperties": {
|
|
16028
|
-
"not": {}
|
|
16029
|
-
},
|
|
16030
|
-
"allOf": [
|
|
16031
|
-
{
|
|
16032
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenEstimateFailureBase"
|
|
16033
|
-
}
|
|
16034
|
-
]
|
|
16035
|
-
},
|
|
16036
|
-
"Cost.GenAiEtlCatalogTokenUnsupportedPricingEstimate": {
|
|
16037
|
-
"type": "object",
|
|
16038
|
-
"required": [
|
|
16039
|
-
"status"
|
|
16040
|
-
],
|
|
16041
|
-
"properties": {
|
|
16042
|
-
"status": {
|
|
16043
|
-
"type": "string",
|
|
16044
|
-
"enum": [
|
|
16045
|
-
"unsupported_pricing"
|
|
16046
|
-
]
|
|
16047
|
-
}
|
|
16048
|
-
},
|
|
16049
|
-
"unevaluatedProperties": {
|
|
16050
|
-
"not": {}
|
|
16051
|
-
},
|
|
16052
|
-
"allOf": [
|
|
16053
|
-
{
|
|
16054
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenEstimateFailureBase"
|
|
16055
|
-
}
|
|
16056
|
-
]
|
|
16057
|
-
},
|
|
16058
|
-
"Cost.GenAiEtlClusterEvaluation": {
|
|
16059
|
-
"oneOf": [
|
|
16060
|
-
{
|
|
16061
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlScenarioClusterEvaluation"
|
|
16062
|
-
},
|
|
16063
|
-
{
|
|
16064
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCatalogTokenClusterEvaluation"
|
|
16065
|
-
},
|
|
16066
|
-
{
|
|
16067
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlUnavailableClusterEvaluation"
|
|
16068
|
-
}
|
|
16069
|
-
],
|
|
16070
|
-
"description": "Result of replaceable_value = calls * coverage * (frontier - alternative) - maintenance - error. The frontier_cost_basis literal selects a complete calculated result or a fail-closed unavailable result."
|
|
16071
|
-
},
|
|
16072
|
-
"Cost.GenAiEtlClusterEvaluationBase": {
|
|
16073
|
-
"type": "object",
|
|
16074
|
-
"required": [
|
|
16075
|
-
"cluster_id",
|
|
16076
|
-
"call_count",
|
|
16077
|
-
"coverage",
|
|
16078
|
-
"served_call_count",
|
|
16079
|
-
"residual_call_count",
|
|
16080
|
-
"alternative_cost_per_call_usd",
|
|
16081
|
-
"period_maintenance_cost_usd",
|
|
16082
|
-
"period_error_cost_usd"
|
|
16083
|
-
],
|
|
16084
|
-
"properties": {
|
|
16085
|
-
"cluster_id": {
|
|
16086
|
-
"type": "string"
|
|
16087
|
-
},
|
|
16088
|
-
"call_count": {
|
|
16089
|
-
"$ref": "#/components/schemas/Common.Count"
|
|
16090
|
-
},
|
|
16091
|
-
"coverage": {
|
|
16092
|
-
"$ref": "#/components/schemas/Common.Ratio"
|
|
16093
|
-
},
|
|
16094
|
-
"served_call_count": {
|
|
16095
|
-
"type": "number",
|
|
16096
|
-
"format": "double"
|
|
16097
|
-
},
|
|
16098
|
-
"residual_call_count": {
|
|
16099
|
-
"type": "number",
|
|
16100
|
-
"format": "double"
|
|
16101
|
-
},
|
|
16102
|
-
"alternative_cost_per_call_usd": {
|
|
16103
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
16104
|
-
},
|
|
16105
|
-
"period_maintenance_cost_usd": {
|
|
16106
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
16107
|
-
},
|
|
16108
|
-
"period_error_cost_usd": {
|
|
16109
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
16110
|
-
}
|
|
16111
|
-
}
|
|
16112
|
-
},
|
|
16113
|
-
"Cost.GenAiEtlClusterScenario": {
|
|
16114
|
-
"type": "object",
|
|
16115
|
-
"required": [
|
|
16116
|
-
"cluster_id",
|
|
16117
|
-
"coverage",
|
|
16118
|
-
"alternative_cost_per_call_usd",
|
|
16119
|
-
"period_maintenance_cost_usd",
|
|
16120
|
-
"period_error_cost_usd"
|
|
16121
|
-
],
|
|
16122
|
-
"properties": {
|
|
16123
|
-
"cluster_id": {
|
|
16124
|
-
"type": "string"
|
|
16125
|
-
},
|
|
16126
|
-
"coverage": {
|
|
16127
|
-
"allOf": [
|
|
16128
|
-
{
|
|
16129
|
-
"$ref": "#/components/schemas/Common.Ratio"
|
|
16130
|
-
}
|
|
16131
|
-
],
|
|
16132
|
-
"description": "Fraction of cluster calls the replacement is expected to serve safely."
|
|
16133
|
-
},
|
|
16134
|
-
"frontier_cost_per_call_usd": {
|
|
16135
|
-
"allOf": [
|
|
16136
|
-
{
|
|
16137
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
16138
|
-
}
|
|
16139
|
-
],
|
|
16140
|
-
"description": "Explicit scenario baseline cost per call. It wins over a calculated catalog estimate; when both are absent, evaluation fails closed."
|
|
16141
|
-
},
|
|
16142
|
-
"alternative_cost_per_call_usd": {
|
|
16143
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
16144
|
-
},
|
|
16145
|
-
"period_maintenance_cost_usd": {
|
|
16146
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
16147
|
-
},
|
|
16148
|
-
"period_error_cost_usd": {
|
|
16149
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
16150
|
-
}
|
|
16151
|
-
},
|
|
16152
|
-
"unevaluatedProperties": {
|
|
16153
|
-
"not": {}
|
|
16154
|
-
},
|
|
16155
|
-
"description": "What-if assumptions for one workflow cluster over the requested period."
|
|
16156
|
-
},
|
|
16157
|
-
"Cost.GenAiEtlEvidenceSignal": {
|
|
16158
|
-
"type": "string",
|
|
16159
|
-
"enum": [
|
|
16160
|
-
"workflow_identity",
|
|
16161
|
-
"output_contract",
|
|
16162
|
-
"provider_model",
|
|
16163
|
-
"token_usage",
|
|
16164
|
-
"catalog_token_estimate",
|
|
16165
|
-
"recurring_schema",
|
|
16166
|
-
"bounded_reference",
|
|
16167
|
-
"task_metric",
|
|
16168
|
-
"accepted_output_replay",
|
|
16169
|
-
"downstream_fate",
|
|
16170
|
-
"calibrated_confidence",
|
|
16171
|
-
"shadow_comparison",
|
|
16172
|
-
"fallback_policy"
|
|
16173
|
-
],
|
|
16174
|
-
"description": "Observable evidence needed to promote an inferred replacement safely."
|
|
16175
|
-
},
|
|
16176
|
-
"Cost.GenAiEtlFrontierCostBasis": {
|
|
16177
|
-
"type": "string",
|
|
16178
|
-
"enum": [
|
|
16179
|
-
"scenario",
|
|
16180
|
-
"catalog_token_estimate",
|
|
16181
|
-
"unavailable"
|
|
16182
|
-
],
|
|
16183
|
-
"description": "Evidence basis for the frontier cost used in a replacement-value calculation."
|
|
16184
|
-
},
|
|
16185
|
-
"Cost.GenAiEtlOutputContract": {
|
|
16186
|
-
"type": "string",
|
|
16187
|
-
"enum": [
|
|
16188
|
-
"prose",
|
|
16189
|
-
"label",
|
|
16190
|
-
"span_list",
|
|
16191
|
-
"record",
|
|
16192
|
-
"vector",
|
|
16193
|
-
"catalog_reference",
|
|
16194
|
-
"number",
|
|
16195
|
-
"boolean",
|
|
16196
|
-
"unknown"
|
|
16197
|
-
],
|
|
16198
|
-
"description": "Machine-readable output contract inferred for a workflow cluster."
|
|
16199
|
-
},
|
|
16200
|
-
"Cost.GenAiEtlPromotionGate": {
|
|
16201
|
-
"type": "object",
|
|
16202
|
-
"required": [
|
|
16203
|
-
"gate",
|
|
16204
|
-
"state"
|
|
16205
|
-
],
|
|
16206
|
-
"properties": {
|
|
16207
|
-
"gate": {
|
|
16208
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlPromotionGateKind"
|
|
16209
|
-
},
|
|
16210
|
-
"state": {
|
|
16211
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlPromotionGateState"
|
|
16212
|
-
},
|
|
16213
|
-
"reason": {
|
|
16214
|
-
"type": "string",
|
|
16215
|
-
"description": "Stable evidence code explaining the current gate state."
|
|
16216
|
-
}
|
|
16217
|
-
},
|
|
16218
|
-
"unevaluatedProperties": {
|
|
16219
|
-
"not": {}
|
|
16220
|
-
},
|
|
16221
|
-
"description": "Promotion readiness for one gate."
|
|
16222
|
-
},
|
|
16223
|
-
"Cost.GenAiEtlPromotionGateKind": {
|
|
16224
|
-
"type": "string",
|
|
16225
|
-
"enum": [
|
|
16226
|
-
"contract_stability",
|
|
16227
|
-
"offline_replay",
|
|
16228
|
-
"calibrated_confidence",
|
|
16229
|
-
"shadow_traffic",
|
|
16230
|
-
"limited_serving",
|
|
16231
|
-
"rollback_residual_policy"
|
|
16232
|
-
],
|
|
16233
|
-
"description": "Promotion gate from replay through limited serving and rollback."
|
|
16234
|
-
},
|
|
16235
|
-
"Cost.GenAiEtlPromotionGateState": {
|
|
16236
|
-
"type": "string",
|
|
16237
|
-
"enum": [
|
|
16238
|
-
"passed",
|
|
16239
|
-
"failed",
|
|
16240
|
-
"not_evaluated",
|
|
16241
|
-
"blocked_missing_evidence"
|
|
16242
|
-
],
|
|
16243
|
-
"description": "Evaluation state of a promotion gate."
|
|
16244
|
-
},
|
|
16245
|
-
"Cost.GenAiEtlResidualPath": {
|
|
16246
|
-
"type": "string",
|
|
16247
|
-
"enum": [
|
|
16248
|
-
"frontier_model",
|
|
16249
|
-
"human_review",
|
|
16250
|
-
"retry",
|
|
16251
|
-
"degraded_response",
|
|
16252
|
-
"none",
|
|
16253
|
-
"undetermined"
|
|
16254
|
-
],
|
|
16255
|
-
"description": "Fallback used for requests outside a promoted replacement's safe coverage."
|
|
16256
|
-
},
|
|
16257
|
-
"Cost.GenAiEtlScenarioClusterEvaluation": {
|
|
16258
|
-
"type": "object",
|
|
16259
|
-
"required": [
|
|
16260
|
-
"frontier_cost_basis"
|
|
16261
|
-
],
|
|
16262
|
-
"properties": {
|
|
16263
|
-
"frontier_cost_basis": {
|
|
16264
|
-
"type": "string",
|
|
16265
|
-
"enum": [
|
|
16266
|
-
"scenario"
|
|
16267
|
-
]
|
|
16268
|
-
}
|
|
16269
|
-
},
|
|
16270
|
-
"unevaluatedProperties": {
|
|
16271
|
-
"not": {}
|
|
16272
|
-
},
|
|
16273
|
-
"allOf": [
|
|
16274
|
-
{
|
|
16275
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlCalculatedClusterEvaluationBase"
|
|
16276
|
-
}
|
|
16277
|
-
]
|
|
16278
|
-
},
|
|
16279
|
-
"Cost.GenAiEtlTaskFamily": {
|
|
16280
|
-
"type": "string",
|
|
16281
|
-
"enum": [
|
|
16282
|
-
"open_reasoning_generation",
|
|
16283
|
-
"classification",
|
|
16284
|
-
"sequence_labeling",
|
|
16285
|
-
"structured_extraction",
|
|
16286
|
-
"retrieval_entity_resolution",
|
|
16287
|
-
"similarity_clustering",
|
|
16288
|
-
"normalization_transformation",
|
|
16289
|
-
"numeric_analytical",
|
|
16290
|
-
"unknown"
|
|
16291
|
-
],
|
|
16292
|
-
"description": "Task family inferred for a repeated GenAI workflow cluster."
|
|
16293
|
-
},
|
|
16294
|
-
"Cost.GenAiEtlUnavailableClusterEvaluation": {
|
|
16295
|
-
"type": "object",
|
|
16296
|
-
"required": [
|
|
16297
|
-
"status",
|
|
16298
|
-
"frontier_cost_basis"
|
|
16299
|
-
],
|
|
16300
|
-
"properties": {
|
|
16301
|
-
"status": {
|
|
16302
|
-
"type": "string",
|
|
16303
|
-
"enum": [
|
|
16304
|
-
"missing_frontier_cost"
|
|
16305
|
-
]
|
|
16306
|
-
},
|
|
16307
|
-
"frontier_cost_basis": {
|
|
16308
|
-
"type": "string",
|
|
16309
|
-
"enum": [
|
|
16310
|
-
"unavailable"
|
|
16311
|
-
]
|
|
16312
|
-
}
|
|
16313
|
-
},
|
|
16314
|
-
"unevaluatedProperties": {
|
|
16315
|
-
"not": {}
|
|
16316
|
-
},
|
|
16317
|
-
"allOf": [
|
|
16318
|
-
{
|
|
16319
|
-
"$ref": "#/components/schemas/Cost.GenAiEtlClusterEvaluationBase"
|
|
16320
|
-
}
|
|
16321
|
-
]
|
|
16322
|
-
},
|
|
16323
|
-
"Cost.GenAiEtlValidationMetric": {
|
|
16324
|
-
"type": "string",
|
|
16325
|
-
"enum": [
|
|
16326
|
-
"accuracy",
|
|
16327
|
-
"macro_f1",
|
|
16328
|
-
"calibration_error",
|
|
16329
|
-
"span_precision",
|
|
16330
|
-
"span_recall",
|
|
16331
|
-
"span_f1",
|
|
16332
|
-
"field_exact_match",
|
|
16333
|
-
"schema_validity",
|
|
16334
|
-
"match_accuracy",
|
|
16335
|
-
"recall_at_k",
|
|
16336
|
-
"mean_reciprocal_rank",
|
|
16337
|
-
"exact_match",
|
|
16338
|
-
"numeric_tolerance",
|
|
16339
|
-
"human_preference",
|
|
16340
|
-
"task_success",
|
|
16341
|
-
"unavailable"
|
|
16342
|
-
],
|
|
16343
|
-
"description": "Task-specific metrics that can falsify a proposed replacement."
|
|
16344
|
-
},
|
|
16345
|
-
"Cost.ModelCatalogAdditiveSurchargeEvidence": {
|
|
16346
|
-
"type": "object",
|
|
16347
|
-
"required": [
|
|
16348
|
-
"rate_relation"
|
|
16349
|
-
],
|
|
16350
|
-
"properties": {
|
|
16351
|
-
"rate_relation": {
|
|
16352
|
-
"type": "string",
|
|
16353
|
-
"enum": [
|
|
16354
|
-
"additive_surcharge"
|
|
16355
|
-
]
|
|
16356
|
-
}
|
|
16357
|
-
},
|
|
16358
|
-
"unevaluatedProperties": {
|
|
16359
|
-
"not": {}
|
|
16360
|
-
}
|
|
16361
|
-
},
|
|
16362
|
-
"Cost.ModelCatalogBaseRateEvidence": {
|
|
16363
|
-
"type": "object",
|
|
16364
|
-
"required": [
|
|
16365
|
-
"rate_relation"
|
|
16366
|
-
],
|
|
16367
|
-
"properties": {
|
|
16368
|
-
"rate_relation": {
|
|
16369
|
-
"type": "string",
|
|
16370
|
-
"enum": [
|
|
16371
|
-
"base_rate"
|
|
16372
|
-
]
|
|
16373
|
-
}
|
|
16374
|
-
},
|
|
16375
|
-
"unevaluatedProperties": {
|
|
16376
|
-
"not": {}
|
|
16377
|
-
}
|
|
16378
|
-
},
|
|
16379
|
-
"Cost.ModelCatalogBillingMode": {
|
|
16380
|
-
"type": "string",
|
|
16381
|
-
"enum": [
|
|
16382
|
-
"per_unit",
|
|
16383
|
-
"per_request"
|
|
16384
|
-
],
|
|
16385
|
-
"description": "How a catalog rate charges its measured quantity."
|
|
16386
|
-
},
|
|
16387
|
-
"Cost.ModelCatalogConditionalAdjustmentNotAppliedExclusion": {
|
|
16388
|
-
"type": "object",
|
|
16389
|
-
"required": [
|
|
16390
|
-
"reason"
|
|
16391
|
-
],
|
|
16392
|
-
"properties": {
|
|
16393
|
-
"reason": {
|
|
16394
|
-
"type": "string",
|
|
16395
|
-
"enum": [
|
|
16396
|
-
"conditional_adjustment_not_applied"
|
|
16397
|
-
]
|
|
16398
|
-
}
|
|
16399
|
-
},
|
|
16400
|
-
"unevaluatedProperties": {
|
|
16401
|
-
"not": {}
|
|
16402
|
-
},
|
|
16403
|
-
"allOf": [
|
|
16404
|
-
{
|
|
16405
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogConditionalExclusionBase"
|
|
16406
|
-
}
|
|
16407
|
-
]
|
|
16408
|
-
},
|
|
16409
|
-
"Cost.ModelCatalogConditionalExclusionBase": {
|
|
16410
|
-
"type": "object",
|
|
16411
|
-
"required": [
|
|
16412
|
-
"component",
|
|
16413
|
-
"usage_dimension",
|
|
16414
|
-
"unit",
|
|
16415
|
-
"source_billing_mode",
|
|
16416
|
-
"rate_evidence"
|
|
16417
|
-
],
|
|
16418
|
-
"properties": {
|
|
16419
|
-
"component": {
|
|
16420
|
-
"type": "string"
|
|
16421
|
-
},
|
|
16422
|
-
"usage_dimension": {
|
|
16423
|
-
"type": "string"
|
|
16424
|
-
},
|
|
16425
|
-
"unit": {
|
|
16426
|
-
"type": "string"
|
|
16427
|
-
},
|
|
16428
|
-
"source_billing_mode": {
|
|
16429
|
-
"type": "string",
|
|
16430
|
-
"description": "Source-specific billing mode retained from the catalog or deterministically derived from the provider-defined meter."
|
|
16431
|
-
},
|
|
16432
|
-
"billing_mode": {
|
|
16433
|
-
"allOf": [
|
|
16434
|
-
{
|
|
16435
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogBillingMode"
|
|
16436
|
-
}
|
|
16437
|
-
],
|
|
16438
|
-
"description": "Normalized billing mode when qyl recognizes the conditional source meter; absent when the source meter has no supported normalization."
|
|
16439
|
-
},
|
|
16440
|
-
"rate_evidence": {
|
|
16441
|
-
"allOf": [
|
|
16442
|
-
{
|
|
16443
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogPublishedReplacementEvidence"
|
|
16444
|
-
}
|
|
16445
|
-
],
|
|
16446
|
-
"description": "The ordered source override that was not applied or was superseded."
|
|
16447
|
-
},
|
|
16448
|
-
"unit_price_usd": {
|
|
16449
|
-
"allOf": [
|
|
16450
|
-
{
|
|
16451
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
16452
|
-
}
|
|
16453
|
-
],
|
|
16454
|
-
"description": "Catalog rate omitted from the estimate, when the source supplied one."
|
|
16455
|
-
}
|
|
16456
|
-
}
|
|
16457
|
-
},
|
|
16458
|
-
"Cost.ModelCatalogConditionalRateEvidence": {
|
|
16459
|
-
"type": "object",
|
|
16460
|
-
"required": [
|
|
16461
|
-
"source_order",
|
|
16462
|
-
"condition_usage_dimension",
|
|
16463
|
-
"exclusive_minimum_quantity",
|
|
16464
|
-
"observed_per_call_quantity"
|
|
16465
|
-
],
|
|
16466
|
-
"properties": {
|
|
16467
|
-
"source_order": {
|
|
16468
|
-
"allOf": [
|
|
16469
|
-
{
|
|
16470
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogSourceOrder"
|
|
16471
|
-
}
|
|
16472
|
-
],
|
|
16473
|
-
"description": "One-based position of this override in the source response; later matching overrides win. Tier zero is reserved for the published base rate and is not a source override."
|
|
16474
|
-
},
|
|
16475
|
-
"condition_usage_dimension": {
|
|
16476
|
-
"type": "string",
|
|
16477
|
-
"description": "Observed per-call usage dimension evaluated by the source condition."
|
|
16478
|
-
},
|
|
16479
|
-
"exclusive_minimum_quantity": {
|
|
16480
|
-
"type": "number",
|
|
16481
|
-
"format": "double",
|
|
16482
|
-
"minimum": 0,
|
|
16483
|
-
"description": "Exclusive minimum quantity declared by the source condition."
|
|
16484
|
-
},
|
|
16485
|
-
"observed_per_call_quantity": {
|
|
16486
|
-
"type": "number",
|
|
16487
|
-
"format": "double",
|
|
16488
|
-
"minimum": 0,
|
|
16489
|
-
"description": "Observed per-call quantity compared with the exclusive minimum."
|
|
16490
|
-
}
|
|
16491
|
-
},
|
|
16492
|
-
"unevaluatedProperties": {
|
|
16493
|
-
"not": {}
|
|
16494
|
-
},
|
|
16495
|
-
"description": "Ordered evidence proving whether a conditional catalog override applied to an observed request quantity."
|
|
16496
|
-
},
|
|
16497
|
-
"Cost.ModelCatalogExclusionRateEvidence": {
|
|
16498
|
-
"oneOf": [
|
|
16499
|
-
{
|
|
16500
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogBaseRateEvidence"
|
|
16501
|
-
},
|
|
16502
|
-
{
|
|
16503
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogAdditiveSurchargeEvidence"
|
|
16504
|
-
},
|
|
16505
|
-
{
|
|
16506
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogInclusiveReplacementEvidence"
|
|
16507
|
-
},
|
|
16508
|
-
{
|
|
16509
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogPublishedReplacementEvidence"
|
|
16510
|
-
}
|
|
16511
|
-
],
|
|
16512
|
-
"description": "Relation-specific evidence for a catalog rate omitted from a token-and-request estimate. The rate_relation literal selects the required target and ordered evidence shape."
|
|
16513
|
-
},
|
|
16514
|
-
"Cost.ModelCatalogInclusiveReplacementEvidence": {
|
|
16515
|
-
"type": "object",
|
|
16516
|
-
"required": [
|
|
16517
|
-
"rate_relation",
|
|
16518
|
-
"replaces_usage_dimension"
|
|
16519
|
-
],
|
|
16520
|
-
"properties": {
|
|
16521
|
-
"rate_relation": {
|
|
16522
|
-
"type": "string",
|
|
16523
|
-
"enum": [
|
|
16524
|
-
"replaces_inclusive_base_rate"
|
|
16525
|
-
]
|
|
16526
|
-
},
|
|
16527
|
-
"replaces_usage_dimension": {
|
|
16528
|
-
"type": "string",
|
|
16529
|
-
"description": "Inclusive base usage dimension replaced by this subtype rate."
|
|
16530
|
-
},
|
|
16531
|
-
"conditional_evidence": {
|
|
16532
|
-
"allOf": [
|
|
16533
|
-
{
|
|
16534
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogConditionalRateEvidence"
|
|
16535
|
-
}
|
|
16536
|
-
],
|
|
16537
|
-
"description": "Ordered evidence when a source override altered the selected subtype rate."
|
|
16538
|
-
}
|
|
16539
|
-
},
|
|
16540
|
-
"unevaluatedProperties": {
|
|
16541
|
-
"not": {}
|
|
16542
|
-
}
|
|
16543
|
-
},
|
|
16544
|
-
"Cost.ModelCatalogMatchKind": {
|
|
16545
|
-
"type": "string",
|
|
16546
|
-
"enum": [
|
|
16547
|
-
"exact_model_id",
|
|
16548
|
-
"exact_canonical_slug"
|
|
16549
|
-
],
|
|
16550
|
-
"description": "Deterministic exact match used to resolve an observed model identity to a catalog record. Fuzzy, prefix, suffix, date, and alias matching are not permitted."
|
|
16551
|
-
},
|
|
16552
|
-
"Cost.ModelCatalogObservedIdentityBasis": {
|
|
16553
|
-
"type": "string",
|
|
16554
|
-
"enum": [
|
|
16555
|
-
"response_model",
|
|
16556
|
-
"request_model_fallback"
|
|
16557
|
-
],
|
|
16558
|
-
"description": "Telemetry attribute used as the observed model identity for an exact catalog match."
|
|
16559
|
-
},
|
|
16560
|
-
"Cost.ModelCatalogOptionallyNormalizedBillingExclusionBase": {
|
|
16561
|
-
"type": "object",
|
|
16562
|
-
"properties": {
|
|
16563
|
-
"billing_mode": {
|
|
16564
|
-
"allOf": [
|
|
16565
|
-
{
|
|
16566
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogBillingMode"
|
|
16567
|
-
}
|
|
16568
|
-
],
|
|
16569
|
-
"description": "Normalized billing mode when qyl recognizes the source meter; absent when the source meter has no supported normalization."
|
|
16570
|
-
}
|
|
16571
|
-
},
|
|
16572
|
-
"allOf": [
|
|
16573
|
-
{
|
|
16574
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenEstimateExclusionBase"
|
|
16575
|
-
}
|
|
16576
|
-
]
|
|
16577
|
-
},
|
|
16578
|
-
"Cost.ModelCatalogOutsideTokenScopeExclusion": {
|
|
16579
|
-
"type": "object",
|
|
16580
|
-
"required": [
|
|
16581
|
-
"reason"
|
|
16582
|
-
],
|
|
16583
|
-
"properties": {
|
|
16584
|
-
"reason": {
|
|
16585
|
-
"type": "string",
|
|
16586
|
-
"enum": [
|
|
16587
|
-
"outside_token_estimate_scope"
|
|
16588
|
-
]
|
|
16589
|
-
}
|
|
16590
|
-
},
|
|
16591
|
-
"unevaluatedProperties": {
|
|
16592
|
-
"not": {}
|
|
16593
|
-
},
|
|
16594
|
-
"allOf": [
|
|
16595
|
-
{
|
|
16596
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogOptionallyNormalizedBillingExclusionBase"
|
|
16597
|
-
}
|
|
16598
|
-
]
|
|
16599
|
-
},
|
|
16600
|
-
"Cost.ModelCatalogPriceProvenance": {
|
|
16601
|
-
"type": "object",
|
|
16602
|
-
"required": [
|
|
16603
|
-
"source_id",
|
|
16604
|
-
"source_endpoint",
|
|
16605
|
-
"snapshot_id",
|
|
16606
|
-
"price_model_id",
|
|
16607
|
-
"observed_model_id",
|
|
16608
|
-
"observed_model_identity_basis",
|
|
16609
|
-
"model_match_kind",
|
|
16610
|
-
"retrieved_at",
|
|
16611
|
-
"price_semantics"
|
|
16612
|
-
],
|
|
16613
|
-
"properties": {
|
|
16614
|
-
"source_id": {
|
|
16615
|
-
"type": "string",
|
|
16616
|
-
"description": "Unique stable identifier of the configured catalog source."
|
|
16617
|
-
},
|
|
16618
|
-
"source_endpoint": {
|
|
16619
|
-
"allOf": [
|
|
16620
|
-
{
|
|
16621
|
-
"$ref": "#/components/schemas/Common.UrlString"
|
|
16622
|
-
}
|
|
16623
|
-
],
|
|
16624
|
-
"description": "Configured API endpoint from which the catalog was retrieved."
|
|
16625
|
-
},
|
|
16626
|
-
"snapshot_id": {
|
|
16627
|
-
"type": "string",
|
|
16628
|
-
"description": "Content-addressed identifier of the exact catalog snapshot used for this estimate."
|
|
16629
|
-
},
|
|
16630
|
-
"price_model_id": {
|
|
16631
|
-
"type": "string",
|
|
16632
|
-
"description": "Exact model identifier selected from the source catalog."
|
|
16633
|
-
},
|
|
16634
|
-
"observed_model_id": {
|
|
16635
|
-
"type": "string",
|
|
16636
|
-
"description": "Exact observed telemetry value compared with the selected catalog record."
|
|
16637
|
-
},
|
|
16638
|
-
"observed_model_identity_basis": {
|
|
16639
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogObservedIdentityBasis"
|
|
16640
|
-
},
|
|
16641
|
-
"model_match_kind": {
|
|
16642
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogMatchKind"
|
|
16643
|
-
},
|
|
16644
|
-
"retrieved_at": {
|
|
16645
|
-
"type": "string",
|
|
16646
|
-
"format": "date-time",
|
|
16647
|
-
"description": "UTC time when the current catalog snapshot used for this counterfactual estimate was retrieved. For historical audit periods, this is not evidence of the price that applied historically."
|
|
16648
|
-
},
|
|
16649
|
-
"price_semantics": {
|
|
16650
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogPriceSemantics"
|
|
16651
|
-
}
|
|
16652
|
-
},
|
|
16653
|
-
"unevaluatedProperties": {
|
|
16654
|
-
"not": {}
|
|
16655
|
-
},
|
|
16656
|
-
"description": "Provenance for the live catalog rates used to estimate one cluster."
|
|
16657
|
-
},
|
|
16658
|
-
"Cost.ModelCatalogPriceSemantics": {
|
|
16659
|
-
"type": "string",
|
|
16660
|
-
"enum": [
|
|
16661
|
-
"minimum_available_rate",
|
|
16662
|
-
"published_rate"
|
|
16663
|
-
],
|
|
16664
|
-
"description": "How a live catalog rate was selected when estimating cluster cost."
|
|
16665
|
-
},
|
|
16666
|
-
"Cost.ModelCatalogPublishedReplacementEvidence": {
|
|
16667
|
-
"type": "object",
|
|
16668
|
-
"required": [
|
|
16669
|
-
"rate_relation",
|
|
16670
|
-
"replaces_usage_dimension",
|
|
16671
|
-
"conditional_evidence"
|
|
16672
|
-
],
|
|
16673
|
-
"properties": {
|
|
16674
|
-
"rate_relation": {
|
|
16675
|
-
"type": "string",
|
|
16676
|
-
"enum": [
|
|
16677
|
-
"replaces_published_rate"
|
|
16678
|
-
]
|
|
16679
|
-
},
|
|
16680
|
-
"replaces_usage_dimension": {
|
|
16681
|
-
"type": "string",
|
|
16682
|
-
"description": "Published usage dimension whose prior base, surcharge, or subtype rate was replaced."
|
|
16683
|
-
},
|
|
16684
|
-
"conditional_evidence": {
|
|
16685
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogConditionalRateEvidence"
|
|
16686
|
-
}
|
|
16687
|
-
},
|
|
16688
|
-
"unevaluatedProperties": {
|
|
16689
|
-
"not": {}
|
|
16690
|
-
}
|
|
16691
|
-
},
|
|
16692
|
-
"Cost.ModelCatalogRateRelation": {
|
|
16693
|
-
"type": "string",
|
|
16694
|
-
"enum": [
|
|
16695
|
-
"base_rate",
|
|
16696
|
-
"additive_surcharge",
|
|
16697
|
-
"replaces_inclusive_base_rate",
|
|
16698
|
-
"replaces_published_rate"
|
|
16699
|
-
],
|
|
16700
|
-
"description": "How a selected catalog rate relates to the source's published base rate for the same component."
|
|
16701
|
-
},
|
|
16702
|
-
"Cost.ModelCatalogSource": {
|
|
16703
|
-
"type": "object",
|
|
16704
|
-
"required": [
|
|
16705
|
-
"source_id",
|
|
16706
|
-
"priority",
|
|
16707
|
-
"status",
|
|
16708
|
-
"source_endpoint"
|
|
16709
|
-
],
|
|
16710
|
-
"properties": {
|
|
16711
|
-
"source_id": {
|
|
16712
|
-
"type": "string",
|
|
16713
|
-
"description": "Unique stable identifier of the configured catalog source."
|
|
16714
|
-
},
|
|
16715
|
-
"priority": {
|
|
16716
|
-
"allOf": [
|
|
16717
|
-
{
|
|
16718
|
-
"$ref": "#/components/schemas/Common.Count"
|
|
16719
|
-
}
|
|
16720
|
-
],
|
|
16721
|
-
"description": "Configured source priority used for deterministic selection when multiple current catalogs match. Zero is highest priority; lower values win."
|
|
16722
|
-
},
|
|
16723
|
-
"status": {
|
|
16724
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogSourceStatus"
|
|
16725
|
-
},
|
|
16726
|
-
"price_semantics": {
|
|
16727
|
-
"allOf": [
|
|
16728
|
-
{
|
|
16729
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogPriceSemantics"
|
|
16730
|
-
}
|
|
16731
|
-
],
|
|
16732
|
-
"description": "Rate-selection semantics published by this source's active snapshot."
|
|
16733
|
-
},
|
|
16734
|
-
"source_endpoint": {
|
|
16735
|
-
"allOf": [
|
|
16736
|
-
{
|
|
16737
|
-
"$ref": "#/components/schemas/Common.UrlString"
|
|
16738
|
-
}
|
|
16739
|
-
],
|
|
16740
|
-
"description": "Configured API endpoint used to fetch the live model catalog."
|
|
16741
|
-
},
|
|
16742
|
-
"last_attempt_at": {
|
|
16743
|
-
"type": "string",
|
|
16744
|
-
"format": "date-time",
|
|
16745
|
-
"description": "UTC time of the latest fetch attempt."
|
|
16746
|
-
},
|
|
16747
|
-
"last_verified_at": {
|
|
16748
|
-
"type": "string",
|
|
16749
|
-
"format": "date-time",
|
|
16750
|
-
"description": "UTC time when the source was last verified successfully, including a verification that retained unchanged content."
|
|
16751
|
-
},
|
|
16752
|
-
"retrieved_at": {
|
|
16753
|
-
"type": "string",
|
|
16754
|
-
"format": "date-time",
|
|
16755
|
-
"description": "UTC time when the content of the currently retained catalog snapshot was retrieved."
|
|
16756
|
-
},
|
|
16757
|
-
"active_snapshot_id": {
|
|
16758
|
-
"type": "string",
|
|
16759
|
-
"description": "Content-addressed identifier of the catalog snapshot currently used for estimates."
|
|
16760
|
-
},
|
|
16761
|
-
"model_count": {
|
|
16762
|
-
"allOf": [
|
|
16763
|
-
{
|
|
16764
|
-
"$ref": "#/components/schemas/Common.Count"
|
|
16765
|
-
}
|
|
16766
|
-
],
|
|
16767
|
-
"description": "Number of model records in the active catalog snapshot."
|
|
16768
|
-
},
|
|
16769
|
-
"failure_category": {
|
|
16770
|
-
"type": "string",
|
|
16771
|
-
"description": "Stable, non-sensitive failure category for the last attempt."
|
|
16772
|
-
}
|
|
16773
|
-
},
|
|
16774
|
-
"unevaluatedProperties": {
|
|
16775
|
-
"not": {}
|
|
16776
|
-
},
|
|
16777
|
-
"description": "Synchronization metadata for one configurable live model catalog source."
|
|
16778
|
-
},
|
|
16779
|
-
"Cost.ModelCatalogSourceOrder": {
|
|
16780
|
-
"type": "integer",
|
|
16781
|
-
"format": "int64",
|
|
16782
|
-
"minimum": 1,
|
|
16783
|
-
"description": "One-based position of a conditional override in its source response."
|
|
16784
|
-
},
|
|
16785
|
-
"Cost.ModelCatalogSourceStatus": {
|
|
16786
|
-
"type": "string",
|
|
16787
|
-
"enum": [
|
|
16788
|
-
"unconfigured",
|
|
16789
|
-
"pending",
|
|
16790
|
-
"current",
|
|
16791
|
-
"stale",
|
|
16792
|
-
"sync_failed"
|
|
16793
|
-
],
|
|
16794
|
-
"description": "Current synchronization state for a configured live model catalog."
|
|
16795
|
-
},
|
|
16796
|
-
"Cost.ModelCatalogSupersededOverrideExclusion": {
|
|
16797
|
-
"type": "object",
|
|
16798
|
-
"required": [
|
|
16799
|
-
"reason"
|
|
16800
|
-
],
|
|
16801
|
-
"properties": {
|
|
16802
|
-
"reason": {
|
|
16803
|
-
"type": "string",
|
|
16804
|
-
"enum": [
|
|
16805
|
-
"superseded_by_later_override"
|
|
16806
|
-
]
|
|
16807
|
-
}
|
|
16808
|
-
},
|
|
16809
|
-
"unevaluatedProperties": {
|
|
16810
|
-
"not": {}
|
|
16811
|
-
},
|
|
16812
|
-
"allOf": [
|
|
16813
|
-
{
|
|
16814
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogConditionalExclusionBase"
|
|
16815
|
-
}
|
|
16816
|
-
]
|
|
16817
|
-
},
|
|
16818
|
-
"Cost.ModelCatalogSupportedBillingExclusionBase": {
|
|
16819
|
-
"type": "object",
|
|
16820
|
-
"required": [
|
|
16821
|
-
"billing_mode"
|
|
16822
|
-
],
|
|
16823
|
-
"properties": {
|
|
16824
|
-
"billing_mode": {
|
|
16825
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogBillingMode"
|
|
16826
|
-
}
|
|
16827
|
-
},
|
|
16828
|
-
"allOf": [
|
|
16829
|
-
{
|
|
16830
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenEstimateExclusionBase"
|
|
16831
|
-
}
|
|
16832
|
-
]
|
|
16833
|
-
},
|
|
16834
|
-
"Cost.ModelCatalogTokenAdditiveSurchargeComponent": {
|
|
16835
|
-
"type": "object",
|
|
16836
|
-
"required": [
|
|
16837
|
-
"rate_relation"
|
|
16838
|
-
],
|
|
16839
|
-
"properties": {
|
|
16840
|
-
"rate_relation": {
|
|
16841
|
-
"type": "string",
|
|
16842
|
-
"enum": [
|
|
16843
|
-
"additive_surcharge"
|
|
16844
|
-
]
|
|
16845
|
-
}
|
|
16846
|
-
},
|
|
16847
|
-
"unevaluatedProperties": {
|
|
16848
|
-
"not": {}
|
|
16849
|
-
},
|
|
16850
|
-
"allOf": [
|
|
16851
|
-
{
|
|
16852
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenEstimateComponentBase"
|
|
16853
|
-
}
|
|
16854
|
-
]
|
|
16855
|
-
},
|
|
16856
|
-
"Cost.ModelCatalogTokenBaseRateComponent": {
|
|
16857
|
-
"type": "object",
|
|
16858
|
-
"required": [
|
|
16859
|
-
"rate_relation"
|
|
16860
|
-
],
|
|
16861
|
-
"properties": {
|
|
16862
|
-
"rate_relation": {
|
|
16863
|
-
"type": "string",
|
|
16864
|
-
"enum": [
|
|
16865
|
-
"base_rate"
|
|
16866
|
-
]
|
|
16867
|
-
}
|
|
16868
|
-
},
|
|
16869
|
-
"unevaluatedProperties": {
|
|
16870
|
-
"not": {}
|
|
16871
|
-
},
|
|
16872
|
-
"allOf": [
|
|
16873
|
-
{
|
|
16874
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenEstimateComponentBase"
|
|
16875
|
-
}
|
|
16876
|
-
]
|
|
16877
|
-
},
|
|
16878
|
-
"Cost.ModelCatalogTokenConditionalOverrideRateComponent": {
|
|
16879
|
-
"type": "object",
|
|
16880
|
-
"required": [
|
|
16881
|
-
"rate_relation",
|
|
16882
|
-
"replaces_usage_dimension",
|
|
16883
|
-
"conditional_evidence"
|
|
16884
|
-
],
|
|
16885
|
-
"properties": {
|
|
16886
|
-
"rate_relation": {
|
|
16887
|
-
"type": "string",
|
|
16888
|
-
"enum": [
|
|
16889
|
-
"replaces_published_rate"
|
|
16890
|
-
]
|
|
16891
|
-
},
|
|
16892
|
-
"replaces_usage_dimension": {
|
|
16893
|
-
"type": "string",
|
|
16894
|
-
"description": "Published usage dimension whose prior base, surcharge, or subtype rate was replaced."
|
|
16895
|
-
},
|
|
16896
|
-
"conditional_evidence": {
|
|
16897
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogConditionalRateEvidence"
|
|
16898
|
-
}
|
|
16899
|
-
},
|
|
16900
|
-
"unevaluatedProperties": {
|
|
16901
|
-
"not": {}
|
|
16902
|
-
},
|
|
16903
|
-
"allOf": [
|
|
16904
|
-
{
|
|
16905
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenEstimateComponentBase"
|
|
16906
|
-
}
|
|
16907
|
-
]
|
|
16908
|
-
},
|
|
16909
|
-
"Cost.ModelCatalogTokenEstimateComponent": {
|
|
16910
|
-
"oneOf": [
|
|
16911
|
-
{
|
|
16912
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenBaseRateComponent"
|
|
16913
|
-
},
|
|
16914
|
-
{
|
|
16915
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenAdditiveSurchargeComponent"
|
|
16916
|
-
},
|
|
16917
|
-
{
|
|
16918
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenInclusiveReplacementRateComponent"
|
|
16919
|
-
},
|
|
16920
|
-
{
|
|
16921
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenConditionalOverrideRateComponent"
|
|
16922
|
-
}
|
|
16923
|
-
],
|
|
16924
|
-
"description": "One evidenced token or request component contributing to a current-catalog estimate. The rate_relation literal selects the required evidence shape."
|
|
16925
|
-
},
|
|
16926
|
-
"Cost.ModelCatalogTokenEstimateComponentBase": {
|
|
16927
|
-
"type": "object",
|
|
16928
|
-
"required": [
|
|
16929
|
-
"component",
|
|
16930
|
-
"usage_dimension",
|
|
16931
|
-
"unit",
|
|
16932
|
-
"source_billing_mode",
|
|
16933
|
-
"billing_mode",
|
|
16934
|
-
"quantity",
|
|
16935
|
-
"unit_price_usd",
|
|
16936
|
-
"estimated_cost_usd"
|
|
16937
|
-
],
|
|
16938
|
-
"properties": {
|
|
16939
|
-
"component": {
|
|
16940
|
-
"type": "string",
|
|
16941
|
-
"description": "Source-defined pricing component, such as prompt, completion, request, cache read, cache write, or internal reasoning."
|
|
16942
|
-
},
|
|
16943
|
-
"usage_dimension": {
|
|
16944
|
-
"type": "string",
|
|
16945
|
-
"description": "Qyl-observed usage dimension to which this rate was applied, such as input_tokens or output_tokens."
|
|
16946
|
-
},
|
|
16947
|
-
"unit": {
|
|
16948
|
-
"type": "string",
|
|
16949
|
-
"description": "Source-declared unit represented by the rate."
|
|
16950
|
-
},
|
|
16951
|
-
"source_billing_mode": {
|
|
16952
|
-
"type": "string",
|
|
16953
|
-
"description": "Source-specific billing mode retained from the catalog or deterministically derived from the provider-defined meter."
|
|
16954
|
-
},
|
|
16955
|
-
"billing_mode": {
|
|
16956
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogBillingMode"
|
|
16957
|
-
},
|
|
16958
|
-
"quantity": {
|
|
16959
|
-
"type": "number",
|
|
16960
|
-
"format": "double",
|
|
16961
|
-
"minimum": 0,
|
|
16962
|
-
"description": "Measured quantity to which the catalog unit price was applied."
|
|
16963
|
-
},
|
|
16964
|
-
"unit_price_usd": {
|
|
16965
|
-
"allOf": [
|
|
16966
|
-
{
|
|
16967
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
16968
|
-
}
|
|
16969
|
-
],
|
|
16970
|
-
"description": "Catalog price in USD per source-defined unit."
|
|
16971
|
-
},
|
|
16972
|
-
"estimated_cost_usd": {
|
|
16973
|
-
"allOf": [
|
|
16974
|
-
{
|
|
16975
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
16976
|
-
}
|
|
16977
|
-
],
|
|
16978
|
-
"description": "Estimated USD contribution of this component for the reported cluster period."
|
|
16979
|
-
}
|
|
16980
|
-
},
|
|
16981
|
-
"description": "Fields shared by every included token or request pricing component."
|
|
16982
|
-
},
|
|
16983
|
-
"Cost.ModelCatalogTokenEstimateExclusion": {
|
|
16984
|
-
"oneOf": [
|
|
16985
|
-
{
|
|
16986
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogUsageNotObservedExclusion"
|
|
16987
|
-
},
|
|
16988
|
-
{
|
|
16989
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogConditionalAdjustmentNotAppliedExclusion"
|
|
16990
|
-
},
|
|
16991
|
-
{
|
|
16992
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogSupersededOverrideExclusion"
|
|
16993
|
-
},
|
|
16994
|
-
{
|
|
16995
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogOutsideTokenScopeExclusion"
|
|
16996
|
-
},
|
|
16997
|
-
{
|
|
16998
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogUnsupportedUsageExclusion"
|
|
16999
|
-
},
|
|
17000
|
-
{
|
|
17001
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogUnsupportedBillingExclusion"
|
|
17002
|
-
}
|
|
17003
|
-
],
|
|
17004
|
-
"description": "Auditable catalog meter or conditional adjustment excluded from a token-and-request estimate. The reason literal selects the required evidence shape."
|
|
17005
|
-
},
|
|
17006
|
-
"Cost.ModelCatalogTokenEstimateExclusionBase": {
|
|
17007
|
-
"type": "object",
|
|
17008
|
-
"required": [
|
|
17009
|
-
"component",
|
|
17010
|
-
"usage_dimension",
|
|
17011
|
-
"unit",
|
|
17012
|
-
"source_billing_mode",
|
|
17013
|
-
"rate_evidence"
|
|
17014
|
-
],
|
|
17015
|
-
"properties": {
|
|
17016
|
-
"component": {
|
|
17017
|
-
"type": "string"
|
|
17018
|
-
},
|
|
17019
|
-
"usage_dimension": {
|
|
17020
|
-
"type": "string"
|
|
17021
|
-
},
|
|
17022
|
-
"unit": {
|
|
17023
|
-
"type": "string"
|
|
17024
|
-
},
|
|
17025
|
-
"source_billing_mode": {
|
|
17026
|
-
"type": "string",
|
|
17027
|
-
"description": "Source-specific billing mode retained from the catalog or deterministically derived from the provider-defined meter, including unsupported modes."
|
|
17028
|
-
},
|
|
17029
|
-
"rate_evidence": {
|
|
17030
|
-
"allOf": [
|
|
17031
|
-
{
|
|
17032
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogExclusionRateEvidence"
|
|
17033
|
-
}
|
|
17034
|
-
],
|
|
17035
|
-
"description": "Relation, replacement target, and ordered override evidence for the omitted rate."
|
|
17036
|
-
},
|
|
17037
|
-
"unit_price_usd": {
|
|
17038
|
-
"allOf": [
|
|
17039
|
-
{
|
|
17040
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
17041
|
-
}
|
|
17042
|
-
],
|
|
17043
|
-
"description": "Catalog rate omitted from the estimate, when the source supplied one."
|
|
17044
|
-
}
|
|
17045
|
-
},
|
|
17046
|
-
"description": "Fields shared by every catalog meter or conditional adjustment excluded from a token-and-request estimate."
|
|
17047
|
-
},
|
|
17048
|
-
"Cost.ModelCatalogTokenExclusionReason": {
|
|
17049
|
-
"type": "string",
|
|
17050
|
-
"enum": [
|
|
17051
|
-
"usage_not_observed",
|
|
17052
|
-
"conditional_adjustment_not_applied",
|
|
17053
|
-
"superseded_by_later_override",
|
|
17054
|
-
"outside_token_estimate_scope",
|
|
17055
|
-
"unsupported_usage_dimension",
|
|
17056
|
-
"unsupported_billing_mode"
|
|
17057
|
-
],
|
|
17058
|
-
"description": "Why a catalog meter or conditional adjustment was not included in a token-and-request estimate."
|
|
17059
|
-
},
|
|
17060
|
-
"Cost.ModelCatalogTokenInclusiveReplacementRateComponent": {
|
|
17061
|
-
"type": "object",
|
|
17062
|
-
"required": [
|
|
17063
|
-
"rate_relation",
|
|
17064
|
-
"replaces_usage_dimension"
|
|
17065
|
-
],
|
|
17066
|
-
"properties": {
|
|
17067
|
-
"rate_relation": {
|
|
17068
|
-
"type": "string",
|
|
17069
|
-
"enum": [
|
|
17070
|
-
"replaces_inclusive_base_rate"
|
|
17071
|
-
]
|
|
17072
|
-
},
|
|
17073
|
-
"replaces_usage_dimension": {
|
|
17074
|
-
"type": "string",
|
|
17075
|
-
"description": "Inclusive base usage dimension replaced by this subtype rate."
|
|
17076
|
-
},
|
|
17077
|
-
"conditional_evidence": {
|
|
17078
|
-
"allOf": [
|
|
17079
|
-
{
|
|
17080
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogConditionalRateEvidence"
|
|
17081
|
-
}
|
|
17082
|
-
],
|
|
17083
|
-
"description": "Ordered override evidence when the source conditionally altered this subtype rate."
|
|
17084
|
-
}
|
|
17085
|
-
},
|
|
17086
|
-
"unevaluatedProperties": {
|
|
17087
|
-
"not": {}
|
|
17088
|
-
},
|
|
17089
|
-
"allOf": [
|
|
17090
|
-
{
|
|
17091
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenEstimateComponentBase"
|
|
17092
|
-
}
|
|
17093
|
-
]
|
|
17094
|
-
},
|
|
17095
|
-
"Cost.ModelCatalogUnsupportedBillingExclusion": {
|
|
17096
|
-
"type": "object",
|
|
17097
|
-
"required": [
|
|
17098
|
-
"reason"
|
|
17099
|
-
],
|
|
17100
|
-
"properties": {
|
|
17101
|
-
"billing_mode": {
|
|
17102
|
-
"allOf": [
|
|
17103
|
-
{
|
|
17104
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogBillingMode"
|
|
17105
|
-
}
|
|
17106
|
-
],
|
|
17107
|
-
"description": "Normalized billing mode when the source mode has a partial known mapping; absent when no supported normalization exists."
|
|
17108
|
-
},
|
|
17109
|
-
"reason": {
|
|
17110
|
-
"type": "string",
|
|
17111
|
-
"enum": [
|
|
17112
|
-
"unsupported_billing_mode"
|
|
17113
|
-
]
|
|
17114
|
-
}
|
|
17115
|
-
},
|
|
17116
|
-
"unevaluatedProperties": {
|
|
17117
|
-
"not": {}
|
|
17118
|
-
},
|
|
17119
|
-
"allOf": [
|
|
17120
|
-
{
|
|
17121
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogTokenEstimateExclusionBase"
|
|
17122
|
-
}
|
|
17123
|
-
]
|
|
17124
|
-
},
|
|
17125
|
-
"Cost.ModelCatalogUnsupportedUsageExclusion": {
|
|
17126
|
-
"type": "object",
|
|
17127
|
-
"required": [
|
|
17128
|
-
"reason"
|
|
17129
|
-
],
|
|
17130
|
-
"properties": {
|
|
17131
|
-
"reason": {
|
|
17132
|
-
"type": "string",
|
|
17133
|
-
"enum": [
|
|
17134
|
-
"unsupported_usage_dimension"
|
|
17135
|
-
]
|
|
17136
|
-
}
|
|
17137
|
-
},
|
|
17138
|
-
"unevaluatedProperties": {
|
|
17139
|
-
"not": {}
|
|
17140
|
-
},
|
|
17141
|
-
"allOf": [
|
|
17142
|
-
{
|
|
17143
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogOptionallyNormalizedBillingExclusionBase"
|
|
17144
|
-
}
|
|
17145
|
-
]
|
|
17146
|
-
},
|
|
17147
|
-
"Cost.ModelCatalogUsageNotObservedExclusion": {
|
|
17148
|
-
"type": "object",
|
|
17149
|
-
"required": [
|
|
17150
|
-
"reason"
|
|
17151
|
-
],
|
|
17152
|
-
"properties": {
|
|
17153
|
-
"reason": {
|
|
17154
|
-
"type": "string",
|
|
17155
|
-
"enum": [
|
|
17156
|
-
"usage_not_observed"
|
|
17157
|
-
]
|
|
17158
|
-
}
|
|
17159
|
-
},
|
|
17160
|
-
"unevaluatedProperties": {
|
|
17161
|
-
"not": {}
|
|
17162
|
-
},
|
|
17163
|
-
"allOf": [
|
|
17164
|
-
{
|
|
17165
|
-
"$ref": "#/components/schemas/Cost.ModelCatalogSupportedBillingExclusionBase"
|
|
17166
|
-
}
|
|
17167
|
-
]
|
|
17168
|
-
},
|
|
17169
|
-
"Cost.ProviderBillingAttribution": {
|
|
17170
|
-
"type": "string",
|
|
17171
|
-
"enum": [
|
|
17172
|
-
"provider_model_period",
|
|
17173
|
-
"provider_period",
|
|
17174
|
-
"unavailable"
|
|
17175
|
-
],
|
|
17176
|
-
"description": "Granularity at which official provider-billed cost can be attributed to telemetry."
|
|
17177
|
-
},
|
|
17178
|
-
"Cost.ProviderBillingSource": {
|
|
17179
|
-
"type": "object",
|
|
17180
|
-
"required": [
|
|
17181
|
-
"provider",
|
|
17182
|
-
"status",
|
|
17183
|
-
"source_endpoint",
|
|
17184
|
-
"attribution"
|
|
17185
|
-
],
|
|
17186
|
-
"properties": {
|
|
17187
|
-
"provider": {
|
|
17188
|
-
"type": "string",
|
|
17189
|
-
"description": "Canonical GenAI provider or cloud billing system name."
|
|
17190
|
-
},
|
|
17191
|
-
"status": {
|
|
17192
|
-
"allOf": [
|
|
17193
|
-
{
|
|
17194
|
-
"$ref": "#/components/schemas/Cost.ProviderBillingSourceStatus"
|
|
17195
|
-
}
|
|
17196
|
-
],
|
|
17197
|
-
"description": "Current billing synchronization state."
|
|
17198
|
-
},
|
|
17199
|
-
"source_endpoint": {
|
|
17200
|
-
"allOf": [
|
|
17201
|
-
{
|
|
17202
|
-
"$ref": "#/components/schemas/Common.UrlString"
|
|
17203
|
-
}
|
|
17204
|
-
],
|
|
17205
|
-
"description": "Official provider-owned API endpoint used for the fetch."
|
|
17206
|
-
},
|
|
17207
|
-
"attribution": {
|
|
17208
|
-
"allOf": [
|
|
17209
|
-
{
|
|
17210
|
-
"$ref": "#/components/schemas/Cost.ProviderBillingAttribution"
|
|
17211
|
-
}
|
|
17212
|
-
],
|
|
17213
|
-
"description": "Attribution granularity supported by this source response."
|
|
17214
|
-
},
|
|
17215
|
-
"last_attempt_at": {
|
|
17216
|
-
"type": "string",
|
|
17217
|
-
"format": "date-time",
|
|
17218
|
-
"description": "UTC time of the latest fetch attempt."
|
|
17219
|
-
},
|
|
17220
|
-
"last_success_at": {
|
|
17221
|
-
"type": "string",
|
|
17222
|
-
"format": "date-time",
|
|
17223
|
-
"description": "UTC time of the latest successful fetch."
|
|
17224
|
-
},
|
|
17225
|
-
"period_start": {
|
|
17226
|
-
"type": "string",
|
|
17227
|
-
"format": "date-time",
|
|
17228
|
-
"description": "Start of the provider billing period."
|
|
17229
|
-
},
|
|
17230
|
-
"period_end": {
|
|
17231
|
-
"type": "string",
|
|
17232
|
-
"format": "date-time",
|
|
17233
|
-
"description": "End of the provider billing period."
|
|
17234
|
-
},
|
|
17235
|
-
"currency_code": {
|
|
17236
|
-
"type": "string",
|
|
17237
|
-
"description": "ISO 4217 currency code returned by the provider."
|
|
17238
|
-
},
|
|
17239
|
-
"reported_cost_usd": {
|
|
17240
|
-
"allOf": [
|
|
17241
|
-
{
|
|
17242
|
-
"$ref": "#/components/schemas/Common.CostUsd"
|
|
17243
|
-
}
|
|
17244
|
-
],
|
|
17245
|
-
"description": "Cost returned by the provider for this period, converted from provider-declared USD units without rate inference."
|
|
17246
|
-
},
|
|
17247
|
-
"model": {
|
|
17248
|
-
"type": "string",
|
|
17249
|
-
"description": "Model identifier returned by the provider when the source supports it."
|
|
17250
|
-
},
|
|
17251
|
-
"failure_category": {
|
|
17252
|
-
"type": "string",
|
|
17253
|
-
"description": "Stable, non-sensitive failure category for the last attempt."
|
|
17254
|
-
}
|
|
17255
|
-
},
|
|
17256
|
-
"unevaluatedProperties": {
|
|
17257
|
-
"not": {}
|
|
17258
|
-
},
|
|
17259
|
-
"description": "Provenance for billed cost data fetched directly from a provider-owned API."
|
|
17260
|
-
},
|
|
17261
|
-
"Cost.ProviderBillingSourceStatus": {
|
|
17262
|
-
"type": "string",
|
|
17263
|
-
"enum": [
|
|
17264
|
-
"unconfigured",
|
|
17265
|
-
"pending",
|
|
17266
|
-
"current",
|
|
17267
|
-
"stale",
|
|
17268
|
-
"sync_failed"
|
|
17269
|
-
],
|
|
17270
|
-
"description": "Current synchronization state for a provider-owned billing source."
|
|
17271
|
-
},
|
|
17272
15049
|
"Domains.Observe.Session.DeviceType": {
|
|
17273
15050
|
"type": "string",
|
|
17274
15051
|
"enum": [
|