@runlot/api 0.1.0-rc.202 → 0.1.0-rc.203
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/schema.d.ts +39 -9
- package/dist/schema.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/schema.d.ts
CHANGED
|
@@ -12997,12 +12997,23 @@ export interface components {
|
|
|
12997
12997
|
calls: number;
|
|
12998
12998
|
/** Format: int64 */
|
|
12999
12999
|
errors: number;
|
|
13000
|
-
/**
|
|
13000
|
+
/**
|
|
13001
|
+
* Format: int64
|
|
13002
|
+
* @description The whole prompt; tokensCached and tokensCacheWrite are disjoint parts of it.
|
|
13003
|
+
*/
|
|
13001
13004
|
tokensIn: number;
|
|
13002
13005
|
/** Format: int64 */
|
|
13003
13006
|
tokensOut: number;
|
|
13004
|
-
/**
|
|
13007
|
+
/**
|
|
13008
|
+
* Format: int64
|
|
13009
|
+
* @description The part of tokensIn read from the provider's prompt cache.
|
|
13010
|
+
*/
|
|
13005
13011
|
tokensCached: number;
|
|
13012
|
+
/**
|
|
13013
|
+
* Format: int64
|
|
13014
|
+
* @description The part of tokensIn written to the provider's prompt cache. Hours rolled up before rc.203 count 0.
|
|
13015
|
+
*/
|
|
13016
|
+
tokensCacheWrite: number;
|
|
13006
13017
|
/** Format: int64 */
|
|
13007
13018
|
costMicroCents: number;
|
|
13008
13019
|
/** Format: int64 */
|
|
@@ -13047,6 +13058,10 @@ export interface components {
|
|
|
13047
13058
|
/** Format: int64 */
|
|
13048
13059
|
tokensOut: number;
|
|
13049
13060
|
/** Format: int64 */
|
|
13061
|
+
tokensCached: number;
|
|
13062
|
+
/** Format: int64 */
|
|
13063
|
+
tokensCacheWrite: number;
|
|
13064
|
+
/** Format: int64 */
|
|
13050
13065
|
costMicroCents: number;
|
|
13051
13066
|
/** Format: int64 */
|
|
13052
13067
|
chargedMicroCents: number;
|
|
@@ -13124,16 +13139,30 @@ export interface components {
|
|
|
13124
13139
|
kind: "call" | "topup" | "adjust";
|
|
13125
13140
|
/**
|
|
13126
13141
|
* @description Which caller spent it. It is present on every row including a top-up, where it
|
|
13127
|
-
* is `app` and means nothing.
|
|
13142
|
+
* is `app` and means nothing. `byos` rows are calls a member's Studio
|
|
13143
|
+
* subscription answered, at 0.
|
|
13128
13144
|
* @enum {string}
|
|
13129
13145
|
*/
|
|
13130
|
-
lane: "app" | "dev" | "studio";
|
|
13146
|
+
lane: "app" | "dev" | "studio" | "byos";
|
|
13131
13147
|
model?: string;
|
|
13132
13148
|
project?: string;
|
|
13133
|
-
/**
|
|
13149
|
+
/**
|
|
13150
|
+
* Format: int64
|
|
13151
|
+
* @description The whole prompt; tokensCached and tokensCacheWrite are disjoint parts of it.
|
|
13152
|
+
*/
|
|
13134
13153
|
tokensIn?: number;
|
|
13135
13154
|
/** Format: int64 */
|
|
13136
13155
|
tokensOut?: number;
|
|
13156
|
+
/**
|
|
13157
|
+
* Format: int64
|
|
13158
|
+
* @description The part of tokensIn read from the provider's prompt cache. Absent when 0.
|
|
13159
|
+
*/
|
|
13160
|
+
tokensCached?: number;
|
|
13161
|
+
/**
|
|
13162
|
+
* Format: int64
|
|
13163
|
+
* @description The part of tokensIn written to the provider's prompt cache. Absent when 0.
|
|
13164
|
+
*/
|
|
13165
|
+
tokensCacheWrite?: number;
|
|
13137
13166
|
/**
|
|
13138
13167
|
* Format: int64
|
|
13139
13168
|
* @description `call` rows are negative
|
|
@@ -20578,11 +20607,12 @@ export interface operations {
|
|
|
20578
20607
|
before?: number;
|
|
20579
20608
|
/**
|
|
20580
20609
|
* @description Only rows spent by this lane. `app` is the deployed worker's `env.ai`, `dev` is
|
|
20581
|
-
* the same app running on a developer's machine or tab,
|
|
20582
|
-
* own agent turns
|
|
20583
|
-
* an
|
|
20610
|
+
* the same app running on a developer's machine or tab, `studio` is Studio's
|
|
20611
|
+
* own agent turns, and `byos` is a deployed app's call answered by a member's
|
|
20612
|
+
* Studio subscription (recorded at 0). Absent means every lane; an unknown value
|
|
20613
|
+
* is a 400 rather than an empty page.
|
|
20584
20614
|
*/
|
|
20585
|
-
lane?: "app" | "dev" | "studio";
|
|
20615
|
+
lane?: "app" | "dev" | "studio" | "byos";
|
|
20586
20616
|
/**
|
|
20587
20617
|
* @description Only rows of this kind. `kind=topup&limit=1` is the last top-up, which is
|
|
20588
20618
|
* otherwise an unbounded walk backwards through a busy day's calls. An unknown
|