File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed
tests/api-resources/sessions Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 18
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-7d749df7d5d78af46e1469203f20eca5dedd2f06076b3191f44ef921f4b10596 .yml
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-3b940292f5146d4659546ef49685da0a2877a622957e2cf48c6bc2ccf3c153ca .yml
Original file line number Diff line number Diff line change @@ -111,6 +111,11 @@ export interface Session {
111
111
* Memory used by the Session
112
112
*/
113
113
memoryUsage ?: number ;
114
+
115
+ /**
116
+ * Arbitrary user metadata to attach to the session.
117
+ */
118
+ userMetadata ?: unknown ;
114
119
}
115
120
116
121
export interface SessionLiveURLs {
@@ -203,6 +208,11 @@ export interface SessionCreateResponse {
203
208
* Memory used by the Session
204
209
*/
205
210
memoryUsage ?: number ;
211
+
212
+ /**
213
+ * Arbitrary user metadata to attach to the session.
214
+ */
215
+ userMetadata ?: unknown ;
206
216
}
207
217
208
218
export type SessionListResponse = Array < Session > ;
@@ -246,6 +256,11 @@ export interface SessionCreateParams {
246
256
* the Project's `defaultTimeout`.
247
257
*/
248
258
timeout ?: number ;
259
+
260
+ /**
261
+ * Arbitrary user metadata to attach to the session.
262
+ */
263
+ userMetadata ?: unknown ;
249
264
}
250
265
251
266
export namespace SessionCreateParams {
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ describe('resource sessions', () => {
45
45
proxies : true ,
46
46
region : 'us-west-2' ,
47
47
timeout : 60 ,
48
+ userMetadata : { } ,
48
49
} ) ;
49
50
} ) ;
50
51
You can’t perform that action at this time.
0 commit comments