@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
|
@@ -785,6 +785,14 @@ export type UsageSessionsResponse = {
|
|
|
785
785
|
number: number;
|
|
786
786
|
state: 'open' | 'draft' | 'merged' | 'closed';
|
|
787
787
|
url: string;
|
|
788
|
+
/**
|
|
789
|
+
* 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.
|
|
790
|
+
*/
|
|
791
|
+
usage?: {
|
|
792
|
+
apiEquivalentUsd: number | null;
|
|
793
|
+
requests: number;
|
|
794
|
+
tokens: number;
|
|
795
|
+
} | null;
|
|
788
796
|
}> | null;
|
|
789
797
|
requests: number;
|
|
790
798
|
sessionId: string;
|
|
@@ -4589,7 +4597,7 @@ export type CostRatesListBuiltinCostRatesData = {
|
|
|
4589
4597
|
query?: {
|
|
4590
4598
|
provider?: string | null;
|
|
4591
4599
|
model?: string | null;
|
|
4592
|
-
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
|
|
4600
|
+
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
|
|
4593
4601
|
asOf?: string | null;
|
|
4594
4602
|
page?: number | null;
|
|
4595
4603
|
limit?: number | null;
|
|
@@ -4674,7 +4682,7 @@ export type CostRatesListBuiltinCostRatesResponses = {
|
|
|
4674
4682
|
source: string;
|
|
4675
4683
|
tierMaxTokens: number | null;
|
|
4676
4684
|
tierMinTokens: number | null;
|
|
4677
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
4685
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
4678
4686
|
updatedAt: string;
|
|
4679
4687
|
validFrom: string;
|
|
4680
4688
|
workspaceId: string | null;
|
|
@@ -7785,7 +7793,7 @@ export type CostRatesListOrgCostRatesData = {
|
|
|
7785
7793
|
query?: {
|
|
7786
7794
|
provider?: string | null;
|
|
7787
7795
|
model?: string | null;
|
|
7788
|
-
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
|
|
7796
|
+
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
|
|
7789
7797
|
asOf?: string | null;
|
|
7790
7798
|
page?: number | null;
|
|
7791
7799
|
limit?: number | null;
|
|
@@ -7870,7 +7878,7 @@ export type CostRatesListOrgCostRatesResponses = {
|
|
|
7870
7878
|
source: string;
|
|
7871
7879
|
tierMaxTokens: number | null;
|
|
7872
7880
|
tierMinTokens: number | null;
|
|
7873
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
7881
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
7874
7882
|
updatedAt: string;
|
|
7875
7883
|
validFrom: string;
|
|
7876
7884
|
workspaceId: string | null;
|
|
@@ -7914,7 +7922,7 @@ export type CostRatesCreateOrgCostRateData = {
|
|
|
7914
7922
|
provider: string;
|
|
7915
7923
|
tierMaxTokens?: number | null;
|
|
7916
7924
|
tierMinTokens?: number | null;
|
|
7917
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
7925
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
7918
7926
|
validFrom: string;
|
|
7919
7927
|
};
|
|
7920
7928
|
path: {
|
|
@@ -7999,7 +8007,7 @@ export type CostRatesCreateOrgCostRateResponses = {
|
|
|
7999
8007
|
rowVersion: number;
|
|
8000
8008
|
tierMaxTokens: number | null;
|
|
8001
8009
|
tierMinTokens: number | null;
|
|
8002
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
8010
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
8003
8011
|
updatedAt: string;
|
|
8004
8012
|
validFrom: string;
|
|
8005
8013
|
workspaceId: string | null;
|
|
@@ -8220,7 +8228,7 @@ export type CostRatesUpdateOrgCostRateResponses = {
|
|
|
8220
8228
|
rowVersion: number;
|
|
8221
8229
|
tierMaxTokens: number | null;
|
|
8222
8230
|
tierMinTokens: number | null;
|
|
8223
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
8231
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
8224
8232
|
updatedAt: string;
|
|
8225
8233
|
validFrom: string;
|
|
8226
8234
|
workspaceId: string | null;
|
|
@@ -11388,7 +11396,7 @@ export type CostRatesListWorkspaceCostRatesData = {
|
|
|
11388
11396
|
query?: {
|
|
11389
11397
|
provider?: string | null;
|
|
11390
11398
|
model?: string | null;
|
|
11391
|
-
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
|
|
11399
|
+
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
|
|
11392
11400
|
asOf?: string | null;
|
|
11393
11401
|
page?: number | null;
|
|
11394
11402
|
limit?: number | null;
|
|
@@ -11473,7 +11481,7 @@ export type CostRatesListWorkspaceCostRatesResponses = {
|
|
|
11473
11481
|
source: string;
|
|
11474
11482
|
tierMaxTokens: number | null;
|
|
11475
11483
|
tierMinTokens: number | null;
|
|
11476
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
11484
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
11477
11485
|
updatedAt: string;
|
|
11478
11486
|
validFrom: string;
|
|
11479
11487
|
workspaceId: string | null;
|
|
@@ -11517,7 +11525,7 @@ export type CostRatesCreateWorkspaceCostRateData = {
|
|
|
11517
11525
|
provider: string;
|
|
11518
11526
|
tierMaxTokens?: number | null;
|
|
11519
11527
|
tierMinTokens?: number | null;
|
|
11520
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
11528
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
11521
11529
|
validFrom: string;
|
|
11522
11530
|
};
|
|
11523
11531
|
path: {
|
|
@@ -11603,7 +11611,7 @@ export type CostRatesCreateWorkspaceCostRateResponses = {
|
|
|
11603
11611
|
rowVersion: number;
|
|
11604
11612
|
tierMaxTokens: number | null;
|
|
11605
11613
|
tierMinTokens: number | null;
|
|
11606
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
11614
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
11607
11615
|
updatedAt: string;
|
|
11608
11616
|
validFrom: string;
|
|
11609
11617
|
workspaceId: string | null;
|
|
@@ -11826,7 +11834,7 @@ export type CostRatesUpdateWorkspaceCostRateResponses = {
|
|
|
11826
11834
|
rowVersion: number;
|
|
11827
11835
|
tierMaxTokens: number | null;
|
|
11828
11836
|
tierMinTokens: number | null;
|
|
11829
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
11837
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
11830
11838
|
updatedAt: string;
|
|
11831
11839
|
validFrom: string;
|
|
11832
11840
|
workspaceId: string | null;
|
|
@@ -14743,7 +14751,7 @@ export type CostRatesListProjectCostRatesData = {
|
|
|
14743
14751
|
query?: {
|
|
14744
14752
|
provider?: string | null;
|
|
14745
14753
|
model?: string | null;
|
|
14746
|
-
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
|
|
14754
|
+
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
|
|
14747
14755
|
asOf?: string | null;
|
|
14748
14756
|
page?: number | null;
|
|
14749
14757
|
limit?: number | null;
|
|
@@ -14828,7 +14836,7 @@ export type CostRatesListProjectCostRatesResponses = {
|
|
|
14828
14836
|
source: string;
|
|
14829
14837
|
tierMaxTokens: number | null;
|
|
14830
14838
|
tierMinTokens: number | null;
|
|
14831
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
14839
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
14832
14840
|
updatedAt: string;
|
|
14833
14841
|
validFrom: string;
|
|
14834
14842
|
workspaceId: string | null;
|
|
@@ -14872,7 +14880,7 @@ export type CostRatesCreateProjectCostRateData = {
|
|
|
14872
14880
|
provider: string;
|
|
14873
14881
|
tierMaxTokens?: number | null;
|
|
14874
14882
|
tierMinTokens?: number | null;
|
|
14875
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
14883
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
14876
14884
|
validFrom: string;
|
|
14877
14885
|
};
|
|
14878
14886
|
path: {
|
|
@@ -14957,7 +14965,7 @@ export type CostRatesCreateProjectCostRateResponses = {
|
|
|
14957
14965
|
rowVersion: number;
|
|
14958
14966
|
tierMaxTokens: number | null;
|
|
14959
14967
|
tierMinTokens: number | null;
|
|
14960
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
14968
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
14961
14969
|
updatedAt: string;
|
|
14962
14970
|
validFrom: string;
|
|
14963
14971
|
workspaceId: string | null;
|
|
@@ -15076,7 +15084,7 @@ export type CostRatesGetEffectiveCostRatesResponses = {
|
|
|
15076
15084
|
source: 'builtin' | 'organization' | 'workspace' | 'project';
|
|
15077
15085
|
tierMaxTokens: number | null;
|
|
15078
15086
|
tierMinTokens: number | null;
|
|
15079
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
15087
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
15080
15088
|
validFrom: string;
|
|
15081
15089
|
}>;
|
|
15082
15090
|
pagination: {
|
|
@@ -15300,7 +15308,7 @@ export type CostRatesUpdateProjectCostRateResponses = {
|
|
|
15300
15308
|
rowVersion: number;
|
|
15301
15309
|
tierMaxTokens: number | null;
|
|
15302
15310
|
tierMinTokens: number | null;
|
|
15303
|
-
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
|
|
15311
|
+
tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
|
|
15304
15312
|
updatedAt: string;
|
|
15305
15313
|
validFrom: string;
|
|
15306
15314
|
workspaceId: string | null;
|
|
@@ -15747,6 +15755,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15747
15755
|
cost: number | null;
|
|
15748
15756
|
count: number;
|
|
15749
15757
|
} | null;
|
|
15758
|
+
cache_creation_12h?: {
|
|
15759
|
+
cost: number | null;
|
|
15760
|
+
count: number;
|
|
15761
|
+
} | null;
|
|
15750
15762
|
cache_creation_1h?: {
|
|
15751
15763
|
cost: number | null;
|
|
15752
15764
|
count: number;
|
|
@@ -15763,7 +15775,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15763
15775
|
cost: number | null;
|
|
15764
15776
|
count: number;
|
|
15765
15777
|
};
|
|
15766
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
15778
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
15767
15779
|
output: {
|
|
15768
15780
|
cost: number | null;
|
|
15769
15781
|
count: number;
|
|
@@ -15785,6 +15797,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15785
15797
|
cost: number | null;
|
|
15786
15798
|
count: number;
|
|
15787
15799
|
} | null;
|
|
15800
|
+
cache_creation_12h?: {
|
|
15801
|
+
cost: number | null;
|
|
15802
|
+
count: number;
|
|
15803
|
+
} | null;
|
|
15788
15804
|
cache_creation_1h?: {
|
|
15789
15805
|
cost: number | null;
|
|
15790
15806
|
count: number;
|
|
@@ -15851,6 +15867,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15851
15867
|
cost: number | null;
|
|
15852
15868
|
count: number;
|
|
15853
15869
|
} | null;
|
|
15870
|
+
cache_creation_12h?: {
|
|
15871
|
+
cost: number | null;
|
|
15872
|
+
count: number;
|
|
15873
|
+
} | null;
|
|
15854
15874
|
cache_creation_1h?: {
|
|
15855
15875
|
cost: number | null;
|
|
15856
15876
|
count: number;
|
|
@@ -15867,7 +15887,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15867
15887
|
cost: number | null;
|
|
15868
15888
|
count: number;
|
|
15869
15889
|
};
|
|
15870
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
15890
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
15871
15891
|
output: {
|
|
15872
15892
|
cost: number | null;
|
|
15873
15893
|
count: number;
|
|
@@ -15889,6 +15909,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15889
15909
|
cost: number | null;
|
|
15890
15910
|
count: number;
|
|
15891
15911
|
} | null;
|
|
15912
|
+
cache_creation_12h?: {
|
|
15913
|
+
cost: number | null;
|
|
15914
|
+
count: number;
|
|
15915
|
+
} | null;
|
|
15892
15916
|
cache_creation_1h?: {
|
|
15893
15917
|
cost: number | null;
|
|
15894
15918
|
count: number;
|
|
@@ -15944,6 +15968,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15944
15968
|
cost: number | null;
|
|
15945
15969
|
count: number;
|
|
15946
15970
|
} | null;
|
|
15971
|
+
cache_creation_12h?: {
|
|
15972
|
+
cost: number | null;
|
|
15973
|
+
count: number;
|
|
15974
|
+
} | null;
|
|
15947
15975
|
cache_creation_1h?: {
|
|
15948
15976
|
cost: number | null;
|
|
15949
15977
|
count: number;
|
|
@@ -15960,7 +15988,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15960
15988
|
cost: number | null;
|
|
15961
15989
|
count: number;
|
|
15962
15990
|
};
|
|
15963
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
15991
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
15964
15992
|
output: {
|
|
15965
15993
|
cost: number | null;
|
|
15966
15994
|
count: number;
|
|
@@ -15982,6 +16010,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
15982
16010
|
cost: number | null;
|
|
15983
16011
|
count: number;
|
|
15984
16012
|
} | null;
|
|
16013
|
+
cache_creation_12h?: {
|
|
16014
|
+
cost: number | null;
|
|
16015
|
+
count: number;
|
|
16016
|
+
} | null;
|
|
15985
16017
|
cache_creation_1h?: {
|
|
15986
16018
|
cost: number | null;
|
|
15987
16019
|
count: number;
|
|
@@ -22092,6 +22124,7 @@ export type ProviderConfigDraftsUpdateProviderDraftData = {
|
|
|
22092
22124
|
body: {
|
|
22093
22125
|
configSnapshotPatch: {
|
|
22094
22126
|
baseUrl?: string | null;
|
|
22127
|
+
billingModeOverride?: 'api' | null;
|
|
22095
22128
|
blockedModels?: Array<string> | null;
|
|
22096
22129
|
customModelIds?: Array<string> | null;
|
|
22097
22130
|
modelPolicy?: 'allowlist' | 'denylist' | null;
|
|
@@ -26505,6 +26538,10 @@ export type SessionsListSessionsResponses = {
|
|
|
26505
26538
|
cost: number | null;
|
|
26506
26539
|
count: number;
|
|
26507
26540
|
} | null;
|
|
26541
|
+
cache_creation_12h?: {
|
|
26542
|
+
cost: number | null;
|
|
26543
|
+
count: number;
|
|
26544
|
+
} | null;
|
|
26508
26545
|
cache_creation_1h?: {
|
|
26509
26546
|
cost: number | null;
|
|
26510
26547
|
count: number;
|
|
@@ -26521,7 +26558,7 @@ export type SessionsListSessionsResponses = {
|
|
|
26521
26558
|
cost: number | null;
|
|
26522
26559
|
count: number;
|
|
26523
26560
|
};
|
|
26524
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
26561
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
26525
26562
|
output: {
|
|
26526
26563
|
cost: number | null;
|
|
26527
26564
|
count: number;
|
|
@@ -26543,6 +26580,10 @@ export type SessionsListSessionsResponses = {
|
|
|
26543
26580
|
cost: number | null;
|
|
26544
26581
|
count: number;
|
|
26545
26582
|
} | null;
|
|
26583
|
+
cache_creation_12h?: {
|
|
26584
|
+
cost: number | null;
|
|
26585
|
+
count: number;
|
|
26586
|
+
} | null;
|
|
26546
26587
|
cache_creation_1h?: {
|
|
26547
26588
|
cost: number | null;
|
|
26548
26589
|
count: number;
|
|
@@ -26590,6 +26631,14 @@ export type SessionsListSessionsResponses = {
|
|
|
26590
26631
|
number: number;
|
|
26591
26632
|
state: 'open' | 'draft' | 'merged' | 'closed';
|
|
26592
26633
|
url: string;
|
|
26634
|
+
/**
|
|
26635
|
+
* 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.
|
|
26636
|
+
*/
|
|
26637
|
+
usage?: {
|
|
26638
|
+
apiEquivalentUsd: number | null;
|
|
26639
|
+
requests: number;
|
|
26640
|
+
tokens: number;
|
|
26641
|
+
} | null;
|
|
26593
26642
|
}>;
|
|
26594
26643
|
requestCount: number;
|
|
26595
26644
|
sessionId: string;
|
|
@@ -26729,6 +26778,10 @@ export type SessionsGetSessionResponses = {
|
|
|
26729
26778
|
cost: number | null;
|
|
26730
26779
|
count: number;
|
|
26731
26780
|
} | null;
|
|
26781
|
+
cache_creation_12h?: {
|
|
26782
|
+
cost: number | null;
|
|
26783
|
+
count: number;
|
|
26784
|
+
} | null;
|
|
26732
26785
|
cache_creation_1h?: {
|
|
26733
26786
|
cost: number | null;
|
|
26734
26787
|
count: number;
|
|
@@ -26745,7 +26798,7 @@ export type SessionsGetSessionResponses = {
|
|
|
26745
26798
|
cost: number | null;
|
|
26746
26799
|
count: number;
|
|
26747
26800
|
};
|
|
26748
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
26801
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
26749
26802
|
output: {
|
|
26750
26803
|
cost: number | null;
|
|
26751
26804
|
count: number;
|
|
@@ -26767,6 +26820,10 @@ export type SessionsGetSessionResponses = {
|
|
|
26767
26820
|
cost: number | null;
|
|
26768
26821
|
count: number;
|
|
26769
26822
|
} | null;
|
|
26823
|
+
cache_creation_12h?: {
|
|
26824
|
+
cost: number | null;
|
|
26825
|
+
count: number;
|
|
26826
|
+
} | null;
|
|
26770
26827
|
cache_creation_1h?: {
|
|
26771
26828
|
cost: number | null;
|
|
26772
26829
|
count: number;
|
|
@@ -26814,6 +26871,14 @@ export type SessionsGetSessionResponses = {
|
|
|
26814
26871
|
number: number;
|
|
26815
26872
|
state: 'open' | 'draft' | 'merged' | 'closed';
|
|
26816
26873
|
url: string;
|
|
26874
|
+
/**
|
|
26875
|
+
* 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.
|
|
26876
|
+
*/
|
|
26877
|
+
usage?: {
|
|
26878
|
+
apiEquivalentUsd: number | null;
|
|
26879
|
+
requests: number;
|
|
26880
|
+
tokens: number;
|
|
26881
|
+
} | null;
|
|
26817
26882
|
}>;
|
|
26818
26883
|
requestCount: number;
|
|
26819
26884
|
sessionId: string;
|
|
@@ -26986,6 +27051,10 @@ export type TracesListTracesResponses = {
|
|
|
26986
27051
|
cost: number | null;
|
|
26987
27052
|
count: number;
|
|
26988
27053
|
} | null;
|
|
27054
|
+
cache_creation_12h?: {
|
|
27055
|
+
cost: number | null;
|
|
27056
|
+
count: number;
|
|
27057
|
+
} | null;
|
|
26989
27058
|
cache_creation_1h?: {
|
|
26990
27059
|
cost: number | null;
|
|
26991
27060
|
count: number;
|
|
@@ -27002,7 +27071,7 @@ export type TracesListTracesResponses = {
|
|
|
27002
27071
|
cost: number | null;
|
|
27003
27072
|
count: number;
|
|
27004
27073
|
};
|
|
27005
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
27074
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
27006
27075
|
output: {
|
|
27007
27076
|
cost: number | null;
|
|
27008
27077
|
count: number;
|
|
@@ -27024,6 +27093,10 @@ export type TracesListTracesResponses = {
|
|
|
27024
27093
|
cost: number | null;
|
|
27025
27094
|
count: number;
|
|
27026
27095
|
} | null;
|
|
27096
|
+
cache_creation_12h?: {
|
|
27097
|
+
cost: number | null;
|
|
27098
|
+
count: number;
|
|
27099
|
+
} | null;
|
|
27027
27100
|
cache_creation_1h?: {
|
|
27028
27101
|
cost: number | null;
|
|
27029
27102
|
count: number;
|
|
@@ -27417,6 +27490,10 @@ export type TracesGetTraceDetailResponses = {
|
|
|
27417
27490
|
cost: number | null;
|
|
27418
27491
|
count: number;
|
|
27419
27492
|
} | null;
|
|
27493
|
+
cache_creation_12h?: {
|
|
27494
|
+
cost: number | null;
|
|
27495
|
+
count: number;
|
|
27496
|
+
} | null;
|
|
27420
27497
|
cache_creation_1h?: {
|
|
27421
27498
|
cost: number | null;
|
|
27422
27499
|
count: number;
|
|
@@ -27433,7 +27510,7 @@ export type TracesGetTraceDetailResponses = {
|
|
|
27433
27510
|
cost: number | null;
|
|
27434
27511
|
count: number;
|
|
27435
27512
|
};
|
|
27436
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
27513
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
27437
27514
|
output: {
|
|
27438
27515
|
cost: number | null;
|
|
27439
27516
|
count: number;
|
|
@@ -27455,6 +27532,10 @@ export type TracesGetTraceDetailResponses = {
|
|
|
27455
27532
|
cost: number | null;
|
|
27456
27533
|
count: number;
|
|
27457
27534
|
} | null;
|
|
27535
|
+
cache_creation_12h?: {
|
|
27536
|
+
cost: number | null;
|
|
27537
|
+
count: number;
|
|
27538
|
+
} | null;
|
|
27458
27539
|
cache_creation_1h?: {
|
|
27459
27540
|
cost: number | null;
|
|
27460
27541
|
count: number;
|
|
@@ -27509,6 +27590,10 @@ export type TracesGetTraceDetailResponses = {
|
|
|
27509
27590
|
cost: number | null;
|
|
27510
27591
|
count: number;
|
|
27511
27592
|
} | null;
|
|
27593
|
+
cache_creation_12h?: {
|
|
27594
|
+
cost: number | null;
|
|
27595
|
+
count: number;
|
|
27596
|
+
} | null;
|
|
27512
27597
|
cache_creation_1h?: {
|
|
27513
27598
|
cost: number | null;
|
|
27514
27599
|
count: number;
|
|
@@ -27525,7 +27610,7 @@ export type TracesGetTraceDetailResponses = {
|
|
|
27525
27610
|
cost: number | null;
|
|
27526
27611
|
count: number;
|
|
27527
27612
|
};
|
|
27528
|
-
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
|
|
27613
|
+
missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
|
|
27529
27614
|
output: {
|
|
27530
27615
|
cost: number | null;
|
|
27531
27616
|
count: number;
|