@sixb/server 0.1.21 → 0.1.23
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/dist/artifacts/frame.d.ts +5 -0
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/auth/browser-origin.d.ts +5 -1
- package/dist/auth/browser-origin.d.ts.map +1 -1
- package/dist/auth/experience.d.ts +1 -0
- package/dist/auth/experience.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/responses.d.ts +1 -1
- package/dist/auth/responses.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +19 -3
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/index.js +10093 -7553
- package/dist/index.js.map +51 -39
- package/dist/models/display.d.ts +27 -0
- package/dist/models/display.d.ts.map +1 -1
- package/dist/openapi/components.d.ts +14 -0
- package/dist/openapi/components.d.ts.map +1 -0
- package/dist/openapi/tags.d.ts +14 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +5 -5
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agent-approval-gate.d.ts +27 -0
- package/dist/routes/agent-approval-gate.d.ts.map +1 -0
- package/dist/routes/agent-approvals.d.ts +599 -0
- package/dist/routes/agent-approvals.d.ts.map +1 -0
- package/dist/routes/agent-children.d.ts +318 -0
- package/dist/routes/agent-children.d.ts.map +1 -0
- package/dist/routes/agent-memory.d.ts +267 -0
- package/dist/routes/agent-memory.d.ts.map +1 -0
- package/dist/routes/agents.d.ts +999 -80
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/artifact-frames.d.ts +3 -3
- package/dist/routes/artifact-frames.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +790 -134
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +116 -10
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +50 -50
- package/dist/routes/connectors.d.ts +2 -2
- package/dist/routes/datasets.d.ts +20 -20
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/files.d.ts +14 -14
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +2 -2
- package/dist/routes/logs.d.ts +5 -5
- package/dist/routes/model-calls.d.ts +155 -0
- package/dist/routes/model-calls.d.ts.map +1 -0
- package/dist/routes/model-generations.d.ts +400 -0
- package/dist/routes/model-generations.d.ts.map +1 -0
- package/dist/routes/models.d.ts +434 -1
- package/dist/routes/models.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +71 -40
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +682 -0
- package/dist/routes/observed-agent-threads.d.ts.map +1 -0
- package/dist/routes/ontology.d.ts +66 -62
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +24 -24
- package/dist/routes/projections.d.ts +55 -55
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/share-grants.d.ts +9 -9
- package/dist/routes/syncs.d.ts +46 -46
- package/dist/routes/users.d.ts +117 -0
- package/dist/routes/users.d.ts.map +1 -0
- package/dist/routes/webhook-runs.d.ts +1 -1
- package/dist/routes/workflows.d.ts +118 -52
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +7 -2
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +6 -6
- package/dist/routes/ws/logs.d.ts +14 -14
- package/dist/schemas/actions.d.ts +15 -15
- package/dist/schemas/activity.d.ts +48 -28
- package/dist/schemas/activity.d.ts.map +1 -1
- package/dist/schemas/agent-approvals.d.ts +1091 -0
- package/dist/schemas/agent-approvals.d.ts.map +1 -0
- package/dist/schemas/agent-memory.d.ts +250 -0
- package/dist/schemas/agent-memory.d.ts.map +1 -0
- package/dist/schemas/agents.d.ts +5442 -369
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1290 -411
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/ai-limits.d.ts +10 -10
- package/dist/schemas/ai-usage.d.ts +12 -0
- package/dist/schemas/ai-usage.d.ts.map +1 -1
- package/dist/schemas/artifacts.d.ts +650 -98
- package/dist/schemas/artifacts.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +119 -46
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +22 -22
- package/dist/schemas/datasets.d.ts +98 -98
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +26 -26
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +24 -24
- package/dist/schemas/links.d.ts +2 -2
- package/dist/schemas/logs.d.ts +32 -32
- package/dist/schemas/models.d.ts +8889 -10
- package/dist/schemas/models.d.ts.map +1 -1
- package/dist/schemas/objects.d.ts +48 -12
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +127 -104
- package/dist/schemas/ontology.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +132 -132
- package/dist/schemas/projections.d.ts +314 -314
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/share-grants.d.ts +30 -30
- package/dist/schemas/syncs.d.ts +49 -49
- package/dist/schemas/users.d.ts +72 -0
- package/dist/schemas/users.d.ts.map +1 -0
- package/dist/schemas/webhook-runs.d.ts +6 -6
- package/dist/schemas/workflows.d.ts +701 -186
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/artifacts/frame.ts +6 -1
- package/src/auth/browser-origin.ts +8 -3
- package/src/auth/experience.ts +1 -1
- package/src/auth/guard.ts +2 -2
- package/src/auth/public-routes.ts +6 -0
- package/src/auth/responses.ts +7 -6
- package/src/auth/scope.ts +32 -3
- package/src/models/display.ts +61 -16
- package/src/openapi/components.ts +54 -0
- package/src/openapi/tags.ts +12 -0
- package/src/registerRoutes.ts +14 -0
- package/src/routes/agent-api-gateway.ts +115 -91
- package/src/routes/agent-approval-gate.ts +213 -0
- package/src/routes/agent-approvals.ts +299 -0
- package/src/routes/agent-children.ts +209 -0
- package/src/routes/agent-memory.ts +210 -0
- package/src/routes/agents.ts +363 -142
- package/src/routes/ai-accounting.ts +4 -0
- package/src/routes/artifact-frames.ts +14 -8
- package/src/routes/artifacts.ts +297 -22
- package/src/routes/auth.ts +306 -13
- package/src/routes/files.ts +6 -7
- package/src/routes/model-calls.ts +120 -0
- package/src/routes/model-generations.ts +245 -0
- package/src/routes/models.ts +116 -9
- package/src/routes/objects.ts +55 -61
- package/src/routes/observed-agent-threads.ts +253 -0
- package/src/routes/ontology.ts +1 -0
- package/src/routes/users.ts +73 -0
- package/src/routes/workflows.ts +6 -9
- package/src/routes/ws/agents.ts +10 -5
- package/src/schemas/activity.ts +2 -0
- package/src/schemas/agent-approvals.ts +129 -0
- package/src/schemas/agent-memory.ts +96 -0
- package/src/schemas/agents.ts +239 -0
- package/src/schemas/ai-accounting.ts +40 -4
- package/src/schemas/ai-usage.ts +10 -0
- package/src/schemas/artifacts.ts +91 -3
- package/src/schemas/auth.ts +25 -0
- package/src/schemas/models.ts +197 -1
- package/src/schemas/objects.ts +181 -0
- package/src/schemas/ontology.ts +1 -0
- package/src/schemas/users.ts +24 -0
- package/src/schemas/workflows.ts +2 -0
- package/src/server.ts +9 -10
- package/src/utils/http.ts +2 -0
|
@@ -131,6 +131,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
131
131
|
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
132
132
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
133
133
|
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
135
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
137
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
134
138
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
135
139
|
}, "strip", z.ZodTypeAny, {
|
|
136
140
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
@@ -143,6 +147,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
143
147
|
textOutputTokens?: number | undefined;
|
|
144
148
|
reasoningOutputTokens?: number | undefined;
|
|
145
149
|
audioDurationMs?: number | undefined;
|
|
150
|
+
imageOutputTokens?: number | undefined;
|
|
151
|
+
audioOutputTokens?: number | undefined;
|
|
152
|
+
outputImages?: number | undefined;
|
|
153
|
+
inputCharacters?: number | undefined;
|
|
146
154
|
}, {
|
|
147
155
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
148
156
|
inputTokens?: number | undefined;
|
|
@@ -154,6 +162,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
154
162
|
textOutputTokens?: number | undefined;
|
|
155
163
|
reasoningOutputTokens?: number | undefined;
|
|
156
164
|
audioDurationMs?: number | undefined;
|
|
165
|
+
imageOutputTokens?: number | undefined;
|
|
166
|
+
audioOutputTokens?: number | undefined;
|
|
167
|
+
outputImages?: number | undefined;
|
|
168
|
+
inputCharacters?: number | undefined;
|
|
157
169
|
}>;
|
|
158
170
|
usageCoverage: z.ZodObject<{
|
|
159
171
|
completeCallCount: z.ZodNumber;
|
|
@@ -166,6 +178,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
166
178
|
textOutputTokens: z.ZodNumber;
|
|
167
179
|
reasoningOutputTokens: z.ZodNumber;
|
|
168
180
|
audioDurationMs: z.ZodNumber;
|
|
181
|
+
imageOutputTokens: z.ZodNumber;
|
|
182
|
+
audioOutputTokens: z.ZodNumber;
|
|
183
|
+
outputImages: z.ZodNumber;
|
|
184
|
+
inputCharacters: z.ZodNumber;
|
|
169
185
|
}, "strip", z.ZodTypeAny, {
|
|
170
186
|
inputTokens: number;
|
|
171
187
|
outputTokens: number;
|
|
@@ -175,6 +191,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
175
191
|
textOutputTokens: number;
|
|
176
192
|
reasoningOutputTokens: number;
|
|
177
193
|
audioDurationMs: number;
|
|
194
|
+
imageOutputTokens: number;
|
|
195
|
+
audioOutputTokens: number;
|
|
196
|
+
outputImages: number;
|
|
197
|
+
inputCharacters: number;
|
|
178
198
|
}, {
|
|
179
199
|
inputTokens: number;
|
|
180
200
|
outputTokens: number;
|
|
@@ -184,6 +204,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
184
204
|
textOutputTokens: number;
|
|
185
205
|
reasoningOutputTokens: number;
|
|
186
206
|
audioDurationMs: number;
|
|
207
|
+
imageOutputTokens: number;
|
|
208
|
+
audioOutputTokens: number;
|
|
209
|
+
outputImages: number;
|
|
210
|
+
inputCharacters: number;
|
|
187
211
|
}>;
|
|
188
212
|
}, "strip", z.ZodTypeAny, {
|
|
189
213
|
completeCallCount: number;
|
|
@@ -196,6 +220,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
196
220
|
textOutputTokens: number;
|
|
197
221
|
reasoningOutputTokens: number;
|
|
198
222
|
audioDurationMs: number;
|
|
223
|
+
imageOutputTokens: number;
|
|
224
|
+
audioOutputTokens: number;
|
|
225
|
+
outputImages: number;
|
|
226
|
+
inputCharacters: number;
|
|
199
227
|
};
|
|
200
228
|
}, {
|
|
201
229
|
completeCallCount: number;
|
|
@@ -208,6 +236,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
208
236
|
textOutputTokens: number;
|
|
209
237
|
reasoningOutputTokens: number;
|
|
210
238
|
audioDurationMs: number;
|
|
239
|
+
imageOutputTokens: number;
|
|
240
|
+
audioOutputTokens: number;
|
|
241
|
+
outputImages: number;
|
|
242
|
+
inputCharacters: number;
|
|
211
243
|
};
|
|
212
244
|
}>;
|
|
213
245
|
costs: z.ZodObject<{
|
|
@@ -242,7 +274,6 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
242
274
|
unvaluedCallCount: number;
|
|
243
275
|
}>;
|
|
244
276
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
modelCallCount: number;
|
|
246
277
|
usage: {
|
|
247
278
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
248
279
|
inputTokens?: number | undefined;
|
|
@@ -254,7 +285,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
254
285
|
textOutputTokens?: number | undefined;
|
|
255
286
|
reasoningOutputTokens?: number | undefined;
|
|
256
287
|
audioDurationMs?: number | undefined;
|
|
288
|
+
imageOutputTokens?: number | undefined;
|
|
289
|
+
audioOutputTokens?: number | undefined;
|
|
290
|
+
outputImages?: number | undefined;
|
|
291
|
+
inputCharacters?: number | undefined;
|
|
257
292
|
};
|
|
293
|
+
modelCallCount: number;
|
|
258
294
|
usageCoverage: {
|
|
259
295
|
completeCallCount: number;
|
|
260
296
|
fieldCallCounts: {
|
|
@@ -266,6 +302,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
266
302
|
textOutputTokens: number;
|
|
267
303
|
reasoningOutputTokens: number;
|
|
268
304
|
audioDurationMs: number;
|
|
305
|
+
imageOutputTokens: number;
|
|
306
|
+
audioOutputTokens: number;
|
|
307
|
+
outputImages: number;
|
|
308
|
+
inputCharacters: number;
|
|
269
309
|
};
|
|
270
310
|
};
|
|
271
311
|
costs: {
|
|
@@ -278,7 +318,6 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
278
318
|
unvaluedCallCount: number;
|
|
279
319
|
};
|
|
280
320
|
}, {
|
|
281
|
-
modelCallCount: number;
|
|
282
321
|
usage: {
|
|
283
322
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
284
323
|
inputTokens?: number | undefined;
|
|
@@ -290,7 +329,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
290
329
|
textOutputTokens?: number | undefined;
|
|
291
330
|
reasoningOutputTokens?: number | undefined;
|
|
292
331
|
audioDurationMs?: number | undefined;
|
|
332
|
+
imageOutputTokens?: number | undefined;
|
|
333
|
+
audioOutputTokens?: number | undefined;
|
|
334
|
+
outputImages?: number | undefined;
|
|
335
|
+
inputCharacters?: number | undefined;
|
|
293
336
|
};
|
|
337
|
+
modelCallCount: number;
|
|
294
338
|
usageCoverage: {
|
|
295
339
|
completeCallCount: number;
|
|
296
340
|
fieldCallCounts: {
|
|
@@ -302,6 +346,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
302
346
|
textOutputTokens: number;
|
|
303
347
|
reasoningOutputTokens: number;
|
|
304
348
|
audioDurationMs: number;
|
|
349
|
+
imageOutputTokens: number;
|
|
350
|
+
audioOutputTokens: number;
|
|
351
|
+
outputImages: number;
|
|
352
|
+
inputCharacters: number;
|
|
305
353
|
};
|
|
306
354
|
};
|
|
307
355
|
costs: {
|
|
@@ -326,6 +374,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
326
374
|
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
327
375
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
328
376
|
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
377
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
379
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
380
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
329
381
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
330
382
|
}, "strip", z.ZodTypeAny, {
|
|
331
383
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
@@ -338,6 +390,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
338
390
|
textOutputTokens?: number | undefined;
|
|
339
391
|
reasoningOutputTokens?: number | undefined;
|
|
340
392
|
audioDurationMs?: number | undefined;
|
|
393
|
+
imageOutputTokens?: number | undefined;
|
|
394
|
+
audioOutputTokens?: number | undefined;
|
|
395
|
+
outputImages?: number | undefined;
|
|
396
|
+
inputCharacters?: number | undefined;
|
|
341
397
|
}, {
|
|
342
398
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
343
399
|
inputTokens?: number | undefined;
|
|
@@ -349,6 +405,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
349
405
|
textOutputTokens?: number | undefined;
|
|
350
406
|
reasoningOutputTokens?: number | undefined;
|
|
351
407
|
audioDurationMs?: number | undefined;
|
|
408
|
+
imageOutputTokens?: number | undefined;
|
|
409
|
+
audioOutputTokens?: number | undefined;
|
|
410
|
+
outputImages?: number | undefined;
|
|
411
|
+
inputCharacters?: number | undefined;
|
|
352
412
|
}>;
|
|
353
413
|
usageCoverage: z.ZodObject<{
|
|
354
414
|
completeCallCount: z.ZodNumber;
|
|
@@ -361,6 +421,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
361
421
|
textOutputTokens: z.ZodNumber;
|
|
362
422
|
reasoningOutputTokens: z.ZodNumber;
|
|
363
423
|
audioDurationMs: z.ZodNumber;
|
|
424
|
+
imageOutputTokens: z.ZodNumber;
|
|
425
|
+
audioOutputTokens: z.ZodNumber;
|
|
426
|
+
outputImages: z.ZodNumber;
|
|
427
|
+
inputCharacters: z.ZodNumber;
|
|
364
428
|
}, "strip", z.ZodTypeAny, {
|
|
365
429
|
inputTokens: number;
|
|
366
430
|
outputTokens: number;
|
|
@@ -370,6 +434,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
370
434
|
textOutputTokens: number;
|
|
371
435
|
reasoningOutputTokens: number;
|
|
372
436
|
audioDurationMs: number;
|
|
437
|
+
imageOutputTokens: number;
|
|
438
|
+
audioOutputTokens: number;
|
|
439
|
+
outputImages: number;
|
|
440
|
+
inputCharacters: number;
|
|
373
441
|
}, {
|
|
374
442
|
inputTokens: number;
|
|
375
443
|
outputTokens: number;
|
|
@@ -379,6 +447,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
379
447
|
textOutputTokens: number;
|
|
380
448
|
reasoningOutputTokens: number;
|
|
381
449
|
audioDurationMs: number;
|
|
450
|
+
imageOutputTokens: number;
|
|
451
|
+
audioOutputTokens: number;
|
|
452
|
+
outputImages: number;
|
|
453
|
+
inputCharacters: number;
|
|
382
454
|
}>;
|
|
383
455
|
}, "strip", z.ZodTypeAny, {
|
|
384
456
|
completeCallCount: number;
|
|
@@ -391,6 +463,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
391
463
|
textOutputTokens: number;
|
|
392
464
|
reasoningOutputTokens: number;
|
|
393
465
|
audioDurationMs: number;
|
|
466
|
+
imageOutputTokens: number;
|
|
467
|
+
audioOutputTokens: number;
|
|
468
|
+
outputImages: number;
|
|
469
|
+
inputCharacters: number;
|
|
394
470
|
};
|
|
395
471
|
}, {
|
|
396
472
|
completeCallCount: number;
|
|
@@ -403,6 +479,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
403
479
|
textOutputTokens: number;
|
|
404
480
|
reasoningOutputTokens: number;
|
|
405
481
|
audioDurationMs: number;
|
|
482
|
+
imageOutputTokens: number;
|
|
483
|
+
audioOutputTokens: number;
|
|
484
|
+
outputImages: number;
|
|
485
|
+
inputCharacters: number;
|
|
406
486
|
};
|
|
407
487
|
}>;
|
|
408
488
|
costs: z.ZodObject<{
|
|
@@ -440,8 +520,6 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
440
520
|
start: z.ZodString;
|
|
441
521
|
end: z.ZodString;
|
|
442
522
|
}, "strip", z.ZodTypeAny, {
|
|
443
|
-
start: string;
|
|
444
|
-
modelCallCount: number;
|
|
445
523
|
usage: {
|
|
446
524
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
447
525
|
inputTokens?: number | undefined;
|
|
@@ -453,7 +531,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
453
531
|
textOutputTokens?: number | undefined;
|
|
454
532
|
reasoningOutputTokens?: number | undefined;
|
|
455
533
|
audioDurationMs?: number | undefined;
|
|
534
|
+
imageOutputTokens?: number | undefined;
|
|
535
|
+
audioOutputTokens?: number | undefined;
|
|
536
|
+
outputImages?: number | undefined;
|
|
537
|
+
inputCharacters?: number | undefined;
|
|
456
538
|
};
|
|
539
|
+
modelCallCount: number;
|
|
457
540
|
usageCoverage: {
|
|
458
541
|
completeCallCount: number;
|
|
459
542
|
fieldCallCounts: {
|
|
@@ -465,6 +548,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
465
548
|
textOutputTokens: number;
|
|
466
549
|
reasoningOutputTokens: number;
|
|
467
550
|
audioDurationMs: number;
|
|
551
|
+
imageOutputTokens: number;
|
|
552
|
+
audioOutputTokens: number;
|
|
553
|
+
outputImages: number;
|
|
554
|
+
inputCharacters: number;
|
|
468
555
|
};
|
|
469
556
|
};
|
|
470
557
|
costs: {
|
|
@@ -476,10 +563,9 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
476
563
|
unpriceableCallCount: number;
|
|
477
564
|
unvaluedCallCount: number;
|
|
478
565
|
};
|
|
566
|
+
start: string;
|
|
479
567
|
end: string;
|
|
480
568
|
}, {
|
|
481
|
-
start: string;
|
|
482
|
-
modelCallCount: number;
|
|
483
569
|
usage: {
|
|
484
570
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
485
571
|
inputTokens?: number | undefined;
|
|
@@ -491,7 +577,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
491
577
|
textOutputTokens?: number | undefined;
|
|
492
578
|
reasoningOutputTokens?: number | undefined;
|
|
493
579
|
audioDurationMs?: number | undefined;
|
|
580
|
+
imageOutputTokens?: number | undefined;
|
|
581
|
+
audioOutputTokens?: number | undefined;
|
|
582
|
+
outputImages?: number | undefined;
|
|
583
|
+
inputCharacters?: number | undefined;
|
|
494
584
|
};
|
|
585
|
+
modelCallCount: number;
|
|
495
586
|
usageCoverage: {
|
|
496
587
|
completeCallCount: number;
|
|
497
588
|
fieldCallCounts: {
|
|
@@ -503,6 +594,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
503
594
|
textOutputTokens: number;
|
|
504
595
|
reasoningOutputTokens: number;
|
|
505
596
|
audioDurationMs: number;
|
|
597
|
+
imageOutputTokens: number;
|
|
598
|
+
audioOutputTokens: number;
|
|
599
|
+
outputImages: number;
|
|
600
|
+
inputCharacters: number;
|
|
506
601
|
};
|
|
507
602
|
};
|
|
508
603
|
costs: {
|
|
@@ -514,6 +609,7 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
514
609
|
unpriceableCallCount: number;
|
|
515
610
|
unvaluedCallCount: number;
|
|
516
611
|
};
|
|
612
|
+
start: string;
|
|
517
613
|
end: string;
|
|
518
614
|
}>, "many">;
|
|
519
615
|
models: z.ZodArray<z.ZodObject<{
|
|
@@ -528,6 +624,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
528
624
|
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
529
625
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
530
626
|
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
627
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
628
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
629
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
630
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
531
631
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
532
632
|
}, "strip", z.ZodTypeAny, {
|
|
533
633
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
@@ -540,6 +640,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
540
640
|
textOutputTokens?: number | undefined;
|
|
541
641
|
reasoningOutputTokens?: number | undefined;
|
|
542
642
|
audioDurationMs?: number | undefined;
|
|
643
|
+
imageOutputTokens?: number | undefined;
|
|
644
|
+
audioOutputTokens?: number | undefined;
|
|
645
|
+
outputImages?: number | undefined;
|
|
646
|
+
inputCharacters?: number | undefined;
|
|
543
647
|
}, {
|
|
544
648
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
545
649
|
inputTokens?: number | undefined;
|
|
@@ -551,6 +655,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
551
655
|
textOutputTokens?: number | undefined;
|
|
552
656
|
reasoningOutputTokens?: number | undefined;
|
|
553
657
|
audioDurationMs?: number | undefined;
|
|
658
|
+
imageOutputTokens?: number | undefined;
|
|
659
|
+
audioOutputTokens?: number | undefined;
|
|
660
|
+
outputImages?: number | undefined;
|
|
661
|
+
inputCharacters?: number | undefined;
|
|
554
662
|
}>;
|
|
555
663
|
usageCoverage: z.ZodObject<{
|
|
556
664
|
completeCallCount: z.ZodNumber;
|
|
@@ -563,6 +671,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
563
671
|
textOutputTokens: z.ZodNumber;
|
|
564
672
|
reasoningOutputTokens: z.ZodNumber;
|
|
565
673
|
audioDurationMs: z.ZodNumber;
|
|
674
|
+
imageOutputTokens: z.ZodNumber;
|
|
675
|
+
audioOutputTokens: z.ZodNumber;
|
|
676
|
+
outputImages: z.ZodNumber;
|
|
677
|
+
inputCharacters: z.ZodNumber;
|
|
566
678
|
}, "strip", z.ZodTypeAny, {
|
|
567
679
|
inputTokens: number;
|
|
568
680
|
outputTokens: number;
|
|
@@ -572,6 +684,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
572
684
|
textOutputTokens: number;
|
|
573
685
|
reasoningOutputTokens: number;
|
|
574
686
|
audioDurationMs: number;
|
|
687
|
+
imageOutputTokens: number;
|
|
688
|
+
audioOutputTokens: number;
|
|
689
|
+
outputImages: number;
|
|
690
|
+
inputCharacters: number;
|
|
575
691
|
}, {
|
|
576
692
|
inputTokens: number;
|
|
577
693
|
outputTokens: number;
|
|
@@ -581,6 +697,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
581
697
|
textOutputTokens: number;
|
|
582
698
|
reasoningOutputTokens: number;
|
|
583
699
|
audioDurationMs: number;
|
|
700
|
+
imageOutputTokens: number;
|
|
701
|
+
audioOutputTokens: number;
|
|
702
|
+
outputImages: number;
|
|
703
|
+
inputCharacters: number;
|
|
584
704
|
}>;
|
|
585
705
|
}, "strip", z.ZodTypeAny, {
|
|
586
706
|
completeCallCount: number;
|
|
@@ -593,6 +713,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
593
713
|
textOutputTokens: number;
|
|
594
714
|
reasoningOutputTokens: number;
|
|
595
715
|
audioDurationMs: number;
|
|
716
|
+
imageOutputTokens: number;
|
|
717
|
+
audioOutputTokens: number;
|
|
718
|
+
outputImages: number;
|
|
719
|
+
inputCharacters: number;
|
|
596
720
|
};
|
|
597
721
|
}, {
|
|
598
722
|
completeCallCount: number;
|
|
@@ -605,6 +729,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
605
729
|
textOutputTokens: number;
|
|
606
730
|
reasoningOutputTokens: number;
|
|
607
731
|
audioDurationMs: number;
|
|
732
|
+
imageOutputTokens: number;
|
|
733
|
+
audioOutputTokens: number;
|
|
734
|
+
outputImages: number;
|
|
735
|
+
inputCharacters: number;
|
|
608
736
|
};
|
|
609
737
|
}>;
|
|
610
738
|
costs: z.ZodObject<{
|
|
@@ -644,7 +772,6 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
644
772
|
}, "strip", z.ZodTypeAny, {
|
|
645
773
|
providerId: string;
|
|
646
774
|
modelId: string;
|
|
647
|
-
modelCallCount: number;
|
|
648
775
|
usage: {
|
|
649
776
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
650
777
|
inputTokens?: number | undefined;
|
|
@@ -656,7 +783,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
656
783
|
textOutputTokens?: number | undefined;
|
|
657
784
|
reasoningOutputTokens?: number | undefined;
|
|
658
785
|
audioDurationMs?: number | undefined;
|
|
786
|
+
imageOutputTokens?: number | undefined;
|
|
787
|
+
audioOutputTokens?: number | undefined;
|
|
788
|
+
outputImages?: number | undefined;
|
|
789
|
+
inputCharacters?: number | undefined;
|
|
659
790
|
};
|
|
791
|
+
modelCallCount: number;
|
|
660
792
|
usageCoverage: {
|
|
661
793
|
completeCallCount: number;
|
|
662
794
|
fieldCallCounts: {
|
|
@@ -668,6 +800,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
668
800
|
textOutputTokens: number;
|
|
669
801
|
reasoningOutputTokens: number;
|
|
670
802
|
audioDurationMs: number;
|
|
803
|
+
imageOutputTokens: number;
|
|
804
|
+
audioOutputTokens: number;
|
|
805
|
+
outputImages: number;
|
|
806
|
+
inputCharacters: number;
|
|
671
807
|
};
|
|
672
808
|
};
|
|
673
809
|
costs: {
|
|
@@ -682,7 +818,6 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
682
818
|
}, {
|
|
683
819
|
providerId: string;
|
|
684
820
|
modelId: string;
|
|
685
|
-
modelCallCount: number;
|
|
686
821
|
usage: {
|
|
687
822
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
688
823
|
inputTokens?: number | undefined;
|
|
@@ -694,7 +829,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
694
829
|
textOutputTokens?: number | undefined;
|
|
695
830
|
reasoningOutputTokens?: number | undefined;
|
|
696
831
|
audioDurationMs?: number | undefined;
|
|
832
|
+
imageOutputTokens?: number | undefined;
|
|
833
|
+
audioOutputTokens?: number | undefined;
|
|
834
|
+
outputImages?: number | undefined;
|
|
835
|
+
inputCharacters?: number | undefined;
|
|
697
836
|
};
|
|
837
|
+
modelCallCount: number;
|
|
698
838
|
usageCoverage: {
|
|
699
839
|
completeCallCount: number;
|
|
700
840
|
fieldCallCounts: {
|
|
@@ -706,6 +846,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
706
846
|
textOutputTokens: number;
|
|
707
847
|
reasoningOutputTokens: number;
|
|
708
848
|
audioDurationMs: number;
|
|
849
|
+
imageOutputTokens: number;
|
|
850
|
+
audioOutputTokens: number;
|
|
851
|
+
outputImages: number;
|
|
852
|
+
inputCharacters: number;
|
|
709
853
|
};
|
|
710
854
|
};
|
|
711
855
|
costs: {
|
|
@@ -718,7 +862,7 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
718
862
|
unvaluedCallCount: number;
|
|
719
863
|
};
|
|
720
864
|
}>, "many">;
|
|
721
|
-
|
|
865
|
+
kinds: z.ZodArray<z.ZodObject<{
|
|
722
866
|
modelCallCount: z.ZodNumber;
|
|
723
867
|
usage: z.ZodObject<{
|
|
724
868
|
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -730,6 +874,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
730
874
|
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
731
875
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
732
876
|
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
877
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
878
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
879
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
880
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
733
881
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
734
882
|
}, "strip", z.ZodTypeAny, {
|
|
735
883
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
@@ -742,6 +890,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
742
890
|
textOutputTokens?: number | undefined;
|
|
743
891
|
reasoningOutputTokens?: number | undefined;
|
|
744
892
|
audioDurationMs?: number | undefined;
|
|
893
|
+
imageOutputTokens?: number | undefined;
|
|
894
|
+
audioOutputTokens?: number | undefined;
|
|
895
|
+
outputImages?: number | undefined;
|
|
896
|
+
inputCharacters?: number | undefined;
|
|
745
897
|
}, {
|
|
746
898
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
747
899
|
inputTokens?: number | undefined;
|
|
@@ -753,6 +905,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
753
905
|
textOutputTokens?: number | undefined;
|
|
754
906
|
reasoningOutputTokens?: number | undefined;
|
|
755
907
|
audioDurationMs?: number | undefined;
|
|
908
|
+
imageOutputTokens?: number | undefined;
|
|
909
|
+
audioOutputTokens?: number | undefined;
|
|
910
|
+
outputImages?: number | undefined;
|
|
911
|
+
inputCharacters?: number | undefined;
|
|
756
912
|
}>;
|
|
757
913
|
usageCoverage: z.ZodObject<{
|
|
758
914
|
completeCallCount: z.ZodNumber;
|
|
@@ -765,6 +921,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
765
921
|
textOutputTokens: z.ZodNumber;
|
|
766
922
|
reasoningOutputTokens: z.ZodNumber;
|
|
767
923
|
audioDurationMs: z.ZodNumber;
|
|
924
|
+
imageOutputTokens: z.ZodNumber;
|
|
925
|
+
audioOutputTokens: z.ZodNumber;
|
|
926
|
+
outputImages: z.ZodNumber;
|
|
927
|
+
inputCharacters: z.ZodNumber;
|
|
768
928
|
}, "strip", z.ZodTypeAny, {
|
|
769
929
|
inputTokens: number;
|
|
770
930
|
outputTokens: number;
|
|
@@ -774,6 +934,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
774
934
|
textOutputTokens: number;
|
|
775
935
|
reasoningOutputTokens: number;
|
|
776
936
|
audioDurationMs: number;
|
|
937
|
+
imageOutputTokens: number;
|
|
938
|
+
audioOutputTokens: number;
|
|
939
|
+
outputImages: number;
|
|
940
|
+
inputCharacters: number;
|
|
777
941
|
}, {
|
|
778
942
|
inputTokens: number;
|
|
779
943
|
outputTokens: number;
|
|
@@ -783,6 +947,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
783
947
|
textOutputTokens: number;
|
|
784
948
|
reasoningOutputTokens: number;
|
|
785
949
|
audioDurationMs: number;
|
|
950
|
+
imageOutputTokens: number;
|
|
951
|
+
audioOutputTokens: number;
|
|
952
|
+
outputImages: number;
|
|
953
|
+
inputCharacters: number;
|
|
786
954
|
}>;
|
|
787
955
|
}, "strip", z.ZodTypeAny, {
|
|
788
956
|
completeCallCount: number;
|
|
@@ -795,6 +963,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
795
963
|
textOutputTokens: number;
|
|
796
964
|
reasoningOutputTokens: number;
|
|
797
965
|
audioDurationMs: number;
|
|
966
|
+
imageOutputTokens: number;
|
|
967
|
+
audioOutputTokens: number;
|
|
968
|
+
outputImages: number;
|
|
969
|
+
inputCharacters: number;
|
|
798
970
|
};
|
|
799
971
|
}, {
|
|
800
972
|
completeCallCount: number;
|
|
@@ -807,6 +979,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
807
979
|
textOutputTokens: number;
|
|
808
980
|
reasoningOutputTokens: number;
|
|
809
981
|
audioDurationMs: number;
|
|
982
|
+
imageOutputTokens: number;
|
|
983
|
+
audioOutputTokens: number;
|
|
984
|
+
outputImages: number;
|
|
985
|
+
inputCharacters: number;
|
|
810
986
|
};
|
|
811
987
|
}>;
|
|
812
988
|
costs: z.ZodObject<{
|
|
@@ -841,10 +1017,8 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
841
1017
|
unvaluedCallCount: number;
|
|
842
1018
|
}>;
|
|
843
1019
|
} & {
|
|
844
|
-
|
|
1020
|
+
modelKind: z.ZodOptional<z.ZodEnum<["language", "image", "video", "embedding", "decision", "transcription", "speech", "reranking"]>>;
|
|
845
1021
|
}, "strip", z.ZodTypeAny, {
|
|
846
|
-
kind: "agent";
|
|
847
|
-
modelCallCount: number;
|
|
848
1022
|
usage: {
|
|
849
1023
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
850
1024
|
inputTokens?: number | undefined;
|
|
@@ -856,7 +1030,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
856
1030
|
textOutputTokens?: number | undefined;
|
|
857
1031
|
reasoningOutputTokens?: number | undefined;
|
|
858
1032
|
audioDurationMs?: number | undefined;
|
|
1033
|
+
imageOutputTokens?: number | undefined;
|
|
1034
|
+
audioOutputTokens?: number | undefined;
|
|
1035
|
+
outputImages?: number | undefined;
|
|
1036
|
+
inputCharacters?: number | undefined;
|
|
859
1037
|
};
|
|
1038
|
+
modelCallCount: number;
|
|
860
1039
|
usageCoverage: {
|
|
861
1040
|
completeCallCount: number;
|
|
862
1041
|
fieldCallCounts: {
|
|
@@ -868,6 +1047,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
868
1047
|
textOutputTokens: number;
|
|
869
1048
|
reasoningOutputTokens: number;
|
|
870
1049
|
audioDurationMs: number;
|
|
1050
|
+
imageOutputTokens: number;
|
|
1051
|
+
audioOutputTokens: number;
|
|
1052
|
+
outputImages: number;
|
|
1053
|
+
inputCharacters: number;
|
|
871
1054
|
};
|
|
872
1055
|
};
|
|
873
1056
|
costs: {
|
|
@@ -879,9 +1062,8 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
879
1062
|
unpriceableCallCount: number;
|
|
880
1063
|
unvaluedCallCount: number;
|
|
881
1064
|
};
|
|
1065
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
882
1066
|
}, {
|
|
883
|
-
kind: "agent";
|
|
884
|
-
modelCallCount: number;
|
|
885
1067
|
usage: {
|
|
886
1068
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
887
1069
|
inputTokens?: number | undefined;
|
|
@@ -893,7 +1075,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
893
1075
|
textOutputTokens?: number | undefined;
|
|
894
1076
|
reasoningOutputTokens?: number | undefined;
|
|
895
1077
|
audioDurationMs?: number | undefined;
|
|
1078
|
+
imageOutputTokens?: number | undefined;
|
|
1079
|
+
audioOutputTokens?: number | undefined;
|
|
1080
|
+
outputImages?: number | undefined;
|
|
1081
|
+
inputCharacters?: number | undefined;
|
|
896
1082
|
};
|
|
1083
|
+
modelCallCount: number;
|
|
897
1084
|
usageCoverage: {
|
|
898
1085
|
completeCallCount: number;
|
|
899
1086
|
fieldCallCounts: {
|
|
@@ -905,6 +1092,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
905
1092
|
textOutputTokens: number;
|
|
906
1093
|
reasoningOutputTokens: number;
|
|
907
1094
|
audioDurationMs: number;
|
|
1095
|
+
imageOutputTokens: number;
|
|
1096
|
+
audioOutputTokens: number;
|
|
1097
|
+
outputImages: number;
|
|
1098
|
+
inputCharacters: number;
|
|
908
1099
|
};
|
|
909
1100
|
};
|
|
910
1101
|
costs: {
|
|
@@ -916,7 +1107,9 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
916
1107
|
unpriceableCallCount: number;
|
|
917
1108
|
unvaluedCallCount: number;
|
|
918
1109
|
};
|
|
919
|
-
|
|
1110
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
1111
|
+
}>, "many">;
|
|
1112
|
+
agents: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
920
1113
|
modelCallCount: z.ZodNumber;
|
|
921
1114
|
usage: z.ZodObject<{
|
|
922
1115
|
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -928,6 +1121,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
928
1121
|
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
929
1122
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
930
1123
|
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1124
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1125
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1126
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
1127
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
931
1128
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
932
1129
|
}, "strip", z.ZodTypeAny, {
|
|
933
1130
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
@@ -940,6 +1137,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
940
1137
|
textOutputTokens?: number | undefined;
|
|
941
1138
|
reasoningOutputTokens?: number | undefined;
|
|
942
1139
|
audioDurationMs?: number | undefined;
|
|
1140
|
+
imageOutputTokens?: number | undefined;
|
|
1141
|
+
audioOutputTokens?: number | undefined;
|
|
1142
|
+
outputImages?: number | undefined;
|
|
1143
|
+
inputCharacters?: number | undefined;
|
|
943
1144
|
}, {
|
|
944
1145
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
945
1146
|
inputTokens?: number | undefined;
|
|
@@ -951,6 +1152,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
951
1152
|
textOutputTokens?: number | undefined;
|
|
952
1153
|
reasoningOutputTokens?: number | undefined;
|
|
953
1154
|
audioDurationMs?: number | undefined;
|
|
1155
|
+
imageOutputTokens?: number | undefined;
|
|
1156
|
+
audioOutputTokens?: number | undefined;
|
|
1157
|
+
outputImages?: number | undefined;
|
|
1158
|
+
inputCharacters?: number | undefined;
|
|
954
1159
|
}>;
|
|
955
1160
|
usageCoverage: z.ZodObject<{
|
|
956
1161
|
completeCallCount: z.ZodNumber;
|
|
@@ -963,6 +1168,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
963
1168
|
textOutputTokens: z.ZodNumber;
|
|
964
1169
|
reasoningOutputTokens: z.ZodNumber;
|
|
965
1170
|
audioDurationMs: z.ZodNumber;
|
|
1171
|
+
imageOutputTokens: z.ZodNumber;
|
|
1172
|
+
audioOutputTokens: z.ZodNumber;
|
|
1173
|
+
outputImages: z.ZodNumber;
|
|
1174
|
+
inputCharacters: z.ZodNumber;
|
|
966
1175
|
}, "strip", z.ZodTypeAny, {
|
|
967
1176
|
inputTokens: number;
|
|
968
1177
|
outputTokens: number;
|
|
@@ -972,6 +1181,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
972
1181
|
textOutputTokens: number;
|
|
973
1182
|
reasoningOutputTokens: number;
|
|
974
1183
|
audioDurationMs: number;
|
|
1184
|
+
imageOutputTokens: number;
|
|
1185
|
+
audioOutputTokens: number;
|
|
1186
|
+
outputImages: number;
|
|
1187
|
+
inputCharacters: number;
|
|
975
1188
|
}, {
|
|
976
1189
|
inputTokens: number;
|
|
977
1190
|
outputTokens: number;
|
|
@@ -981,6 +1194,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
981
1194
|
textOutputTokens: number;
|
|
982
1195
|
reasoningOutputTokens: number;
|
|
983
1196
|
audioDurationMs: number;
|
|
1197
|
+
imageOutputTokens: number;
|
|
1198
|
+
audioOutputTokens: number;
|
|
1199
|
+
outputImages: number;
|
|
1200
|
+
inputCharacters: number;
|
|
984
1201
|
}>;
|
|
985
1202
|
}, "strip", z.ZodTypeAny, {
|
|
986
1203
|
completeCallCount: number;
|
|
@@ -993,6 +1210,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
993
1210
|
textOutputTokens: number;
|
|
994
1211
|
reasoningOutputTokens: number;
|
|
995
1212
|
audioDurationMs: number;
|
|
1213
|
+
imageOutputTokens: number;
|
|
1214
|
+
audioOutputTokens: number;
|
|
1215
|
+
outputImages: number;
|
|
1216
|
+
inputCharacters: number;
|
|
996
1217
|
};
|
|
997
1218
|
}, {
|
|
998
1219
|
completeCallCount: number;
|
|
@@ -1005,6 +1226,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1005
1226
|
textOutputTokens: number;
|
|
1006
1227
|
reasoningOutputTokens: number;
|
|
1007
1228
|
audioDurationMs: number;
|
|
1229
|
+
imageOutputTokens: number;
|
|
1230
|
+
audioOutputTokens: number;
|
|
1231
|
+
outputImages: number;
|
|
1232
|
+
inputCharacters: number;
|
|
1008
1233
|
};
|
|
1009
1234
|
}>;
|
|
1010
1235
|
costs: z.ZodObject<{
|
|
@@ -1039,12 +1264,9 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1039
1264
|
unvaluedCallCount: number;
|
|
1040
1265
|
}>;
|
|
1041
1266
|
} & {
|
|
1042
|
-
kind: z.ZodLiteral<"
|
|
1043
|
-
workflowId: z.ZodString;
|
|
1044
|
-
agentStepId: z.ZodString;
|
|
1267
|
+
kind: z.ZodLiteral<"agent">;
|
|
1045
1268
|
}, "strip", z.ZodTypeAny, {
|
|
1046
|
-
kind: "
|
|
1047
|
-
modelCallCount: number;
|
|
1269
|
+
kind: "agent";
|
|
1048
1270
|
usage: {
|
|
1049
1271
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1050
1272
|
inputTokens?: number | undefined;
|
|
@@ -1056,7 +1278,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1056
1278
|
textOutputTokens?: number | undefined;
|
|
1057
1279
|
reasoningOutputTokens?: number | undefined;
|
|
1058
1280
|
audioDurationMs?: number | undefined;
|
|
1281
|
+
imageOutputTokens?: number | undefined;
|
|
1282
|
+
audioOutputTokens?: number | undefined;
|
|
1283
|
+
outputImages?: number | undefined;
|
|
1284
|
+
inputCharacters?: number | undefined;
|
|
1059
1285
|
};
|
|
1286
|
+
modelCallCount: number;
|
|
1060
1287
|
usageCoverage: {
|
|
1061
1288
|
completeCallCount: number;
|
|
1062
1289
|
fieldCallCounts: {
|
|
@@ -1068,6 +1295,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1068
1295
|
textOutputTokens: number;
|
|
1069
1296
|
reasoningOutputTokens: number;
|
|
1070
1297
|
audioDurationMs: number;
|
|
1298
|
+
imageOutputTokens: number;
|
|
1299
|
+
audioOutputTokens: number;
|
|
1300
|
+
outputImages: number;
|
|
1301
|
+
inputCharacters: number;
|
|
1071
1302
|
};
|
|
1072
1303
|
};
|
|
1073
1304
|
costs: {
|
|
@@ -1079,11 +1310,8 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1079
1310
|
unpriceableCallCount: number;
|
|
1080
1311
|
unvaluedCallCount: number;
|
|
1081
1312
|
};
|
|
1082
|
-
workflowId: string;
|
|
1083
|
-
agentStepId: string;
|
|
1084
1313
|
}, {
|
|
1085
|
-
kind: "
|
|
1086
|
-
modelCallCount: number;
|
|
1314
|
+
kind: "agent";
|
|
1087
1315
|
usage: {
|
|
1088
1316
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1089
1317
|
inputTokens?: number | undefined;
|
|
@@ -1095,7 +1323,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1095
1323
|
textOutputTokens?: number | undefined;
|
|
1096
1324
|
reasoningOutputTokens?: number | undefined;
|
|
1097
1325
|
audioDurationMs?: number | undefined;
|
|
1326
|
+
imageOutputTokens?: number | undefined;
|
|
1327
|
+
audioOutputTokens?: number | undefined;
|
|
1328
|
+
outputImages?: number | undefined;
|
|
1329
|
+
inputCharacters?: number | undefined;
|
|
1098
1330
|
};
|
|
1331
|
+
modelCallCount: number;
|
|
1099
1332
|
usageCoverage: {
|
|
1100
1333
|
completeCallCount: number;
|
|
1101
1334
|
fieldCallCounts: {
|
|
@@ -1107,6 +1340,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1107
1340
|
textOutputTokens: number;
|
|
1108
1341
|
reasoningOutputTokens: number;
|
|
1109
1342
|
audioDurationMs: number;
|
|
1343
|
+
imageOutputTokens: number;
|
|
1344
|
+
audioOutputTokens: number;
|
|
1345
|
+
outputImages: number;
|
|
1346
|
+
inputCharacters: number;
|
|
1110
1347
|
};
|
|
1111
1348
|
};
|
|
1112
1349
|
costs: {
|
|
@@ -1118,10 +1355,7 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1118
1355
|
unpriceableCallCount: number;
|
|
1119
1356
|
unvaluedCallCount: number;
|
|
1120
1357
|
};
|
|
1121
|
-
|
|
1122
|
-
agentStepId: string;
|
|
1123
|
-
}>]>, "many">;
|
|
1124
|
-
workflows: z.ZodArray<z.ZodObject<{
|
|
1358
|
+
}>, z.ZodObject<{
|
|
1125
1359
|
modelCallCount: z.ZodNumber;
|
|
1126
1360
|
usage: z.ZodObject<{
|
|
1127
1361
|
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1133,6 +1367,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1133
1367
|
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1134
1368
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1135
1369
|
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1370
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1371
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1372
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
1373
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1136
1374
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
1137
1375
|
}, "strip", z.ZodTypeAny, {
|
|
1138
1376
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
@@ -1145,6 +1383,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1145
1383
|
textOutputTokens?: number | undefined;
|
|
1146
1384
|
reasoningOutputTokens?: number | undefined;
|
|
1147
1385
|
audioDurationMs?: number | undefined;
|
|
1386
|
+
imageOutputTokens?: number | undefined;
|
|
1387
|
+
audioOutputTokens?: number | undefined;
|
|
1388
|
+
outputImages?: number | undefined;
|
|
1389
|
+
inputCharacters?: number | undefined;
|
|
1148
1390
|
}, {
|
|
1149
1391
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1150
1392
|
inputTokens?: number | undefined;
|
|
@@ -1156,6 +1398,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1156
1398
|
textOutputTokens?: number | undefined;
|
|
1157
1399
|
reasoningOutputTokens?: number | undefined;
|
|
1158
1400
|
audioDurationMs?: number | undefined;
|
|
1401
|
+
imageOutputTokens?: number | undefined;
|
|
1402
|
+
audioOutputTokens?: number | undefined;
|
|
1403
|
+
outputImages?: number | undefined;
|
|
1404
|
+
inputCharacters?: number | undefined;
|
|
1159
1405
|
}>;
|
|
1160
1406
|
usageCoverage: z.ZodObject<{
|
|
1161
1407
|
completeCallCount: z.ZodNumber;
|
|
@@ -1168,6 +1414,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1168
1414
|
textOutputTokens: z.ZodNumber;
|
|
1169
1415
|
reasoningOutputTokens: z.ZodNumber;
|
|
1170
1416
|
audioDurationMs: z.ZodNumber;
|
|
1417
|
+
imageOutputTokens: z.ZodNumber;
|
|
1418
|
+
audioOutputTokens: z.ZodNumber;
|
|
1419
|
+
outputImages: z.ZodNumber;
|
|
1420
|
+
inputCharacters: z.ZodNumber;
|
|
1171
1421
|
}, "strip", z.ZodTypeAny, {
|
|
1172
1422
|
inputTokens: number;
|
|
1173
1423
|
outputTokens: number;
|
|
@@ -1177,6 +1427,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1177
1427
|
textOutputTokens: number;
|
|
1178
1428
|
reasoningOutputTokens: number;
|
|
1179
1429
|
audioDurationMs: number;
|
|
1430
|
+
imageOutputTokens: number;
|
|
1431
|
+
audioOutputTokens: number;
|
|
1432
|
+
outputImages: number;
|
|
1433
|
+
inputCharacters: number;
|
|
1180
1434
|
}, {
|
|
1181
1435
|
inputTokens: number;
|
|
1182
1436
|
outputTokens: number;
|
|
@@ -1186,6 +1440,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1186
1440
|
textOutputTokens: number;
|
|
1187
1441
|
reasoningOutputTokens: number;
|
|
1188
1442
|
audioDurationMs: number;
|
|
1443
|
+
imageOutputTokens: number;
|
|
1444
|
+
audioOutputTokens: number;
|
|
1445
|
+
outputImages: number;
|
|
1446
|
+
inputCharacters: number;
|
|
1189
1447
|
}>;
|
|
1190
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1191
1449
|
completeCallCount: number;
|
|
@@ -1198,6 +1456,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1198
1456
|
textOutputTokens: number;
|
|
1199
1457
|
reasoningOutputTokens: number;
|
|
1200
1458
|
audioDurationMs: number;
|
|
1459
|
+
imageOutputTokens: number;
|
|
1460
|
+
audioOutputTokens: number;
|
|
1461
|
+
outputImages: number;
|
|
1462
|
+
inputCharacters: number;
|
|
1201
1463
|
};
|
|
1202
1464
|
}, {
|
|
1203
1465
|
completeCallCount: number;
|
|
@@ -1210,6 +1472,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1210
1472
|
textOutputTokens: number;
|
|
1211
1473
|
reasoningOutputTokens: number;
|
|
1212
1474
|
audioDurationMs: number;
|
|
1475
|
+
imageOutputTokens: number;
|
|
1476
|
+
audioOutputTokens: number;
|
|
1477
|
+
outputImages: number;
|
|
1478
|
+
inputCharacters: number;
|
|
1213
1479
|
};
|
|
1214
1480
|
}>;
|
|
1215
1481
|
costs: z.ZodObject<{
|
|
@@ -1244,9 +1510,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1244
1510
|
unvaluedCallCount: number;
|
|
1245
1511
|
}>;
|
|
1246
1512
|
} & {
|
|
1513
|
+
kind: z.ZodLiteral<"workflowAgent">;
|
|
1247
1514
|
workflowId: z.ZodString;
|
|
1515
|
+
agentStepId: z.ZodString;
|
|
1248
1516
|
}, "strip", z.ZodTypeAny, {
|
|
1249
|
-
|
|
1517
|
+
kind: "workflowAgent";
|
|
1518
|
+
workflowId: string;
|
|
1250
1519
|
usage: {
|
|
1251
1520
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1252
1521
|
inputTokens?: number | undefined;
|
|
@@ -1258,7 +1527,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1258
1527
|
textOutputTokens?: number | undefined;
|
|
1259
1528
|
reasoningOutputTokens?: number | undefined;
|
|
1260
1529
|
audioDurationMs?: number | undefined;
|
|
1530
|
+
imageOutputTokens?: number | undefined;
|
|
1531
|
+
audioOutputTokens?: number | undefined;
|
|
1532
|
+
outputImages?: number | undefined;
|
|
1533
|
+
inputCharacters?: number | undefined;
|
|
1261
1534
|
};
|
|
1535
|
+
modelCallCount: number;
|
|
1262
1536
|
usageCoverage: {
|
|
1263
1537
|
completeCallCount: number;
|
|
1264
1538
|
fieldCallCounts: {
|
|
@@ -1270,6 +1544,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1270
1544
|
textOutputTokens: number;
|
|
1271
1545
|
reasoningOutputTokens: number;
|
|
1272
1546
|
audioDurationMs: number;
|
|
1547
|
+
imageOutputTokens: number;
|
|
1548
|
+
audioOutputTokens: number;
|
|
1549
|
+
outputImages: number;
|
|
1550
|
+
inputCharacters: number;
|
|
1273
1551
|
};
|
|
1274
1552
|
};
|
|
1275
1553
|
costs: {
|
|
@@ -1281,9 +1559,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1281
1559
|
unpriceableCallCount: number;
|
|
1282
1560
|
unvaluedCallCount: number;
|
|
1283
1561
|
};
|
|
1284
|
-
|
|
1562
|
+
agentStepId: string;
|
|
1285
1563
|
}, {
|
|
1286
|
-
|
|
1564
|
+
kind: "workflowAgent";
|
|
1565
|
+
workflowId: string;
|
|
1287
1566
|
usage: {
|
|
1288
1567
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1289
1568
|
inputTokens?: number | undefined;
|
|
@@ -1295,7 +1574,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1295
1574
|
textOutputTokens?: number | undefined;
|
|
1296
1575
|
reasoningOutputTokens?: number | undefined;
|
|
1297
1576
|
audioDurationMs?: number | undefined;
|
|
1577
|
+
imageOutputTokens?: number | undefined;
|
|
1578
|
+
audioOutputTokens?: number | undefined;
|
|
1579
|
+
outputImages?: number | undefined;
|
|
1580
|
+
inputCharacters?: number | undefined;
|
|
1298
1581
|
};
|
|
1582
|
+
modelCallCount: number;
|
|
1299
1583
|
usageCoverage: {
|
|
1300
1584
|
completeCallCount: number;
|
|
1301
1585
|
fieldCallCounts: {
|
|
@@ -1307,6 +1591,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1307
1591
|
textOutputTokens: number;
|
|
1308
1592
|
reasoningOutputTokens: number;
|
|
1309
1593
|
audioDurationMs: number;
|
|
1594
|
+
imageOutputTokens: number;
|
|
1595
|
+
audioOutputTokens: number;
|
|
1596
|
+
outputImages: number;
|
|
1597
|
+
inputCharacters: number;
|
|
1310
1598
|
};
|
|
1311
1599
|
};
|
|
1312
1600
|
costs: {
|
|
@@ -1318,11 +1606,166 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1318
1606
|
unpriceableCallCount: number;
|
|
1319
1607
|
unvaluedCallCount: number;
|
|
1320
1608
|
};
|
|
1609
|
+
agentStepId: string;
|
|
1610
|
+
}>]>, "many">;
|
|
1611
|
+
workflows: z.ZodArray<z.ZodObject<{
|
|
1612
|
+
modelCallCount: z.ZodNumber;
|
|
1613
|
+
usage: z.ZodObject<{
|
|
1614
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1615
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1616
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
1617
|
+
uncachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1618
|
+
cacheReadInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1619
|
+
cacheWriteInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1620
|
+
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1621
|
+
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1622
|
+
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1623
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1624
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1625
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
1626
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1627
|
+
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
1628
|
+
}, "strip", z.ZodTypeAny, {
|
|
1629
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1630
|
+
inputTokens?: number | undefined;
|
|
1631
|
+
outputTokens?: number | undefined;
|
|
1632
|
+
totalTokens?: number | undefined;
|
|
1633
|
+
uncachedInputTokens?: number | undefined;
|
|
1634
|
+
cacheReadInputTokens?: number | undefined;
|
|
1635
|
+
cacheWriteInputTokens?: number | undefined;
|
|
1636
|
+
textOutputTokens?: number | undefined;
|
|
1637
|
+
reasoningOutputTokens?: number | undefined;
|
|
1638
|
+
audioDurationMs?: number | undefined;
|
|
1639
|
+
imageOutputTokens?: number | undefined;
|
|
1640
|
+
audioOutputTokens?: number | undefined;
|
|
1641
|
+
outputImages?: number | undefined;
|
|
1642
|
+
inputCharacters?: number | undefined;
|
|
1643
|
+
}, {
|
|
1644
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1645
|
+
inputTokens?: number | undefined;
|
|
1646
|
+
outputTokens?: number | undefined;
|
|
1647
|
+
totalTokens?: number | undefined;
|
|
1648
|
+
uncachedInputTokens?: number | undefined;
|
|
1649
|
+
cacheReadInputTokens?: number | undefined;
|
|
1650
|
+
cacheWriteInputTokens?: number | undefined;
|
|
1651
|
+
textOutputTokens?: number | undefined;
|
|
1652
|
+
reasoningOutputTokens?: number | undefined;
|
|
1653
|
+
audioDurationMs?: number | undefined;
|
|
1654
|
+
imageOutputTokens?: number | undefined;
|
|
1655
|
+
audioOutputTokens?: number | undefined;
|
|
1656
|
+
outputImages?: number | undefined;
|
|
1657
|
+
inputCharacters?: number | undefined;
|
|
1658
|
+
}>;
|
|
1659
|
+
usageCoverage: z.ZodObject<{
|
|
1660
|
+
completeCallCount: z.ZodNumber;
|
|
1661
|
+
fieldCallCounts: z.ZodObject<{
|
|
1662
|
+
inputTokens: z.ZodNumber;
|
|
1663
|
+
outputTokens: z.ZodNumber;
|
|
1664
|
+
uncachedInputTokens: z.ZodNumber;
|
|
1665
|
+
cacheReadInputTokens: z.ZodNumber;
|
|
1666
|
+
cacheWriteInputTokens: z.ZodNumber;
|
|
1667
|
+
textOutputTokens: z.ZodNumber;
|
|
1668
|
+
reasoningOutputTokens: z.ZodNumber;
|
|
1669
|
+
audioDurationMs: z.ZodNumber;
|
|
1670
|
+
imageOutputTokens: z.ZodNumber;
|
|
1671
|
+
audioOutputTokens: z.ZodNumber;
|
|
1672
|
+
outputImages: z.ZodNumber;
|
|
1673
|
+
inputCharacters: z.ZodNumber;
|
|
1674
|
+
}, "strip", z.ZodTypeAny, {
|
|
1675
|
+
inputTokens: number;
|
|
1676
|
+
outputTokens: number;
|
|
1677
|
+
uncachedInputTokens: number;
|
|
1678
|
+
cacheReadInputTokens: number;
|
|
1679
|
+
cacheWriteInputTokens: number;
|
|
1680
|
+
textOutputTokens: number;
|
|
1681
|
+
reasoningOutputTokens: number;
|
|
1682
|
+
audioDurationMs: number;
|
|
1683
|
+
imageOutputTokens: number;
|
|
1684
|
+
audioOutputTokens: number;
|
|
1685
|
+
outputImages: number;
|
|
1686
|
+
inputCharacters: number;
|
|
1687
|
+
}, {
|
|
1688
|
+
inputTokens: number;
|
|
1689
|
+
outputTokens: number;
|
|
1690
|
+
uncachedInputTokens: number;
|
|
1691
|
+
cacheReadInputTokens: number;
|
|
1692
|
+
cacheWriteInputTokens: number;
|
|
1693
|
+
textOutputTokens: number;
|
|
1694
|
+
reasoningOutputTokens: number;
|
|
1695
|
+
audioDurationMs: number;
|
|
1696
|
+
imageOutputTokens: number;
|
|
1697
|
+
audioOutputTokens: number;
|
|
1698
|
+
outputImages: number;
|
|
1699
|
+
inputCharacters: number;
|
|
1700
|
+
}>;
|
|
1701
|
+
}, "strip", z.ZodTypeAny, {
|
|
1702
|
+
completeCallCount: number;
|
|
1703
|
+
fieldCallCounts: {
|
|
1704
|
+
inputTokens: number;
|
|
1705
|
+
outputTokens: number;
|
|
1706
|
+
uncachedInputTokens: number;
|
|
1707
|
+
cacheReadInputTokens: number;
|
|
1708
|
+
cacheWriteInputTokens: number;
|
|
1709
|
+
textOutputTokens: number;
|
|
1710
|
+
reasoningOutputTokens: number;
|
|
1711
|
+
audioDurationMs: number;
|
|
1712
|
+
imageOutputTokens: number;
|
|
1713
|
+
audioOutputTokens: number;
|
|
1714
|
+
outputImages: number;
|
|
1715
|
+
inputCharacters: number;
|
|
1716
|
+
};
|
|
1717
|
+
}, {
|
|
1718
|
+
completeCallCount: number;
|
|
1719
|
+
fieldCallCounts: {
|
|
1720
|
+
inputTokens: number;
|
|
1721
|
+
outputTokens: number;
|
|
1722
|
+
uncachedInputTokens: number;
|
|
1723
|
+
cacheReadInputTokens: number;
|
|
1724
|
+
cacheWriteInputTokens: number;
|
|
1725
|
+
textOutputTokens: number;
|
|
1726
|
+
reasoningOutputTokens: number;
|
|
1727
|
+
audioDurationMs: number;
|
|
1728
|
+
imageOutputTokens: number;
|
|
1729
|
+
audioOutputTokens: number;
|
|
1730
|
+
outputImages: number;
|
|
1731
|
+
inputCharacters: number;
|
|
1732
|
+
};
|
|
1733
|
+
}>;
|
|
1734
|
+
costs: z.ZodObject<{
|
|
1735
|
+
amounts: z.ZodArray<z.ZodObject<{
|
|
1736
|
+
currency: z.ZodString;
|
|
1737
|
+
amountNanos: z.ZodString;
|
|
1738
|
+
}, "strip", z.ZodTypeAny, {
|
|
1739
|
+
currency: string;
|
|
1740
|
+
amountNanos: string;
|
|
1741
|
+
}, {
|
|
1742
|
+
currency: string;
|
|
1743
|
+
amountNanos: string;
|
|
1744
|
+
}>, "many">;
|
|
1745
|
+
ratedCallCount: z.ZodNumber;
|
|
1746
|
+
unpriceableCallCount: z.ZodNumber;
|
|
1747
|
+
unvaluedCallCount: z.ZodNumber;
|
|
1748
|
+
}, "strip", z.ZodTypeAny, {
|
|
1749
|
+
amounts: {
|
|
1750
|
+
currency: string;
|
|
1751
|
+
amountNanos: string;
|
|
1752
|
+
}[];
|
|
1753
|
+
ratedCallCount: number;
|
|
1754
|
+
unpriceableCallCount: number;
|
|
1755
|
+
unvaluedCallCount: number;
|
|
1756
|
+
}, {
|
|
1757
|
+
amounts: {
|
|
1758
|
+
currency: string;
|
|
1759
|
+
amountNanos: string;
|
|
1760
|
+
}[];
|
|
1761
|
+
ratedCallCount: number;
|
|
1762
|
+
unpriceableCallCount: number;
|
|
1763
|
+
unvaluedCallCount: number;
|
|
1764
|
+
}>;
|
|
1765
|
+
} & {
|
|
1766
|
+
workflowId: z.ZodString;
|
|
1767
|
+
}, "strip", z.ZodTypeAny, {
|
|
1321
1768
|
workflowId: string;
|
|
1322
|
-
}>, "many">;
|
|
1323
|
-
}, "strip", z.ZodTypeAny, {
|
|
1324
|
-
workflows: {
|
|
1325
|
-
modelCallCount: number;
|
|
1326
1769
|
usage: {
|
|
1327
1770
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1328
1771
|
inputTokens?: number | undefined;
|
|
@@ -1334,7 +1777,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1334
1777
|
textOutputTokens?: number | undefined;
|
|
1335
1778
|
reasoningOutputTokens?: number | undefined;
|
|
1336
1779
|
audioDurationMs?: number | undefined;
|
|
1780
|
+
imageOutputTokens?: number | undefined;
|
|
1781
|
+
audioOutputTokens?: number | undefined;
|
|
1782
|
+
outputImages?: number | undefined;
|
|
1783
|
+
inputCharacters?: number | undefined;
|
|
1337
1784
|
};
|
|
1785
|
+
modelCallCount: number;
|
|
1338
1786
|
usageCoverage: {
|
|
1339
1787
|
completeCallCount: number;
|
|
1340
1788
|
fieldCallCounts: {
|
|
@@ -1346,6 +1794,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1346
1794
|
textOutputTokens: number;
|
|
1347
1795
|
reasoningOutputTokens: number;
|
|
1348
1796
|
audioDurationMs: number;
|
|
1797
|
+
imageOutputTokens: number;
|
|
1798
|
+
audioOutputTokens: number;
|
|
1799
|
+
outputImages: number;
|
|
1800
|
+
inputCharacters: number;
|
|
1349
1801
|
};
|
|
1350
1802
|
};
|
|
1351
1803
|
costs: {
|
|
@@ -1357,11 +1809,8 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1357
1809
|
unpriceableCallCount: number;
|
|
1358
1810
|
unvaluedCallCount: number;
|
|
1359
1811
|
};
|
|
1812
|
+
}, {
|
|
1360
1813
|
workflowId: string;
|
|
1361
|
-
}[];
|
|
1362
|
-
agents: ({
|
|
1363
|
-
kind: "agent";
|
|
1364
|
-
modelCallCount: number;
|
|
1365
1814
|
usage: {
|
|
1366
1815
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1367
1816
|
inputTokens?: number | undefined;
|
|
@@ -1373,7 +1822,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1373
1822
|
textOutputTokens?: number | undefined;
|
|
1374
1823
|
reasoningOutputTokens?: number | undefined;
|
|
1375
1824
|
audioDurationMs?: number | undefined;
|
|
1825
|
+
imageOutputTokens?: number | undefined;
|
|
1826
|
+
audioOutputTokens?: number | undefined;
|
|
1827
|
+
outputImages?: number | undefined;
|
|
1828
|
+
inputCharacters?: number | undefined;
|
|
1376
1829
|
};
|
|
1830
|
+
modelCallCount: number;
|
|
1377
1831
|
usageCoverage: {
|
|
1378
1832
|
completeCallCount: number;
|
|
1379
1833
|
fieldCallCounts: {
|
|
@@ -1385,6 +1839,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1385
1839
|
textOutputTokens: number;
|
|
1386
1840
|
reasoningOutputTokens: number;
|
|
1387
1841
|
audioDurationMs: number;
|
|
1842
|
+
imageOutputTokens: number;
|
|
1843
|
+
audioOutputTokens: number;
|
|
1844
|
+
outputImages: number;
|
|
1845
|
+
inputCharacters: number;
|
|
1388
1846
|
};
|
|
1389
1847
|
};
|
|
1390
1848
|
costs: {
|
|
@@ -1396,9 +1854,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1396
1854
|
unpriceableCallCount: number;
|
|
1397
1855
|
unvaluedCallCount: number;
|
|
1398
1856
|
};
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
|
|
1857
|
+
}>, "many">;
|
|
1858
|
+
}, "strip", z.ZodTypeAny, {
|
|
1859
|
+
workflows: {
|
|
1860
|
+
workflowId: string;
|
|
1402
1861
|
usage: {
|
|
1403
1862
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1404
1863
|
inputTokens?: number | undefined;
|
|
@@ -1410,7 +1869,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1410
1869
|
textOutputTokens?: number | undefined;
|
|
1411
1870
|
reasoningOutputTokens?: number | undefined;
|
|
1412
1871
|
audioDurationMs?: number | undefined;
|
|
1872
|
+
imageOutputTokens?: number | undefined;
|
|
1873
|
+
audioOutputTokens?: number | undefined;
|
|
1874
|
+
outputImages?: number | undefined;
|
|
1875
|
+
inputCharacters?: number | undefined;
|
|
1413
1876
|
};
|
|
1877
|
+
modelCallCount: number;
|
|
1414
1878
|
usageCoverage: {
|
|
1415
1879
|
completeCallCount: number;
|
|
1416
1880
|
fieldCallCounts: {
|
|
@@ -1422,6 +1886,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1422
1886
|
textOutputTokens: number;
|
|
1423
1887
|
reasoningOutputTokens: number;
|
|
1424
1888
|
audioDurationMs: number;
|
|
1889
|
+
imageOutputTokens: number;
|
|
1890
|
+
audioOutputTokens: number;
|
|
1891
|
+
outputImages: number;
|
|
1892
|
+
inputCharacters: number;
|
|
1425
1893
|
};
|
|
1426
1894
|
};
|
|
1427
1895
|
costs: {
|
|
@@ -1433,13 +1901,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1433
1901
|
unpriceableCallCount: number;
|
|
1434
1902
|
unvaluedCallCount: number;
|
|
1435
1903
|
};
|
|
1436
|
-
|
|
1437
|
-
agentStepId: string;
|
|
1438
|
-
})[];
|
|
1904
|
+
}[];
|
|
1439
1905
|
models: {
|
|
1440
1906
|
providerId: string;
|
|
1441
1907
|
modelId: string;
|
|
1442
|
-
modelCallCount: number;
|
|
1443
1908
|
usage: {
|
|
1444
1909
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1445
1910
|
inputTokens?: number | undefined;
|
|
@@ -1451,7 +1916,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1451
1916
|
textOutputTokens?: number | undefined;
|
|
1452
1917
|
reasoningOutputTokens?: number | undefined;
|
|
1453
1918
|
audioDurationMs?: number | undefined;
|
|
1919
|
+
imageOutputTokens?: number | undefined;
|
|
1920
|
+
audioOutputTokens?: number | undefined;
|
|
1921
|
+
outputImages?: number | undefined;
|
|
1922
|
+
inputCharacters?: number | undefined;
|
|
1454
1923
|
};
|
|
1924
|
+
modelCallCount: number;
|
|
1455
1925
|
usageCoverage: {
|
|
1456
1926
|
completeCallCount: number;
|
|
1457
1927
|
fieldCallCounts: {
|
|
@@ -1463,6 +1933,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1463
1933
|
textOutputTokens: number;
|
|
1464
1934
|
reasoningOutputTokens: number;
|
|
1465
1935
|
audioDurationMs: number;
|
|
1936
|
+
imageOutputTokens: number;
|
|
1937
|
+
audioOutputTokens: number;
|
|
1938
|
+
outputImages: number;
|
|
1939
|
+
inputCharacters: number;
|
|
1466
1940
|
};
|
|
1467
1941
|
};
|
|
1468
1942
|
costs: {
|
|
@@ -1475,13 +1949,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1475
1949
|
unvaluedCallCount: number;
|
|
1476
1950
|
};
|
|
1477
1951
|
}[];
|
|
1952
|
+
bucket: "hour" | "day" | "week";
|
|
1478
1953
|
range: {
|
|
1479
1954
|
from: string;
|
|
1480
1955
|
to: string;
|
|
1481
1956
|
};
|
|
1482
|
-
bucket: "hour" | "day" | "week";
|
|
1483
1957
|
totals: {
|
|
1484
|
-
modelCallCount: number;
|
|
1485
1958
|
usage: {
|
|
1486
1959
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1487
1960
|
inputTokens?: number | undefined;
|
|
@@ -1493,7 +1966,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1493
1966
|
textOutputTokens?: number | undefined;
|
|
1494
1967
|
reasoningOutputTokens?: number | undefined;
|
|
1495
1968
|
audioDurationMs?: number | undefined;
|
|
1969
|
+
imageOutputTokens?: number | undefined;
|
|
1970
|
+
audioOutputTokens?: number | undefined;
|
|
1971
|
+
outputImages?: number | undefined;
|
|
1972
|
+
inputCharacters?: number | undefined;
|
|
1496
1973
|
};
|
|
1974
|
+
modelCallCount: number;
|
|
1497
1975
|
usageCoverage: {
|
|
1498
1976
|
completeCallCount: number;
|
|
1499
1977
|
fieldCallCounts: {
|
|
@@ -1505,6 +1983,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1505
1983
|
textOutputTokens: number;
|
|
1506
1984
|
reasoningOutputTokens: number;
|
|
1507
1985
|
audioDurationMs: number;
|
|
1986
|
+
imageOutputTokens: number;
|
|
1987
|
+
audioOutputTokens: number;
|
|
1988
|
+
outputImages: number;
|
|
1989
|
+
inputCharacters: number;
|
|
1508
1990
|
};
|
|
1509
1991
|
};
|
|
1510
1992
|
costs: {
|
|
@@ -1518,8 +2000,6 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1518
2000
|
};
|
|
1519
2001
|
};
|
|
1520
2002
|
series: {
|
|
1521
|
-
start: string;
|
|
1522
|
-
modelCallCount: number;
|
|
1523
2003
|
usage: {
|
|
1524
2004
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1525
2005
|
inputTokens?: number | undefined;
|
|
@@ -1531,7 +2011,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1531
2011
|
textOutputTokens?: number | undefined;
|
|
1532
2012
|
reasoningOutputTokens?: number | undefined;
|
|
1533
2013
|
audioDurationMs?: number | undefined;
|
|
2014
|
+
imageOutputTokens?: number | undefined;
|
|
2015
|
+
audioOutputTokens?: number | undefined;
|
|
2016
|
+
outputImages?: number | undefined;
|
|
2017
|
+
inputCharacters?: number | undefined;
|
|
1534
2018
|
};
|
|
2019
|
+
modelCallCount: number;
|
|
1535
2020
|
usageCoverage: {
|
|
1536
2021
|
completeCallCount: number;
|
|
1537
2022
|
fieldCallCounts: {
|
|
@@ -1543,6 +2028,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1543
2028
|
textOutputTokens: number;
|
|
1544
2029
|
reasoningOutputTokens: number;
|
|
1545
2030
|
audioDurationMs: number;
|
|
2031
|
+
imageOutputTokens: number;
|
|
2032
|
+
audioOutputTokens: number;
|
|
2033
|
+
outputImages: number;
|
|
2034
|
+
inputCharacters: number;
|
|
1546
2035
|
};
|
|
1547
2036
|
};
|
|
1548
2037
|
costs: {
|
|
@@ -1554,11 +2043,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1554
2043
|
unpriceableCallCount: number;
|
|
1555
2044
|
unvaluedCallCount: number;
|
|
1556
2045
|
};
|
|
2046
|
+
start: string;
|
|
1557
2047
|
end: string;
|
|
1558
2048
|
}[];
|
|
1559
|
-
|
|
1560
|
-
workflows: {
|
|
1561
|
-
modelCallCount: number;
|
|
2049
|
+
kinds: {
|
|
1562
2050
|
usage: {
|
|
1563
2051
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1564
2052
|
inputTokens?: number | undefined;
|
|
@@ -1570,7 +2058,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1570
2058
|
textOutputTokens?: number | undefined;
|
|
1571
2059
|
reasoningOutputTokens?: number | undefined;
|
|
1572
2060
|
audioDurationMs?: number | undefined;
|
|
2061
|
+
imageOutputTokens?: number | undefined;
|
|
2062
|
+
audioOutputTokens?: number | undefined;
|
|
2063
|
+
outputImages?: number | undefined;
|
|
2064
|
+
inputCharacters?: number | undefined;
|
|
1573
2065
|
};
|
|
2066
|
+
modelCallCount: number;
|
|
1574
2067
|
usageCoverage: {
|
|
1575
2068
|
completeCallCount: number;
|
|
1576
2069
|
fieldCallCounts: {
|
|
@@ -1582,6 +2075,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1582
2075
|
textOutputTokens: number;
|
|
1583
2076
|
reasoningOutputTokens: number;
|
|
1584
2077
|
audioDurationMs: number;
|
|
2078
|
+
imageOutputTokens: number;
|
|
2079
|
+
audioOutputTokens: number;
|
|
2080
|
+
outputImages: number;
|
|
2081
|
+
inputCharacters: number;
|
|
1585
2082
|
};
|
|
1586
2083
|
};
|
|
1587
2084
|
costs: {
|
|
@@ -1593,11 +2090,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1593
2090
|
unpriceableCallCount: number;
|
|
1594
2091
|
unvaluedCallCount: number;
|
|
1595
2092
|
};
|
|
1596
|
-
|
|
2093
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
1597
2094
|
}[];
|
|
1598
2095
|
agents: ({
|
|
1599
2096
|
kind: "agent";
|
|
1600
|
-
modelCallCount: number;
|
|
1601
2097
|
usage: {
|
|
1602
2098
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1603
2099
|
inputTokens?: number | undefined;
|
|
@@ -1609,7 +2105,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1609
2105
|
textOutputTokens?: number | undefined;
|
|
1610
2106
|
reasoningOutputTokens?: number | undefined;
|
|
1611
2107
|
audioDurationMs?: number | undefined;
|
|
2108
|
+
imageOutputTokens?: number | undefined;
|
|
2109
|
+
audioOutputTokens?: number | undefined;
|
|
2110
|
+
outputImages?: number | undefined;
|
|
2111
|
+
inputCharacters?: number | undefined;
|
|
1612
2112
|
};
|
|
2113
|
+
modelCallCount: number;
|
|
1613
2114
|
usageCoverage: {
|
|
1614
2115
|
completeCallCount: number;
|
|
1615
2116
|
fieldCallCounts: {
|
|
@@ -1621,6 +2122,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1621
2122
|
textOutputTokens: number;
|
|
1622
2123
|
reasoningOutputTokens: number;
|
|
1623
2124
|
audioDurationMs: number;
|
|
2125
|
+
imageOutputTokens: number;
|
|
2126
|
+
audioOutputTokens: number;
|
|
2127
|
+
outputImages: number;
|
|
2128
|
+
inputCharacters: number;
|
|
1624
2129
|
};
|
|
1625
2130
|
};
|
|
1626
2131
|
costs: {
|
|
@@ -1634,7 +2139,7 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1634
2139
|
};
|
|
1635
2140
|
} | {
|
|
1636
2141
|
kind: "workflowAgent";
|
|
1637
|
-
|
|
2142
|
+
workflowId: string;
|
|
1638
2143
|
usage: {
|
|
1639
2144
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1640
2145
|
inputTokens?: number | undefined;
|
|
@@ -1646,7 +2151,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1646
2151
|
textOutputTokens?: number | undefined;
|
|
1647
2152
|
reasoningOutputTokens?: number | undefined;
|
|
1648
2153
|
audioDurationMs?: number | undefined;
|
|
2154
|
+
imageOutputTokens?: number | undefined;
|
|
2155
|
+
audioOutputTokens?: number | undefined;
|
|
2156
|
+
outputImages?: number | undefined;
|
|
2157
|
+
inputCharacters?: number | undefined;
|
|
1649
2158
|
};
|
|
2159
|
+
modelCallCount: number;
|
|
1650
2160
|
usageCoverage: {
|
|
1651
2161
|
completeCallCount: number;
|
|
1652
2162
|
fieldCallCounts: {
|
|
@@ -1658,6 +2168,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1658
2168
|
textOutputTokens: number;
|
|
1659
2169
|
reasoningOutputTokens: number;
|
|
1660
2170
|
audioDurationMs: number;
|
|
2171
|
+
imageOutputTokens: number;
|
|
2172
|
+
audioOutputTokens: number;
|
|
2173
|
+
outputImages: number;
|
|
2174
|
+
inputCharacters: number;
|
|
1661
2175
|
};
|
|
1662
2176
|
};
|
|
1663
2177
|
costs: {
|
|
@@ -1669,13 +2183,11 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1669
2183
|
unpriceableCallCount: number;
|
|
1670
2184
|
unvaluedCallCount: number;
|
|
1671
2185
|
};
|
|
1672
|
-
workflowId: string;
|
|
1673
2186
|
agentStepId: string;
|
|
1674
2187
|
})[];
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
modelCallCount: number;
|
|
2188
|
+
}, {
|
|
2189
|
+
workflows: {
|
|
2190
|
+
workflowId: string;
|
|
1679
2191
|
usage: {
|
|
1680
2192
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1681
2193
|
inputTokens?: number | undefined;
|
|
@@ -1687,7 +2199,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1687
2199
|
textOutputTokens?: number | undefined;
|
|
1688
2200
|
reasoningOutputTokens?: number | undefined;
|
|
1689
2201
|
audioDurationMs?: number | undefined;
|
|
2202
|
+
imageOutputTokens?: number | undefined;
|
|
2203
|
+
audioOutputTokens?: number | undefined;
|
|
2204
|
+
outputImages?: number | undefined;
|
|
2205
|
+
inputCharacters?: number | undefined;
|
|
1690
2206
|
};
|
|
2207
|
+
modelCallCount: number;
|
|
1691
2208
|
usageCoverage: {
|
|
1692
2209
|
completeCallCount: number;
|
|
1693
2210
|
fieldCallCounts: {
|
|
@@ -1699,6 +2216,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1699
2216
|
textOutputTokens: number;
|
|
1700
2217
|
reasoningOutputTokens: number;
|
|
1701
2218
|
audioDurationMs: number;
|
|
2219
|
+
imageOutputTokens: number;
|
|
2220
|
+
audioOutputTokens: number;
|
|
2221
|
+
outputImages: number;
|
|
2222
|
+
inputCharacters: number;
|
|
1702
2223
|
};
|
|
1703
2224
|
};
|
|
1704
2225
|
costs: {
|
|
@@ -1711,13 +2232,9 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1711
2232
|
unvaluedCallCount: number;
|
|
1712
2233
|
};
|
|
1713
2234
|
}[];
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
};
|
|
1718
|
-
bucket: "hour" | "day" | "week";
|
|
1719
|
-
totals: {
|
|
1720
|
-
modelCallCount: number;
|
|
2235
|
+
models: {
|
|
2236
|
+
providerId: string;
|
|
2237
|
+
modelId: string;
|
|
1721
2238
|
usage: {
|
|
1722
2239
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1723
2240
|
inputTokens?: number | undefined;
|
|
@@ -1729,7 +2246,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1729
2246
|
textOutputTokens?: number | undefined;
|
|
1730
2247
|
reasoningOutputTokens?: number | undefined;
|
|
1731
2248
|
audioDurationMs?: number | undefined;
|
|
2249
|
+
imageOutputTokens?: number | undefined;
|
|
2250
|
+
audioOutputTokens?: number | undefined;
|
|
2251
|
+
outputImages?: number | undefined;
|
|
2252
|
+
inputCharacters?: number | undefined;
|
|
1732
2253
|
};
|
|
2254
|
+
modelCallCount: number;
|
|
1733
2255
|
usageCoverage: {
|
|
1734
2256
|
completeCallCount: number;
|
|
1735
2257
|
fieldCallCounts: {
|
|
@@ -1741,6 +2263,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1741
2263
|
textOutputTokens: number;
|
|
1742
2264
|
reasoningOutputTokens: number;
|
|
1743
2265
|
audioDurationMs: number;
|
|
2266
|
+
imageOutputTokens: number;
|
|
2267
|
+
audioOutputTokens: number;
|
|
2268
|
+
outputImages: number;
|
|
2269
|
+
inputCharacters: number;
|
|
1744
2270
|
};
|
|
1745
2271
|
};
|
|
1746
2272
|
costs: {
|
|
@@ -1752,10 +2278,13 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1752
2278
|
unpriceableCallCount: number;
|
|
1753
2279
|
unvaluedCallCount: number;
|
|
1754
2280
|
};
|
|
2281
|
+
}[];
|
|
2282
|
+
bucket: "hour" | "day" | "week";
|
|
2283
|
+
range: {
|
|
2284
|
+
from: string;
|
|
2285
|
+
to: string;
|
|
1755
2286
|
};
|
|
1756
|
-
|
|
1757
|
-
start: string;
|
|
1758
|
-
modelCallCount: number;
|
|
2287
|
+
totals: {
|
|
1759
2288
|
usage: {
|
|
1760
2289
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1761
2290
|
inputTokens?: number | undefined;
|
|
@@ -1767,7 +2296,12 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1767
2296
|
textOutputTokens?: number | undefined;
|
|
1768
2297
|
reasoningOutputTokens?: number | undefined;
|
|
1769
2298
|
audioDurationMs?: number | undefined;
|
|
2299
|
+
imageOutputTokens?: number | undefined;
|
|
2300
|
+
audioOutputTokens?: number | undefined;
|
|
2301
|
+
outputImages?: number | undefined;
|
|
2302
|
+
inputCharacters?: number | undefined;
|
|
1770
2303
|
};
|
|
2304
|
+
modelCallCount: number;
|
|
1771
2305
|
usageCoverage: {
|
|
1772
2306
|
completeCallCount: number;
|
|
1773
2307
|
fieldCallCounts: {
|
|
@@ -1779,6 +2313,10 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1779
2313
|
textOutputTokens: number;
|
|
1780
2314
|
reasoningOutputTokens: number;
|
|
1781
2315
|
audioDurationMs: number;
|
|
2316
|
+
imageOutputTokens: number;
|
|
2317
|
+
audioOutputTokens: number;
|
|
2318
|
+
outputImages: number;
|
|
2319
|
+
inputCharacters: number;
|
|
1782
2320
|
};
|
|
1783
2321
|
};
|
|
1784
2322
|
costs: {
|
|
@@ -1790,8 +2328,193 @@ export declare const AiAccountingOverviewResponseSchema: z.ZodObject<{
|
|
|
1790
2328
|
unpriceableCallCount: number;
|
|
1791
2329
|
unvaluedCallCount: number;
|
|
1792
2330
|
};
|
|
2331
|
+
};
|
|
2332
|
+
series: {
|
|
2333
|
+
usage: {
|
|
2334
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2335
|
+
inputTokens?: number | undefined;
|
|
2336
|
+
outputTokens?: number | undefined;
|
|
2337
|
+
totalTokens?: number | undefined;
|
|
2338
|
+
uncachedInputTokens?: number | undefined;
|
|
2339
|
+
cacheReadInputTokens?: number | undefined;
|
|
2340
|
+
cacheWriteInputTokens?: number | undefined;
|
|
2341
|
+
textOutputTokens?: number | undefined;
|
|
2342
|
+
reasoningOutputTokens?: number | undefined;
|
|
2343
|
+
audioDurationMs?: number | undefined;
|
|
2344
|
+
imageOutputTokens?: number | undefined;
|
|
2345
|
+
audioOutputTokens?: number | undefined;
|
|
2346
|
+
outputImages?: number | undefined;
|
|
2347
|
+
inputCharacters?: number | undefined;
|
|
2348
|
+
};
|
|
2349
|
+
modelCallCount: number;
|
|
2350
|
+
usageCoverage: {
|
|
2351
|
+
completeCallCount: number;
|
|
2352
|
+
fieldCallCounts: {
|
|
2353
|
+
inputTokens: number;
|
|
2354
|
+
outputTokens: number;
|
|
2355
|
+
uncachedInputTokens: number;
|
|
2356
|
+
cacheReadInputTokens: number;
|
|
2357
|
+
cacheWriteInputTokens: number;
|
|
2358
|
+
textOutputTokens: number;
|
|
2359
|
+
reasoningOutputTokens: number;
|
|
2360
|
+
audioDurationMs: number;
|
|
2361
|
+
imageOutputTokens: number;
|
|
2362
|
+
audioOutputTokens: number;
|
|
2363
|
+
outputImages: number;
|
|
2364
|
+
inputCharacters: number;
|
|
2365
|
+
};
|
|
2366
|
+
};
|
|
2367
|
+
costs: {
|
|
2368
|
+
amounts: {
|
|
2369
|
+
currency: string;
|
|
2370
|
+
amountNanos: string;
|
|
2371
|
+
}[];
|
|
2372
|
+
ratedCallCount: number;
|
|
2373
|
+
unpriceableCallCount: number;
|
|
2374
|
+
unvaluedCallCount: number;
|
|
2375
|
+
};
|
|
2376
|
+
start: string;
|
|
1793
2377
|
end: string;
|
|
1794
2378
|
}[];
|
|
2379
|
+
kinds: {
|
|
2380
|
+
usage: {
|
|
2381
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2382
|
+
inputTokens?: number | undefined;
|
|
2383
|
+
outputTokens?: number | undefined;
|
|
2384
|
+
totalTokens?: number | undefined;
|
|
2385
|
+
uncachedInputTokens?: number | undefined;
|
|
2386
|
+
cacheReadInputTokens?: number | undefined;
|
|
2387
|
+
cacheWriteInputTokens?: number | undefined;
|
|
2388
|
+
textOutputTokens?: number | undefined;
|
|
2389
|
+
reasoningOutputTokens?: number | undefined;
|
|
2390
|
+
audioDurationMs?: number | undefined;
|
|
2391
|
+
imageOutputTokens?: number | undefined;
|
|
2392
|
+
audioOutputTokens?: number | undefined;
|
|
2393
|
+
outputImages?: number | undefined;
|
|
2394
|
+
inputCharacters?: number | undefined;
|
|
2395
|
+
};
|
|
2396
|
+
modelCallCount: number;
|
|
2397
|
+
usageCoverage: {
|
|
2398
|
+
completeCallCount: number;
|
|
2399
|
+
fieldCallCounts: {
|
|
2400
|
+
inputTokens: number;
|
|
2401
|
+
outputTokens: number;
|
|
2402
|
+
uncachedInputTokens: number;
|
|
2403
|
+
cacheReadInputTokens: number;
|
|
2404
|
+
cacheWriteInputTokens: number;
|
|
2405
|
+
textOutputTokens: number;
|
|
2406
|
+
reasoningOutputTokens: number;
|
|
2407
|
+
audioDurationMs: number;
|
|
2408
|
+
imageOutputTokens: number;
|
|
2409
|
+
audioOutputTokens: number;
|
|
2410
|
+
outputImages: number;
|
|
2411
|
+
inputCharacters: number;
|
|
2412
|
+
};
|
|
2413
|
+
};
|
|
2414
|
+
costs: {
|
|
2415
|
+
amounts: {
|
|
2416
|
+
currency: string;
|
|
2417
|
+
amountNanos: string;
|
|
2418
|
+
}[];
|
|
2419
|
+
ratedCallCount: number;
|
|
2420
|
+
unpriceableCallCount: number;
|
|
2421
|
+
unvaluedCallCount: number;
|
|
2422
|
+
};
|
|
2423
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
2424
|
+
}[];
|
|
2425
|
+
agents: ({
|
|
2426
|
+
kind: "agent";
|
|
2427
|
+
usage: {
|
|
2428
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2429
|
+
inputTokens?: number | undefined;
|
|
2430
|
+
outputTokens?: number | undefined;
|
|
2431
|
+
totalTokens?: number | undefined;
|
|
2432
|
+
uncachedInputTokens?: number | undefined;
|
|
2433
|
+
cacheReadInputTokens?: number | undefined;
|
|
2434
|
+
cacheWriteInputTokens?: number | undefined;
|
|
2435
|
+
textOutputTokens?: number | undefined;
|
|
2436
|
+
reasoningOutputTokens?: number | undefined;
|
|
2437
|
+
audioDurationMs?: number | undefined;
|
|
2438
|
+
imageOutputTokens?: number | undefined;
|
|
2439
|
+
audioOutputTokens?: number | undefined;
|
|
2440
|
+
outputImages?: number | undefined;
|
|
2441
|
+
inputCharacters?: number | undefined;
|
|
2442
|
+
};
|
|
2443
|
+
modelCallCount: number;
|
|
2444
|
+
usageCoverage: {
|
|
2445
|
+
completeCallCount: number;
|
|
2446
|
+
fieldCallCounts: {
|
|
2447
|
+
inputTokens: number;
|
|
2448
|
+
outputTokens: number;
|
|
2449
|
+
uncachedInputTokens: number;
|
|
2450
|
+
cacheReadInputTokens: number;
|
|
2451
|
+
cacheWriteInputTokens: number;
|
|
2452
|
+
textOutputTokens: number;
|
|
2453
|
+
reasoningOutputTokens: number;
|
|
2454
|
+
audioDurationMs: number;
|
|
2455
|
+
imageOutputTokens: number;
|
|
2456
|
+
audioOutputTokens: number;
|
|
2457
|
+
outputImages: number;
|
|
2458
|
+
inputCharacters: number;
|
|
2459
|
+
};
|
|
2460
|
+
};
|
|
2461
|
+
costs: {
|
|
2462
|
+
amounts: {
|
|
2463
|
+
currency: string;
|
|
2464
|
+
amountNanos: string;
|
|
2465
|
+
}[];
|
|
2466
|
+
ratedCallCount: number;
|
|
2467
|
+
unpriceableCallCount: number;
|
|
2468
|
+
unvaluedCallCount: number;
|
|
2469
|
+
};
|
|
2470
|
+
} | {
|
|
2471
|
+
kind: "workflowAgent";
|
|
2472
|
+
workflowId: string;
|
|
2473
|
+
usage: {
|
|
2474
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2475
|
+
inputTokens?: number | undefined;
|
|
2476
|
+
outputTokens?: number | undefined;
|
|
2477
|
+
totalTokens?: number | undefined;
|
|
2478
|
+
uncachedInputTokens?: number | undefined;
|
|
2479
|
+
cacheReadInputTokens?: number | undefined;
|
|
2480
|
+
cacheWriteInputTokens?: number | undefined;
|
|
2481
|
+
textOutputTokens?: number | undefined;
|
|
2482
|
+
reasoningOutputTokens?: number | undefined;
|
|
2483
|
+
audioDurationMs?: number | undefined;
|
|
2484
|
+
imageOutputTokens?: number | undefined;
|
|
2485
|
+
audioOutputTokens?: number | undefined;
|
|
2486
|
+
outputImages?: number | undefined;
|
|
2487
|
+
inputCharacters?: number | undefined;
|
|
2488
|
+
};
|
|
2489
|
+
modelCallCount: number;
|
|
2490
|
+
usageCoverage: {
|
|
2491
|
+
completeCallCount: number;
|
|
2492
|
+
fieldCallCounts: {
|
|
2493
|
+
inputTokens: number;
|
|
2494
|
+
outputTokens: number;
|
|
2495
|
+
uncachedInputTokens: number;
|
|
2496
|
+
cacheReadInputTokens: number;
|
|
2497
|
+
cacheWriteInputTokens: number;
|
|
2498
|
+
textOutputTokens: number;
|
|
2499
|
+
reasoningOutputTokens: number;
|
|
2500
|
+
audioDurationMs: number;
|
|
2501
|
+
imageOutputTokens: number;
|
|
2502
|
+
audioOutputTokens: number;
|
|
2503
|
+
outputImages: number;
|
|
2504
|
+
inputCharacters: number;
|
|
2505
|
+
};
|
|
2506
|
+
};
|
|
2507
|
+
costs: {
|
|
2508
|
+
amounts: {
|
|
2509
|
+
currency: string;
|
|
2510
|
+
amountNanos: string;
|
|
2511
|
+
}[];
|
|
2512
|
+
ratedCallCount: number;
|
|
2513
|
+
unpriceableCallCount: number;
|
|
2514
|
+
unvaluedCallCount: number;
|
|
2515
|
+
};
|
|
2516
|
+
agentStepId: string;
|
|
2517
|
+
})[];
|
|
1795
2518
|
}>;
|
|
1796
2519
|
export declare const AiPricingContextSchema: z.ZodObject<{
|
|
1797
2520
|
serviceTier: z.ZodOptional<z.ZodString>;
|
|
@@ -1835,7 +2558,7 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
1835
2558
|
callId: z.ZodString;
|
|
1836
2559
|
providerId: z.ZodString;
|
|
1837
2560
|
requestedModelId: z.ZodString;
|
|
1838
|
-
modelKind: z.ZodOptional<z.ZodEnum<["language", "image", "video", "embedding", "decision", "transcription", "reranking"]>>;
|
|
2561
|
+
modelKind: z.ZodOptional<z.ZodEnum<["language", "image", "video", "embedding", "decision", "transcription", "speech", "reranking"]>>;
|
|
1839
2562
|
requestedReasoning: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["provider-default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]>, z.ZodObject<{
|
|
1840
2563
|
budgetTokens: z.ZodNumber;
|
|
1841
2564
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1868,6 +2591,10 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
1868
2591
|
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1869
2592
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1870
2593
|
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
2594
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2595
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2596
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
2597
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1871
2598
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
1872
2599
|
}, "strip", z.ZodTypeAny, {
|
|
1873
2600
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
@@ -1880,6 +2607,10 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
1880
2607
|
textOutputTokens?: number | undefined;
|
|
1881
2608
|
reasoningOutputTokens?: number | undefined;
|
|
1882
2609
|
audioDurationMs?: number | undefined;
|
|
2610
|
+
imageOutputTokens?: number | undefined;
|
|
2611
|
+
audioOutputTokens?: number | undefined;
|
|
2612
|
+
outputImages?: number | undefined;
|
|
2613
|
+
inputCharacters?: number | undefined;
|
|
1883
2614
|
}, {
|
|
1884
2615
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1885
2616
|
inputTokens?: number | undefined;
|
|
@@ -1891,13 +2622,18 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
1891
2622
|
textOutputTokens?: number | undefined;
|
|
1892
2623
|
reasoningOutputTokens?: number | undefined;
|
|
1893
2624
|
audioDurationMs?: number | undefined;
|
|
2625
|
+
imageOutputTokens?: number | undefined;
|
|
2626
|
+
audioOutputTokens?: number | undefined;
|
|
2627
|
+
outputImages?: number | undefined;
|
|
2628
|
+
inputCharacters?: number | undefined;
|
|
1894
2629
|
}>;
|
|
1895
2630
|
occurredAt: z.ZodString;
|
|
1896
2631
|
recordedAt: z.ZodString;
|
|
1897
2632
|
}, "strip", z.ZodTypeAny, {
|
|
1898
2633
|
id: string;
|
|
1899
2634
|
providerId: string;
|
|
1900
|
-
|
|
2635
|
+
callId: string;
|
|
2636
|
+
recordedAt: string;
|
|
1901
2637
|
usage: {
|
|
1902
2638
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1903
2639
|
inputTokens?: number | undefined;
|
|
@@ -1909,9 +2645,13 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
1909
2645
|
textOutputTokens?: number | undefined;
|
|
1910
2646
|
reasoningOutputTokens?: number | undefined;
|
|
1911
2647
|
audioDurationMs?: number | undefined;
|
|
2648
|
+
imageOutputTokens?: number | undefined;
|
|
2649
|
+
audioOutputTokens?: number | undefined;
|
|
2650
|
+
outputImages?: number | undefined;
|
|
2651
|
+
inputCharacters?: number | undefined;
|
|
1912
2652
|
};
|
|
2653
|
+
executionId: string;
|
|
1913
2654
|
attempt: number;
|
|
1914
|
-
callId: string;
|
|
1915
2655
|
requestedModelId: string;
|
|
1916
2656
|
responseId: string;
|
|
1917
2657
|
providerIds: {
|
|
@@ -1920,8 +2660,7 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
1920
2660
|
generationId?: string | undefined;
|
|
1921
2661
|
} | null;
|
|
1922
2662
|
occurredAt: string;
|
|
1923
|
-
|
|
1924
|
-
modelKind?: "image" | "video" | "language" | "embedding" | "decision" | "transcription" | "reranking" | undefined;
|
|
2663
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
1925
2664
|
requestedReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
1926
2665
|
budgetTokens: number;
|
|
1927
2666
|
} | undefined;
|
|
@@ -1929,7 +2668,8 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
1929
2668
|
}, {
|
|
1930
2669
|
id: string;
|
|
1931
2670
|
providerId: string;
|
|
1932
|
-
|
|
2671
|
+
callId: string;
|
|
2672
|
+
recordedAt: string;
|
|
1933
2673
|
usage: {
|
|
1934
2674
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1935
2675
|
inputTokens?: number | undefined;
|
|
@@ -1941,9 +2681,13 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
1941
2681
|
textOutputTokens?: number | undefined;
|
|
1942
2682
|
reasoningOutputTokens?: number | undefined;
|
|
1943
2683
|
audioDurationMs?: number | undefined;
|
|
2684
|
+
imageOutputTokens?: number | undefined;
|
|
2685
|
+
audioOutputTokens?: number | undefined;
|
|
2686
|
+
outputImages?: number | undefined;
|
|
2687
|
+
inputCharacters?: number | undefined;
|
|
1944
2688
|
};
|
|
2689
|
+
executionId: string;
|
|
1945
2690
|
attempt: number;
|
|
1946
|
-
callId: string;
|
|
1947
2691
|
requestedModelId: string;
|
|
1948
2692
|
responseId: string;
|
|
1949
2693
|
providerIds: {
|
|
@@ -1952,8 +2696,7 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
1952
2696
|
generationId?: string | undefined;
|
|
1953
2697
|
} | null;
|
|
1954
2698
|
occurredAt: string;
|
|
1955
|
-
|
|
1956
|
-
modelKind?: "image" | "video" | "language" | "embedding" | "decision" | "transcription" | "reranking" | undefined;
|
|
2699
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
1957
2700
|
requestedReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
1958
2701
|
budgetTokens: number;
|
|
1959
2702
|
} | undefined;
|
|
@@ -1998,12 +2741,12 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
1998
2741
|
threadId: z.ZodString;
|
|
1999
2742
|
}, "strip", z.ZodTypeAny, {
|
|
2000
2743
|
kind: "agent";
|
|
2001
|
-
agentRunId: string;
|
|
2002
2744
|
threadId: string;
|
|
2745
|
+
agentRunId: string;
|
|
2003
2746
|
}, {
|
|
2004
2747
|
kind: "agent";
|
|
2005
|
-
agentRunId: string;
|
|
2006
2748
|
threadId: string;
|
|
2749
|
+
agentRunId: string;
|
|
2007
2750
|
}>, z.ZodObject<{
|
|
2008
2751
|
kind: z.ZodLiteral<"workflowAgent">;
|
|
2009
2752
|
agentStepId: z.ZodString;
|
|
@@ -2013,14 +2756,14 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2013
2756
|
}, "strip", z.ZodTypeAny, {
|
|
2014
2757
|
kind: "workflowAgent";
|
|
2015
2758
|
workflowId: string;
|
|
2016
|
-
agentStepId: string;
|
|
2017
2759
|
workflowRunId: string;
|
|
2760
|
+
agentStepId: string;
|
|
2018
2761
|
nodeRunId: string;
|
|
2019
2762
|
}, {
|
|
2020
2763
|
kind: "workflowAgent";
|
|
2021
2764
|
workflowId: string;
|
|
2022
|
-
agentStepId: string;
|
|
2023
2765
|
workflowRunId: string;
|
|
2766
|
+
agentStepId: string;
|
|
2024
2767
|
nodeRunId: string;
|
|
2025
2768
|
}>, z.ZodObject<{
|
|
2026
2769
|
kind: z.ZodLiteral<"subagent">;
|
|
@@ -2051,20 +2794,23 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2051
2794
|
amountNanos: string;
|
|
2052
2795
|
}>;
|
|
2053
2796
|
components: z.ZodArray<z.ZodObject<{
|
|
2054
|
-
meter: z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "audio.input.milliseconds"]>;
|
|
2797
|
+
meter: z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "tokens.output.image", "tokens.output.audio", "audio.input.milliseconds", "images.output", "characters.input"]>;
|
|
2055
2798
|
quantity: z.ZodString;
|
|
2056
2799
|
rateAmountNanosPerMillion: z.ZodString;
|
|
2057
2800
|
chargeAmountNanos: z.ZodString;
|
|
2801
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
2058
2802
|
}, "strip", z.ZodTypeAny, {
|
|
2059
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
2803
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2060
2804
|
quantity: string;
|
|
2061
2805
|
rateAmountNanosPerMillion: string;
|
|
2062
2806
|
chargeAmountNanos: string;
|
|
2807
|
+
variant?: string | undefined;
|
|
2063
2808
|
}, {
|
|
2064
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
2809
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2065
2810
|
quantity: string;
|
|
2066
2811
|
rateAmountNanosPerMillion: string;
|
|
2067
2812
|
chargeAmountNanos: string;
|
|
2813
|
+
variant?: string | undefined;
|
|
2068
2814
|
}>, "many">;
|
|
2069
2815
|
}, "strip", z.ZodTypeAny, {
|
|
2070
2816
|
status: "rated";
|
|
@@ -2073,10 +2819,11 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2073
2819
|
amountNanos: string;
|
|
2074
2820
|
};
|
|
2075
2821
|
components: {
|
|
2076
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
2822
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2077
2823
|
quantity: string;
|
|
2078
2824
|
rateAmountNanosPerMillion: string;
|
|
2079
2825
|
chargeAmountNanos: string;
|
|
2826
|
+
variant?: string | undefined;
|
|
2080
2827
|
}[];
|
|
2081
2828
|
}, {
|
|
2082
2829
|
status: "rated";
|
|
@@ -2085,23 +2832,24 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2085
2832
|
amountNanos: string;
|
|
2086
2833
|
};
|
|
2087
2834
|
components: {
|
|
2088
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
2835
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2089
2836
|
quantity: string;
|
|
2090
2837
|
rateAmountNanosPerMillion: string;
|
|
2091
2838
|
chargeAmountNanos: string;
|
|
2839
|
+
variant?: string | undefined;
|
|
2092
2840
|
}[];
|
|
2093
2841
|
}>, z.ZodObject<{
|
|
2094
2842
|
status: z.ZodLiteral<"unpriceable">;
|
|
2095
2843
|
reason: z.ZodEnum<["missingBillingIdentity", "missingRateCard", "missingUsageMeter", "unsupportedPricingDimension", "invalidUsageForFormula"]>;
|
|
2096
|
-
missingMeters: z.ZodOptional<z.ZodArray<z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "audio.input.milliseconds"]>, "many">>;
|
|
2844
|
+
missingMeters: z.ZodOptional<z.ZodArray<z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "tokens.output.image", "tokens.output.audio", "audio.input.milliseconds", "images.output", "characters.input"]>, "many">>;
|
|
2097
2845
|
}, "strip", z.ZodTypeAny, {
|
|
2098
2846
|
status: "unpriceable";
|
|
2099
2847
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2100
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
2848
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2101
2849
|
}, {
|
|
2102
2850
|
status: "unpriceable";
|
|
2103
2851
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2104
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
2852
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2105
2853
|
}>]>>;
|
|
2106
2854
|
billingIdentity: z.ZodObject<{
|
|
2107
2855
|
providerId: z.ZodString;
|
|
@@ -2177,20 +2925,23 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2177
2925
|
amountNanos: string;
|
|
2178
2926
|
}>;
|
|
2179
2927
|
components: z.ZodArray<z.ZodObject<{
|
|
2180
|
-
meter: z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "audio.input.milliseconds"]>;
|
|
2928
|
+
meter: z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "tokens.output.image", "tokens.output.audio", "audio.input.milliseconds", "images.output", "characters.input"]>;
|
|
2181
2929
|
quantity: z.ZodString;
|
|
2182
2930
|
rateAmountNanosPerMillion: z.ZodString;
|
|
2183
2931
|
chargeAmountNanos: z.ZodString;
|
|
2932
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
2184
2933
|
}, "strip", z.ZodTypeAny, {
|
|
2185
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
2934
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2186
2935
|
quantity: string;
|
|
2187
2936
|
rateAmountNanosPerMillion: string;
|
|
2188
2937
|
chargeAmountNanos: string;
|
|
2938
|
+
variant?: string | undefined;
|
|
2189
2939
|
}, {
|
|
2190
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
2940
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2191
2941
|
quantity: string;
|
|
2192
2942
|
rateAmountNanosPerMillion: string;
|
|
2193
2943
|
chargeAmountNanos: string;
|
|
2944
|
+
variant?: string | undefined;
|
|
2194
2945
|
}>, "many">;
|
|
2195
2946
|
ratedAt: z.ZodString;
|
|
2196
2947
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2201,10 +2952,11 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2201
2952
|
amountNanos: string;
|
|
2202
2953
|
};
|
|
2203
2954
|
components: {
|
|
2204
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
2955
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2205
2956
|
quantity: string;
|
|
2206
2957
|
rateAmountNanosPerMillion: string;
|
|
2207
2958
|
chargeAmountNanos: string;
|
|
2959
|
+
variant?: string | undefined;
|
|
2208
2960
|
}[];
|
|
2209
2961
|
billingIdentity: {
|
|
2210
2962
|
providerId: string;
|
|
@@ -2237,15 +2989,16 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2237
2989
|
amountNanos: string;
|
|
2238
2990
|
};
|
|
2239
2991
|
components: {
|
|
2240
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
2992
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2241
2993
|
quantity: string;
|
|
2242
2994
|
rateAmountNanosPerMillion: string;
|
|
2243
2995
|
chargeAmountNanos: string;
|
|
2996
|
+
variant?: string | undefined;
|
|
2244
2997
|
}[];
|
|
2245
2998
|
} | {
|
|
2246
2999
|
status: "unpriceable";
|
|
2247
3000
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2248
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3001
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2249
3002
|
} | undefined;
|
|
2250
3003
|
}, {
|
|
2251
3004
|
status: "rated";
|
|
@@ -2255,10 +3008,11 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2255
3008
|
amountNanos: string;
|
|
2256
3009
|
};
|
|
2257
3010
|
components: {
|
|
2258
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3011
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2259
3012
|
quantity: string;
|
|
2260
3013
|
rateAmountNanosPerMillion: string;
|
|
2261
3014
|
chargeAmountNanos: string;
|
|
3015
|
+
variant?: string | undefined;
|
|
2262
3016
|
}[];
|
|
2263
3017
|
billingIdentity: {
|
|
2264
3018
|
providerId: string;
|
|
@@ -2291,15 +3045,16 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2291
3045
|
amountNanos: string;
|
|
2292
3046
|
};
|
|
2293
3047
|
components: {
|
|
2294
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3048
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2295
3049
|
quantity: string;
|
|
2296
3050
|
rateAmountNanosPerMillion: string;
|
|
2297
3051
|
chargeAmountNanos: string;
|
|
3052
|
+
variant?: string | undefined;
|
|
2298
3053
|
}[];
|
|
2299
3054
|
} | {
|
|
2300
3055
|
status: "unpriceable";
|
|
2301
3056
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2302
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3057
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2303
3058
|
} | undefined;
|
|
2304
3059
|
}>, z.ZodObject<{
|
|
2305
3060
|
status: z.ZodLiteral<"unpriceable">;
|
|
@@ -2317,20 +3072,23 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2317
3072
|
amountNanos: string;
|
|
2318
3073
|
}>;
|
|
2319
3074
|
components: z.ZodArray<z.ZodObject<{
|
|
2320
|
-
meter: z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "audio.input.milliseconds"]>;
|
|
3075
|
+
meter: z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "tokens.output.image", "tokens.output.audio", "audio.input.milliseconds", "images.output", "characters.input"]>;
|
|
2321
3076
|
quantity: z.ZodString;
|
|
2322
3077
|
rateAmountNanosPerMillion: z.ZodString;
|
|
2323
3078
|
chargeAmountNanos: z.ZodString;
|
|
3079
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
2324
3080
|
}, "strip", z.ZodTypeAny, {
|
|
2325
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3081
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2326
3082
|
quantity: string;
|
|
2327
3083
|
rateAmountNanosPerMillion: string;
|
|
2328
3084
|
chargeAmountNanos: string;
|
|
3085
|
+
variant?: string | undefined;
|
|
2329
3086
|
}, {
|
|
2330
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3087
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2331
3088
|
quantity: string;
|
|
2332
3089
|
rateAmountNanosPerMillion: string;
|
|
2333
3090
|
chargeAmountNanos: string;
|
|
3091
|
+
variant?: string | undefined;
|
|
2334
3092
|
}>, "many">;
|
|
2335
3093
|
}, "strip", z.ZodTypeAny, {
|
|
2336
3094
|
status: "rated";
|
|
@@ -2339,10 +3097,11 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2339
3097
|
amountNanos: string;
|
|
2340
3098
|
};
|
|
2341
3099
|
components: {
|
|
2342
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3100
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2343
3101
|
quantity: string;
|
|
2344
3102
|
rateAmountNanosPerMillion: string;
|
|
2345
3103
|
chargeAmountNanos: string;
|
|
3104
|
+
variant?: string | undefined;
|
|
2346
3105
|
}[];
|
|
2347
3106
|
}, {
|
|
2348
3107
|
status: "rated";
|
|
@@ -2351,23 +3110,24 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2351
3110
|
amountNanos: string;
|
|
2352
3111
|
};
|
|
2353
3112
|
components: {
|
|
2354
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3113
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2355
3114
|
quantity: string;
|
|
2356
3115
|
rateAmountNanosPerMillion: string;
|
|
2357
3116
|
chargeAmountNanos: string;
|
|
3117
|
+
variant?: string | undefined;
|
|
2358
3118
|
}[];
|
|
2359
3119
|
}>, z.ZodObject<{
|
|
2360
3120
|
status: z.ZodLiteral<"unpriceable">;
|
|
2361
3121
|
reason: z.ZodEnum<["missingBillingIdentity", "missingRateCard", "missingUsageMeter", "unsupportedPricingDimension", "invalidUsageForFormula"]>;
|
|
2362
|
-
missingMeters: z.ZodOptional<z.ZodArray<z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "audio.input.milliseconds"]>, "many">>;
|
|
3122
|
+
missingMeters: z.ZodOptional<z.ZodArray<z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "tokens.output.image", "tokens.output.audio", "audio.input.milliseconds", "images.output", "characters.input"]>, "many">>;
|
|
2363
3123
|
}, "strip", z.ZodTypeAny, {
|
|
2364
3124
|
status: "unpriceable";
|
|
2365
3125
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2366
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3126
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2367
3127
|
}, {
|
|
2368
3128
|
status: "unpriceable";
|
|
2369
3129
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2370
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3130
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2371
3131
|
}>]>>;
|
|
2372
3132
|
billingIdentity: z.ZodOptional<z.ZodObject<{
|
|
2373
3133
|
providerId: z.ZodString;
|
|
@@ -2433,7 +3193,7 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2433
3193
|
sourceUrl?: string | undefined;
|
|
2434
3194
|
}>>;
|
|
2435
3195
|
reason: z.ZodEnum<["missingBillingIdentity", "missingRateCard", "missingUsageMeter", "unsupportedPricingDimension", "invalidUsageForFormula"]>;
|
|
2436
|
-
missingMeters: z.ZodOptional<z.ZodArray<z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "audio.input.milliseconds"]>, "many">>;
|
|
3196
|
+
missingMeters: z.ZodOptional<z.ZodArray<z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "tokens.output.image", "tokens.output.audio", "audio.input.milliseconds", "images.output", "characters.input"]>, "many">>;
|
|
2437
3197
|
ratedAt: z.ZodString;
|
|
2438
3198
|
}, "strip", z.ZodTypeAny, {
|
|
2439
3199
|
status: "unpriceable";
|
|
@@ -2459,17 +3219,18 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2459
3219
|
amountNanos: string;
|
|
2460
3220
|
};
|
|
2461
3221
|
components: {
|
|
2462
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3222
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2463
3223
|
quantity: string;
|
|
2464
3224
|
rateAmountNanosPerMillion: string;
|
|
2465
3225
|
chargeAmountNanos: string;
|
|
3226
|
+
variant?: string | undefined;
|
|
2466
3227
|
}[];
|
|
2467
3228
|
} | {
|
|
2468
3229
|
status: "unpriceable";
|
|
2469
3230
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2470
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3231
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2471
3232
|
} | undefined;
|
|
2472
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3233
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2473
3234
|
billingIdentity?: {
|
|
2474
3235
|
providerId: string;
|
|
2475
3236
|
modelId: string;
|
|
@@ -2505,17 +3266,18 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2505
3266
|
amountNanos: string;
|
|
2506
3267
|
};
|
|
2507
3268
|
components: {
|
|
2508
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3269
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2509
3270
|
quantity: string;
|
|
2510
3271
|
rateAmountNanosPerMillion: string;
|
|
2511
3272
|
chargeAmountNanos: string;
|
|
3273
|
+
variant?: string | undefined;
|
|
2512
3274
|
}[];
|
|
2513
3275
|
} | {
|
|
2514
3276
|
status: "unpriceable";
|
|
2515
3277
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2516
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3278
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2517
3279
|
} | undefined;
|
|
2518
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3280
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2519
3281
|
billingIdentity?: {
|
|
2520
3282
|
providerId: string;
|
|
2521
3283
|
modelId: string;
|
|
@@ -2530,11 +3292,11 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2530
3292
|
}>]>>;
|
|
2531
3293
|
valuationStatus: z.ZodEnum<["rated", "unpriceable", "unvalued"]>;
|
|
2532
3294
|
}, "strip", z.ZodTypeAny, {
|
|
2533
|
-
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
2534
3295
|
usage: {
|
|
2535
3296
|
id: string;
|
|
2536
3297
|
providerId: string;
|
|
2537
|
-
|
|
3298
|
+
callId: string;
|
|
3299
|
+
recordedAt: string;
|
|
2538
3300
|
usage: {
|
|
2539
3301
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2540
3302
|
inputTokens?: number | undefined;
|
|
@@ -2546,9 +3308,13 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2546
3308
|
textOutputTokens?: number | undefined;
|
|
2547
3309
|
reasoningOutputTokens?: number | undefined;
|
|
2548
3310
|
audioDurationMs?: number | undefined;
|
|
3311
|
+
imageOutputTokens?: number | undefined;
|
|
3312
|
+
audioOutputTokens?: number | undefined;
|
|
3313
|
+
outputImages?: number | undefined;
|
|
3314
|
+
inputCharacters?: number | undefined;
|
|
2549
3315
|
};
|
|
3316
|
+
executionId: string;
|
|
2550
3317
|
attempt: number;
|
|
2551
|
-
callId: string;
|
|
2552
3318
|
requestedModelId: string;
|
|
2553
3319
|
responseId: string;
|
|
2554
3320
|
providerIds: {
|
|
@@ -2557,39 +3323,13 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2557
3323
|
generationId?: string | undefined;
|
|
2558
3324
|
} | null;
|
|
2559
3325
|
occurredAt: string;
|
|
2560
|
-
|
|
2561
|
-
modelKind?: "image" | "video" | "language" | "embedding" | "decision" | "transcription" | "reranking" | undefined;
|
|
3326
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
2562
3327
|
requestedReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
2563
3328
|
budgetTokens: number;
|
|
2564
3329
|
} | undefined;
|
|
2565
3330
|
responseModelId?: string | undefined;
|
|
2566
3331
|
};
|
|
2567
|
-
|
|
2568
|
-
kind: "request";
|
|
2569
|
-
requestId: string;
|
|
2570
|
-
} | {
|
|
2571
|
-
kind: "action";
|
|
2572
|
-
actionId: string;
|
|
2573
|
-
actionRunId: string;
|
|
2574
|
-
} | {
|
|
2575
|
-
kind: "workflow";
|
|
2576
|
-
workflowId: string;
|
|
2577
|
-
workflowRunId: string;
|
|
2578
|
-
} | {
|
|
2579
|
-
kind: "agent";
|
|
2580
|
-
agentRunId: string;
|
|
2581
|
-
threadId: string;
|
|
2582
|
-
} | {
|
|
2583
|
-
kind: "workflowAgent";
|
|
2584
|
-
workflowId: string;
|
|
2585
|
-
agentStepId: string;
|
|
2586
|
-
workflowRunId: string;
|
|
2587
|
-
nodeRunId: string;
|
|
2588
|
-
} | {
|
|
2589
|
-
kind: "subagent";
|
|
2590
|
-
subagentRunId: string;
|
|
2591
|
-
parentRunId: string;
|
|
2592
|
-
} | undefined;
|
|
3332
|
+
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
2593
3333
|
cost?: {
|
|
2594
3334
|
status: "rated";
|
|
2595
3335
|
source: "unknown" | "provider" | "estimate";
|
|
@@ -2598,10 +3338,11 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2598
3338
|
amountNanos: string;
|
|
2599
3339
|
};
|
|
2600
3340
|
components: {
|
|
2601
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3341
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2602
3342
|
quantity: string;
|
|
2603
3343
|
rateAmountNanosPerMillion: string;
|
|
2604
3344
|
chargeAmountNanos: string;
|
|
3345
|
+
variant?: string | undefined;
|
|
2605
3346
|
}[];
|
|
2606
3347
|
billingIdentity: {
|
|
2607
3348
|
providerId: string;
|
|
@@ -2634,15 +3375,16 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2634
3375
|
amountNanos: string;
|
|
2635
3376
|
};
|
|
2636
3377
|
components: {
|
|
2637
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3378
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2638
3379
|
quantity: string;
|
|
2639
3380
|
rateAmountNanosPerMillion: string;
|
|
2640
3381
|
chargeAmountNanos: string;
|
|
3382
|
+
variant?: string | undefined;
|
|
2641
3383
|
}[];
|
|
2642
3384
|
} | {
|
|
2643
3385
|
status: "unpriceable";
|
|
2644
3386
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2645
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3387
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2646
3388
|
} | undefined;
|
|
2647
3389
|
} | {
|
|
2648
3390
|
status: "unpriceable";
|
|
@@ -2668,17 +3410,18 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2668
3410
|
amountNanos: string;
|
|
2669
3411
|
};
|
|
2670
3412
|
components: {
|
|
2671
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3413
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2672
3414
|
quantity: string;
|
|
2673
3415
|
rateAmountNanosPerMillion: string;
|
|
2674
3416
|
chargeAmountNanos: string;
|
|
3417
|
+
variant?: string | undefined;
|
|
2675
3418
|
}[];
|
|
2676
3419
|
} | {
|
|
2677
3420
|
status: "unpriceable";
|
|
2678
3421
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2679
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3422
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2680
3423
|
} | undefined;
|
|
2681
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3424
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2682
3425
|
billingIdentity?: {
|
|
2683
3426
|
providerId: string;
|
|
2684
3427
|
modelId: string;
|
|
@@ -2691,12 +3434,38 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2691
3434
|
sourceUrl?: string | undefined;
|
|
2692
3435
|
} | undefined;
|
|
2693
3436
|
} | undefined;
|
|
3437
|
+
attribution?: {
|
|
3438
|
+
kind: "request";
|
|
3439
|
+
requestId: string;
|
|
3440
|
+
} | {
|
|
3441
|
+
kind: "action";
|
|
3442
|
+
actionId: string;
|
|
3443
|
+
actionRunId: string;
|
|
3444
|
+
} | {
|
|
3445
|
+
kind: "workflow";
|
|
3446
|
+
workflowId: string;
|
|
3447
|
+
workflowRunId: string;
|
|
3448
|
+
} | {
|
|
3449
|
+
kind: "agent";
|
|
3450
|
+
threadId: string;
|
|
3451
|
+
agentRunId: string;
|
|
3452
|
+
} | {
|
|
3453
|
+
kind: "workflowAgent";
|
|
3454
|
+
workflowId: string;
|
|
3455
|
+
workflowRunId: string;
|
|
3456
|
+
agentStepId: string;
|
|
3457
|
+
nodeRunId: string;
|
|
3458
|
+
} | {
|
|
3459
|
+
kind: "subagent";
|
|
3460
|
+
subagentRunId: string;
|
|
3461
|
+
parentRunId: string;
|
|
3462
|
+
} | undefined;
|
|
2694
3463
|
}, {
|
|
2695
|
-
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
2696
3464
|
usage: {
|
|
2697
3465
|
id: string;
|
|
2698
3466
|
providerId: string;
|
|
2699
|
-
|
|
3467
|
+
callId: string;
|
|
3468
|
+
recordedAt: string;
|
|
2700
3469
|
usage: {
|
|
2701
3470
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2702
3471
|
inputTokens?: number | undefined;
|
|
@@ -2708,9 +3477,13 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2708
3477
|
textOutputTokens?: number | undefined;
|
|
2709
3478
|
reasoningOutputTokens?: number | undefined;
|
|
2710
3479
|
audioDurationMs?: number | undefined;
|
|
3480
|
+
imageOutputTokens?: number | undefined;
|
|
3481
|
+
audioOutputTokens?: number | undefined;
|
|
3482
|
+
outputImages?: number | undefined;
|
|
3483
|
+
inputCharacters?: number | undefined;
|
|
2711
3484
|
};
|
|
3485
|
+
executionId: string;
|
|
2712
3486
|
attempt: number;
|
|
2713
|
-
callId: string;
|
|
2714
3487
|
requestedModelId: string;
|
|
2715
3488
|
responseId: string;
|
|
2716
3489
|
providerIds: {
|
|
@@ -2719,39 +3492,13 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2719
3492
|
generationId?: string | undefined;
|
|
2720
3493
|
} | null;
|
|
2721
3494
|
occurredAt: string;
|
|
2722
|
-
|
|
2723
|
-
modelKind?: "image" | "video" | "language" | "embedding" | "decision" | "transcription" | "reranking" | undefined;
|
|
3495
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
2724
3496
|
requestedReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
2725
3497
|
budgetTokens: number;
|
|
2726
3498
|
} | undefined;
|
|
2727
3499
|
responseModelId?: string | undefined;
|
|
2728
3500
|
};
|
|
2729
|
-
|
|
2730
|
-
kind: "request";
|
|
2731
|
-
requestId: string;
|
|
2732
|
-
} | {
|
|
2733
|
-
kind: "action";
|
|
2734
|
-
actionId: string;
|
|
2735
|
-
actionRunId: string;
|
|
2736
|
-
} | {
|
|
2737
|
-
kind: "workflow";
|
|
2738
|
-
workflowId: string;
|
|
2739
|
-
workflowRunId: string;
|
|
2740
|
-
} | {
|
|
2741
|
-
kind: "agent";
|
|
2742
|
-
agentRunId: string;
|
|
2743
|
-
threadId: string;
|
|
2744
|
-
} | {
|
|
2745
|
-
kind: "workflowAgent";
|
|
2746
|
-
workflowId: string;
|
|
2747
|
-
agentStepId: string;
|
|
2748
|
-
workflowRunId: string;
|
|
2749
|
-
nodeRunId: string;
|
|
2750
|
-
} | {
|
|
2751
|
-
kind: "subagent";
|
|
2752
|
-
subagentRunId: string;
|
|
2753
|
-
parentRunId: string;
|
|
2754
|
-
} | undefined;
|
|
3501
|
+
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
2755
3502
|
cost?: {
|
|
2756
3503
|
status: "rated";
|
|
2757
3504
|
source: "unknown" | "provider" | "estimate";
|
|
@@ -2760,10 +3507,11 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2760
3507
|
amountNanos: string;
|
|
2761
3508
|
};
|
|
2762
3509
|
components: {
|
|
2763
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3510
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2764
3511
|
quantity: string;
|
|
2765
3512
|
rateAmountNanosPerMillion: string;
|
|
2766
3513
|
chargeAmountNanos: string;
|
|
3514
|
+
variant?: string | undefined;
|
|
2767
3515
|
}[];
|
|
2768
3516
|
billingIdentity: {
|
|
2769
3517
|
providerId: string;
|
|
@@ -2796,15 +3544,16 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2796
3544
|
amountNanos: string;
|
|
2797
3545
|
};
|
|
2798
3546
|
components: {
|
|
2799
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3547
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2800
3548
|
quantity: string;
|
|
2801
3549
|
rateAmountNanosPerMillion: string;
|
|
2802
3550
|
chargeAmountNanos: string;
|
|
3551
|
+
variant?: string | undefined;
|
|
2803
3552
|
}[];
|
|
2804
3553
|
} | {
|
|
2805
3554
|
status: "unpriceable";
|
|
2806
3555
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2807
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3556
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2808
3557
|
} | undefined;
|
|
2809
3558
|
} | {
|
|
2810
3559
|
status: "unpriceable";
|
|
@@ -2830,17 +3579,18 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2830
3579
|
amountNanos: string;
|
|
2831
3580
|
};
|
|
2832
3581
|
components: {
|
|
2833
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3582
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
2834
3583
|
quantity: string;
|
|
2835
3584
|
rateAmountNanosPerMillion: string;
|
|
2836
3585
|
chargeAmountNanos: string;
|
|
3586
|
+
variant?: string | undefined;
|
|
2837
3587
|
}[];
|
|
2838
3588
|
} | {
|
|
2839
3589
|
status: "unpriceable";
|
|
2840
3590
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2841
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3591
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2842
3592
|
} | undefined;
|
|
2843
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3593
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
2844
3594
|
billingIdentity?: {
|
|
2845
3595
|
providerId: string;
|
|
2846
3596
|
modelId: string;
|
|
@@ -2853,6 +3603,32 @@ export declare const AiModelCallAccountingItemSchema: z.ZodObject<{
|
|
|
2853
3603
|
sourceUrl?: string | undefined;
|
|
2854
3604
|
} | undefined;
|
|
2855
3605
|
} | undefined;
|
|
3606
|
+
attribution?: {
|
|
3607
|
+
kind: "request";
|
|
3608
|
+
requestId: string;
|
|
3609
|
+
} | {
|
|
3610
|
+
kind: "action";
|
|
3611
|
+
actionId: string;
|
|
3612
|
+
actionRunId: string;
|
|
3613
|
+
} | {
|
|
3614
|
+
kind: "workflow";
|
|
3615
|
+
workflowId: string;
|
|
3616
|
+
workflowRunId: string;
|
|
3617
|
+
} | {
|
|
3618
|
+
kind: "agent";
|
|
3619
|
+
threadId: string;
|
|
3620
|
+
agentRunId: string;
|
|
3621
|
+
} | {
|
|
3622
|
+
kind: "workflowAgent";
|
|
3623
|
+
workflowId: string;
|
|
3624
|
+
workflowRunId: string;
|
|
3625
|
+
agentStepId: string;
|
|
3626
|
+
nodeRunId: string;
|
|
3627
|
+
} | {
|
|
3628
|
+
kind: "subagent";
|
|
3629
|
+
subagentRunId: string;
|
|
3630
|
+
parentRunId: string;
|
|
3631
|
+
} | undefined;
|
|
2856
3632
|
}>;
|
|
2857
3633
|
export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
2858
3634
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -2863,7 +3639,7 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
2863
3639
|
callId: z.ZodString;
|
|
2864
3640
|
providerId: z.ZodString;
|
|
2865
3641
|
requestedModelId: z.ZodString;
|
|
2866
|
-
modelKind: z.ZodOptional<z.ZodEnum<["language", "image", "video", "embedding", "decision", "transcription", "reranking"]>>;
|
|
3642
|
+
modelKind: z.ZodOptional<z.ZodEnum<["language", "image", "video", "embedding", "decision", "transcription", "speech", "reranking"]>>;
|
|
2867
3643
|
requestedReasoning: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["provider-default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]>, z.ZodObject<{
|
|
2868
3644
|
budgetTokens: z.ZodNumber;
|
|
2869
3645
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -2896,6 +3672,10 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
2896
3672
|
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2897
3673
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2898
3674
|
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
3675
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
3676
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
3677
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
3678
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2899
3679
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
2900
3680
|
}, "strip", z.ZodTypeAny, {
|
|
2901
3681
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
@@ -2908,6 +3688,10 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
2908
3688
|
textOutputTokens?: number | undefined;
|
|
2909
3689
|
reasoningOutputTokens?: number | undefined;
|
|
2910
3690
|
audioDurationMs?: number | undefined;
|
|
3691
|
+
imageOutputTokens?: number | undefined;
|
|
3692
|
+
audioOutputTokens?: number | undefined;
|
|
3693
|
+
outputImages?: number | undefined;
|
|
3694
|
+
inputCharacters?: number | undefined;
|
|
2911
3695
|
}, {
|
|
2912
3696
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2913
3697
|
inputTokens?: number | undefined;
|
|
@@ -2919,13 +3703,18 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
2919
3703
|
textOutputTokens?: number | undefined;
|
|
2920
3704
|
reasoningOutputTokens?: number | undefined;
|
|
2921
3705
|
audioDurationMs?: number | undefined;
|
|
3706
|
+
imageOutputTokens?: number | undefined;
|
|
3707
|
+
audioOutputTokens?: number | undefined;
|
|
3708
|
+
outputImages?: number | undefined;
|
|
3709
|
+
inputCharacters?: number | undefined;
|
|
2922
3710
|
}>;
|
|
2923
3711
|
occurredAt: z.ZodString;
|
|
2924
3712
|
recordedAt: z.ZodString;
|
|
2925
3713
|
}, "strip", z.ZodTypeAny, {
|
|
2926
3714
|
id: string;
|
|
2927
3715
|
providerId: string;
|
|
2928
|
-
|
|
3716
|
+
callId: string;
|
|
3717
|
+
recordedAt: string;
|
|
2929
3718
|
usage: {
|
|
2930
3719
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2931
3720
|
inputTokens?: number | undefined;
|
|
@@ -2937,9 +3726,13 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
2937
3726
|
textOutputTokens?: number | undefined;
|
|
2938
3727
|
reasoningOutputTokens?: number | undefined;
|
|
2939
3728
|
audioDurationMs?: number | undefined;
|
|
3729
|
+
imageOutputTokens?: number | undefined;
|
|
3730
|
+
audioOutputTokens?: number | undefined;
|
|
3731
|
+
outputImages?: number | undefined;
|
|
3732
|
+
inputCharacters?: number | undefined;
|
|
2940
3733
|
};
|
|
3734
|
+
executionId: string;
|
|
2941
3735
|
attempt: number;
|
|
2942
|
-
callId: string;
|
|
2943
3736
|
requestedModelId: string;
|
|
2944
3737
|
responseId: string;
|
|
2945
3738
|
providerIds: {
|
|
@@ -2948,8 +3741,7 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
2948
3741
|
generationId?: string | undefined;
|
|
2949
3742
|
} | null;
|
|
2950
3743
|
occurredAt: string;
|
|
2951
|
-
|
|
2952
|
-
modelKind?: "image" | "video" | "language" | "embedding" | "decision" | "transcription" | "reranking" | undefined;
|
|
3744
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
2953
3745
|
requestedReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
2954
3746
|
budgetTokens: number;
|
|
2955
3747
|
} | undefined;
|
|
@@ -2957,7 +3749,8 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
2957
3749
|
}, {
|
|
2958
3750
|
id: string;
|
|
2959
3751
|
providerId: string;
|
|
2960
|
-
|
|
3752
|
+
callId: string;
|
|
3753
|
+
recordedAt: string;
|
|
2961
3754
|
usage: {
|
|
2962
3755
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2963
3756
|
inputTokens?: number | undefined;
|
|
@@ -2969,9 +3762,13 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
2969
3762
|
textOutputTokens?: number | undefined;
|
|
2970
3763
|
reasoningOutputTokens?: number | undefined;
|
|
2971
3764
|
audioDurationMs?: number | undefined;
|
|
3765
|
+
imageOutputTokens?: number | undefined;
|
|
3766
|
+
audioOutputTokens?: number | undefined;
|
|
3767
|
+
outputImages?: number | undefined;
|
|
3768
|
+
inputCharacters?: number | undefined;
|
|
2972
3769
|
};
|
|
3770
|
+
executionId: string;
|
|
2973
3771
|
attempt: number;
|
|
2974
|
-
callId: string;
|
|
2975
3772
|
requestedModelId: string;
|
|
2976
3773
|
responseId: string;
|
|
2977
3774
|
providerIds: {
|
|
@@ -2980,8 +3777,7 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
2980
3777
|
generationId?: string | undefined;
|
|
2981
3778
|
} | null;
|
|
2982
3779
|
occurredAt: string;
|
|
2983
|
-
|
|
2984
|
-
modelKind?: "image" | "video" | "language" | "embedding" | "decision" | "transcription" | "reranking" | undefined;
|
|
3780
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
2985
3781
|
requestedReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
2986
3782
|
budgetTokens: number;
|
|
2987
3783
|
} | undefined;
|
|
@@ -3026,12 +3822,12 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3026
3822
|
threadId: z.ZodString;
|
|
3027
3823
|
}, "strip", z.ZodTypeAny, {
|
|
3028
3824
|
kind: "agent";
|
|
3029
|
-
agentRunId: string;
|
|
3030
3825
|
threadId: string;
|
|
3826
|
+
agentRunId: string;
|
|
3031
3827
|
}, {
|
|
3032
3828
|
kind: "agent";
|
|
3033
|
-
agentRunId: string;
|
|
3034
3829
|
threadId: string;
|
|
3830
|
+
agentRunId: string;
|
|
3035
3831
|
}>, z.ZodObject<{
|
|
3036
3832
|
kind: z.ZodLiteral<"workflowAgent">;
|
|
3037
3833
|
agentStepId: z.ZodString;
|
|
@@ -3041,14 +3837,14 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3041
3837
|
}, "strip", z.ZodTypeAny, {
|
|
3042
3838
|
kind: "workflowAgent";
|
|
3043
3839
|
workflowId: string;
|
|
3044
|
-
agentStepId: string;
|
|
3045
3840
|
workflowRunId: string;
|
|
3841
|
+
agentStepId: string;
|
|
3046
3842
|
nodeRunId: string;
|
|
3047
3843
|
}, {
|
|
3048
3844
|
kind: "workflowAgent";
|
|
3049
3845
|
workflowId: string;
|
|
3050
|
-
agentStepId: string;
|
|
3051
3846
|
workflowRunId: string;
|
|
3847
|
+
agentStepId: string;
|
|
3052
3848
|
nodeRunId: string;
|
|
3053
3849
|
}>, z.ZodObject<{
|
|
3054
3850
|
kind: z.ZodLiteral<"subagent">;
|
|
@@ -3079,20 +3875,23 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3079
3875
|
amountNanos: string;
|
|
3080
3876
|
}>;
|
|
3081
3877
|
components: z.ZodArray<z.ZodObject<{
|
|
3082
|
-
meter: z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "audio.input.milliseconds"]>;
|
|
3878
|
+
meter: z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "tokens.output.image", "tokens.output.audio", "audio.input.milliseconds", "images.output", "characters.input"]>;
|
|
3083
3879
|
quantity: z.ZodString;
|
|
3084
3880
|
rateAmountNanosPerMillion: z.ZodString;
|
|
3085
3881
|
chargeAmountNanos: z.ZodString;
|
|
3882
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
3086
3883
|
}, "strip", z.ZodTypeAny, {
|
|
3087
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3884
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3088
3885
|
quantity: string;
|
|
3089
3886
|
rateAmountNanosPerMillion: string;
|
|
3090
3887
|
chargeAmountNanos: string;
|
|
3888
|
+
variant?: string | undefined;
|
|
3091
3889
|
}, {
|
|
3092
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3890
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3093
3891
|
quantity: string;
|
|
3094
3892
|
rateAmountNanosPerMillion: string;
|
|
3095
3893
|
chargeAmountNanos: string;
|
|
3894
|
+
variant?: string | undefined;
|
|
3096
3895
|
}>, "many">;
|
|
3097
3896
|
}, "strip", z.ZodTypeAny, {
|
|
3098
3897
|
status: "rated";
|
|
@@ -3101,10 +3900,11 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3101
3900
|
amountNanos: string;
|
|
3102
3901
|
};
|
|
3103
3902
|
components: {
|
|
3104
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3903
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3105
3904
|
quantity: string;
|
|
3106
3905
|
rateAmountNanosPerMillion: string;
|
|
3107
3906
|
chargeAmountNanos: string;
|
|
3907
|
+
variant?: string | undefined;
|
|
3108
3908
|
}[];
|
|
3109
3909
|
}, {
|
|
3110
3910
|
status: "rated";
|
|
@@ -3113,23 +3913,24 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3113
3913
|
amountNanos: string;
|
|
3114
3914
|
};
|
|
3115
3915
|
components: {
|
|
3116
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
3916
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3117
3917
|
quantity: string;
|
|
3118
3918
|
rateAmountNanosPerMillion: string;
|
|
3119
3919
|
chargeAmountNanos: string;
|
|
3920
|
+
variant?: string | undefined;
|
|
3120
3921
|
}[];
|
|
3121
3922
|
}>, z.ZodObject<{
|
|
3122
3923
|
status: z.ZodLiteral<"unpriceable">;
|
|
3123
3924
|
reason: z.ZodEnum<["missingBillingIdentity", "missingRateCard", "missingUsageMeter", "unsupportedPricingDimension", "invalidUsageForFormula"]>;
|
|
3124
|
-
missingMeters: z.ZodOptional<z.ZodArray<z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "audio.input.milliseconds"]>, "many">>;
|
|
3925
|
+
missingMeters: z.ZodOptional<z.ZodArray<z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "tokens.output.image", "tokens.output.audio", "audio.input.milliseconds", "images.output", "characters.input"]>, "many">>;
|
|
3125
3926
|
}, "strip", z.ZodTypeAny, {
|
|
3126
3927
|
status: "unpriceable";
|
|
3127
3928
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
3128
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3929
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3129
3930
|
}, {
|
|
3130
3931
|
status: "unpriceable";
|
|
3131
3932
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
3132
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
3933
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3133
3934
|
}>]>>;
|
|
3134
3935
|
billingIdentity: z.ZodObject<{
|
|
3135
3936
|
providerId: z.ZodString;
|
|
@@ -3205,20 +4006,23 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3205
4006
|
amountNanos: string;
|
|
3206
4007
|
}>;
|
|
3207
4008
|
components: z.ZodArray<z.ZodObject<{
|
|
3208
|
-
meter: z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "audio.input.milliseconds"]>;
|
|
4009
|
+
meter: z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "tokens.output.image", "tokens.output.audio", "audio.input.milliseconds", "images.output", "characters.input"]>;
|
|
3209
4010
|
quantity: z.ZodString;
|
|
3210
4011
|
rateAmountNanosPerMillion: z.ZodString;
|
|
3211
4012
|
chargeAmountNanos: z.ZodString;
|
|
4013
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
3212
4014
|
}, "strip", z.ZodTypeAny, {
|
|
3213
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4015
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3214
4016
|
quantity: string;
|
|
3215
4017
|
rateAmountNanosPerMillion: string;
|
|
3216
4018
|
chargeAmountNanos: string;
|
|
4019
|
+
variant?: string | undefined;
|
|
3217
4020
|
}, {
|
|
3218
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4021
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3219
4022
|
quantity: string;
|
|
3220
4023
|
rateAmountNanosPerMillion: string;
|
|
3221
4024
|
chargeAmountNanos: string;
|
|
4025
|
+
variant?: string | undefined;
|
|
3222
4026
|
}>, "many">;
|
|
3223
4027
|
ratedAt: z.ZodString;
|
|
3224
4028
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3229,10 +4033,11 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3229
4033
|
amountNanos: string;
|
|
3230
4034
|
};
|
|
3231
4035
|
components: {
|
|
3232
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4036
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3233
4037
|
quantity: string;
|
|
3234
4038
|
rateAmountNanosPerMillion: string;
|
|
3235
4039
|
chargeAmountNanos: string;
|
|
4040
|
+
variant?: string | undefined;
|
|
3236
4041
|
}[];
|
|
3237
4042
|
billingIdentity: {
|
|
3238
4043
|
providerId: string;
|
|
@@ -3265,15 +4070,16 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3265
4070
|
amountNanos: string;
|
|
3266
4071
|
};
|
|
3267
4072
|
components: {
|
|
3268
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4073
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3269
4074
|
quantity: string;
|
|
3270
4075
|
rateAmountNanosPerMillion: string;
|
|
3271
4076
|
chargeAmountNanos: string;
|
|
4077
|
+
variant?: string | undefined;
|
|
3272
4078
|
}[];
|
|
3273
4079
|
} | {
|
|
3274
4080
|
status: "unpriceable";
|
|
3275
4081
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
3276
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4082
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3277
4083
|
} | undefined;
|
|
3278
4084
|
}, {
|
|
3279
4085
|
status: "rated";
|
|
@@ -3283,10 +4089,11 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3283
4089
|
amountNanos: string;
|
|
3284
4090
|
};
|
|
3285
4091
|
components: {
|
|
3286
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4092
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3287
4093
|
quantity: string;
|
|
3288
4094
|
rateAmountNanosPerMillion: string;
|
|
3289
4095
|
chargeAmountNanos: string;
|
|
4096
|
+
variant?: string | undefined;
|
|
3290
4097
|
}[];
|
|
3291
4098
|
billingIdentity: {
|
|
3292
4099
|
providerId: string;
|
|
@@ -3319,15 +4126,16 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3319
4126
|
amountNanos: string;
|
|
3320
4127
|
};
|
|
3321
4128
|
components: {
|
|
3322
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4129
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3323
4130
|
quantity: string;
|
|
3324
4131
|
rateAmountNanosPerMillion: string;
|
|
3325
4132
|
chargeAmountNanos: string;
|
|
4133
|
+
variant?: string | undefined;
|
|
3326
4134
|
}[];
|
|
3327
4135
|
} | {
|
|
3328
4136
|
status: "unpriceable";
|
|
3329
4137
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
3330
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4138
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3331
4139
|
} | undefined;
|
|
3332
4140
|
}>, z.ZodObject<{
|
|
3333
4141
|
status: z.ZodLiteral<"unpriceable">;
|
|
@@ -3345,20 +4153,23 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3345
4153
|
amountNanos: string;
|
|
3346
4154
|
}>;
|
|
3347
4155
|
components: z.ZodArray<z.ZodObject<{
|
|
3348
|
-
meter: z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "audio.input.milliseconds"]>;
|
|
4156
|
+
meter: z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "tokens.output.image", "tokens.output.audio", "audio.input.milliseconds", "images.output", "characters.input"]>;
|
|
3349
4157
|
quantity: z.ZodString;
|
|
3350
4158
|
rateAmountNanosPerMillion: z.ZodString;
|
|
3351
4159
|
chargeAmountNanos: z.ZodString;
|
|
4160
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
3352
4161
|
}, "strip", z.ZodTypeAny, {
|
|
3353
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4162
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3354
4163
|
quantity: string;
|
|
3355
4164
|
rateAmountNanosPerMillion: string;
|
|
3356
4165
|
chargeAmountNanos: string;
|
|
4166
|
+
variant?: string | undefined;
|
|
3357
4167
|
}, {
|
|
3358
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4168
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3359
4169
|
quantity: string;
|
|
3360
4170
|
rateAmountNanosPerMillion: string;
|
|
3361
4171
|
chargeAmountNanos: string;
|
|
4172
|
+
variant?: string | undefined;
|
|
3362
4173
|
}>, "many">;
|
|
3363
4174
|
}, "strip", z.ZodTypeAny, {
|
|
3364
4175
|
status: "rated";
|
|
@@ -3367,10 +4178,11 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3367
4178
|
amountNanos: string;
|
|
3368
4179
|
};
|
|
3369
4180
|
components: {
|
|
3370
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4181
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3371
4182
|
quantity: string;
|
|
3372
4183
|
rateAmountNanosPerMillion: string;
|
|
3373
4184
|
chargeAmountNanos: string;
|
|
4185
|
+
variant?: string | undefined;
|
|
3374
4186
|
}[];
|
|
3375
4187
|
}, {
|
|
3376
4188
|
status: "rated";
|
|
@@ -3379,23 +4191,24 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3379
4191
|
amountNanos: string;
|
|
3380
4192
|
};
|
|
3381
4193
|
components: {
|
|
3382
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4194
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3383
4195
|
quantity: string;
|
|
3384
4196
|
rateAmountNanosPerMillion: string;
|
|
3385
4197
|
chargeAmountNanos: string;
|
|
4198
|
+
variant?: string | undefined;
|
|
3386
4199
|
}[];
|
|
3387
4200
|
}>, z.ZodObject<{
|
|
3388
4201
|
status: z.ZodLiteral<"unpriceable">;
|
|
3389
4202
|
reason: z.ZodEnum<["missingBillingIdentity", "missingRateCard", "missingUsageMeter", "unsupportedPricingDimension", "invalidUsageForFormula"]>;
|
|
3390
|
-
missingMeters: z.ZodOptional<z.ZodArray<z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "audio.input.milliseconds"]>, "many">>;
|
|
4203
|
+
missingMeters: z.ZodOptional<z.ZodArray<z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "tokens.output.image", "tokens.output.audio", "audio.input.milliseconds", "images.output", "characters.input"]>, "many">>;
|
|
3391
4204
|
}, "strip", z.ZodTypeAny, {
|
|
3392
4205
|
status: "unpriceable";
|
|
3393
4206
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
3394
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4207
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3395
4208
|
}, {
|
|
3396
4209
|
status: "unpriceable";
|
|
3397
4210
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
3398
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4211
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3399
4212
|
}>]>>;
|
|
3400
4213
|
billingIdentity: z.ZodOptional<z.ZodObject<{
|
|
3401
4214
|
providerId: z.ZodString;
|
|
@@ -3461,7 +4274,7 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3461
4274
|
sourceUrl?: string | undefined;
|
|
3462
4275
|
}>>;
|
|
3463
4276
|
reason: z.ZodEnum<["missingBillingIdentity", "missingRateCard", "missingUsageMeter", "unsupportedPricingDimension", "invalidUsageForFormula"]>;
|
|
3464
|
-
missingMeters: z.ZodOptional<z.ZodArray<z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "audio.input.milliseconds"]>, "many">>;
|
|
4277
|
+
missingMeters: z.ZodOptional<z.ZodArray<z.ZodEnum<["tokens.input.total", "tokens.input.uncached", "tokens.input.cacheRead", "tokens.input.cacheWrite", "tokens.input.cacheWrite5m", "tokens.input.cacheWrite1h", "tokens.output.total", "tokens.output.text", "tokens.output.reasoning", "tokens.output.image", "tokens.output.audio", "audio.input.milliseconds", "images.output", "characters.input"]>, "many">>;
|
|
3465
4278
|
ratedAt: z.ZodString;
|
|
3466
4279
|
}, "strip", z.ZodTypeAny, {
|
|
3467
4280
|
status: "unpriceable";
|
|
@@ -3487,17 +4300,18 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3487
4300
|
amountNanos: string;
|
|
3488
4301
|
};
|
|
3489
4302
|
components: {
|
|
3490
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4303
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3491
4304
|
quantity: string;
|
|
3492
4305
|
rateAmountNanosPerMillion: string;
|
|
3493
4306
|
chargeAmountNanos: string;
|
|
4307
|
+
variant?: string | undefined;
|
|
3494
4308
|
}[];
|
|
3495
4309
|
} | {
|
|
3496
4310
|
status: "unpriceable";
|
|
3497
4311
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
3498
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4312
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3499
4313
|
} | undefined;
|
|
3500
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4314
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3501
4315
|
billingIdentity?: {
|
|
3502
4316
|
providerId: string;
|
|
3503
4317
|
modelId: string;
|
|
@@ -3533,17 +4347,18 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3533
4347
|
amountNanos: string;
|
|
3534
4348
|
};
|
|
3535
4349
|
components: {
|
|
3536
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4350
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3537
4351
|
quantity: string;
|
|
3538
4352
|
rateAmountNanosPerMillion: string;
|
|
3539
4353
|
chargeAmountNanos: string;
|
|
4354
|
+
variant?: string | undefined;
|
|
3540
4355
|
}[];
|
|
3541
4356
|
} | {
|
|
3542
4357
|
status: "unpriceable";
|
|
3543
4358
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
3544
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4359
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3545
4360
|
} | undefined;
|
|
3546
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4361
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3547
4362
|
billingIdentity?: {
|
|
3548
4363
|
providerId: string;
|
|
3549
4364
|
modelId: string;
|
|
@@ -3558,11 +4373,11 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3558
4373
|
}>]>>;
|
|
3559
4374
|
valuationStatus: z.ZodEnum<["rated", "unpriceable", "unvalued"]>;
|
|
3560
4375
|
}, "strip", z.ZodTypeAny, {
|
|
3561
|
-
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
3562
4376
|
usage: {
|
|
3563
4377
|
id: string;
|
|
3564
4378
|
providerId: string;
|
|
3565
|
-
|
|
4379
|
+
callId: string;
|
|
4380
|
+
recordedAt: string;
|
|
3566
4381
|
usage: {
|
|
3567
4382
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
3568
4383
|
inputTokens?: number | undefined;
|
|
@@ -3574,9 +4389,13 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3574
4389
|
textOutputTokens?: number | undefined;
|
|
3575
4390
|
reasoningOutputTokens?: number | undefined;
|
|
3576
4391
|
audioDurationMs?: number | undefined;
|
|
4392
|
+
imageOutputTokens?: number | undefined;
|
|
4393
|
+
audioOutputTokens?: number | undefined;
|
|
4394
|
+
outputImages?: number | undefined;
|
|
4395
|
+
inputCharacters?: number | undefined;
|
|
3577
4396
|
};
|
|
4397
|
+
executionId: string;
|
|
3578
4398
|
attempt: number;
|
|
3579
|
-
callId: string;
|
|
3580
4399
|
requestedModelId: string;
|
|
3581
4400
|
responseId: string;
|
|
3582
4401
|
providerIds: {
|
|
@@ -3585,39 +4404,13 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3585
4404
|
generationId?: string | undefined;
|
|
3586
4405
|
} | null;
|
|
3587
4406
|
occurredAt: string;
|
|
3588
|
-
|
|
3589
|
-
modelKind?: "image" | "video" | "language" | "embedding" | "decision" | "transcription" | "reranking" | undefined;
|
|
4407
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
3590
4408
|
requestedReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
3591
4409
|
budgetTokens: number;
|
|
3592
4410
|
} | undefined;
|
|
3593
4411
|
responseModelId?: string | undefined;
|
|
3594
4412
|
};
|
|
3595
|
-
|
|
3596
|
-
kind: "request";
|
|
3597
|
-
requestId: string;
|
|
3598
|
-
} | {
|
|
3599
|
-
kind: "action";
|
|
3600
|
-
actionId: string;
|
|
3601
|
-
actionRunId: string;
|
|
3602
|
-
} | {
|
|
3603
|
-
kind: "workflow";
|
|
3604
|
-
workflowId: string;
|
|
3605
|
-
workflowRunId: string;
|
|
3606
|
-
} | {
|
|
3607
|
-
kind: "agent";
|
|
3608
|
-
agentRunId: string;
|
|
3609
|
-
threadId: string;
|
|
3610
|
-
} | {
|
|
3611
|
-
kind: "workflowAgent";
|
|
3612
|
-
workflowId: string;
|
|
3613
|
-
agentStepId: string;
|
|
3614
|
-
workflowRunId: string;
|
|
3615
|
-
nodeRunId: string;
|
|
3616
|
-
} | {
|
|
3617
|
-
kind: "subagent";
|
|
3618
|
-
subagentRunId: string;
|
|
3619
|
-
parentRunId: string;
|
|
3620
|
-
} | undefined;
|
|
4413
|
+
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
3621
4414
|
cost?: {
|
|
3622
4415
|
status: "rated";
|
|
3623
4416
|
source: "unknown" | "provider" | "estimate";
|
|
@@ -3626,10 +4419,11 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3626
4419
|
amountNanos: string;
|
|
3627
4420
|
};
|
|
3628
4421
|
components: {
|
|
3629
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4422
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3630
4423
|
quantity: string;
|
|
3631
4424
|
rateAmountNanosPerMillion: string;
|
|
3632
4425
|
chargeAmountNanos: string;
|
|
4426
|
+
variant?: string | undefined;
|
|
3633
4427
|
}[];
|
|
3634
4428
|
billingIdentity: {
|
|
3635
4429
|
providerId: string;
|
|
@@ -3662,15 +4456,16 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3662
4456
|
amountNanos: string;
|
|
3663
4457
|
};
|
|
3664
4458
|
components: {
|
|
3665
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4459
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3666
4460
|
quantity: string;
|
|
3667
4461
|
rateAmountNanosPerMillion: string;
|
|
3668
4462
|
chargeAmountNanos: string;
|
|
4463
|
+
variant?: string | undefined;
|
|
3669
4464
|
}[];
|
|
3670
4465
|
} | {
|
|
3671
4466
|
status: "unpriceable";
|
|
3672
4467
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
3673
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4468
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3674
4469
|
} | undefined;
|
|
3675
4470
|
} | {
|
|
3676
4471
|
status: "unpriceable";
|
|
@@ -3696,17 +4491,18 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3696
4491
|
amountNanos: string;
|
|
3697
4492
|
};
|
|
3698
4493
|
components: {
|
|
3699
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4494
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3700
4495
|
quantity: string;
|
|
3701
4496
|
rateAmountNanosPerMillion: string;
|
|
3702
4497
|
chargeAmountNanos: string;
|
|
4498
|
+
variant?: string | undefined;
|
|
3703
4499
|
}[];
|
|
3704
4500
|
} | {
|
|
3705
4501
|
status: "unpriceable";
|
|
3706
4502
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
3707
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4503
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3708
4504
|
} | undefined;
|
|
3709
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4505
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3710
4506
|
billingIdentity?: {
|
|
3711
4507
|
providerId: string;
|
|
3712
4508
|
modelId: string;
|
|
@@ -3719,12 +4515,38 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3719
4515
|
sourceUrl?: string | undefined;
|
|
3720
4516
|
} | undefined;
|
|
3721
4517
|
} | undefined;
|
|
4518
|
+
attribution?: {
|
|
4519
|
+
kind: "request";
|
|
4520
|
+
requestId: string;
|
|
4521
|
+
} | {
|
|
4522
|
+
kind: "action";
|
|
4523
|
+
actionId: string;
|
|
4524
|
+
actionRunId: string;
|
|
4525
|
+
} | {
|
|
4526
|
+
kind: "workflow";
|
|
4527
|
+
workflowId: string;
|
|
4528
|
+
workflowRunId: string;
|
|
4529
|
+
} | {
|
|
4530
|
+
kind: "agent";
|
|
4531
|
+
threadId: string;
|
|
4532
|
+
agentRunId: string;
|
|
4533
|
+
} | {
|
|
4534
|
+
kind: "workflowAgent";
|
|
4535
|
+
workflowId: string;
|
|
4536
|
+
workflowRunId: string;
|
|
4537
|
+
agentStepId: string;
|
|
4538
|
+
nodeRunId: string;
|
|
4539
|
+
} | {
|
|
4540
|
+
kind: "subagent";
|
|
4541
|
+
subagentRunId: string;
|
|
4542
|
+
parentRunId: string;
|
|
4543
|
+
} | undefined;
|
|
3722
4544
|
}, {
|
|
3723
|
-
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
3724
4545
|
usage: {
|
|
3725
4546
|
id: string;
|
|
3726
4547
|
providerId: string;
|
|
3727
|
-
|
|
4548
|
+
callId: string;
|
|
4549
|
+
recordedAt: string;
|
|
3728
4550
|
usage: {
|
|
3729
4551
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
3730
4552
|
inputTokens?: number | undefined;
|
|
@@ -3736,9 +4558,13 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3736
4558
|
textOutputTokens?: number | undefined;
|
|
3737
4559
|
reasoningOutputTokens?: number | undefined;
|
|
3738
4560
|
audioDurationMs?: number | undefined;
|
|
4561
|
+
imageOutputTokens?: number | undefined;
|
|
4562
|
+
audioOutputTokens?: number | undefined;
|
|
4563
|
+
outputImages?: number | undefined;
|
|
4564
|
+
inputCharacters?: number | undefined;
|
|
3739
4565
|
};
|
|
4566
|
+
executionId: string;
|
|
3740
4567
|
attempt: number;
|
|
3741
|
-
callId: string;
|
|
3742
4568
|
requestedModelId: string;
|
|
3743
4569
|
responseId: string;
|
|
3744
4570
|
providerIds: {
|
|
@@ -3747,39 +4573,13 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3747
4573
|
generationId?: string | undefined;
|
|
3748
4574
|
} | null;
|
|
3749
4575
|
occurredAt: string;
|
|
3750
|
-
|
|
3751
|
-
modelKind?: "image" | "video" | "language" | "embedding" | "decision" | "transcription" | "reranking" | undefined;
|
|
4576
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
3752
4577
|
requestedReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
3753
4578
|
budgetTokens: number;
|
|
3754
4579
|
} | undefined;
|
|
3755
4580
|
responseModelId?: string | undefined;
|
|
3756
4581
|
};
|
|
3757
|
-
|
|
3758
|
-
kind: "request";
|
|
3759
|
-
requestId: string;
|
|
3760
|
-
} | {
|
|
3761
|
-
kind: "action";
|
|
3762
|
-
actionId: string;
|
|
3763
|
-
actionRunId: string;
|
|
3764
|
-
} | {
|
|
3765
|
-
kind: "workflow";
|
|
3766
|
-
workflowId: string;
|
|
3767
|
-
workflowRunId: string;
|
|
3768
|
-
} | {
|
|
3769
|
-
kind: "agent";
|
|
3770
|
-
agentRunId: string;
|
|
3771
|
-
threadId: string;
|
|
3772
|
-
} | {
|
|
3773
|
-
kind: "workflowAgent";
|
|
3774
|
-
workflowId: string;
|
|
3775
|
-
agentStepId: string;
|
|
3776
|
-
workflowRunId: string;
|
|
3777
|
-
nodeRunId: string;
|
|
3778
|
-
} | {
|
|
3779
|
-
kind: "subagent";
|
|
3780
|
-
subagentRunId: string;
|
|
3781
|
-
parentRunId: string;
|
|
3782
|
-
} | undefined;
|
|
4582
|
+
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
3783
4583
|
cost?: {
|
|
3784
4584
|
status: "rated";
|
|
3785
4585
|
source: "unknown" | "provider" | "estimate";
|
|
@@ -3788,10 +4588,11 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3788
4588
|
amountNanos: string;
|
|
3789
4589
|
};
|
|
3790
4590
|
components: {
|
|
3791
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4591
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3792
4592
|
quantity: string;
|
|
3793
4593
|
rateAmountNanosPerMillion: string;
|
|
3794
4594
|
chargeAmountNanos: string;
|
|
4595
|
+
variant?: string | undefined;
|
|
3795
4596
|
}[];
|
|
3796
4597
|
billingIdentity: {
|
|
3797
4598
|
providerId: string;
|
|
@@ -3824,15 +4625,16 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3824
4625
|
amountNanos: string;
|
|
3825
4626
|
};
|
|
3826
4627
|
components: {
|
|
3827
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4628
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3828
4629
|
quantity: string;
|
|
3829
4630
|
rateAmountNanosPerMillion: string;
|
|
3830
4631
|
chargeAmountNanos: string;
|
|
4632
|
+
variant?: string | undefined;
|
|
3831
4633
|
}[];
|
|
3832
4634
|
} | {
|
|
3833
4635
|
status: "unpriceable";
|
|
3834
4636
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
3835
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4637
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3836
4638
|
} | undefined;
|
|
3837
4639
|
} | {
|
|
3838
4640
|
status: "unpriceable";
|
|
@@ -3858,17 +4660,18 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3858
4660
|
amountNanos: string;
|
|
3859
4661
|
};
|
|
3860
4662
|
components: {
|
|
3861
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4663
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3862
4664
|
quantity: string;
|
|
3863
4665
|
rateAmountNanosPerMillion: string;
|
|
3864
4666
|
chargeAmountNanos: string;
|
|
4667
|
+
variant?: string | undefined;
|
|
3865
4668
|
}[];
|
|
3866
4669
|
} | {
|
|
3867
4670
|
status: "unpriceable";
|
|
3868
4671
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
3869
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4672
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3870
4673
|
} | undefined;
|
|
3871
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4674
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
3872
4675
|
billingIdentity?: {
|
|
3873
4676
|
providerId: string;
|
|
3874
4677
|
modelId: string;
|
|
@@ -3881,16 +4684,42 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3881
4684
|
sourceUrl?: string | undefined;
|
|
3882
4685
|
} | undefined;
|
|
3883
4686
|
} | undefined;
|
|
4687
|
+
attribution?: {
|
|
4688
|
+
kind: "request";
|
|
4689
|
+
requestId: string;
|
|
4690
|
+
} | {
|
|
4691
|
+
kind: "action";
|
|
4692
|
+
actionId: string;
|
|
4693
|
+
actionRunId: string;
|
|
4694
|
+
} | {
|
|
4695
|
+
kind: "workflow";
|
|
4696
|
+
workflowId: string;
|
|
4697
|
+
workflowRunId: string;
|
|
4698
|
+
} | {
|
|
4699
|
+
kind: "agent";
|
|
4700
|
+
threadId: string;
|
|
4701
|
+
agentRunId: string;
|
|
4702
|
+
} | {
|
|
4703
|
+
kind: "workflowAgent";
|
|
4704
|
+
workflowId: string;
|
|
4705
|
+
workflowRunId: string;
|
|
4706
|
+
agentStepId: string;
|
|
4707
|
+
nodeRunId: string;
|
|
4708
|
+
} | {
|
|
4709
|
+
kind: "subagent";
|
|
4710
|
+
subagentRunId: string;
|
|
4711
|
+
parentRunId: string;
|
|
4712
|
+
} | undefined;
|
|
3884
4713
|
}>, "many">;
|
|
3885
4714
|
hasMore: z.ZodBoolean;
|
|
3886
4715
|
total: z.ZodNumber;
|
|
3887
4716
|
}, "strip", z.ZodTypeAny, {
|
|
3888
4717
|
items: {
|
|
3889
|
-
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
3890
4718
|
usage: {
|
|
3891
4719
|
id: string;
|
|
3892
4720
|
providerId: string;
|
|
3893
|
-
|
|
4721
|
+
callId: string;
|
|
4722
|
+
recordedAt: string;
|
|
3894
4723
|
usage: {
|
|
3895
4724
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
3896
4725
|
inputTokens?: number | undefined;
|
|
@@ -3902,9 +4731,13 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3902
4731
|
textOutputTokens?: number | undefined;
|
|
3903
4732
|
reasoningOutputTokens?: number | undefined;
|
|
3904
4733
|
audioDurationMs?: number | undefined;
|
|
4734
|
+
imageOutputTokens?: number | undefined;
|
|
4735
|
+
audioOutputTokens?: number | undefined;
|
|
4736
|
+
outputImages?: number | undefined;
|
|
4737
|
+
inputCharacters?: number | undefined;
|
|
3905
4738
|
};
|
|
4739
|
+
executionId: string;
|
|
3906
4740
|
attempt: number;
|
|
3907
|
-
callId: string;
|
|
3908
4741
|
requestedModelId: string;
|
|
3909
4742
|
responseId: string;
|
|
3910
4743
|
providerIds: {
|
|
@@ -3913,39 +4746,13 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3913
4746
|
generationId?: string | undefined;
|
|
3914
4747
|
} | null;
|
|
3915
4748
|
occurredAt: string;
|
|
3916
|
-
|
|
3917
|
-
modelKind?: "image" | "video" | "language" | "embedding" | "decision" | "transcription" | "reranking" | undefined;
|
|
4749
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
3918
4750
|
requestedReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
3919
4751
|
budgetTokens: number;
|
|
3920
4752
|
} | undefined;
|
|
3921
4753
|
responseModelId?: string | undefined;
|
|
3922
4754
|
};
|
|
3923
|
-
|
|
3924
|
-
kind: "request";
|
|
3925
|
-
requestId: string;
|
|
3926
|
-
} | {
|
|
3927
|
-
kind: "action";
|
|
3928
|
-
actionId: string;
|
|
3929
|
-
actionRunId: string;
|
|
3930
|
-
} | {
|
|
3931
|
-
kind: "workflow";
|
|
3932
|
-
workflowId: string;
|
|
3933
|
-
workflowRunId: string;
|
|
3934
|
-
} | {
|
|
3935
|
-
kind: "agent";
|
|
3936
|
-
agentRunId: string;
|
|
3937
|
-
threadId: string;
|
|
3938
|
-
} | {
|
|
3939
|
-
kind: "workflowAgent";
|
|
3940
|
-
workflowId: string;
|
|
3941
|
-
agentStepId: string;
|
|
3942
|
-
workflowRunId: string;
|
|
3943
|
-
nodeRunId: string;
|
|
3944
|
-
} | {
|
|
3945
|
-
kind: "subagent";
|
|
3946
|
-
subagentRunId: string;
|
|
3947
|
-
parentRunId: string;
|
|
3948
|
-
} | undefined;
|
|
4755
|
+
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
3949
4756
|
cost?: {
|
|
3950
4757
|
status: "rated";
|
|
3951
4758
|
source: "unknown" | "provider" | "estimate";
|
|
@@ -3954,10 +4761,11 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3954
4761
|
amountNanos: string;
|
|
3955
4762
|
};
|
|
3956
4763
|
components: {
|
|
3957
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4764
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3958
4765
|
quantity: string;
|
|
3959
4766
|
rateAmountNanosPerMillion: string;
|
|
3960
4767
|
chargeAmountNanos: string;
|
|
4768
|
+
variant?: string | undefined;
|
|
3961
4769
|
}[];
|
|
3962
4770
|
billingIdentity: {
|
|
3963
4771
|
providerId: string;
|
|
@@ -3990,15 +4798,16 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
3990
4798
|
amountNanos: string;
|
|
3991
4799
|
};
|
|
3992
4800
|
components: {
|
|
3993
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4801
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
3994
4802
|
quantity: string;
|
|
3995
4803
|
rateAmountNanosPerMillion: string;
|
|
3996
4804
|
chargeAmountNanos: string;
|
|
4805
|
+
variant?: string | undefined;
|
|
3997
4806
|
}[];
|
|
3998
4807
|
} | {
|
|
3999
4808
|
status: "unpriceable";
|
|
4000
4809
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
4001
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4810
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
4002
4811
|
} | undefined;
|
|
4003
4812
|
} | {
|
|
4004
4813
|
status: "unpriceable";
|
|
@@ -4024,17 +4833,18 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
4024
4833
|
amountNanos: string;
|
|
4025
4834
|
};
|
|
4026
4835
|
components: {
|
|
4027
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4836
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
4028
4837
|
quantity: string;
|
|
4029
4838
|
rateAmountNanosPerMillion: string;
|
|
4030
4839
|
chargeAmountNanos: string;
|
|
4840
|
+
variant?: string | undefined;
|
|
4031
4841
|
}[];
|
|
4032
4842
|
} | {
|
|
4033
4843
|
status: "unpriceable";
|
|
4034
4844
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
4035
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4845
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
4036
4846
|
} | undefined;
|
|
4037
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4847
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
4038
4848
|
billingIdentity?: {
|
|
4039
4849
|
providerId: string;
|
|
4040
4850
|
modelId: string;
|
|
@@ -4047,16 +4857,42 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
4047
4857
|
sourceUrl?: string | undefined;
|
|
4048
4858
|
} | undefined;
|
|
4049
4859
|
} | undefined;
|
|
4860
|
+
attribution?: {
|
|
4861
|
+
kind: "request";
|
|
4862
|
+
requestId: string;
|
|
4863
|
+
} | {
|
|
4864
|
+
kind: "action";
|
|
4865
|
+
actionId: string;
|
|
4866
|
+
actionRunId: string;
|
|
4867
|
+
} | {
|
|
4868
|
+
kind: "workflow";
|
|
4869
|
+
workflowId: string;
|
|
4870
|
+
workflowRunId: string;
|
|
4871
|
+
} | {
|
|
4872
|
+
kind: "agent";
|
|
4873
|
+
threadId: string;
|
|
4874
|
+
agentRunId: string;
|
|
4875
|
+
} | {
|
|
4876
|
+
kind: "workflowAgent";
|
|
4877
|
+
workflowId: string;
|
|
4878
|
+
workflowRunId: string;
|
|
4879
|
+
agentStepId: string;
|
|
4880
|
+
nodeRunId: string;
|
|
4881
|
+
} | {
|
|
4882
|
+
kind: "subagent";
|
|
4883
|
+
subagentRunId: string;
|
|
4884
|
+
parentRunId: string;
|
|
4885
|
+
} | undefined;
|
|
4050
4886
|
}[];
|
|
4051
4887
|
hasMore: boolean;
|
|
4052
4888
|
total: number;
|
|
4053
4889
|
}, {
|
|
4054
4890
|
items: {
|
|
4055
|
-
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
4056
4891
|
usage: {
|
|
4057
4892
|
id: string;
|
|
4058
4893
|
providerId: string;
|
|
4059
|
-
|
|
4894
|
+
callId: string;
|
|
4895
|
+
recordedAt: string;
|
|
4060
4896
|
usage: {
|
|
4061
4897
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
4062
4898
|
inputTokens?: number | undefined;
|
|
@@ -4068,9 +4904,13 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
4068
4904
|
textOutputTokens?: number | undefined;
|
|
4069
4905
|
reasoningOutputTokens?: number | undefined;
|
|
4070
4906
|
audioDurationMs?: number | undefined;
|
|
4907
|
+
imageOutputTokens?: number | undefined;
|
|
4908
|
+
audioOutputTokens?: number | undefined;
|
|
4909
|
+
outputImages?: number | undefined;
|
|
4910
|
+
inputCharacters?: number | undefined;
|
|
4071
4911
|
};
|
|
4912
|
+
executionId: string;
|
|
4072
4913
|
attempt: number;
|
|
4073
|
-
callId: string;
|
|
4074
4914
|
requestedModelId: string;
|
|
4075
4915
|
responseId: string;
|
|
4076
4916
|
providerIds: {
|
|
@@ -4079,39 +4919,13 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
4079
4919
|
generationId?: string | undefined;
|
|
4080
4920
|
} | null;
|
|
4081
4921
|
occurredAt: string;
|
|
4082
|
-
|
|
4083
|
-
modelKind?: "image" | "video" | "language" | "embedding" | "decision" | "transcription" | "reranking" | undefined;
|
|
4922
|
+
modelKind?: "decision" | "image" | "video" | "language" | "speech" | "transcription" | "embedding" | "reranking" | undefined;
|
|
4084
4923
|
requestedReasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
4085
4924
|
budgetTokens: number;
|
|
4086
4925
|
} | undefined;
|
|
4087
4926
|
responseModelId?: string | undefined;
|
|
4088
4927
|
};
|
|
4089
|
-
|
|
4090
|
-
kind: "request";
|
|
4091
|
-
requestId: string;
|
|
4092
|
-
} | {
|
|
4093
|
-
kind: "action";
|
|
4094
|
-
actionId: string;
|
|
4095
|
-
actionRunId: string;
|
|
4096
|
-
} | {
|
|
4097
|
-
kind: "workflow";
|
|
4098
|
-
workflowId: string;
|
|
4099
|
-
workflowRunId: string;
|
|
4100
|
-
} | {
|
|
4101
|
-
kind: "agent";
|
|
4102
|
-
agentRunId: string;
|
|
4103
|
-
threadId: string;
|
|
4104
|
-
} | {
|
|
4105
|
-
kind: "workflowAgent";
|
|
4106
|
-
workflowId: string;
|
|
4107
|
-
agentStepId: string;
|
|
4108
|
-
workflowRunId: string;
|
|
4109
|
-
nodeRunId: string;
|
|
4110
|
-
} | {
|
|
4111
|
-
kind: "subagent";
|
|
4112
|
-
subagentRunId: string;
|
|
4113
|
-
parentRunId: string;
|
|
4114
|
-
} | undefined;
|
|
4928
|
+
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
4115
4929
|
cost?: {
|
|
4116
4930
|
status: "rated";
|
|
4117
4931
|
source: "unknown" | "provider" | "estimate";
|
|
@@ -4120,10 +4934,11 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
4120
4934
|
amountNanos: string;
|
|
4121
4935
|
};
|
|
4122
4936
|
components: {
|
|
4123
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4937
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
4124
4938
|
quantity: string;
|
|
4125
4939
|
rateAmountNanosPerMillion: string;
|
|
4126
4940
|
chargeAmountNanos: string;
|
|
4941
|
+
variant?: string | undefined;
|
|
4127
4942
|
}[];
|
|
4128
4943
|
billingIdentity: {
|
|
4129
4944
|
providerId: string;
|
|
@@ -4156,15 +4971,16 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
4156
4971
|
amountNanos: string;
|
|
4157
4972
|
};
|
|
4158
4973
|
components: {
|
|
4159
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
4974
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
4160
4975
|
quantity: string;
|
|
4161
4976
|
rateAmountNanosPerMillion: string;
|
|
4162
4977
|
chargeAmountNanos: string;
|
|
4978
|
+
variant?: string | undefined;
|
|
4163
4979
|
}[];
|
|
4164
4980
|
} | {
|
|
4165
4981
|
status: "unpriceable";
|
|
4166
4982
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
4167
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
4983
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
4168
4984
|
} | undefined;
|
|
4169
4985
|
} | {
|
|
4170
4986
|
status: "unpriceable";
|
|
@@ -4190,17 +5006,18 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
4190
5006
|
amountNanos: string;
|
|
4191
5007
|
};
|
|
4192
5008
|
components: {
|
|
4193
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
5009
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input";
|
|
4194
5010
|
quantity: string;
|
|
4195
5011
|
rateAmountNanosPerMillion: string;
|
|
4196
5012
|
chargeAmountNanos: string;
|
|
5013
|
+
variant?: string | undefined;
|
|
4197
5014
|
}[];
|
|
4198
5015
|
} | {
|
|
4199
5016
|
status: "unpriceable";
|
|
4200
5017
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
4201
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
5018
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
4202
5019
|
} | undefined;
|
|
4203
|
-
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds")[] | undefined;
|
|
5020
|
+
missingMeters?: ("tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "tokens.output.image" | "tokens.output.audio" | "audio.input.milliseconds" | "images.output" | "characters.input")[] | undefined;
|
|
4204
5021
|
billingIdentity?: {
|
|
4205
5022
|
providerId: string;
|
|
4206
5023
|
modelId: string;
|
|
@@ -4213,6 +5030,32 @@ export declare const AiModelCallAccountingListResponseSchema: z.ZodObject<{
|
|
|
4213
5030
|
sourceUrl?: string | undefined;
|
|
4214
5031
|
} | undefined;
|
|
4215
5032
|
} | undefined;
|
|
5033
|
+
attribution?: {
|
|
5034
|
+
kind: "request";
|
|
5035
|
+
requestId: string;
|
|
5036
|
+
} | {
|
|
5037
|
+
kind: "action";
|
|
5038
|
+
actionId: string;
|
|
5039
|
+
actionRunId: string;
|
|
5040
|
+
} | {
|
|
5041
|
+
kind: "workflow";
|
|
5042
|
+
workflowId: string;
|
|
5043
|
+
workflowRunId: string;
|
|
5044
|
+
} | {
|
|
5045
|
+
kind: "agent";
|
|
5046
|
+
threadId: string;
|
|
5047
|
+
agentRunId: string;
|
|
5048
|
+
} | {
|
|
5049
|
+
kind: "workflowAgent";
|
|
5050
|
+
workflowId: string;
|
|
5051
|
+
workflowRunId: string;
|
|
5052
|
+
agentStepId: string;
|
|
5053
|
+
nodeRunId: string;
|
|
5054
|
+
} | {
|
|
5055
|
+
kind: "subagent";
|
|
5056
|
+
subagentRunId: string;
|
|
5057
|
+
parentRunId: string;
|
|
5058
|
+
} | undefined;
|
|
4216
5059
|
}[];
|
|
4217
5060
|
hasMore: boolean;
|
|
4218
5061
|
total: number;
|
|
@@ -4286,12 +5129,12 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4286
5129
|
threadId: z.ZodString;
|
|
4287
5130
|
}, "strip", z.ZodTypeAny, {
|
|
4288
5131
|
kind: "agent";
|
|
4289
|
-
agentRunId: string;
|
|
4290
5132
|
threadId: string;
|
|
5133
|
+
agentRunId: string;
|
|
4291
5134
|
}, {
|
|
4292
5135
|
kind: "agent";
|
|
4293
|
-
agentRunId: string;
|
|
4294
5136
|
threadId: string;
|
|
5137
|
+
agentRunId: string;
|
|
4295
5138
|
}>, z.ZodObject<{
|
|
4296
5139
|
kind: z.ZodLiteral<"workflowAgent">;
|
|
4297
5140
|
agentStepId: z.ZodString;
|
|
@@ -4301,14 +5144,14 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4301
5144
|
}, "strip", z.ZodTypeAny, {
|
|
4302
5145
|
kind: "workflowAgent";
|
|
4303
5146
|
workflowId: string;
|
|
4304
|
-
agentStepId: string;
|
|
4305
5147
|
workflowRunId: string;
|
|
5148
|
+
agentStepId: string;
|
|
4306
5149
|
nodeRunId: string;
|
|
4307
5150
|
}, {
|
|
4308
5151
|
kind: "workflowAgent";
|
|
4309
5152
|
workflowId: string;
|
|
4310
|
-
agentStepId: string;
|
|
4311
5153
|
workflowRunId: string;
|
|
5154
|
+
agentStepId: string;
|
|
4312
5155
|
nodeRunId: string;
|
|
4313
5156
|
}>, z.ZodObject<{
|
|
4314
5157
|
kind: z.ZodLiteral<"subagent">;
|
|
@@ -4325,6 +5168,9 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4325
5168
|
}>]>>;
|
|
4326
5169
|
modelCallCount: z.ZodNumber;
|
|
4327
5170
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
5171
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
5172
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
5173
|
+
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
4328
5174
|
costs: z.ZodObject<{
|
|
4329
5175
|
amounts: z.ZodArray<z.ZodObject<{
|
|
4330
5176
|
currency: z.ZodString;
|
|
@@ -4412,12 +5258,12 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4412
5258
|
threadId: z.ZodString;
|
|
4413
5259
|
}, "strip", z.ZodTypeAny, {
|
|
4414
5260
|
kind: "agent";
|
|
4415
|
-
agentRunId: string;
|
|
4416
5261
|
threadId: string;
|
|
5262
|
+
agentRunId: string;
|
|
4417
5263
|
}, {
|
|
4418
5264
|
kind: "agent";
|
|
4419
|
-
agentRunId: string;
|
|
4420
5265
|
threadId: string;
|
|
5266
|
+
agentRunId: string;
|
|
4421
5267
|
}>, z.ZodObject<{
|
|
4422
5268
|
kind: z.ZodLiteral<"workflowAgent">;
|
|
4423
5269
|
agentStepId: z.ZodString;
|
|
@@ -4427,14 +5273,14 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4427
5273
|
}, "strip", z.ZodTypeAny, {
|
|
4428
5274
|
kind: "workflowAgent";
|
|
4429
5275
|
workflowId: string;
|
|
4430
|
-
agentStepId: string;
|
|
4431
5276
|
workflowRunId: string;
|
|
5277
|
+
agentStepId: string;
|
|
4432
5278
|
nodeRunId: string;
|
|
4433
5279
|
}, {
|
|
4434
5280
|
kind: "workflowAgent";
|
|
4435
5281
|
workflowId: string;
|
|
4436
|
-
agentStepId: string;
|
|
4437
5282
|
workflowRunId: string;
|
|
5283
|
+
agentStepId: string;
|
|
4438
5284
|
nodeRunId: string;
|
|
4439
5285
|
}>, z.ZodObject<{
|
|
4440
5286
|
kind: z.ZodLiteral<"subagent">;
|
|
@@ -4451,6 +5297,9 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4451
5297
|
}>]>>;
|
|
4452
5298
|
modelCallCount: z.ZodNumber;
|
|
4453
5299
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
5300
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
5301
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
5302
|
+
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
4454
5303
|
costs: z.ZodObject<{
|
|
4455
5304
|
amounts: z.ZodArray<z.ZodObject<{
|
|
4456
5305
|
currency: z.ZodString;
|
|
@@ -4515,6 +5364,9 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4515
5364
|
firstCallAt: string;
|
|
4516
5365
|
lastCallAt: string;
|
|
4517
5366
|
totalTokens?: number | undefined;
|
|
5367
|
+
audioDurationMs?: number | undefined;
|
|
5368
|
+
outputImages?: number | undefined;
|
|
5369
|
+
inputCharacters?: number | undefined;
|
|
4518
5370
|
attribution?: {
|
|
4519
5371
|
kind: "request";
|
|
4520
5372
|
requestId: string;
|
|
@@ -4528,13 +5380,13 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4528
5380
|
workflowRunId: string;
|
|
4529
5381
|
} | {
|
|
4530
5382
|
kind: "agent";
|
|
4531
|
-
agentRunId: string;
|
|
4532
5383
|
threadId: string;
|
|
5384
|
+
agentRunId: string;
|
|
4533
5385
|
} | {
|
|
4534
5386
|
kind: "workflowAgent";
|
|
4535
5387
|
workflowId: string;
|
|
4536
|
-
agentStepId: string;
|
|
4537
5388
|
workflowRunId: string;
|
|
5389
|
+
agentStepId: string;
|
|
4538
5390
|
nodeRunId: string;
|
|
4539
5391
|
} | {
|
|
4540
5392
|
kind: "subagent";
|
|
@@ -4561,6 +5413,9 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4561
5413
|
firstCallAt: string;
|
|
4562
5414
|
lastCallAt: string;
|
|
4563
5415
|
totalTokens?: number | undefined;
|
|
5416
|
+
audioDurationMs?: number | undefined;
|
|
5417
|
+
outputImages?: number | undefined;
|
|
5418
|
+
inputCharacters?: number | undefined;
|
|
4564
5419
|
attribution?: {
|
|
4565
5420
|
kind: "request";
|
|
4566
5421
|
requestId: string;
|
|
@@ -4574,13 +5429,13 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4574
5429
|
workflowRunId: string;
|
|
4575
5430
|
} | {
|
|
4576
5431
|
kind: "agent";
|
|
4577
|
-
agentRunId: string;
|
|
4578
5432
|
threadId: string;
|
|
5433
|
+
agentRunId: string;
|
|
4579
5434
|
} | {
|
|
4580
5435
|
kind: "workflowAgent";
|
|
4581
5436
|
workflowId: string;
|
|
4582
|
-
agentStepId: string;
|
|
4583
5437
|
workflowRunId: string;
|
|
5438
|
+
agentStepId: string;
|
|
4584
5439
|
nodeRunId: string;
|
|
4585
5440
|
} | {
|
|
4586
5441
|
kind: "subagent";
|
|
@@ -4623,6 +5478,9 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4623
5478
|
firstCallAt: string;
|
|
4624
5479
|
lastCallAt: string;
|
|
4625
5480
|
totalTokens?: number | undefined;
|
|
5481
|
+
audioDurationMs?: number | undefined;
|
|
5482
|
+
outputImages?: number | undefined;
|
|
5483
|
+
inputCharacters?: number | undefined;
|
|
4626
5484
|
attribution?: {
|
|
4627
5485
|
kind: "request";
|
|
4628
5486
|
requestId: string;
|
|
@@ -4636,13 +5494,13 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4636
5494
|
workflowRunId: string;
|
|
4637
5495
|
} | {
|
|
4638
5496
|
kind: "agent";
|
|
4639
|
-
agentRunId: string;
|
|
4640
5497
|
threadId: string;
|
|
5498
|
+
agentRunId: string;
|
|
4641
5499
|
} | {
|
|
4642
5500
|
kind: "workflowAgent";
|
|
4643
5501
|
workflowId: string;
|
|
4644
|
-
agentStepId: string;
|
|
4645
5502
|
workflowRunId: string;
|
|
5503
|
+
agentStepId: string;
|
|
4646
5504
|
nodeRunId: string;
|
|
4647
5505
|
} | {
|
|
4648
5506
|
kind: "subagent";
|
|
@@ -4653,6 +5511,9 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4653
5511
|
}[];
|
|
4654
5512
|
canOpenThread: boolean;
|
|
4655
5513
|
totalTokens?: number | undefined;
|
|
5514
|
+
audioDurationMs?: number | undefined;
|
|
5515
|
+
outputImages?: number | undefined;
|
|
5516
|
+
inputCharacters?: number | undefined;
|
|
4656
5517
|
attribution?: {
|
|
4657
5518
|
kind: "request";
|
|
4658
5519
|
requestId: string;
|
|
@@ -4666,13 +5527,13 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4666
5527
|
workflowRunId: string;
|
|
4667
5528
|
} | {
|
|
4668
5529
|
kind: "agent";
|
|
4669
|
-
agentRunId: string;
|
|
4670
5530
|
threadId: string;
|
|
5531
|
+
agentRunId: string;
|
|
4671
5532
|
} | {
|
|
4672
5533
|
kind: "workflowAgent";
|
|
4673
5534
|
workflowId: string;
|
|
4674
|
-
agentStepId: string;
|
|
4675
5535
|
workflowRunId: string;
|
|
5536
|
+
agentStepId: string;
|
|
4676
5537
|
nodeRunId: string;
|
|
4677
5538
|
} | {
|
|
4678
5539
|
kind: "subagent";
|
|
@@ -4713,6 +5574,9 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4713
5574
|
firstCallAt: string;
|
|
4714
5575
|
lastCallAt: string;
|
|
4715
5576
|
totalTokens?: number | undefined;
|
|
5577
|
+
audioDurationMs?: number | undefined;
|
|
5578
|
+
outputImages?: number | undefined;
|
|
5579
|
+
inputCharacters?: number | undefined;
|
|
4716
5580
|
attribution?: {
|
|
4717
5581
|
kind: "request";
|
|
4718
5582
|
requestId: string;
|
|
@@ -4726,13 +5590,13 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4726
5590
|
workflowRunId: string;
|
|
4727
5591
|
} | {
|
|
4728
5592
|
kind: "agent";
|
|
4729
|
-
agentRunId: string;
|
|
4730
5593
|
threadId: string;
|
|
5594
|
+
agentRunId: string;
|
|
4731
5595
|
} | {
|
|
4732
5596
|
kind: "workflowAgent";
|
|
4733
5597
|
workflowId: string;
|
|
4734
|
-
agentStepId: string;
|
|
4735
5598
|
workflowRunId: string;
|
|
5599
|
+
agentStepId: string;
|
|
4736
5600
|
nodeRunId: string;
|
|
4737
5601
|
} | {
|
|
4738
5602
|
kind: "subagent";
|
|
@@ -4743,6 +5607,9 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4743
5607
|
}[];
|
|
4744
5608
|
canOpenThread: boolean;
|
|
4745
5609
|
totalTokens?: number | undefined;
|
|
5610
|
+
audioDurationMs?: number | undefined;
|
|
5611
|
+
outputImages?: number | undefined;
|
|
5612
|
+
inputCharacters?: number | undefined;
|
|
4746
5613
|
attribution?: {
|
|
4747
5614
|
kind: "request";
|
|
4748
5615
|
requestId: string;
|
|
@@ -4756,13 +5623,13 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4756
5623
|
workflowRunId: string;
|
|
4757
5624
|
} | {
|
|
4758
5625
|
kind: "agent";
|
|
4759
|
-
agentRunId: string;
|
|
4760
5626
|
threadId: string;
|
|
5627
|
+
agentRunId: string;
|
|
4761
5628
|
} | {
|
|
4762
5629
|
kind: "workflowAgent";
|
|
4763
5630
|
workflowId: string;
|
|
4764
|
-
agentStepId: string;
|
|
4765
5631
|
workflowRunId: string;
|
|
5632
|
+
agentStepId: string;
|
|
4766
5633
|
nodeRunId: string;
|
|
4767
5634
|
} | {
|
|
4768
5635
|
kind: "subagent";
|
|
@@ -4807,6 +5674,9 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4807
5674
|
firstCallAt: string;
|
|
4808
5675
|
lastCallAt: string;
|
|
4809
5676
|
totalTokens?: number | undefined;
|
|
5677
|
+
audioDurationMs?: number | undefined;
|
|
5678
|
+
outputImages?: number | undefined;
|
|
5679
|
+
inputCharacters?: number | undefined;
|
|
4810
5680
|
attribution?: {
|
|
4811
5681
|
kind: "request";
|
|
4812
5682
|
requestId: string;
|
|
@@ -4820,13 +5690,13 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4820
5690
|
workflowRunId: string;
|
|
4821
5691
|
} | {
|
|
4822
5692
|
kind: "agent";
|
|
4823
|
-
agentRunId: string;
|
|
4824
5693
|
threadId: string;
|
|
5694
|
+
agentRunId: string;
|
|
4825
5695
|
} | {
|
|
4826
5696
|
kind: "workflowAgent";
|
|
4827
5697
|
workflowId: string;
|
|
4828
|
-
agentStepId: string;
|
|
4829
5698
|
workflowRunId: string;
|
|
5699
|
+
agentStepId: string;
|
|
4830
5700
|
nodeRunId: string;
|
|
4831
5701
|
} | {
|
|
4832
5702
|
kind: "subagent";
|
|
@@ -4837,6 +5707,9 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4837
5707
|
}[];
|
|
4838
5708
|
canOpenThread: boolean;
|
|
4839
5709
|
totalTokens?: number | undefined;
|
|
5710
|
+
audioDurationMs?: number | undefined;
|
|
5711
|
+
outputImages?: number | undefined;
|
|
5712
|
+
inputCharacters?: number | undefined;
|
|
4840
5713
|
attribution?: {
|
|
4841
5714
|
kind: "request";
|
|
4842
5715
|
requestId: string;
|
|
@@ -4850,13 +5723,13 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4850
5723
|
workflowRunId: string;
|
|
4851
5724
|
} | {
|
|
4852
5725
|
kind: "agent";
|
|
4853
|
-
agentRunId: string;
|
|
4854
5726
|
threadId: string;
|
|
5727
|
+
agentRunId: string;
|
|
4855
5728
|
} | {
|
|
4856
5729
|
kind: "workflowAgent";
|
|
4857
5730
|
workflowId: string;
|
|
4858
|
-
agentStepId: string;
|
|
4859
5731
|
workflowRunId: string;
|
|
5732
|
+
agentStepId: string;
|
|
4860
5733
|
nodeRunId: string;
|
|
4861
5734
|
} | {
|
|
4862
5735
|
kind: "subagent";
|
|
@@ -4901,6 +5774,9 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4901
5774
|
firstCallAt: string;
|
|
4902
5775
|
lastCallAt: string;
|
|
4903
5776
|
totalTokens?: number | undefined;
|
|
5777
|
+
audioDurationMs?: number | undefined;
|
|
5778
|
+
outputImages?: number | undefined;
|
|
5779
|
+
inputCharacters?: number | undefined;
|
|
4904
5780
|
attribution?: {
|
|
4905
5781
|
kind: "request";
|
|
4906
5782
|
requestId: string;
|
|
@@ -4914,13 +5790,13 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4914
5790
|
workflowRunId: string;
|
|
4915
5791
|
} | {
|
|
4916
5792
|
kind: "agent";
|
|
4917
|
-
agentRunId: string;
|
|
4918
5793
|
threadId: string;
|
|
5794
|
+
agentRunId: string;
|
|
4919
5795
|
} | {
|
|
4920
5796
|
kind: "workflowAgent";
|
|
4921
5797
|
workflowId: string;
|
|
4922
|
-
agentStepId: string;
|
|
4923
5798
|
workflowRunId: string;
|
|
5799
|
+
agentStepId: string;
|
|
4924
5800
|
nodeRunId: string;
|
|
4925
5801
|
} | {
|
|
4926
5802
|
kind: "subagent";
|
|
@@ -4931,6 +5807,9 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4931
5807
|
}[];
|
|
4932
5808
|
canOpenThread: boolean;
|
|
4933
5809
|
totalTokens?: number | undefined;
|
|
5810
|
+
audioDurationMs?: number | undefined;
|
|
5811
|
+
outputImages?: number | undefined;
|
|
5812
|
+
inputCharacters?: number | undefined;
|
|
4934
5813
|
attribution?: {
|
|
4935
5814
|
kind: "request";
|
|
4936
5815
|
requestId: string;
|
|
@@ -4944,13 +5823,13 @@ export declare const AiModelCallGroupsResponseSchema: z.ZodObject<{
|
|
|
4944
5823
|
workflowRunId: string;
|
|
4945
5824
|
} | {
|
|
4946
5825
|
kind: "agent";
|
|
4947
|
-
agentRunId: string;
|
|
4948
5826
|
threadId: string;
|
|
5827
|
+
agentRunId: string;
|
|
4949
5828
|
} | {
|
|
4950
5829
|
kind: "workflowAgent";
|
|
4951
5830
|
workflowId: string;
|
|
4952
|
-
agentStepId: string;
|
|
4953
5831
|
workflowRunId: string;
|
|
5832
|
+
agentStepId: string;
|
|
4954
5833
|
nodeRunId: string;
|
|
4955
5834
|
} | {
|
|
4956
5835
|
kind: "subagent";
|