Skip to content

Commit 8a06f81

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#3)
1 parent 122db21 commit 8a06f81

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 18
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-0069ed71133ac7b0add07abd8562396c4b8e3c9a212e14a7586782eeed2ff373.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-825ce446567db7e2dcda332131368fcaf1986bae2eff640205b4e1f7b582aaa4.yml

src/resources/sessions/sessions.ts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,45 @@ export interface Session {
6464

6565
createdAt: string;
6666

67+
expiresAt: string;
68+
69+
/**
70+
* Indicates if the Session was created to be kept alive upon disconnections
71+
*/
72+
keepAlive: boolean;
73+
74+
/**
75+
* The Project ID linked to the Session.
76+
*/
77+
projectId: string;
78+
79+
/**
80+
* Bytes used via the [Proxy](/features/stealth-mode#proxies-and-residential-ips)
81+
*/
82+
proxyBytes: number;
83+
84+
startedAt: string;
85+
86+
status: 'RUNNING' | 'ERROR' | 'TIMED_OUT' | 'COMPLETED';
87+
6788
updatedAt: string;
89+
90+
/**
91+
* CPU used by the Session
92+
*/
93+
avgCpuUsage?: number;
94+
95+
/**
96+
* Optional. The Context linked to the Session.
97+
*/
98+
contextId?: string;
99+
100+
endedAt?: string;
101+
102+
/**
103+
* Memory used by the Session
104+
*/
105+
memoryUsage?: number;
68106
}
69107

70108
export interface SessionLiveURLs {

0 commit comments

Comments
 (0)