@breign/client 1.0.159 → 1.0.161
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/AiGatewayApi.d.ts +28 -1
- package/dist/apis/AiGatewayApi.js +63 -0
- package/dist/apis/PromptsApi.d.ts +41 -1
- package/dist/apis/PromptsApi.js +92 -0
- package/dist/models/AgentRateLimitSettingsUio.d.ts +80 -0
- package/dist/models/AgentRateLimitSettingsUio.js +80 -0
- package/dist/models/AgentRateLimitSettingsUpdateRequestUio.d.ts +50 -0
- package/dist/models/AgentRateLimitSettingsUpdateRequestUio.js +54 -0
- package/dist/models/AiGatewayModelTokenQuotaUio.d.ts +64 -0
- package/dist/models/AiGatewayModelTokenQuotaUio.js +72 -0
- package/dist/models/AiGatewaySettingsUio.d.ts +57 -0
- package/dist/models/AiGatewaySettingsUio.js +65 -0
- package/dist/models/AiGatewaySettingsUpdateRequestUio.d.ts +39 -0
- package/dist/models/AiGatewaySettingsUpdateRequestUio.js +51 -0
- package/dist/models/ChunkContentCreateUio.d.ts +16 -1
- package/dist/models/ChunkContentCreateUio.js +9 -0
- package/dist/models/FileAttachmentUploadResponseUio.d.ts +16 -1
- package/dist/models/FileAttachmentUploadResponseUio.js +9 -0
- package/dist/models/FileCreationResponseUio.d.ts +17 -2
- package/dist/models/FileCreationResponseUio.js +9 -0
- package/dist/models/ImageAttachmentUploadResponseUio.d.ts +16 -1
- package/dist/models/ImageAttachmentUploadResponseUio.js +9 -0
- package/dist/models/PromptRateLimitResponseUio.d.ts +50 -0
- package/dist/models/PromptRateLimitResponseUio.js +62 -0
- package/dist/models/S3UploadBodyUio.d.ts +17 -2
- package/dist/models/S3UploadBodyUio.js +9 -0
- package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.d.ts +3 -4
- package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.js +3 -2
- package/dist/models/UploadMethodUio.d.ts +25 -0
- package/dist/models/UploadMethodUio.js +51 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/openapi.json +418 -3
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -13544,6 +13544,155 @@
|
|
|
13544
13544
|
"tags" : [ "prompts" ]
|
|
13545
13545
|
}
|
|
13546
13546
|
},
|
|
13547
|
+
"/agents/{agentId}/prompts/rate-limit" : {
|
|
13548
|
+
"get" : {
|
|
13549
|
+
"description" : "Returns the current prompt rate-limit quota for the authenticated subject on the given agent, without consuming a slot.\n",
|
|
13550
|
+
"operationId" : "getPromptRateLimit",
|
|
13551
|
+
"parameters" : [ {
|
|
13552
|
+
"description" : "ID of the agent",
|
|
13553
|
+
"in" : "path",
|
|
13554
|
+
"name" : "agentId",
|
|
13555
|
+
"required" : true,
|
|
13556
|
+
"schema" : {
|
|
13557
|
+
"format" : "uuid",
|
|
13558
|
+
"type" : "string"
|
|
13559
|
+
}
|
|
13560
|
+
} ],
|
|
13561
|
+
"responses" : {
|
|
13562
|
+
"200" : {
|
|
13563
|
+
"content" : {
|
|
13564
|
+
"application/json" : {
|
|
13565
|
+
"schema" : {
|
|
13566
|
+
"$ref" : "#/components/schemas/PromptRateLimitResponse"
|
|
13567
|
+
}
|
|
13568
|
+
}
|
|
13569
|
+
},
|
|
13570
|
+
"description" : "Current prompt rate-limit usage",
|
|
13571
|
+
"headers" : {
|
|
13572
|
+
"X-RateLimit-Limit-Prompts" : {
|
|
13573
|
+
"description" : "Max prompts in the sliding window",
|
|
13574
|
+
"schema" : {
|
|
13575
|
+
"type" : "integer"
|
|
13576
|
+
}
|
|
13577
|
+
},
|
|
13578
|
+
"X-RateLimit-Remaining-Prompts" : {
|
|
13579
|
+
"description" : "Remaining prompts in the sliding window",
|
|
13580
|
+
"schema" : {
|
|
13581
|
+
"type" : "integer"
|
|
13582
|
+
}
|
|
13583
|
+
},
|
|
13584
|
+
"X-RateLimit-Reset-Prompts" : {
|
|
13585
|
+
"description" : "Seconds until the window slides",
|
|
13586
|
+
"schema" : {
|
|
13587
|
+
"type" : "integer"
|
|
13588
|
+
}
|
|
13589
|
+
}
|
|
13590
|
+
}
|
|
13591
|
+
},
|
|
13592
|
+
"401" : {
|
|
13593
|
+
"description" : "Unauthorized"
|
|
13594
|
+
},
|
|
13595
|
+
"403" : {
|
|
13596
|
+
"description" : "Forbidden - User cannot access this agent"
|
|
13597
|
+
},
|
|
13598
|
+
"404" : {
|
|
13599
|
+
"description" : "Agent not found"
|
|
13600
|
+
},
|
|
13601
|
+
"500" : {
|
|
13602
|
+
"description" : "Server error"
|
|
13603
|
+
}
|
|
13604
|
+
},
|
|
13605
|
+
"summary" : "Get prompt rate-limit usage",
|
|
13606
|
+
"tags" : [ "prompts" ]
|
|
13607
|
+
}
|
|
13608
|
+
},
|
|
13609
|
+
"/organizations/{organizationId}/agents/rate-limit/settings" : {
|
|
13610
|
+
"get" : {
|
|
13611
|
+
"description" : "Organization admin settings for agent chat anti-abuse limits.",
|
|
13612
|
+
"operationId" : "getAgentRateLimitSettings",
|
|
13613
|
+
"parameters" : [ {
|
|
13614
|
+
"description" : "ID of the organization",
|
|
13615
|
+
"in" : "path",
|
|
13616
|
+
"name" : "organizationId",
|
|
13617
|
+
"required" : true,
|
|
13618
|
+
"schema" : {
|
|
13619
|
+
"type" : "string"
|
|
13620
|
+
}
|
|
13621
|
+
} ],
|
|
13622
|
+
"responses" : {
|
|
13623
|
+
"200" : {
|
|
13624
|
+
"content" : {
|
|
13625
|
+
"application/json" : {
|
|
13626
|
+
"schema" : {
|
|
13627
|
+
"$ref" : "#/components/schemas/AgentRateLimitSettings"
|
|
13628
|
+
}
|
|
13629
|
+
}
|
|
13630
|
+
},
|
|
13631
|
+
"description" : "Current settings"
|
|
13632
|
+
},
|
|
13633
|
+
"401" : {
|
|
13634
|
+
"description" : "Unauthorized"
|
|
13635
|
+
},
|
|
13636
|
+
"403" : {
|
|
13637
|
+
"description" : "Forbidden"
|
|
13638
|
+
},
|
|
13639
|
+
"500" : {
|
|
13640
|
+
"description" : "Server error"
|
|
13641
|
+
}
|
|
13642
|
+
},
|
|
13643
|
+
"summary" : "Get agent chat rate limit settings",
|
|
13644
|
+
"tags" : [ "prompts" ]
|
|
13645
|
+
},
|
|
13646
|
+
"put" : {
|
|
13647
|
+
"description" : "Organization admin can set per-org chat agent rate limits.",
|
|
13648
|
+
"operationId" : "updateAgentRateLimitSettings",
|
|
13649
|
+
"parameters" : [ {
|
|
13650
|
+
"description" : "ID of the organization",
|
|
13651
|
+
"in" : "path",
|
|
13652
|
+
"name" : "organizationId",
|
|
13653
|
+
"required" : true,
|
|
13654
|
+
"schema" : {
|
|
13655
|
+
"type" : "string"
|
|
13656
|
+
}
|
|
13657
|
+
} ],
|
|
13658
|
+
"requestBody" : {
|
|
13659
|
+
"content" : {
|
|
13660
|
+
"application/json" : {
|
|
13661
|
+
"schema" : {
|
|
13662
|
+
"$ref" : "#/components/schemas/AgentRateLimitSettingsUpdateRequest"
|
|
13663
|
+
}
|
|
13664
|
+
}
|
|
13665
|
+
},
|
|
13666
|
+
"required" : true
|
|
13667
|
+
},
|
|
13668
|
+
"responses" : {
|
|
13669
|
+
"200" : {
|
|
13670
|
+
"content" : {
|
|
13671
|
+
"application/json" : {
|
|
13672
|
+
"schema" : {
|
|
13673
|
+
"$ref" : "#/components/schemas/AgentRateLimitSettings"
|
|
13674
|
+
}
|
|
13675
|
+
}
|
|
13676
|
+
},
|
|
13677
|
+
"description" : "Updated settings"
|
|
13678
|
+
},
|
|
13679
|
+
"400" : {
|
|
13680
|
+
"description" : "Invalid request"
|
|
13681
|
+
},
|
|
13682
|
+
"401" : {
|
|
13683
|
+
"description" : "Unauthorized"
|
|
13684
|
+
},
|
|
13685
|
+
"403" : {
|
|
13686
|
+
"description" : "Forbidden"
|
|
13687
|
+
},
|
|
13688
|
+
"500" : {
|
|
13689
|
+
"description" : "Server error"
|
|
13690
|
+
}
|
|
13691
|
+
},
|
|
13692
|
+
"summary" : "Update agent chat rate limit settings",
|
|
13693
|
+
"tags" : [ "prompts" ]
|
|
13694
|
+
}
|
|
13695
|
+
},
|
|
13547
13696
|
"/agents/{agentId}/prompts" : {
|
|
13548
13697
|
"post" : {
|
|
13549
13698
|
"description" : "Starts a new conversation session for the specified agent",
|
|
@@ -15222,6 +15371,93 @@
|
|
|
15222
15371
|
"tags" : [ "ai-gateway" ]
|
|
15223
15372
|
}
|
|
15224
15373
|
},
|
|
15374
|
+
"/organizations/{organizationId}/ai-gateway/settings" : {
|
|
15375
|
+
"get" : {
|
|
15376
|
+
"description" : "Organization admin settings for gateway RPM and per-model token quotas.",
|
|
15377
|
+
"operationId" : "getAiGatewaySettings",
|
|
15378
|
+
"parameters" : [ {
|
|
15379
|
+
"description" : "ID of the organization",
|
|
15380
|
+
"in" : "path",
|
|
15381
|
+
"name" : "organizationId",
|
|
15382
|
+
"required" : true,
|
|
15383
|
+
"schema" : {
|
|
15384
|
+
"type" : "string"
|
|
15385
|
+
}
|
|
15386
|
+
} ],
|
|
15387
|
+
"responses" : {
|
|
15388
|
+
"200" : {
|
|
15389
|
+
"content" : {
|
|
15390
|
+
"application/json" : {
|
|
15391
|
+
"schema" : {
|
|
15392
|
+
"$ref" : "#/components/schemas/AiGatewaySettings"
|
|
15393
|
+
}
|
|
15394
|
+
}
|
|
15395
|
+
},
|
|
15396
|
+
"description" : "Current settings"
|
|
15397
|
+
},
|
|
15398
|
+
"401" : {
|
|
15399
|
+
"description" : "Unauthorized"
|
|
15400
|
+
},
|
|
15401
|
+
"403" : {
|
|
15402
|
+
"description" : "Forbidden"
|
|
15403
|
+
},
|
|
15404
|
+
"500" : {
|
|
15405
|
+
"description" : "Server error"
|
|
15406
|
+
}
|
|
15407
|
+
},
|
|
15408
|
+
"summary" : "Get AI Gateway limits settings",
|
|
15409
|
+
"tags" : [ "ai-gateway" ]
|
|
15410
|
+
},
|
|
15411
|
+
"put" : {
|
|
15412
|
+
"description" : "Organization admin can set gateway RPM and per-model token quotas.",
|
|
15413
|
+
"operationId" : "updateAiGatewaySettings",
|
|
15414
|
+
"parameters" : [ {
|
|
15415
|
+
"description" : "ID of the organization",
|
|
15416
|
+
"in" : "path",
|
|
15417
|
+
"name" : "organizationId",
|
|
15418
|
+
"required" : true,
|
|
15419
|
+
"schema" : {
|
|
15420
|
+
"type" : "string"
|
|
15421
|
+
}
|
|
15422
|
+
} ],
|
|
15423
|
+
"requestBody" : {
|
|
15424
|
+
"content" : {
|
|
15425
|
+
"application/json" : {
|
|
15426
|
+
"schema" : {
|
|
15427
|
+
"$ref" : "#/components/schemas/AiGatewaySettingsUpdateRequest"
|
|
15428
|
+
}
|
|
15429
|
+
}
|
|
15430
|
+
},
|
|
15431
|
+
"required" : true
|
|
15432
|
+
},
|
|
15433
|
+
"responses" : {
|
|
15434
|
+
"200" : {
|
|
15435
|
+
"content" : {
|
|
15436
|
+
"application/json" : {
|
|
15437
|
+
"schema" : {
|
|
15438
|
+
"$ref" : "#/components/schemas/AiGatewaySettings"
|
|
15439
|
+
}
|
|
15440
|
+
}
|
|
15441
|
+
},
|
|
15442
|
+
"description" : "Updated settings"
|
|
15443
|
+
},
|
|
15444
|
+
"400" : {
|
|
15445
|
+
"description" : "Invalid request"
|
|
15446
|
+
},
|
|
15447
|
+
"401" : {
|
|
15448
|
+
"description" : "Unauthorized"
|
|
15449
|
+
},
|
|
15450
|
+
"403" : {
|
|
15451
|
+
"description" : "Forbidden"
|
|
15452
|
+
},
|
|
15453
|
+
"500" : {
|
|
15454
|
+
"description" : "Server error"
|
|
15455
|
+
}
|
|
15456
|
+
},
|
|
15457
|
+
"summary" : "Update AI Gateway limits settings",
|
|
15458
|
+
"tags" : [ "ai-gateway" ]
|
|
15459
|
+
}
|
|
15460
|
+
},
|
|
15225
15461
|
"/organizations/{organizationId}/ai-gateway/v1/models" : {
|
|
15226
15462
|
"get" : {
|
|
15227
15463
|
"description" : "Équivalent de `GET /v1/models` de l'AI Gateway Vercel, monté sous le préfixe organisation. Liste les modèles des providers configurés pour l'organisation.",
|
|
@@ -18229,16 +18465,29 @@
|
|
|
18229
18465
|
"type" : "object"
|
|
18230
18466
|
},
|
|
18231
18467
|
"S3UploadBody" : {
|
|
18468
|
+
"description" : "Presigned upload target. `method` tells how to send the file: POST is a multipart form with the `formData` fields then the file as `file`; PUT is the raw file as body with `headers`.",
|
|
18232
18469
|
"properties" : {
|
|
18233
18470
|
"postURL" : {
|
|
18471
|
+
"description" : "Upload URL, to call with `method` despite its name.",
|
|
18234
18472
|
"type" : "string"
|
|
18235
18473
|
},
|
|
18474
|
+
"method" : {
|
|
18475
|
+
"$ref" : "#/components/schemas/UploadMethod"
|
|
18476
|
+
},
|
|
18477
|
+
"headers" : {
|
|
18478
|
+
"additionalProperties" : {
|
|
18479
|
+
"type" : "string"
|
|
18480
|
+
},
|
|
18481
|
+
"description" : "Headers to send with the upload request. Empty for POST.",
|
|
18482
|
+
"type" : "object"
|
|
18483
|
+
},
|
|
18236
18484
|
"formData" : {
|
|
18237
18485
|
"additionalProperties" : true,
|
|
18486
|
+
"description" : "Form fields of a POST upload. Empty for PUT.",
|
|
18238
18487
|
"type" : "object"
|
|
18239
18488
|
}
|
|
18240
18489
|
},
|
|
18241
|
-
"required" : [ "formData", "postURL" ],
|
|
18490
|
+
"required" : [ "formData", "headers", "method", "postURL" ],
|
|
18242
18491
|
"type" : "object"
|
|
18243
18492
|
},
|
|
18244
18493
|
"STTResponse" : {
|
|
@@ -23743,6 +23992,96 @@
|
|
|
23743
23992
|
"required" : [ "conversationId", "messageId", "text" ],
|
|
23744
23993
|
"type" : "object"
|
|
23745
23994
|
},
|
|
23995
|
+
"PromptRateLimitResponse" : {
|
|
23996
|
+
"description" : "Current prompt rate-limit usage for the calling subject on an agent",
|
|
23997
|
+
"properties" : {
|
|
23998
|
+
"limit" : {
|
|
23999
|
+
"description" : "Max prompts allowed in the sliding window",
|
|
24000
|
+
"type" : "integer"
|
|
24001
|
+
},
|
|
24002
|
+
"used" : {
|
|
24003
|
+
"description" : "Prompts already consumed in the current window",
|
|
24004
|
+
"type" : "integer"
|
|
24005
|
+
},
|
|
24006
|
+
"remaining" : {
|
|
24007
|
+
"description" : "Prompts left before rate limiting",
|
|
24008
|
+
"type" : "integer"
|
|
24009
|
+
},
|
|
24010
|
+
"resetSeconds" : {
|
|
24011
|
+
"description" : "Seconds until the oldest event in the window expires",
|
|
24012
|
+
"type" : "integer"
|
|
24013
|
+
}
|
|
24014
|
+
},
|
|
24015
|
+
"required" : [ "limit", "remaining", "resetSeconds", "used" ],
|
|
24016
|
+
"type" : "object"
|
|
24017
|
+
},
|
|
24018
|
+
"AgentRateLimitSettings" : {
|
|
24019
|
+
"properties" : {
|
|
24020
|
+
"organizationId" : {
|
|
24021
|
+
"format" : "uuid",
|
|
24022
|
+
"type" : "string"
|
|
24023
|
+
},
|
|
24024
|
+
"enabled" : {
|
|
24025
|
+
"description" : "Enable agent chat rate limiting for this organization",
|
|
24026
|
+
"type" : "boolean"
|
|
24027
|
+
},
|
|
24028
|
+
"maxConcurrentTurnsPerSubject" : {
|
|
24029
|
+
"description" : "Max concurrent agent turns per user (chat agent)",
|
|
24030
|
+
"minimum" : 1,
|
|
24031
|
+
"type" : "integer"
|
|
24032
|
+
},
|
|
24033
|
+
"maxConversationCreatesPerSubjectPerMinute" : {
|
|
24034
|
+
"description" : "Max new conversations per user per minute",
|
|
24035
|
+
"minimum" : 1,
|
|
24036
|
+
"type" : "integer"
|
|
24037
|
+
},
|
|
24038
|
+
"maxPromptsPerSubjectPerAgentPerMinute" : {
|
|
24039
|
+
"description" : "Max prompts (messages) per user per agent per minute",
|
|
24040
|
+
"minimum" : 1,
|
|
24041
|
+
"type" : "integer"
|
|
24042
|
+
},
|
|
24043
|
+
"windowMs" : {
|
|
24044
|
+
"description" : "Platform-fixed sliding window for prompt and conversation counters (milliseconds). Not configurable per organization.",
|
|
24045
|
+
"minimum" : 1000,
|
|
24046
|
+
"type" : "integer"
|
|
24047
|
+
},
|
|
24048
|
+
"concurrencyLeaseMs" : {
|
|
24049
|
+
"description" : "Platform-fixed max duration of a concurrency slot if release is never called (milliseconds). Not configurable per organization.",
|
|
24050
|
+
"minimum" : 1000,
|
|
24051
|
+
"type" : "integer"
|
|
24052
|
+
},
|
|
24053
|
+
"updatedAt" : {
|
|
24054
|
+
"format" : "date-time",
|
|
24055
|
+
"type" : "string"
|
|
24056
|
+
},
|
|
24057
|
+
"updatedBy" : {
|
|
24058
|
+
"nullable" : true,
|
|
24059
|
+
"type" : "string"
|
|
24060
|
+
}
|
|
24061
|
+
},
|
|
24062
|
+
"required" : [ "concurrencyLeaseMs", "enabled", "maxConcurrentTurnsPerSubject", "maxConversationCreatesPerSubjectPerMinute", "maxPromptsPerSubjectPerAgentPerMinute", "organizationId", "updatedAt", "windowMs" ],
|
|
24063
|
+
"type" : "object"
|
|
24064
|
+
},
|
|
24065
|
+
"AgentRateLimitSettingsUpdateRequest" : {
|
|
24066
|
+
"properties" : {
|
|
24067
|
+
"enabled" : {
|
|
24068
|
+
"type" : "boolean"
|
|
24069
|
+
},
|
|
24070
|
+
"maxConcurrentTurnsPerSubject" : {
|
|
24071
|
+
"minimum" : 1,
|
|
24072
|
+
"type" : "integer"
|
|
24073
|
+
},
|
|
24074
|
+
"maxConversationCreatesPerSubjectPerMinute" : {
|
|
24075
|
+
"minimum" : 1,
|
|
24076
|
+
"type" : "integer"
|
|
24077
|
+
},
|
|
24078
|
+
"maxPromptsPerSubjectPerAgentPerMinute" : {
|
|
24079
|
+
"minimum" : 1,
|
|
24080
|
+
"type" : "integer"
|
|
24081
|
+
}
|
|
24082
|
+
},
|
|
24083
|
+
"type" : "object"
|
|
24084
|
+
},
|
|
23746
24085
|
"PromptCreateRequest" : {
|
|
23747
24086
|
"allOf" : [ {
|
|
23748
24087
|
"$ref" : "#/components/schemas/PromptFlowCreateRequest"
|
|
@@ -24528,6 +24867,78 @@
|
|
|
24528
24867
|
"required" : [ "inputTokens", "key", "label", "outputTokens", "requests", "totalTokens" ],
|
|
24529
24868
|
"type" : "object"
|
|
24530
24869
|
},
|
|
24870
|
+
"AiGatewaySettings" : {
|
|
24871
|
+
"properties" : {
|
|
24872
|
+
"organizationId" : {
|
|
24873
|
+
"format" : "uuid",
|
|
24874
|
+
"type" : "string"
|
|
24875
|
+
},
|
|
24876
|
+
"gatewayRpm" : {
|
|
24877
|
+
"description" : "Max requests per minute per subject; null means unlimited",
|
|
24878
|
+
"nullable" : true,
|
|
24879
|
+
"type" : "integer"
|
|
24880
|
+
},
|
|
24881
|
+
"modelTokenQuotas" : {
|
|
24882
|
+
"items" : {
|
|
24883
|
+
"$ref" : "#/components/schemas/AiGatewayModelTokenQuota"
|
|
24884
|
+
},
|
|
24885
|
+
"type" : "array"
|
|
24886
|
+
},
|
|
24887
|
+
"updatedAt" : {
|
|
24888
|
+
"format" : "date-time",
|
|
24889
|
+
"type" : "string"
|
|
24890
|
+
},
|
|
24891
|
+
"updatedBy" : {
|
|
24892
|
+
"nullable" : true,
|
|
24893
|
+
"type" : "string"
|
|
24894
|
+
}
|
|
24895
|
+
},
|
|
24896
|
+
"required" : [ "gatewayRpm", "modelTokenQuotas", "organizationId", "updatedAt" ],
|
|
24897
|
+
"type" : "object"
|
|
24898
|
+
},
|
|
24899
|
+
"AiGatewayModelTokenQuota" : {
|
|
24900
|
+
"properties" : {
|
|
24901
|
+
"userId" : {
|
|
24902
|
+
"description" : "Breign user id this quota applies to",
|
|
24903
|
+
"type" : "string"
|
|
24904
|
+
},
|
|
24905
|
+
"model" : {
|
|
24906
|
+
"description" : "Bare model id or qualified providerId/modelId",
|
|
24907
|
+
"type" : "string"
|
|
24908
|
+
},
|
|
24909
|
+
"providerId" : {
|
|
24910
|
+
"nullable" : true,
|
|
24911
|
+
"type" : "string"
|
|
24912
|
+
},
|
|
24913
|
+
"limit" : {
|
|
24914
|
+
"description" : "Token cap for this user and period (input + output + reasoning)",
|
|
24915
|
+
"minimum" : 1,
|
|
24916
|
+
"type" : "integer"
|
|
24917
|
+
},
|
|
24918
|
+
"period" : {
|
|
24919
|
+
"enum" : [ "day", "month" ],
|
|
24920
|
+
"type" : "string"
|
|
24921
|
+
}
|
|
24922
|
+
},
|
|
24923
|
+
"required" : [ "limit", "model", "period", "userId" ],
|
|
24924
|
+
"type" : "object"
|
|
24925
|
+
},
|
|
24926
|
+
"AiGatewaySettingsUpdateRequest" : {
|
|
24927
|
+
"properties" : {
|
|
24928
|
+
"gatewayRpm" : {
|
|
24929
|
+
"minimum" : 1,
|
|
24930
|
+
"nullable" : true,
|
|
24931
|
+
"type" : "integer"
|
|
24932
|
+
},
|
|
24933
|
+
"modelTokenQuotas" : {
|
|
24934
|
+
"items" : {
|
|
24935
|
+
"$ref" : "#/components/schemas/AiGatewayModelTokenQuota"
|
|
24936
|
+
},
|
|
24937
|
+
"type" : "array"
|
|
24938
|
+
}
|
|
24939
|
+
},
|
|
24940
|
+
"type" : "object"
|
|
24941
|
+
},
|
|
24531
24942
|
"AiGatewayV1ModelList" : {
|
|
24532
24943
|
"properties" : {
|
|
24533
24944
|
"object" : {
|
|
@@ -25282,6 +25693,11 @@
|
|
|
25282
25693
|
"required" : [ "apps", "engine", "flow", "knowledgeBases", "skills", "tools" ],
|
|
25283
25694
|
"type" : "object"
|
|
25284
25695
|
},
|
|
25696
|
+
"UploadMethod" : {
|
|
25697
|
+
"description" : "How to send the file to `postURL`, set by the storage provider.",
|
|
25698
|
+
"enum" : [ "POST", "PUT" ],
|
|
25699
|
+
"type" : "string"
|
|
25700
|
+
},
|
|
25285
25701
|
"ChatMessageRole" : {
|
|
25286
25702
|
"enum" : [ "USER", "ASSISTANT", "SYSTEM" ],
|
|
25287
25703
|
"type" : "string"
|
|
@@ -25790,8 +26206,7 @@
|
|
|
25790
26206
|
"$ref" : "#/components/schemas/ImageKnowledge"
|
|
25791
26207
|
},
|
|
25792
26208
|
"presigned" : {
|
|
25793
|
-
"
|
|
25794
|
-
"type" : "object"
|
|
26209
|
+
"$ref" : "#/components/schemas/S3UploadBody"
|
|
25795
26210
|
}
|
|
25796
26211
|
},
|
|
25797
26212
|
"required" : [ "image", "presigned" ],
|