1226 1226
1227 The IDs of vaults made available to the session.1227 The IDs of vaults made available to the session.
1228 1228
1229 - `spend_control: optional object { consumed, limit }`
1230
1231 Configured spending limit and best-effort consumption, in USD cents. Unlimited sessions omit this object.
1232
1233 - `consumed: number or null`
1234
1235 Best-effort recorded spend floored to whole USD cents, or null when unavailable.
1236
1237 - `limit: number`
1238
1239 The configured positive limit in USD cents.
1240
1241- `type: "agent.session.created"`1229- `type: "agent.session.created"`
1242 1230
1243 The type of the object. Always `agent.session.created`.1231 The type of the object. Always `agent.session.created`.
1251 "type": "agent.session.created",1239 "type": "agent.session.created",
1252 "event_id": "event_id",1240 "event_id": "event_id",
1253 "session": {1241 "session": {
1254 "spend_control": {
1255 "limit": 1,
1256 "consumed": 0
1257 },
1258 "metadata": {1242 "metadata": {
1259 "foo": "string"1243 "foo": "string"
1260 },1244 },
4442 4426
4443 The IDs of vaults made available to the session.4427 The IDs of vaults made available to the session.
4444 4428
4445 - `spend_control: optional object { consumed, limit }`
4446
4447 Configured spending limit and best-effort consumption, in USD cents. Unlimited sessions omit this object.
4448
4449 - `consumed: number or null`
4450
4451 Best-effort recorded spend floored to whole USD cents, or null when unavailable.
4452
4453 - `limit: number`
4454
4455 The configured positive limit in USD cents.
4456
4457- `type: "agent.session.idle"`4429- `type: "agent.session.idle"`
4458 4430
4459 The type of the object. Always `agent.session.idle`.4431 The type of the object. Always `agent.session.idle`.
4467 "type": "agent.session.idle",4439 "type": "agent.session.idle",
4468 "event_id": "event_id",4440 "event_id": "event_id",
4469 "session": {4441 "session": {
4470 "spend_control": {
4471 "limit": 1,
4472 "consumed": 0
4473 },
4474 "metadata": {4442 "metadata": {
4475 "foo": "string"4443 "foo": "string"
4476 },4444 },
5356 5324
5357 The IDs of vaults made available to the session.5325 The IDs of vaults made available to the session.
5358 5326
5359 - `spend_control: optional object { consumed, limit }`
5360
5361 Configured spending limit and best-effort consumption, in USD cents. Unlimited sessions omit this object.
5362
5363 - `consumed: number or null`
5364
5365 Best-effort recorded spend floored to whole USD cents, or null when unavailable.
5366
5367 - `limit: number`
5368
5369 The configured positive limit in USD cents.
5370
5371- `type: "agent.session.in_progress"`5327- `type: "agent.session.in_progress"`
5372 5328
5373 The type of the object. Always `agent.session.in_progress`.5329 The type of the object. Always `agent.session.in_progress`.
5381 "type": "agent.session.in_progress",5337 "type": "agent.session.in_progress",
5382 "event_id": "event_id",5338 "event_id": "event_id",
5383 "session": {5339 "session": {
5384 "spend_control": {
5385 "limit": 1,
5386 "consumed": 0
5387 },
5388 "metadata": {5340 "metadata": {
5389 "foo": "string"5341 "foo": "string"
5390 },5342 },
6270 6222
6271 The IDs of vaults made available to the session.6223 The IDs of vaults made available to the session.
6272 6224
6273 - `spend_control: optional object { consumed, limit }`
6274
6275 Configured spending limit and best-effort consumption, in USD cents. Unlimited sessions omit this object.
6276
6277 - `consumed: number or null`
6278
6279 Best-effort recorded spend floored to whole USD cents, or null when unavailable.
6280
6281 - `limit: number`
6282
6283 The configured positive limit in USD cents.
6284
6285- `type: "agent.session.requires_action"`6225- `type: "agent.session.requires_action"`
6286 6226
6287 The type of the object. Always `agent.session.requires_action`.6227 The type of the object. Always `agent.session.requires_action`.
6295 "type": "agent.session.requires_action",6235 "type": "agent.session.requires_action",
6296 "event_id": "event_id",6236 "event_id": "event_id",
6297 "session": {6237 "session": {
6298 "spend_control": {
6299 "limit": 1,
6300 "consumed": 0
6301 },
6302 "metadata": {6238 "metadata": {
6303 "foo": "string"6239 "foo": "string"
6304 },6240 },
7184 7120
7185 The IDs of vaults made available to the session.7121 The IDs of vaults made available to the session.
7186 7122
7187 - `spend_control: optional object { consumed, limit }`
7188
7189 Configured spending limit and best-effort consumption, in USD cents. Unlimited sessions omit this object.
7190
7191 - `consumed: number or null`
7192
7193 Best-effort recorded spend floored to whole USD cents, or null when unavailable.
7194
7195 - `limit: number`
7196
7197 The configured positive limit in USD cents.
7198
7199- `type: "agent.session.failed"`7123- `type: "agent.session.failed"`
7200 7124
7201 The type of the object. Always `agent.session.failed`.7125 The type of the object. Always `agent.session.failed`.
7209 "type": "agent.session.failed",7133 "type": "agent.session.failed",
7210 "event_id": "event_id",7134 "event_id": "event_id",
7211 "session": {7135 "session": {
7212 "spend_control": {
7213 "limit": 1,
7214 "consumed": 0
7215 },
7216 "metadata": {7136 "metadata": {
7217 "foo": "string"7137 "foo": "string"
7218 },7138 },