You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Number of tokens used in the search",
11303
+
"minimum": 0
11304
+
},
11287
11305
"top_score": {
11288
11306
"type": "number",
11289
11307
"format": "float",
@@ -11302,6 +11320,7 @@
11302
11320
"title": "RAG",
11303
11321
"required": [
11304
11322
"user_message",
11323
+
"tokens",
11305
11324
"event_type"
11306
11325
],
11307
11326
"properties": {
@@ -11362,6 +11381,12 @@
11362
11381
"description": "The search id to associate the RAG event with a search",
11363
11382
"nullable": true
11364
11383
},
11384
+
"tokens": {
11385
+
"type": "integer",
11386
+
"format": "int64",
11387
+
"description": "The number of tokens used for this chat",
11388
+
"minimum": 0
11389
+
},
11365
11390
"topic_id": {
11366
11391
"type": "string",
11367
11392
"format": "uuid",
@@ -11476,6 +11501,87 @@
11476
11501
"filter_clicked"
11477
11502
]
11478
11503
},
11504
+
"ExtendedOrganizationUsageCount": {
11505
+
"type": "object",
11506
+
"required": [
11507
+
"search_tokens",
11508
+
"message_tokens",
11509
+
"dataset_count",
11510
+
"user_count",
11511
+
"file_storage",
11512
+
"message_count",
11513
+
"search_count",
11514
+
"chunk_count",
11515
+
"bytes_ingested",
11516
+
"tokens_ingested",
11517
+
"ocr_pages_ingested",
11518
+
"website_pages_scraped",
11519
+
"events_ingested"
11520
+
],
11521
+
"properties": {
11522
+
"bytes_ingested": {
11523
+
"type": "integer",
11524
+
"format": "int64",
11525
+
"minimum": 0
11526
+
},
11527
+
"chunk_count": {
11528
+
"type": "integer",
11529
+
"format": "int32"
11530
+
},
11531
+
"dataset_count": {
11532
+
"type": "integer",
11533
+
"format": "int32"
11534
+
},
11535
+
"events_ingested": {
11536
+
"type": "integer",
11537
+
"format": "int64",
11538
+
"minimum": 0
11539
+
},
11540
+
"file_storage": {
11541
+
"type": "integer",
11542
+
"format": "int64"
11543
+
},
11544
+
"message_count": {
11545
+
"type": "integer",
11546
+
"format": "int64",
11547
+
"minimum": 0
11548
+
},
11549
+
"message_tokens": {
11550
+
"type": "integer",
11551
+
"format": "int64",
11552
+
"minimum": 0
11553
+
},
11554
+
"ocr_pages_ingested": {
11555
+
"type": "integer",
11556
+
"format": "int64",
11557
+
"minimum": 0
11558
+
},
11559
+
"search_count": {
11560
+
"type": "integer",
11561
+
"format": "int64",
11562
+
"minimum": 0
11563
+
},
11564
+
"search_tokens": {
11565
+
"type": "integer",
11566
+
"format": "int64",
11567
+
"minimum": 0
11568
+
},
11569
+
"tokens_ingested": {
11570
+
"type": "integer",
11571
+
"format": "int64",
11572
+
"minimum": 0
11573
+
},
11574
+
"user_count": {
11575
+
"type": "integer",
11576
+
"format": "int32"
11577
+
},
11578
+
"website_pages_scraped": {
11579
+
"type": "integer",
11580
+
"format": "int64",
11581
+
"minimum": 0
11582
+
}
11583
+
}
11584
+
},
11479
11585
"FieldCondition": {
11480
11586
"type": "object",
11481
11587
"description": "FieldCondition is a JSON object which can be used to filter chunks by a field. This is useful for when you want to filter chunks by arbitrary metadata. To access fields inside of the metadata that you provide with the card, prefix the field name with `metadata.`.",
* FieldCondition is a JSON object which can be used to filter chunks by a field. This is useful for when you want to filter chunks by arbitrary metadata. To access fields inside of the metadata that you provide with the card, prefix the field name with `metadata.`.
1645
1669
*/
@@ -1910,6 +1934,10 @@ export type GetGroupsForChunksReqPayload = {
1910
1934
chunk_tracking_ids?: Array<(string)>|null;
1911
1935
};
1912
1936
1937
+
exporttypeGetOrganizationUsageReqPayload={
1938
+
date_range?: ((DateRange)|null);
1939
+
};
1940
+
1913
1941
exporttypeGetPagefindIndexResponse={
1914
1942
url: string;
1915
1943
};
@@ -4035,6 +4063,7 @@ export type WorkerEvent = {
4035
4063
event_data: string;
4036
4064
event_type: string;
4037
4065
id: string;
4066
+
organization_id?: (string)|null;
4038
4067
};
4039
4068
4040
4069
exporttypeSendCtrDataData={
@@ -5310,13 +5339,17 @@ export type GetOrganizationUsageData = {
5310
5339
* The id of the organization you want to fetch the usage of.
5311
5340
*/
5312
5341
organizationId: string;
5342
+
/**
5343
+
* The organization usage timeframe that you want to fetch
0 commit comments