@to11ai/sdk 3.0.0-rc.20 → 3.0.0-rc.22
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/generated/types.gen.d.ts +111 -26
- package/dist/generated/zod.gen.d.ts +109 -0
- package/package.json +2 -2
- package/src/generated/types.gen.ts +111 -26
- package/src/generated/zod.gen.ts +105 -3
|
@@ -732,6 +732,14 @@ export type UsageSessionsResponse = {
|
|
|
732
732
|
number: number;
|
|
733
733
|
state: 'open' | 'draft' | 'merged' | 'closed';
|
|
734
734
|
url: string;
|
|
735
|
+
/**
|
|
736
|
+
* The session's usage on this pull request: its spans on the pull request's branch inside the pull request's window, as of the pull request's last link rebuild, not limited to the requested window. Spans aging out of the 60-day retention never lower it. Zero when none of its spans is on the pull request. `null` until the pull request's links are next rebuilt.
|
|
737
|
+
*/
|
|
738
|
+
usage?: {
|
|
739
|
+
apiEquivalentUsd: number | null;
|
|
740
|
+
requests: number;
|
|
741
|
+
tokens: number;
|
|
742
|
+
} | null;
|
|
735
743
|
}> | null;
|
|
736
744
|
requests: number;
|
|
737
745
|
sessionId: string;
|
|
@@ -4360,7 +4368,7 @@ export type CostRatesListBuiltinCostRatesData = {
|
|
|
4360
4368
|
query?: {
|
|
4361
4369
|
provider?: string | null;
|
|
4362
4370
|
model?: string | null;
|
|
4363
|
-
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
|
|
4371
|
+
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
|
|
4364
4372
|
asOf?: string | null;
|
|
4365
4373
|
page?: number | null;
|
|
4366
4374
|
limit?: number | null;
|
|
@@ -4442,7 +4450,7 @@ export type CostRatesListBuiltinCostRatesResponses = {
|
|
|
4442
4450
|
source: string;
|
|
4443
4451
|
tierMaxTokens: number | null;
|
|
4444
4452
|
tierMinTokens: number | null;
|
|
4445
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
4453
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
4446
4454
|
updatedAt: string;
|
|
4447
4455
|
validFrom: string;
|
|
4448
4456
|
workspaceId: string | null;
|
|
@@ -7411,7 +7419,7 @@ export type CostRatesListOrgCostRatesData = {
|
|
|
7411
7419
|
query?: {
|
|
7412
7420
|
provider?: string | null;
|
|
7413
7421
|
model?: string | null;
|
|
7414
|
-
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
|
|
7422
|
+
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
|
|
7415
7423
|
asOf?: string | null;
|
|
7416
7424
|
page?: number | null;
|
|
7417
7425
|
limit?: number | null;
|
|
@@ -7493,7 +7501,7 @@ export type CostRatesListOrgCostRatesResponses = {
|
|
|
7493
7501
|
source: string;
|
|
7494
7502
|
tierMaxTokens: number | null;
|
|
7495
7503
|
tierMinTokens: number | null;
|
|
7496
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
7504
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
7497
7505
|
updatedAt: string;
|
|
7498
7506
|
validFrom: string;
|
|
7499
7507
|
workspaceId: string | null;
|
|
@@ -7535,7 +7543,7 @@ export type CostRatesCreateOrgCostRateData = {
|
|
|
7535
7543
|
provider: string;
|
|
7536
7544
|
tierMaxTokens?: number | null;
|
|
7537
7545
|
tierMinTokens?: number | null;
|
|
7538
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
7546
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
7539
7547
|
validFrom: string;
|
|
7540
7548
|
};
|
|
7541
7549
|
path: {
|
|
@@ -7617,7 +7625,7 @@ export type CostRatesCreateOrgCostRateResponses = {
|
|
|
7617
7625
|
rowVersion: number;
|
|
7618
7626
|
tierMaxTokens: number | null;
|
|
7619
7627
|
tierMinTokens: number | null;
|
|
7620
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
7628
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
7621
7629
|
updatedAt: string;
|
|
7622
7630
|
validFrom: string;
|
|
7623
7631
|
workspaceId: string | null;
|
|
@@ -7828,7 +7836,7 @@ export type CostRatesUpdateOrgCostRateResponses = {
|
|
|
7828
7836
|
rowVersion: number;
|
|
7829
7837
|
tierMaxTokens: number | null;
|
|
7830
7838
|
tierMinTokens: number | null;
|
|
7831
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
7839
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
7832
7840
|
updatedAt: string;
|
|
7833
7841
|
validFrom: string;
|
|
7834
7842
|
workspaceId: string | null;
|
|
@@ -10854,7 +10862,7 @@ export type CostRatesListWorkspaceCostRatesData = {
|
|
|
10854
10862
|
query?: {
|
|
10855
10863
|
provider?: string | null;
|
|
10856
10864
|
model?: string | null;
|
|
10857
|
-
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
|
|
10865
|
+
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
|
|
10858
10866
|
asOf?: string | null;
|
|
10859
10867
|
page?: number | null;
|
|
10860
10868
|
limit?: number | null;
|
|
@@ -10936,7 +10944,7 @@ export type CostRatesListWorkspaceCostRatesResponses = {
|
|
|
10936
10944
|
source: string;
|
|
10937
10945
|
tierMaxTokens: number | null;
|
|
10938
10946
|
tierMinTokens: number | null;
|
|
10939
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
10947
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
10940
10948
|
updatedAt: string;
|
|
10941
10949
|
validFrom: string;
|
|
10942
10950
|
workspaceId: string | null;
|
|
@@ -10978,7 +10986,7 @@ export type CostRatesCreateWorkspaceCostRateData = {
|
|
|
10978
10986
|
provider: string;
|
|
10979
10987
|
tierMaxTokens?: number | null;
|
|
10980
10988
|
tierMinTokens?: number | null;
|
|
10981
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
10989
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
10982
10990
|
validFrom: string;
|
|
10983
10991
|
};
|
|
10984
10992
|
path: {
|
|
@@ -11061,7 +11069,7 @@ export type CostRatesCreateWorkspaceCostRateResponses = {
|
|
|
11061
11069
|
rowVersion: number;
|
|
11062
11070
|
tierMaxTokens: number | null;
|
|
11063
11071
|
tierMinTokens: number | null;
|
|
11064
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
11072
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
11065
11073
|
updatedAt: string;
|
|
11066
11074
|
validFrom: string;
|
|
11067
11075
|
workspaceId: string | null;
|
|
@@ -11274,7 +11282,7 @@ export type CostRatesUpdateWorkspaceCostRateResponses = {
|
|
|
11274
11282
|
rowVersion: number;
|
|
11275
11283
|
tierMaxTokens: number | null;
|
|
11276
11284
|
tierMinTokens: number | null;
|
|
11277
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
11285
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
11278
11286
|
updatedAt: string;
|
|
11279
11287
|
validFrom: string;
|
|
11280
11288
|
workspaceId: string | null;
|
|
@@ -14059,7 +14067,7 @@ export type CostRatesListProjectCostRatesData = {
|
|
|
14059
14067
|
query?: {
|
|
14060
14068
|
provider?: string | null;
|
|
14061
14069
|
model?: string | null;
|
|
14062
|
-
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
|
|
14070
|
+
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
|
|
14063
14071
|
asOf?: string | null;
|
|
14064
14072
|
page?: number | null;
|
|
14065
14073
|
limit?: number | null;
|
|
@@ -14141,7 +14149,7 @@ export type CostRatesListProjectCostRatesResponses = {
|
|
|
14141
14149
|
source: string;
|
|
14142
14150
|
tierMaxTokens: number | null;
|
|
14143
14151
|
tierMinTokens: number | null;
|
|
14144
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
14152
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
14145
14153
|
updatedAt: string;
|
|
14146
14154
|
validFrom: string;
|
|
14147
14155
|
workspaceId: string | null;
|
|
@@ -14183,7 +14191,7 @@ export type CostRatesCreateProjectCostRateData = {
|
|
|
14183
14191
|
provider: string;
|
|
14184
14192
|
tierMaxTokens?: number | null;
|
|
14185
14193
|
tierMinTokens?: number | null;
|
|
14186
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
14194
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
14187
14195
|
validFrom: string;
|
|
14188
14196
|
};
|
|
14189
14197
|
path: {
|
|
@@ -14265,7 +14273,7 @@ export type CostRatesCreateProjectCostRateResponses = {
|
|
|
14265
14273
|
rowVersion: number;
|
|
14266
14274
|
tierMaxTokens: number | null;
|
|
14267
14275
|
tierMinTokens: number | null;
|
|
14268
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
14276
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
14269
14277
|
updatedAt: string;
|
|
14270
14278
|
validFrom: string;
|
|
14271
14279
|
workspaceId: string | null;
|
|
@@ -14379,7 +14387,7 @@ export type CostRatesGetEffectiveCostRatesResponses = {
|
|
|
14379
14387
|
source: 'builtin' | 'organization' | 'workspace' | 'project';
|
|
14380
14388
|
tierMaxTokens: number | null;
|
|
14381
14389
|
tierMinTokens: number | null;
|
|
14382
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
14390
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
14383
14391
|
validFrom: string;
|
|
14384
14392
|
}>;
|
|
14385
14393
|
pagination: {
|
|
@@ -14593,7 +14601,7 @@ export type CostRatesUpdateProjectCostRateResponses = {
|
|
|
14593
14601
|
rowVersion: number;
|
|
14594
14602
|
tierMaxTokens: number | null;
|
|
14595
14603
|
tierMinTokens: number | null;
|
|
14596
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
14604
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
14597
14605
|
updatedAt: string;
|
|
14598
14606
|
validFrom: string;
|
|
14599
14607
|
workspaceId: string | null;
|
|
@@ -15020,6 +15028,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15020
15028
|
cost: number | null;
|
|
15021
15029
|
count: number;
|
|
15022
15030
|
} | null;
|
|
15031
|
+
cache_creation_12h?: {
|
|
15032
|
+
cost: number | null;
|
|
15033
|
+
count: number;
|
|
15034
|
+
} | null;
|
|
15023
15035
|
cache_creation_1h?: {
|
|
15024
15036
|
cost: number | null;
|
|
15025
15037
|
count: number;
|
|
@@ -15036,7 +15048,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15036
15048
|
cost: number | null;
|
|
15037
15049
|
count: number;
|
|
15038
15050
|
};
|
|
15039
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
15051
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
15040
15052
|
output: {
|
|
15041
15053
|
cost: number | null;
|
|
15042
15054
|
count: number;
|
|
@@ -15058,6 +15070,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15058
15070
|
cost: number | null;
|
|
15059
15071
|
count: number;
|
|
15060
15072
|
} | null;
|
|
15073
|
+
cache_creation_12h?: {
|
|
15074
|
+
cost: number | null;
|
|
15075
|
+
count: number;
|
|
15076
|
+
} | null;
|
|
15061
15077
|
cache_creation_1h?: {
|
|
15062
15078
|
cost: number | null;
|
|
15063
15079
|
count: number;
|
|
@@ -15124,6 +15140,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15124
15140
|
cost: number | null;
|
|
15125
15141
|
count: number;
|
|
15126
15142
|
} | null;
|
|
15143
|
+
cache_creation_12h?: {
|
|
15144
|
+
cost: number | null;
|
|
15145
|
+
count: number;
|
|
15146
|
+
} | null;
|
|
15127
15147
|
cache_creation_1h?: {
|
|
15128
15148
|
cost: number | null;
|
|
15129
15149
|
count: number;
|
|
@@ -15140,7 +15160,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15140
15160
|
cost: number | null;
|
|
15141
15161
|
count: number;
|
|
15142
15162
|
};
|
|
15143
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
15163
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
15144
15164
|
output: {
|
|
15145
15165
|
cost: number | null;
|
|
15146
15166
|
count: number;
|
|
@@ -15162,6 +15182,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15162
15182
|
cost: number | null;
|
|
15163
15183
|
count: number;
|
|
15164
15184
|
} | null;
|
|
15185
|
+
cache_creation_12h?: {
|
|
15186
|
+
cost: number | null;
|
|
15187
|
+
count: number;
|
|
15188
|
+
} | null;
|
|
15165
15189
|
cache_creation_1h?: {
|
|
15166
15190
|
cost: number | null;
|
|
15167
15191
|
count: number;
|
|
@@ -15217,6 +15241,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15217
15241
|
cost: number | null;
|
|
15218
15242
|
count: number;
|
|
15219
15243
|
} | null;
|
|
15244
|
+
cache_creation_12h?: {
|
|
15245
|
+
cost: number | null;
|
|
15246
|
+
count: number;
|
|
15247
|
+
} | null;
|
|
15220
15248
|
cache_creation_1h?: {
|
|
15221
15249
|
cost: number | null;
|
|
15222
15250
|
count: number;
|
|
@@ -15233,7 +15261,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15233
15261
|
cost: number | null;
|
|
15234
15262
|
count: number;
|
|
15235
15263
|
};
|
|
15236
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
15264
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
15237
15265
|
output: {
|
|
15238
15266
|
cost: number | null;
|
|
15239
15267
|
count: number;
|
|
@@ -15255,6 +15283,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15255
15283
|
cost: number | null;
|
|
15256
15284
|
count: number;
|
|
15257
15285
|
} | null;
|
|
15286
|
+
cache_creation_12h?: {
|
|
15287
|
+
cost: number | null;
|
|
15288
|
+
count: number;
|
|
15289
|
+
} | null;
|
|
15258
15290
|
cache_creation_1h?: {
|
|
15259
15291
|
cost: number | null;
|
|
15260
15292
|
count: number;
|
|
@@ -21108,6 +21140,7 @@ export type ProviderConfigDraftsUpdateProviderDraftData = {
|
|
|
21108
21140
|
body: {
|
|
21109
21141
|
configSnapshotPatch: {
|
|
21110
21142
|
baseUrl?: string | null;
|
|
21143
|
+
billingModeOverride?: 'api' | null;
|
|
21111
21144
|
blockedModels?: Array<string> | null;
|
|
21112
21145
|
customModelIds?: Array<string> | null;
|
|
21113
21146
|
modelPolicy?: 'allowlist' | 'denylist' | null;
|
|
@@ -25328,6 +25361,10 @@ export type SessionsListSessionsResponses = {
|
|
|
25328
25361
|
cost: number | null;
|
|
25329
25362
|
count: number;
|
|
25330
25363
|
} | null;
|
|
25364
|
+
cache_creation_12h?: {
|
|
25365
|
+
cost: number | null;
|
|
25366
|
+
count: number;
|
|
25367
|
+
} | null;
|
|
25331
25368
|
cache_creation_1h?: {
|
|
25332
25369
|
cost: number | null;
|
|
25333
25370
|
count: number;
|
|
@@ -25344,7 +25381,7 @@ export type SessionsListSessionsResponses = {
|
|
|
25344
25381
|
cost: number | null;
|
|
25345
25382
|
count: number;
|
|
25346
25383
|
};
|
|
25347
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
25384
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
25348
25385
|
output: {
|
|
25349
25386
|
cost: number | null;
|
|
25350
25387
|
count: number;
|
|
@@ -25366,6 +25403,10 @@ export type SessionsListSessionsResponses = {
|
|
|
25366
25403
|
cost: number | null;
|
|
25367
25404
|
count: number;
|
|
25368
25405
|
} | null;
|
|
25406
|
+
cache_creation_12h?: {
|
|
25407
|
+
cost: number | null;
|
|
25408
|
+
count: number;
|
|
25409
|
+
} | null;
|
|
25369
25410
|
cache_creation_1h?: {
|
|
25370
25411
|
cost: number | null;
|
|
25371
25412
|
count: number;
|
|
@@ -25413,6 +25454,14 @@ export type SessionsListSessionsResponses = {
|
|
|
25413
25454
|
number: number;
|
|
25414
25455
|
state: 'open' | 'draft' | 'merged' | 'closed';
|
|
25415
25456
|
url: string;
|
|
25457
|
+
/**
|
|
25458
|
+
* The session's usage on this pull request: its spans on the pull request's branch inside the pull request's window, as of the pull request's last link rebuild, not limited to the requested window. Spans aging out of the 60-day retention never lower it. Zero when none of its spans is on the pull request. `null` until the pull request's links are next rebuilt.
|
|
25459
|
+
*/
|
|
25460
|
+
usage?: {
|
|
25461
|
+
apiEquivalentUsd: number | null;
|
|
25462
|
+
requests: number;
|
|
25463
|
+
tokens: number;
|
|
25464
|
+
} | null;
|
|
25416
25465
|
}>;
|
|
25417
25466
|
requestCount: number;
|
|
25418
25467
|
sessionId: string;
|
|
@@ -25547,6 +25596,10 @@ export type SessionsGetSessionResponses = {
|
|
|
25547
25596
|
cost: number | null;
|
|
25548
25597
|
count: number;
|
|
25549
25598
|
} | null;
|
|
25599
|
+
cache_creation_12h?: {
|
|
25600
|
+
cost: number | null;
|
|
25601
|
+
count: number;
|
|
25602
|
+
} | null;
|
|
25550
25603
|
cache_creation_1h?: {
|
|
25551
25604
|
cost: number | null;
|
|
25552
25605
|
count: number;
|
|
@@ -25563,7 +25616,7 @@ export type SessionsGetSessionResponses = {
|
|
|
25563
25616
|
cost: number | null;
|
|
25564
25617
|
count: number;
|
|
25565
25618
|
};
|
|
25566
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
25619
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
25567
25620
|
output: {
|
|
25568
25621
|
cost: number | null;
|
|
25569
25622
|
count: number;
|
|
@@ -25585,6 +25638,10 @@ export type SessionsGetSessionResponses = {
|
|
|
25585
25638
|
cost: number | null;
|
|
25586
25639
|
count: number;
|
|
25587
25640
|
} | null;
|
|
25641
|
+
cache_creation_12h?: {
|
|
25642
|
+
cost: number | null;
|
|
25643
|
+
count: number;
|
|
25644
|
+
} | null;
|
|
25588
25645
|
cache_creation_1h?: {
|
|
25589
25646
|
cost: number | null;
|
|
25590
25647
|
count: number;
|
|
@@ -25632,6 +25689,14 @@ export type SessionsGetSessionResponses = {
|
|
|
25632
25689
|
number: number;
|
|
25633
25690
|
state: 'open' | 'draft' | 'merged' | 'closed';
|
|
25634
25691
|
url: string;
|
|
25692
|
+
/**
|
|
25693
|
+
* The session's usage on this pull request: its spans on the pull request's branch inside the pull request's window, as of the pull request's last link rebuild, not limited to the requested window. Spans aging out of the 60-day retention never lower it. Zero when none of its spans is on the pull request. `null` until the pull request's links are next rebuilt.
|
|
25694
|
+
*/
|
|
25695
|
+
usage?: {
|
|
25696
|
+
apiEquivalentUsd: number | null;
|
|
25697
|
+
requests: number;
|
|
25698
|
+
tokens: number;
|
|
25699
|
+
} | null;
|
|
25635
25700
|
}>;
|
|
25636
25701
|
requestCount: number;
|
|
25637
25702
|
sessionId: string;
|
|
@@ -25799,6 +25864,10 @@ export type TracesListTracesResponses = {
|
|
|
25799
25864
|
cost: number | null;
|
|
25800
25865
|
count: number;
|
|
25801
25866
|
} | null;
|
|
25867
|
+
cache_creation_12h?: {
|
|
25868
|
+
cost: number | null;
|
|
25869
|
+
count: number;
|
|
25870
|
+
} | null;
|
|
25802
25871
|
cache_creation_1h?: {
|
|
25803
25872
|
cost: number | null;
|
|
25804
25873
|
count: number;
|
|
@@ -25815,7 +25884,7 @@ export type TracesListTracesResponses = {
|
|
|
25815
25884
|
cost: number | null;
|
|
25816
25885
|
count: number;
|
|
25817
25886
|
};
|
|
25818
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
25887
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
25819
25888
|
output: {
|
|
25820
25889
|
cost: number | null;
|
|
25821
25890
|
count: number;
|
|
@@ -25837,6 +25906,10 @@ export type TracesListTracesResponses = {
|
|
|
25837
25906
|
cost: number | null;
|
|
25838
25907
|
count: number;
|
|
25839
25908
|
} | null;
|
|
25909
|
+
cache_creation_12h?: {
|
|
25910
|
+
cost: number | null;
|
|
25911
|
+
count: number;
|
|
25912
|
+
} | null;
|
|
25840
25913
|
cache_creation_1h?: {
|
|
25841
25914
|
cost: number | null;
|
|
25842
25915
|
count: number;
|
|
@@ -26215,6 +26288,10 @@ export type TracesGetTraceDetailResponses = {
|
|
|
26215
26288
|
cost: number | null;
|
|
26216
26289
|
count: number;
|
|
26217
26290
|
} | null;
|
|
26291
|
+
cache_creation_12h?: {
|
|
26292
|
+
cost: number | null;
|
|
26293
|
+
count: number;
|
|
26294
|
+
} | null;
|
|
26218
26295
|
cache_creation_1h?: {
|
|
26219
26296
|
cost: number | null;
|
|
26220
26297
|
count: number;
|
|
@@ -26231,7 +26308,7 @@ export type TracesGetTraceDetailResponses = {
|
|
|
26231
26308
|
cost: number | null;
|
|
26232
26309
|
count: number;
|
|
26233
26310
|
};
|
|
26234
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
26311
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
26235
26312
|
output: {
|
|
26236
26313
|
cost: number | null;
|
|
26237
26314
|
count: number;
|
|
@@ -26253,6 +26330,10 @@ export type TracesGetTraceDetailResponses = {
|
|
|
26253
26330
|
cost: number | null;
|
|
26254
26331
|
count: number;
|
|
26255
26332
|
} | null;
|
|
26333
|
+
cache_creation_12h?: {
|
|
26334
|
+
cost: number | null;
|
|
26335
|
+
count: number;
|
|
26336
|
+
} | null;
|
|
26256
26337
|
cache_creation_1h?: {
|
|
26257
26338
|
cost: number | null;
|
|
26258
26339
|
count: number;
|
|
@@ -26307,6 +26388,10 @@ export type TracesGetTraceDetailResponses = {
|
|
|
26307
26388
|
cost: number | null;
|
|
26308
26389
|
count: number;
|
|
26309
26390
|
} | null;
|
|
26391
|
+
cache_creation_12h?: {
|
|
26392
|
+
cost: number | null;
|
|
26393
|
+
count: number;
|
|
26394
|
+
} | null;
|
|
26310
26395
|
cache_creation_1h?: {
|
|
26311
26396
|
cost: number | null;
|
|
26312
26397
|
count: number;
|
|
@@ -26323,7 +26408,7 @@ export type TracesGetTraceDetailResponses = {
|
|
|
26323
26408
|
cost: number | null;
|
|
26324
26409
|
count: number;
|
|
26325
26410
|
};
|
|
26326
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
26411
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
26327
26412
|
output: {
|
|
26328
26413
|
cost: number | null;
|
|
26329
26414
|
count: number;
|