@@ -5601,7 +5601,7 @@ paths:
5601
5601
"end_time": 1730505600,
5602
5602
"results": [
5603
5603
{
5604
- "object": "orgainzation .usage.audio_speeches.result",
5604
+ "object": "organization .usage.audio_speeches.result",
5605
5605
"characters": 45,
5606
5606
"num_model_requests": 1,
5607
5607
"project_id": null,
@@ -12901,10 +12901,12 @@ components:
12901
12901
description: Lowercase ISO-4217 currency e.g. "usd"
12902
12902
line_item:
12903
12903
type: string
12904
+ nullable: true
12904
12905
description: When `group_by=line_item`, this field provides the line item of the
12905
12906
grouped costs result.
12906
12907
project_id:
12907
12908
type: string
12909
+ nullable: true
12908
12910
description: When `group_by=project_id`, this field provides the project ID of
12909
12911
the grouped costs result.
12910
12912
required:
@@ -23206,18 +23208,22 @@ components:
23206
23208
description: The count of requests made to the model.
23207
23209
project_id:
23208
23210
type: string
23211
+ nullable: true
23209
23212
description: When `group_by=project_id`, this field provides the project ID of
23210
23213
the grouped usage result.
23211
23214
user_id:
23212
23215
type: string
23216
+ nullable: true
23213
23217
description: When `group_by=user_id`, this field provides the user ID of the
23214
23218
grouped usage result.
23215
23219
api_key_id:
23216
23220
type: string
23221
+ nullable: true
23217
23222
description: When `group_by=api_key_id`, this field provides the API key ID of
23218
23223
the grouped usage result.
23219
23224
model:
23220
23225
type: string
23226
+ nullable: true
23221
23227
description: When `group_by=model`, this field provides the model name of the
23222
23228
grouped usage result.
23223
23229
required:
@@ -23253,18 +23259,22 @@ components:
23253
23259
description: The count of requests made to the model.
23254
23260
project_id:
23255
23261
type: string
23262
+ nullable: true
23256
23263
description: When `group_by=project_id`, this field provides the project ID of
23257
23264
the grouped usage result.
23258
23265
user_id:
23259
23266
type: string
23267
+ nullable: true
23260
23268
description: When `group_by=user_id`, this field provides the user ID of the
23261
23269
grouped usage result.
23262
23270
api_key_id:
23263
23271
type: string
23272
+ nullable: true
23264
23273
description: When `group_by=api_key_id`, this field provides the API key ID of
23265
23274
the grouped usage result.
23266
23275
model:
23267
23276
type: string
23277
+ nullable: true
23268
23278
description: When `group_by=model`, this field provides the model name of the
23269
23279
grouped usage result.
23270
23280
required:
@@ -23297,6 +23307,7 @@ components:
23297
23307
description: The number of code interpreter sessions.
23298
23308
project_id:
23299
23309
type: string
23310
+ nullable: true
23300
23311
description: When `group_by=project_id`, this field provides the project ID of
23301
23312
the grouped usage result.
23302
23313
required:
@@ -23320,35 +23331,43 @@ components:
23320
23331
- organization.usage.completions.result
23321
23332
input_tokens:
23322
23333
type: integer
23323
- description: The number of input tokens used.
23334
+ description: The aggregated number of input tokens used. For customers subscribe
23335
+ to scale tier, this includes scale tier tokens.
23324
23336
input_cached_tokens:
23325
23337
type: integer
23326
- description: The number of input tokens that has been cached from previous
23327
- requests.
23338
+ description: The aggregated number of input tokens that has been cached from
23339
+ previous requests. For customers subscribe to scale tier, this
23340
+ includes scale tier tokens.
23328
23341
output_tokens:
23329
23342
type: integer
23330
- description: The number of output tokens used.
23343
+ description: The aggregated number of output tokens used. For customers
23344
+ subscribe to scale tier, this includes scale tier tokens.
23331
23345
num_model_requests:
23332
23346
type: integer
23333
23347
description: The count of requests made to the model.
23334
23348
project_id:
23335
23349
type: string
23350
+ nullable: true
23336
23351
description: When `group_by=project_id`, this field provides the project ID of
23337
23352
the grouped usage result.
23338
23353
user_id:
23339
23354
type: string
23355
+ nullable: true
23340
23356
description: When `group_by=user_id`, this field provides the user ID of the
23341
23357
grouped usage result.
23342
23358
api_key_id:
23343
23359
type: string
23360
+ nullable: true
23344
23361
description: When `group_by=api_key_id`, this field provides the API key ID of
23345
23362
the grouped usage result.
23346
23363
model:
23347
23364
type: string
23365
+ nullable: true
23348
23366
description: When `group_by=model`, this field provides the model name of the
23349
23367
grouped usage result.
23350
23368
batch:
23351
23369
type: boolean
23370
+ nullable: true
23352
23371
description: When `group_by=batch`, this field tells whether the grouped usage
23353
23372
result is batch or not.
23354
23373
required:
@@ -23381,24 +23400,28 @@ components:
23381
23400
- organization.usage.embeddings.result
23382
23401
input_tokens:
23383
23402
type: integer
23384
- description: The number of input tokens used.
23403
+ description: The aggregated number of input tokens used.
23385
23404
num_model_requests:
23386
23405
type: integer
23387
23406
description: The count of requests made to the model.
23388
23407
project_id:
23389
23408
type: string
23409
+ nullable: true
23390
23410
description: When `group_by=project_id`, this field provides the project ID of
23391
23411
the grouped usage result.
23392
23412
user_id:
23393
23413
type: string
23414
+ nullable: true
23394
23415
description: When `group_by=user_id`, this field provides the user ID of the
23395
23416
grouped usage result.
23396
23417
api_key_id:
23397
23418
type: string
23419
+ nullable: true
23398
23420
description: When `group_by=api_key_id`, this field provides the API key ID of
23399
23421
the grouped usage result.
23400
23422
model:
23401
23423
type: string
23424
+ nullable: true
23402
23425
description: When `group_by=model`, this field provides the model name of the
23403
23426
grouped usage result.
23404
23427
required:
@@ -23433,27 +23456,33 @@ components:
23433
23456
description: The count of requests made to the model.
23434
23457
source:
23435
23458
type: string
23459
+ nullable: true
23436
23460
description: When `group_by=source`, this field provides the source of the
23437
23461
grouped usage result, possible values are `image.generation`,
23438
23462
`image.edit`, `image.variation`.
23439
23463
size:
23440
23464
type: string
23465
+ nullable: true
23441
23466
description: When `group_by=size`, this field provides the image size of the
23442
23467
grouped usage result.
23443
23468
project_id:
23444
23469
type: string
23470
+ nullable: true
23445
23471
description: When `group_by=project_id`, this field provides the project ID of
23446
23472
the grouped usage result.
23447
23473
user_id:
23448
23474
type: string
23475
+ nullable: true
23449
23476
description: When `group_by=user_id`, this field provides the user ID of the
23450
23477
grouped usage result.
23451
23478
api_key_id:
23452
23479
type: string
23480
+ nullable: true
23453
23481
description: When `group_by=api_key_id`, this field provides the API key ID of
23454
23482
the grouped usage result.
23455
23483
model:
23456
23484
type: string
23485
+ nullable: true
23457
23486
description: When `group_by=model`, this field provides the model name of the
23458
23487
grouped usage result.
23459
23488
required:
@@ -23484,24 +23513,28 @@ components:
23484
23513
- organization.usage.moderations.result
23485
23514
input_tokens:
23486
23515
type: integer
23487
- description: The number of input tokens used.
23516
+ description: The aggregated number of input tokens used.
23488
23517
num_model_requests:
23489
23518
type: integer
23490
23519
description: The count of requests made to the model.
23491
23520
project_id:
23492
23521
type: string
23522
+ nullable: true
23493
23523
description: When `group_by=project_id`, this field provides the project ID of
23494
23524
the grouped usage result.
23495
23525
user_id:
23496
23526
type: string
23527
+ nullable: true
23497
23528
description: When `group_by=user_id`, this field provides the user ID of the
23498
23529
grouped usage result.
23499
23530
api_key_id:
23500
23531
type: string
23532
+ nullable: true
23501
23533
description: When `group_by=api_key_id`, this field provides the API key ID of
23502
23534
the grouped usage result.
23503
23535
model:
23504
23536
type: string
23537
+ nullable: true
23505
23538
description: When `group_by=model`, this field provides the model name of the
23506
23539
grouped usage result.
23507
23540
required:
@@ -23582,6 +23615,7 @@ components:
23582
23615
description: The vector stores usage in bytes.
23583
23616
project_id:
23584
23617
type: string
23618
+ nullable: true
23585
23619
description: When `group_by=project_id`, this field provides the project ID of
23586
23620
the grouped usage result.
23587
23621
required:
0 commit comments