model.openapi.json 59 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435
  1. {
  2. "openapi": "3.0.3",
  3. "info": {
  4. "title": "默认模块",
  5. "description": "",
  6. "version": "1.0.0"
  7. },
  8. "servers": [
  9. {
  10. "url": "/",
  11. "description": "默认服务器"
  12. }
  13. ],
  14. "tags": [
  15. {
  16. "name": "ai-model",
  17. "description": "模型管理相关接口"
  18. },
  19. {
  20. "name": "ollama",
  21. "description": "ollama相关接口"
  22. }
  23. ],
  24. "paths": {
  25. "/api/ai/model/providers": {
  26. "post": {
  27. "summary": "根据模型类型获取支持的服务商列表及配置信息",
  28. "deprecated": false,
  29. "description": "",
  30. "tags": ["ai-model"],
  31. "parameters": [
  32. {
  33. "name": "Authorization",
  34. "in": "header",
  35. "description": "",
  36. "example": "bpm_client_1500870842102321152",
  37. "schema": {
  38. "type": "string",
  39. "default": "bpm_client_1500870842102321152"
  40. }
  41. }
  42. ],
  43. "requestBody": {
  44. "content": {
  45. "application/json": {
  46. "schema": {
  47. "type": "object",
  48. "properties": {
  49. "model_type": {
  50. "type": "string"
  51. }
  52. },
  53. "required": ["model_type"]
  54. },
  55. "example": {
  56. "keyword": "",
  57. "type": "",
  58. "source": "",
  59. "pageIndex": 1,
  60. "pageSize": 20
  61. }
  62. }
  63. },
  64. "required": true
  65. },
  66. "responses": {
  67. "200": {
  68. "description": "",
  69. "content": {
  70. "application/json": {
  71. "schema": {
  72. "type": "object",
  73. "properties": {
  74. "isSuccess": {
  75. "type": "boolean"
  76. },
  77. "code": {
  78. "type": "integer"
  79. },
  80. "result": {
  81. "type": "array",
  82. "items": {
  83. "type": "object",
  84. "properties": {
  85. "defaultUrls": {
  86. "type": "object",
  87. "properties": {
  88. "chat": {
  89. "type": "string"
  90. },
  91. "embedding": {
  92. "type": "string"
  93. },
  94. "rerank": {
  95. "type": "string"
  96. },
  97. "vllm": {
  98. "type": "string"
  99. }
  100. },
  101. "required": ["chat", "embedding", "rerank", "vllm"]
  102. },
  103. "description": {
  104. "type": "string"
  105. },
  106. "label": {
  107. "type": "string"
  108. },
  109. "modelTypes": {
  110. "type": "array",
  111. "items": {
  112. "type": "string"
  113. }
  114. },
  115. "value": {
  116. "type": "string"
  117. }
  118. },
  119. "required": ["defaultUrls", "description", "label", "modelTypes", "value"]
  120. }
  121. },
  122. "isAuthorized": {
  123. "type": "boolean"
  124. }
  125. },
  126. "required": ["isSuccess", "code", "result", "isAuthorized"]
  127. },
  128. "example": {
  129. "isSuccess": true,
  130. "code": 1,
  131. "result": [
  132. {
  133. "defaultUrls": {},
  134. "description": "Generic API endpoint (OpenAI-compatible)",
  135. "label": "自定义 (OpenAI兼容接口)",
  136. "modelTypes": ["chat", "embedding", "rerank", "vllm", "asr"],
  137. "value": "generic"
  138. },
  139. {
  140. "defaultUrls": {
  141. "chat": "https://weknora.weixin.qq.com",
  142. "embedding": "https://weknora.weixin.qq.com",
  143. "rerank": "https://weknora.weixin.qq.com",
  144. "vllm": "https://weknora.weixin.qq.com"
  145. },
  146. "description": "WeKnora云服务,模型:chat, embedding, rerank, vlm",
  147. "label": "WeKnoraCloud",
  148. "modelTypes": ["chat", "embedding", "rerank", "vllm"],
  149. "value": "weknoracloud"
  150. },
  151. {
  152. "defaultUrls": {
  153. "chat": "https://dashscope.aliyuncs.com/compatible-mode/v1",
  154. "embedding": "https://dashscope.aliyuncs.com/compatible-mode/v1",
  155. "rerank": "https://dashscope.aliyuncs.com/api/v1/services/rerank/text-rerank/text-rerank",
  156. "vllm": "https://dashscope.aliyuncs.com/compatible-mode/v1"
  157. },
  158. "description": "qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank, etc.",
  159. "label": "阿里云 DashScope",
  160. "modelTypes": ["chat", "embedding", "rerank", "vllm"],
  161. "value": "aliyun"
  162. },
  163. {
  164. "defaultUrls": {
  165. "chat": "https://open.bigmodel.cn/api/paas/v4",
  166. "embedding": "https://open.bigmodel.cn/api/paas/v4",
  167. "rerank": "https://open.bigmodel.cn/api/paas/v4/rerank",
  168. "vllm": "https://open.bigmodel.cn/api/paas/v4"
  169. },
  170. "description": "glm-4.7, embedding-3, rerank, etc.",
  171. "label": "智谱 BigModel",
  172. "modelTypes": ["chat", "embedding", "rerank", "vllm"],
  173. "value": "zhipu"
  174. },
  175. {
  176. "defaultUrls": {
  177. "chat": "https://ark.cn-beijing.volces.com/api/v3",
  178. "embedding": "https://ark.cn-beijing.volces.com/api/v3/embeddings/multimodal",
  179. "vllm": "https://ark.cn-beijing.volces.com/api/v3"
  180. },
  181. "description": "doubao-1-5-pro-32k-250115, doubao-embedding-vision-250615, etc.",
  182. "label": "火山引擎 Volcengine",
  183. "modelTypes": ["chat", "embedding", "vllm"],
  184. "value": "volcengine"
  185. },
  186. {
  187. "defaultUrls": {
  188. "chat": "https://api.hunyuan.cloud.tencent.com/v1",
  189. "embedding": "https://api.hunyuan.cloud.tencent.com/v1"
  190. },
  191. "description": "hunyuan-pro, hunyuan-standard, hunyuan-embedding, etc.",
  192. "label": "腾讯混元 Hunyuan",
  193. "modelTypes": ["chat", "embedding"],
  194. "value": "hunyuan"
  195. },
  196. {
  197. "defaultUrls": {
  198. "chat": "https://api.siliconflow.cn/v1",
  199. "embedding": "https://api.siliconflow.cn/v1",
  200. "rerank": "https://api.siliconflow.cn/v1",
  201. "vllm": "https://api.siliconflow.cn/v1"
  202. },
  203. "description": "deepseek-ai/DeepSeek-V3.1, etc.",
  204. "label": "硅基流动 SiliconFlow",
  205. "modelTypes": ["chat", "embedding", "rerank", "vllm", "asr"],
  206. "value": "siliconflow"
  207. },
  208. {
  209. "defaultUrls": {
  210. "chat": "https://api.deepseek.com/v1"
  211. },
  212. "description": "deepseek-chat, deepseek-reasoner, etc.",
  213. "label": "DeepSeek",
  214. "modelTypes": ["chat"],
  215. "value": "deepseek"
  216. },
  217. {
  218. "defaultUrls": {
  219. "chat": "https://api.minimaxi.com/v1"
  220. },
  221. "description": "MiniMax-M2.7, MiniMax-M2.7-highspeed, MiniMax-M2.5, etc.",
  222. "label": "MiniMax",
  223. "modelTypes": ["chat"],
  224. "value": "minimax"
  225. },
  226. {
  227. "defaultUrls": {
  228. "chat": "https://api.moonshot.ai/v1",
  229. "vllm": "https://api.moonshot.ai/v1"
  230. },
  231. "description": "kimi-k2-turbo-preview, moonshot-v1-8k-vision-preview, etc.",
  232. "label": "月之暗面 Moonshot",
  233. "modelTypes": ["chat", "vllm"],
  234. "value": "moonshot"
  235. },
  236. {
  237. "defaultUrls": {
  238. "chat": "https://api-inference.modelscope.cn/v1",
  239. "embedding": "https://api-inference.modelscope.cn/v1",
  240. "vllm": "https://api-inference.modelscope.cn/v1"
  241. },
  242. "description": "Qwen/Qwen3-8B, Qwen/Qwen3-Embedding-8B, etc.",
  243. "label": "魔搭 ModelScope",
  244. "modelTypes": ["chat", "embedding", "vllm"],
  245. "value": "modelscope"
  246. },
  247. {
  248. "defaultUrls": {
  249. "chat": "https://qianfan.baidubce.com/v2",
  250. "embedding": "https://qianfan.baidubce.com/v2",
  251. "rerank": "https://qianfan.baidubce.com/v2",
  252. "vllm": "https://qianfan.baidubce.com/v2"
  253. },
  254. "description": "ernie-5.0-thinking-preview, embedding-v1, bce-reranker-base, etc.",
  255. "label": "百度千帆 Baidu Cloud",
  256. "modelTypes": ["chat", "embedding", "rerank", "vllm"],
  257. "value": "qianfan"
  258. },
  259. {
  260. "defaultUrls": {
  261. "chat": "https://api.qnaigc.com/v1"
  262. },
  263. "description": "deepseek/deepseek-v3.2-251201, z-ai/glm-4.7, etc.",
  264. "label": "七牛云 Qiniu",
  265. "modelTypes": ["chat"],
  266. "value": "qiniu"
  267. },
  268. {
  269. "defaultUrls": {
  270. "chat": "https://api.openai.com/v1",
  271. "embedding": "https://api.openai.com/v1",
  272. "rerank": "https://api.openai.com/v1",
  273. "vllm": "https://api.openai.com/v1"
  274. },
  275. "description": "gpt-5.2, gpt-5-mini, etc.",
  276. "label": "OpenAI",
  277. "modelTypes": ["chat", "embedding", "rerank", "vllm", "asr"],
  278. "value": "openai"
  279. },
  280. {
  281. "defaultUrls": {
  282. "chat": "https://generativelanguage.googleapis.com/v1beta/openai"
  283. },
  284. "description": "gemini-3-flash-preview, gemini-2.5-pro, etc.",
  285. "label": "Google Gemini",
  286. "modelTypes": ["chat"],
  287. "value": "gemini"
  288. },
  289. {
  290. "defaultUrls": {
  291. "chat": "https://openrouter.ai/api/v1",
  292. "embedding": "https://openrouter.ai/api/v1",
  293. "vllm": "https://openrouter.ai/api/v1"
  294. },
  295. "description": "openai/gpt-5.2-chat, google/gemini-3-flash-preview, etc.",
  296. "label": "OpenRouter",
  297. "modelTypes": ["chat", "embedding", "vllm"],
  298. "value": "openrouter"
  299. },
  300. {
  301. "defaultUrls": {
  302. "embedding": "https://api.jina.ai/v1",
  303. "rerank": "https://api.jina.ai/v1"
  304. },
  305. "description": "jina-clip-v1, jina-embeddings-v2-base-zh, etc.",
  306. "label": "Jina",
  307. "modelTypes": ["embedding", "rerank"],
  308. "value": "jina"
  309. },
  310. {
  311. "defaultUrls": {
  312. "chat": "https://api.xiaomimimo.com/v1"
  313. },
  314. "description": "mimo-v2-flash",
  315. "label": "小米 MiMo",
  316. "modelTypes": ["chat"],
  317. "value": "mimo"
  318. },
  319. {
  320. "defaultUrls": {
  321. "chat": "https://api.longcat.chat/openai/v1"
  322. },
  323. "description": "LongCat-Flash-Chat, LongCat-Flash-Thinking, etc.",
  324. "label": "LongCat AI",
  325. "modelTypes": ["chat"],
  326. "value": "longcat"
  327. },
  328. {
  329. "defaultUrls": {
  330. "chat": "https://api.lkeap.cloud.tencent.com/v1"
  331. },
  332. "description": "DeepSeek-R1, DeepSeek-V3 系列模型,支持思维链",
  333. "label": "腾讯云 LKEAP",
  334. "modelTypes": ["chat"],
  335. "value": "lkeap"
  336. },
  337. {
  338. "defaultUrls": {
  339. "chat": "http://your_gpustack_server_url/v1-openai",
  340. "embedding": "http://your_gpustack_server_url/v1-openai",
  341. "rerank": "http://your_gpustack_server_url/v1",
  342. "vllm": "http://your_gpustack_server_url/v1-openai"
  343. },
  344. "description": "Choose your deployed model on GPUStack",
  345. "label": "GPUStack",
  346. "modelTypes": ["chat", "embedding", "rerank", "vllm", "asr"],
  347. "value": "gpustack"
  348. },
  349. {
  350. "defaultUrls": {
  351. "chat": "https://integrate.api.nvidia.com/v1",
  352. "embedding": "https://integrate.api.nvidia.com/v1",
  353. "rerank": "https://ai.api.nvidia.com/v1/retrieval/nvidia/reranking",
  354. "vllm": "https://integrate.api.nvidia.com/v1"
  355. },
  356. "description": "deepseek-ai-deepseek-v3_1, nv-embed-v1, rerank-qa-mistral-4b, etc.",
  357. "label": "NVIDIA",
  358. "modelTypes": ["chat", "embedding", "rerank", "vllm"],
  359. "value": "nvidia"
  360. },
  361. {
  362. "defaultUrls": {
  363. "chat": "https://api.novita.ai/openai/v1",
  364. "embedding": "https://api.novita.ai/openai/v1",
  365. "vllm": "https://api.novita.ai/openai/v1"
  366. },
  367. "description": "moonshotai/kimi-k2.5, zai-org/glm-5, minimax/minimax-m2.7, qwen/qwen3-embedding-0.6b, etc.",
  368. "label": "Novita AI",
  369. "modelTypes": ["chat", "embedding", "vllm"],
  370. "value": "novita"
  371. },
  372. {
  373. "defaultUrls": {
  374. "chat": "https://{resource}.openai.azure.com",
  375. "embedding": "https://{resource}.openai.azure.com",
  376. "rerank": "https://{resource}.openai.azure.com",
  377. "vllm": "https://{resource}.openai.azure.com"
  378. },
  379. "description": "gpt-4o, gpt-4, text-embedding-ada-002, etc.",
  380. "label": "Azure OpenAI",
  381. "modelTypes": ["chat", "embedding", "vllm", "asr"],
  382. "value": "azure_openai"
  383. }
  384. ],
  385. "isAuthorized": true
  386. }
  387. }
  388. },
  389. "headers": {}
  390. }
  391. },
  392. "security": []
  393. }
  394. },
  395. "/api/ai/model/selectList": {
  396. "post": {
  397. "summary": "获取模型选择列表",
  398. "deprecated": false,
  399. "description": "",
  400. "tags": ["ai-model"],
  401. "parameters": [
  402. {
  403. "name": "Authorization",
  404. "in": "header",
  405. "description": "",
  406. "example": "bpm_client_1500870842102321152",
  407. "schema": {
  408. "type": "string",
  409. "default": "bpm_client_1500870842102321152"
  410. }
  411. }
  412. ],
  413. "requestBody": {
  414. "content": {
  415. "application/json": {
  416. "schema": {
  417. "type": "object",
  418. "properties": {
  419. "keyword": {
  420. "type": "string"
  421. },
  422. "type": {
  423. "type": "string"
  424. }
  425. },
  426. "required": []
  427. },
  428. "example": {
  429. "keyword": "",
  430. "type": "",
  431. "source": ""
  432. }
  433. }
  434. },
  435. "required": true
  436. },
  437. "responses": {
  438. "200": {
  439. "description": "",
  440. "content": {
  441. "application/json": {
  442. "schema": {
  443. "type": "object",
  444. "properties": {
  445. "isSuccess": {
  446. "type": "boolean"
  447. },
  448. "code": {
  449. "type": "integer"
  450. },
  451. "result": {
  452. "type": "array",
  453. "items": {
  454. "type": "object",
  455. "properties": {
  456. "creationTime": {
  457. "type": "string"
  458. },
  459. "creatorUserId": {
  460. "type": "string"
  461. },
  462. "description": {
  463. "type": "string"
  464. },
  465. "id": {
  466. "type": "string"
  467. },
  468. "isDeleted": {
  469. "type": "boolean"
  470. },
  471. "is_default": {
  472. "type": "boolean"
  473. },
  474. "name": {
  475. "type": "string"
  476. },
  477. "parameters": {
  478. "type": "object",
  479. "properties": {
  480. "api_key": {
  481. "type": "string"
  482. },
  483. "base_url": {
  484. "type": "string"
  485. },
  486. "embedding_parameters": {
  487. "type": "object",
  488. "properties": {
  489. "dimension": {
  490. "type": "integer"
  491. },
  492. "truncate_prompt_tokens": {
  493. "type": "integer"
  494. }
  495. },
  496. "required": ["dimension", "truncate_prompt_tokens"]
  497. },
  498. "provider": {
  499. "type": "string"
  500. }
  501. },
  502. "required": ["api_key", "base_url", "embedding_parameters", "provider"]
  503. },
  504. "provider": {
  505. "type": "string"
  506. },
  507. "source": {
  508. "type": "string"
  509. },
  510. "status": {
  511. "type": "string"
  512. },
  513. "title": {
  514. "type": "string"
  515. },
  516. "type": {
  517. "type": "string"
  518. },
  519. "updateTime": {
  520. "type": "string"
  521. }
  522. }
  523. }
  524. },
  525. "isAuthorized": {
  526. "type": "boolean"
  527. }
  528. },
  529. "required": ["isSuccess", "code", "result", "isAuthorized"]
  530. },
  531. "example": {
  532. "isSuccess": true,
  533. "code": 1,
  534. "result": [
  535. {
  536. "creationTime": "2026-05-10 10:53:15",
  537. "creatorUserId": "7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993",
  538. "description": "火山引擎 Volcengine-vllm",
  539. "id": "20ce3d44-0f68-45e5-b30c-06df4b402ec2",
  540. "isDeleted": false,
  541. "is_default": false,
  542. "name": "ep-20260415150834-6bp4p",
  543. "parameters": {
  544. "api_key": "45991062-123b-48a7-9764-e3dc7db9b989",
  545. "base_url": "https://ark.cn-beijing.volces.com/api/v3",
  546. "embedding_parameters": {
  547. "dimension": 0,
  548. "truncate_prompt_tokens": 0
  549. },
  550. "provider": "volcengine"
  551. },
  552. "provider": "volcengine",
  553. "source": "remote",
  554. "status": "active",
  555. "title": "火山引擎 Volcengine-vllm",
  556. "type": "VLLM",
  557. "updateTime": "2026-05-10 10:53:15"
  558. }
  559. ],
  560. "isAuthorized": true
  561. }
  562. },
  563. "headers": {}
  564. }
  565. },
  566. "security": []
  567. }
  568. }
  569. },
  570. "/api/ai/model/pageList": {
  571. "post": {
  572. "summary": "获取模型分页列表",
  573. "deprecated": false,
  574. "description": "",
  575. "tags": ["ai-model"],
  576. "parameters": [
  577. {
  578. "name": "Authorization",
  579. "in": "header",
  580. "description": "",
  581. "example": "bpm_client_1500870842102321152",
  582. "schema": {
  583. "type": "string",
  584. "default": "bpm_client_1500870842102321152"
  585. }
  586. }
  587. ],
  588. "requestBody": {
  589. "content": {
  590. "application/json": {
  591. "schema": {
  592. "type": "object",
  593. "properties": {
  594. "keyword": {
  595. "type": "string"
  596. },
  597. "type": {
  598. "type": "string"
  599. },
  600. "source": {
  601. "type": "string"
  602. },
  603. "pageIndex": {
  604. "type": "integer"
  605. },
  606. "pageSize": {
  607. "type": "integer"
  608. }
  609. },
  610. "required": ["keyword", "type", "source", "pageIndex", "pageSize"]
  611. },
  612. "example": {
  613. "keyword": "",
  614. "type": "",
  615. "source": "",
  616. "pageIndex": 1,
  617. "pageSize": 20
  618. }
  619. }
  620. },
  621. "required": true
  622. },
  623. "responses": {
  624. "200": {
  625. "description": "",
  626. "content": {
  627. "application/json": {
  628. "schema": {
  629. "type": "object",
  630. "properties": {
  631. "isSuccess": {
  632. "type": "boolean"
  633. },
  634. "code": {
  635. "type": "integer"
  636. },
  637. "result": {
  638. "type": "object",
  639. "properties": {
  640. "currentPage": {
  641. "type": "integer"
  642. },
  643. "hasNextPage": {
  644. "type": "boolean"
  645. },
  646. "hasPreviousPage": {
  647. "type": "boolean"
  648. },
  649. "model": {
  650. "type": "array",
  651. "items": {
  652. "type": "object",
  653. "properties": {
  654. "creationTime": {
  655. "type": "string"
  656. },
  657. "creatorUserId": {
  658. "type": "string"
  659. },
  660. "description": {
  661. "type": "string"
  662. },
  663. "id": {
  664. "type": "string"
  665. },
  666. "isDeleted": {
  667. "type": "boolean"
  668. },
  669. "is_default": {
  670. "type": "boolean"
  671. },
  672. "name": {
  673. "type": "string"
  674. },
  675. "parameters": {
  676. "type": "object",
  677. "properties": {
  678. "api_key": {
  679. "type": "string"
  680. },
  681. "base_url": {
  682. "type": "string"
  683. },
  684. "embedding_parameters": {
  685. "type": "object",
  686. "properties": {
  687. "dimension": {
  688. "type": "integer"
  689. },
  690. "truncate_prompt_tokens": {
  691. "type": "integer"
  692. }
  693. },
  694. "required": ["dimension", "truncate_prompt_tokens"]
  695. },
  696. "provider": {
  697. "type": "string"
  698. }
  699. },
  700. "required": [
  701. "api_key",
  702. "base_url",
  703. "embedding_parameters",
  704. "provider",
  705. "id"
  706. ]
  707. },
  708. "provider": {
  709. "type": "string"
  710. },
  711. "source": {
  712. "type": "string"
  713. },
  714. "status": {
  715. "type": "string"
  716. },
  717. "title": {
  718. "type": "string"
  719. },
  720. "type": {
  721. "type": "string"
  722. },
  723. "updateTime": {
  724. "type": "string"
  725. }
  726. }
  727. }
  728. },
  729. "pageSize": {
  730. "type": "integer"
  731. },
  732. "totalCount": {
  733. "type": "integer"
  734. },
  735. "totalPages": {
  736. "type": "integer"
  737. }
  738. },
  739. "required": [
  740. "currentPage",
  741. "hasNextPage",
  742. "hasPreviousPage",
  743. "model",
  744. "pageSize",
  745. "totalCount",
  746. "totalPages"
  747. ]
  748. },
  749. "isAuthorized": {
  750. "type": "boolean"
  751. }
  752. },
  753. "required": ["isSuccess", "code", "result", "isAuthorized"]
  754. },
  755. "example": {
  756. "isSuccess": true,
  757. "code": 1,
  758. "result": {
  759. "currentPage": 1,
  760. "hasNextPage": true,
  761. "hasPreviousPage": false,
  762. "model": [
  763. {
  764. "creationTime": "2026-05-10 10:53:15",
  765. "creatorUserId": "7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993",
  766. "description": "火山引擎 Volcengine-vllm",
  767. "id": "20ce3d44-0f68-45e5-b30c-06df4b402ec2",
  768. "isDeleted": false,
  769. "is_default": false,
  770. "name": "ep-20260415150834-6bp4p",
  771. "parameters": {
  772. "api_key": "45991062-123b-48a7-9764-e3dc7db9b989",
  773. "base_url": "https://ark.cn-beijing.volces.com/api/v3",
  774. "embedding_parameters": {
  775. "dimension": 0,
  776. "truncate_prompt_tokens": 0
  777. },
  778. "provider": "volcengine"
  779. },
  780. "provider": "volcengine",
  781. "source": "remote",
  782. "status": "active",
  783. "title": "火山引擎 Volcengine-vllm",
  784. "type": "VLLM",
  785. "updateTime": "2026-05-10 10:53:15"
  786. }
  787. ],
  788. "pageSize": 20,
  789. "totalCount": 1,
  790. "totalPages": 1
  791. },
  792. "isAuthorized": true
  793. }
  794. }
  795. },
  796. "headers": {}
  797. }
  798. },
  799. "security": []
  800. }
  801. },
  802. "/api/ai/model/info": {
  803. "post": {
  804. "summary": "模型详情",
  805. "deprecated": false,
  806. "description": "",
  807. "tags": ["ai-model"],
  808. "parameters": [
  809. {
  810. "name": "Authorization",
  811. "in": "header",
  812. "description": "",
  813. "example": "bpm_client_1500870842102321152",
  814. "schema": {
  815. "type": "string",
  816. "default": "bpm_client_1500870842102321152"
  817. }
  818. }
  819. ],
  820. "requestBody": {
  821. "content": {
  822. "application/json": {
  823. "schema": {
  824. "type": "object",
  825. "properties": {
  826. "id": {
  827. "type": "string"
  828. }
  829. },
  830. "required": ["id"]
  831. },
  832. "example": {
  833. "id": "287edb39-8f5d-4b0c-81be-f1b7517ae08a"
  834. }
  835. }
  836. },
  837. "required": true
  838. },
  839. "responses": {
  840. "200": {
  841. "description": "",
  842. "content": {
  843. "application/json": {
  844. "schema": {
  845. "type": "object",
  846. "properties": {
  847. "isSuccess": {
  848. "type": "boolean"
  849. },
  850. "code": {
  851. "type": "integer"
  852. },
  853. "result": {
  854. "type": "object",
  855. "properties": {
  856. "creationTime": {
  857. "type": "string"
  858. },
  859. "creatorUserId": {
  860. "type": "string"
  861. },
  862. "description": {
  863. "type": "string"
  864. },
  865. "id": {
  866. "type": "string"
  867. },
  868. "isDeleted": {
  869. "type": "boolean"
  870. },
  871. "is_default": {
  872. "type": "boolean"
  873. },
  874. "name": {
  875. "type": "string"
  876. },
  877. "parameters": {
  878. "type": "object",
  879. "properties": {
  880. "api_key": {
  881. "type": "string"
  882. },
  883. "base_url": {
  884. "type": "string"
  885. },
  886. "embedding_parameters": {
  887. "type": "object",
  888. "properties": {
  889. "dimension": {
  890. "type": "integer"
  891. },
  892. "truncate_prompt_tokens": {
  893. "type": "integer"
  894. }
  895. },
  896. "required": ["dimension", "truncate_prompt_tokens"]
  897. },
  898. "provider": {
  899. "type": "string"
  900. }
  901. },
  902. "required": ["api_key", "base_url", "embedding_parameters", "provider"]
  903. },
  904. "provider": {
  905. "type": "string"
  906. },
  907. "source": {
  908. "type": "string"
  909. },
  910. "status": {
  911. "type": "string"
  912. },
  913. "title": {
  914. "type": "string"
  915. },
  916. "type": {
  917. "type": "string"
  918. },
  919. "updateTime": {
  920. "type": "string"
  921. }
  922. },
  923. "required": [
  924. "creationTime",
  925. "creatorUserId",
  926. "description",
  927. "id",
  928. "isDeleted",
  929. "is_default",
  930. "name",
  931. "parameters",
  932. "provider",
  933. "source",
  934. "status",
  935. "title",
  936. "type",
  937. "updateTime"
  938. ]
  939. },
  940. "isAuthorized": {
  941. "type": "boolean"
  942. }
  943. },
  944. "required": ["isSuccess", "code", "result", "isAuthorized"]
  945. },
  946. "example": {
  947. "isSuccess": true,
  948. "code": 1,
  949. "result": {
  950. "creationTime": "2026-05-10 18:41:24",
  951. "creatorUserId": "7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993",
  952. "description": "火山引擎 Volcengine-vllm",
  953. "id": "287edb39-8f5d-4b0c-81be-f1b7517ae08a",
  954. "isDeleted": false,
  955. "is_default": false,
  956. "name": "ep-20260415150834-6bp4p",
  957. "parameters": {
  958. "api_key": "45991062-123b-48a7-9764-e3dc7db9b989",
  959. "base_url": "https://ark.cn-beijing.volces.com/api/v3",
  960. "embedding_parameters": {
  961. "dimension": 0,
  962. "truncate_prompt_tokens": 0
  963. },
  964. "provider": "volcengine"
  965. },
  966. "provider": "volcengine",
  967. "source": "remote",
  968. "status": "active",
  969. "title": "火山引擎 Volcengine-vllm",
  970. "type": "VLLM",
  971. "updateTime": "2026-05-10 18:41:24"
  972. },
  973. "isAuthorized": true
  974. }
  975. }
  976. },
  977. "headers": {}
  978. }
  979. },
  980. "security": []
  981. }
  982. },
  983. "/api/ai/model/create": {
  984. "post": {
  985. "summary": "创建模型",
  986. "deprecated": false,
  987. "description": "",
  988. "tags": ["ai-model"],
  989. "parameters": [
  990. {
  991. "name": "Authorization",
  992. "in": "header",
  993. "description": "",
  994. "example": "bpm_client_1500870842102321152",
  995. "schema": {
  996. "type": "string",
  997. "default": "bpm_client_1500870842102321152"
  998. }
  999. }
  1000. ],
  1001. "requestBody": {
  1002. "content": {
  1003. "application/json": {
  1004. "schema": {
  1005. "type": "object",
  1006. "properties": {
  1007. "name": {
  1008. "type": "string"
  1009. },
  1010. "title": {
  1011. "type": "string"
  1012. },
  1013. "description": {
  1014. "type": "string"
  1015. },
  1016. "type": {
  1017. "type": "string"
  1018. },
  1019. "source": {
  1020. "type": "string"
  1021. },
  1022. "provider": {
  1023. "type": "string"
  1024. },
  1025. "base_url": {
  1026. "type": "string"
  1027. },
  1028. "api_key": {
  1029. "type": "string"
  1030. },
  1031. "custom_headers": {
  1032. "type": "object",
  1033. "properties": {}
  1034. }
  1035. },
  1036. "required": [
  1037. "name",
  1038. "title",
  1039. "description",
  1040. "type",
  1041. "source",
  1042. "provider",
  1043. "base_url",
  1044. "api_key",
  1045. "custom_headers"
  1046. ]
  1047. },
  1048. "examples": {
  1049. "1": {
  1050. "value": {
  1051. "name": "ep-20250312153410-5vdmg",
  1052. "title": "火山引擎-deepseek-v3",
  1053. "description": "火山引擎-deepseek-v3",
  1054. "type": "KnowledgeQA",
  1055. "source": "remote",
  1056. "provider": "volcengine",
  1057. "base_url": "https://ark.cn-beijing.volces.com/api/v3",
  1058. "api_key": "45991062-123b-48a7-9764-e3dc7db9b989",
  1059. "custom_headers": {}
  1060. },
  1061. "summary": "对话模型"
  1062. },
  1063. "2": {
  1064. "value": {
  1065. "name": "text-embedding-v4",
  1066. "title": "阿里云-embedding",
  1067. "description": "阿里云-embedding",
  1068. "type": "Embedding",
  1069. "source": "remote",
  1070. "provider": "aliyun",
  1071. "base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
  1072. "api_key": "sk-42e82e5b8f3a48b98ff07244989b5725",
  1073. "dimension": 1024,
  1074. "truncate_prompt_tokens": 0,
  1075. "custom_headers": {}
  1076. },
  1077. "summary": "Embedding模型"
  1078. },
  1079. "3": {
  1080. "value": {
  1081. "name": "qwen3-vl-rerank",
  1082. "title": "阿里云-rerank",
  1083. "description": "阿里云-rerank",
  1084. "type": "Rerank",
  1085. "source": "remote",
  1086. "provider": "aliyun",
  1087. "base_url": "https://dashscope.aliyuncs.com/api/v1/services/rerank/text-rerank/text-rerank",
  1088. "api_key": "sk-42e82e5b8f3a48b98ff07244989b5725",
  1089. "custom_headers": {}
  1090. },
  1091. "summary": "Rerank模型"
  1092. },
  1093. "4": {
  1094. "value": {
  1095. "name": "ep-20260415150834-6bp4p",
  1096. "title": "火山引擎 Volcengine-vllm",
  1097. "description": "火山引擎 Volcengine-vllm",
  1098. "type": "VLLM",
  1099. "source": "remote",
  1100. "provider": "volcengine",
  1101. "base_url": "https://ark.cn-beijing.volces.com/api/v3",
  1102. "api_key": "45991062-123b-48a7-9764-e3dc7db9b989",
  1103. "custom_headers": {}
  1104. },
  1105. "summary": "视觉模型"
  1106. }
  1107. }
  1108. }
  1109. },
  1110. "required": true
  1111. },
  1112. "responses": {
  1113. "200": {
  1114. "description": "",
  1115. "content": {
  1116. "application/json": {
  1117. "schema": {
  1118. "type": "object",
  1119. "properties": {
  1120. "isSuccess": {
  1121. "type": "boolean"
  1122. },
  1123. "code": {
  1124. "type": "integer"
  1125. },
  1126. "isAuthorized": {
  1127. "type": "boolean"
  1128. }
  1129. },
  1130. "required": ["isSuccess", "code", "isAuthorized"]
  1131. },
  1132. "example": {
  1133. "isSuccess": true,
  1134. "code": 1,
  1135. "isAuthorized": true
  1136. }
  1137. }
  1138. },
  1139. "headers": {}
  1140. }
  1141. },
  1142. "security": []
  1143. }
  1144. },
  1145. "/api/ai/model/update": {
  1146. "post": {
  1147. "summary": "更新模型",
  1148. "deprecated": false,
  1149. "description": "",
  1150. "tags": ["ai-model"],
  1151. "parameters": [
  1152. {
  1153. "name": "Authorization",
  1154. "in": "header",
  1155. "description": "",
  1156. "example": "bpm_client_1500870842102321152",
  1157. "schema": {
  1158. "type": "string",
  1159. "default": "bpm_client_1500870842102321152"
  1160. }
  1161. }
  1162. ],
  1163. "requestBody": {
  1164. "content": {
  1165. "application/json": {
  1166. "schema": {
  1167. "type": "object",
  1168. "properties": {
  1169. "id": {
  1170. "type": "string"
  1171. },
  1172. "name": {
  1173. "type": "string"
  1174. },
  1175. "title": {
  1176. "type": "string"
  1177. },
  1178. "description": {
  1179. "type": "string"
  1180. },
  1181. "base_url": {
  1182. "type": "string"
  1183. },
  1184. "api_key": {
  1185. "type": "string"
  1186. },
  1187. "custom_headers": {
  1188. "type": "object",
  1189. "properties": {}
  1190. }
  1191. },
  1192. "required": [
  1193. "id",
  1194. "name",
  1195. "title",
  1196. "description",
  1197. "base_url",
  1198. "api_key",
  1199. "custom_headers"
  1200. ]
  1201. },
  1202. "examples": {
  1203. "1": {
  1204. "value": {
  1205. "id": "4d9606c9-42ac-485e-b2ce-2bf5e2b109f7",
  1206. "name": "ep-20250312153410-5vdmg",
  1207. "title": "新的火山引擎-deepseek-v3",
  1208. "description": "新的火山引擎-deepseek-v3",
  1209. "base_url": "https://ark.cn-beijing.volces.com/api/v3",
  1210. "api_key": "45991062-123b-48a7-9764-e3dc7db9b989",
  1211. "custom_headers": {}
  1212. },
  1213. "summary": "对话模型"
  1214. },
  1215. "2": {
  1216. "value": {
  1217. "id": "40be5435-929e-4c81-8f01-d3be8df4ad34",
  1218. "name": "text-embedding-v4",
  1219. "title": "阿里云-embedding",
  1220. "description": "阿里云-embedding",
  1221. "base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
  1222. "api_key": "sk-42e82e5b8f3a48b98ff07244989b5725",
  1223. "dimension": 1024,
  1224. "truncate_prompt_tokens": 0,
  1225. "custom_headers": {}
  1226. },
  1227. "summary": "Embedding模型"
  1228. },
  1229. "3": {
  1230. "value": {
  1231. "id": "211afd74-45d6-443f-969e-8624aa9f5c0a",
  1232. "name": "qwen3-vl-rerank",
  1233. "title": "阿里云-rerank",
  1234. "description": "阿里云-rerank",
  1235. "base_url": "https://dashscope.aliyuncs.com/api/v1/services/rerank/text-rerank/text-rerank",
  1236. "api_key": "sk-42e82e5b8f3a48b98ff07244989b5725",
  1237. "custom_headers": {}
  1238. },
  1239. "summary": "Rerank模型"
  1240. },
  1241. "4": {
  1242. "value": {
  1243. "id": "081412f6-d5cf-4c84-bc0d-ccaab3065d7b",
  1244. "name": "ep-20260415150834-6bp4p",
  1245. "title": "火山引擎 Volcengine-vllm",
  1246. "description": "火山引擎 Volcengine-vllm",
  1247. "base_url": "https://ark.cn-beijing.volces.com/api/v3",
  1248. "api_key": "45991062-123b-48a7-9764-e3dc7db9b989",
  1249. "custom_headers": {}
  1250. },
  1251. "summary": "视觉模型"
  1252. }
  1253. }
  1254. }
  1255. },
  1256. "required": true
  1257. },
  1258. "responses": {
  1259. "200": {
  1260. "description": "",
  1261. "content": {
  1262. "application/json": {
  1263. "schema": {
  1264. "type": "object",
  1265. "properties": {
  1266. "isSuccess": {
  1267. "type": "boolean"
  1268. },
  1269. "code": {
  1270. "type": "integer"
  1271. },
  1272. "isAuthorized": {
  1273. "type": "boolean"
  1274. }
  1275. },
  1276. "required": ["isSuccess", "code", "isAuthorized"]
  1277. },
  1278. "example": {
  1279. "isSuccess": true,
  1280. "code": 1,
  1281. "isAuthorized": true
  1282. }
  1283. }
  1284. },
  1285. "headers": {}
  1286. }
  1287. },
  1288. "security": []
  1289. }
  1290. },
  1291. "/api/ai/model/delete": {
  1292. "post": {
  1293. "summary": "删除模型",
  1294. "deprecated": false,
  1295. "description": "",
  1296. "tags": ["ai-model"],
  1297. "parameters": [
  1298. {
  1299. "name": "Authorization",
  1300. "in": "header",
  1301. "description": "",
  1302. "example": "bpm_client_1500870842102321152",
  1303. "schema": {
  1304. "type": "string",
  1305. "default": "bpm_client_1500870842102321152"
  1306. }
  1307. }
  1308. ],
  1309. "requestBody": {
  1310. "content": {
  1311. "application/json": {
  1312. "schema": {
  1313. "type": "object",
  1314. "properties": {
  1315. "id": {
  1316. "type": "string"
  1317. }
  1318. },
  1319. "required": ["id"]
  1320. },
  1321. "example": {
  1322. "id": "081412f6-d5cf-4c84-bc0d-ccaab3065d7b"
  1323. }
  1324. }
  1325. },
  1326. "required": true
  1327. },
  1328. "responses": {
  1329. "200": {
  1330. "description": "",
  1331. "content": {
  1332. "application/json": {
  1333. "schema": {
  1334. "type": "object",
  1335. "properties": {
  1336. "isSuccess": {
  1337. "type": "boolean"
  1338. },
  1339. "code": {
  1340. "type": "integer"
  1341. },
  1342. "isAuthorized": {
  1343. "type": "boolean"
  1344. }
  1345. },
  1346. "required": ["isSuccess", "code", "isAuthorized"]
  1347. },
  1348. "example": {
  1349. "isSuccess": true,
  1350. "code": 1,
  1351. "isAuthorized": true
  1352. }
  1353. }
  1354. },
  1355. "headers": {}
  1356. }
  1357. },
  1358. "security": []
  1359. }
  1360. },
  1361. "/api/ai/model/check": {
  1362. "post": {
  1363. "summary": "检查模型",
  1364. "deprecated": false,
  1365. "description": "",
  1366. "tags": ["ai-model"],
  1367. "parameters": [
  1368. {
  1369. "name": "Authorization",
  1370. "in": "header",
  1371. "description": "",
  1372. "example": "bpm_client_1500870842102321152",
  1373. "schema": {
  1374. "type": "string",
  1375. "default": "bpm_client_1500870842102321152"
  1376. }
  1377. }
  1378. ],
  1379. "requestBody": {
  1380. "content": {
  1381. "application/json": {
  1382. "schema": {
  1383. "type": "object",
  1384. "properties": {
  1385. "name": {
  1386. "type": "string"
  1387. },
  1388. "type": {
  1389. "type": "string"
  1390. },
  1391. "source": {
  1392. "type": "string"
  1393. },
  1394. "provider": {
  1395. "type": "string"
  1396. },
  1397. "api_key": {
  1398. "type": "string"
  1399. }
  1400. },
  1401. "required": ["name", "type", "source", "provider", "api_key"]
  1402. },
  1403. "examples": {
  1404. "1": {
  1405. "value": {
  1406. "name": "ep-20250312153410-5vdmg",
  1407. "type": "KnowledgeQA",
  1408. "source": "remote",
  1409. "provider": "volcengine",
  1410. "api_key": "45991062-123b-48a7-9764-e3dc7db9b989"
  1411. },
  1412. "summary": "对话模型"
  1413. },
  1414. "2": {
  1415. "value": {
  1416. "name": "text-embedding-v4",
  1417. "type": "Embedding",
  1418. "source": "remote",
  1419. "provider": "aliyun",
  1420. "api_key": "sk-42e82e5b8f3a48b98ff07244989b5725",
  1421. "dimension": 1024,
  1422. "truncate_prompt_tokens": 0
  1423. },
  1424. "summary": "Embedding模型"
  1425. },
  1426. "3": {
  1427. "value": {
  1428. "name": "qwen3-vl-rerank",
  1429. "type": "Rerank",
  1430. "source": "remote",
  1431. "provider": "aliyun",
  1432. "api_key": "sk-42e82e5b8f3a48b98ff07244989b5725"
  1433. },
  1434. "summary": "Rerank模型"
  1435. },
  1436. "4": {
  1437. "value": {
  1438. "name": "ep-20260415150834-6bp4p",
  1439. "type": "VLLM",
  1440. "source": "remote",
  1441. "provider": "volcengine",
  1442. "api_key": "45991062-123b-48a7-9764-e3dc7db9b989"
  1443. },
  1444. "summary": "视觉模型"
  1445. }
  1446. }
  1447. }
  1448. },
  1449. "required": true
  1450. },
  1451. "responses": {
  1452. "200": {
  1453. "description": "",
  1454. "content": {
  1455. "application/json": {
  1456. "schema": {
  1457. "type": "object",
  1458. "properties": {
  1459. "isSuccess": {
  1460. "type": "boolean"
  1461. },
  1462. "code": {
  1463. "type": "integer"
  1464. },
  1465. "isAuthorized": {
  1466. "type": "boolean"
  1467. },
  1468. "result": {
  1469. "type": "object"
  1470. }
  1471. },
  1472. "required": ["isSuccess", "code", "isAuthorized"]
  1473. },
  1474. "example": {
  1475. "isSuccess": true,
  1476. "code": 1,
  1477. "isAuthorized": true
  1478. }
  1479. }
  1480. },
  1481. "headers": {}
  1482. }
  1483. },
  1484. "security": []
  1485. }
  1486. },
  1487. "/api/ai/model/credentials": {
  1488. "post": {
  1489. "summary": "更新凭证",
  1490. "deprecated": false,
  1491. "description": "",
  1492. "tags": ["ai-model"],
  1493. "parameters": [
  1494. {
  1495. "name": "Authorization",
  1496. "in": "header",
  1497. "description": "",
  1498. "example": "bpm_backend_1523343531161161728",
  1499. "schema": {
  1500. "type": "string"
  1501. }
  1502. }
  1503. ],
  1504. "requestBody": {
  1505. "content": {
  1506. "application/json": {
  1507. "schema": {
  1508. "type": "object",
  1509. "properties": {
  1510. "id": {
  1511. "type": "string"
  1512. },
  1513. "api_key": {
  1514. "type": "string"
  1515. }
  1516. },
  1517. "required": ["id", "api_key"]
  1518. },
  1519. "example": {
  1520. "id": "68680c68-2558-4921-ba24-3cd015881409",
  1521. "api_key": "sss"
  1522. }
  1523. }
  1524. },
  1525. "required": true
  1526. },
  1527. "responses": {
  1528. "200": {
  1529. "description": "",
  1530. "content": {
  1531. "application/json": {
  1532. "schema": {
  1533. "type": "object",
  1534. "properties": {
  1535. "isSuccess": {
  1536. "type": "boolean"
  1537. },
  1538. "code": {
  1539. "type": "integer"
  1540. },
  1541. "isAuthorized": {
  1542. "type": "boolean"
  1543. }
  1544. },
  1545. "required": ["isSuccess", "code", "isAuthorized"]
  1546. },
  1547. "example": {
  1548. "isSuccess": true,
  1549. "code": 1,
  1550. "isAuthorized": true
  1551. }
  1552. }
  1553. },
  1554. "headers": {}
  1555. }
  1556. },
  1557. "security": []
  1558. }
  1559. },
  1560. "/api/ai/model/delete_credentials": {
  1561. "post": {
  1562. "summary": "删除凭证",
  1563. "deprecated": false,
  1564. "description": "",
  1565. "tags": ["ai-model"],
  1566. "parameters": [
  1567. {
  1568. "name": "Authorization",
  1569. "in": "header",
  1570. "description": "",
  1571. "example": "bpm_backend_1523343531161161728",
  1572. "schema": {
  1573. "type": "string"
  1574. }
  1575. }
  1576. ],
  1577. "requestBody": {
  1578. "content": {
  1579. "application/json": {
  1580. "schema": {
  1581. "type": "object",
  1582. "properties": {
  1583. "id": {
  1584. "type": "string"
  1585. }
  1586. },
  1587. "required": ["id"]
  1588. },
  1589. "example": {
  1590. "id": "68680c68-2558-4921-ba24-3cd015881409"
  1591. }
  1592. }
  1593. },
  1594. "required": true
  1595. },
  1596. "responses": {
  1597. "200": {
  1598. "description": "",
  1599. "content": {
  1600. "application/json": {
  1601. "schema": {
  1602. "type": "object",
  1603. "properties": {
  1604. "isSuccess": {
  1605. "type": "boolean"
  1606. },
  1607. "code": {
  1608. "type": "integer"
  1609. },
  1610. "isAuthorized": {
  1611. "type": "boolean"
  1612. }
  1613. },
  1614. "required": ["isSuccess", "code", "isAuthorized"]
  1615. },
  1616. "example": {
  1617. "isSuccess": true,
  1618. "code": 1,
  1619. "isAuthorized": true
  1620. }
  1621. }
  1622. },
  1623. "headers": {}
  1624. }
  1625. },
  1626. "security": []
  1627. }
  1628. },
  1629. "/api/ai/ollama/status": {
  1630. "post": {
  1631. "summary": "检查Ollama状态",
  1632. "deprecated": false,
  1633. "description": "",
  1634. "tags": ["ollama"],
  1635. "parameters": [
  1636. {
  1637. "name": "Authorization",
  1638. "in": "header",
  1639. "description": "",
  1640. "example": "bpm_client_1500870842102321152",
  1641. "schema": {
  1642. "type": "string",
  1643. "default": "bpm_client_1500870842102321152"
  1644. }
  1645. }
  1646. ],
  1647. "requestBody": {
  1648. "content": {
  1649. "application/json": {
  1650. "schema": {
  1651. "type": "object",
  1652. "properties": {}
  1653. },
  1654. "examples": {}
  1655. }
  1656. },
  1657. "required": true
  1658. },
  1659. "responses": {
  1660. "200": {
  1661. "description": "",
  1662. "content": {
  1663. "application/json": {
  1664. "schema": {
  1665. "type": "object",
  1666. "properties": {}
  1667. }
  1668. }
  1669. },
  1670. "headers": {}
  1671. }
  1672. },
  1673. "security": []
  1674. }
  1675. },
  1676. "/api/ai/ollama/models": {
  1677. "post": {
  1678. "summary": "获取模型列表",
  1679. "deprecated": false,
  1680. "description": "",
  1681. "tags": ["ollama"],
  1682. "parameters": [
  1683. {
  1684. "name": "Authorization",
  1685. "in": "header",
  1686. "description": "",
  1687. "example": "bpm_client_1500870842102321152",
  1688. "schema": {
  1689. "type": "string",
  1690. "default": "bpm_client_1500870842102321152"
  1691. }
  1692. }
  1693. ],
  1694. "requestBody": {
  1695. "content": {
  1696. "application/json": {
  1697. "schema": {
  1698. "type": "object",
  1699. "properties": {}
  1700. },
  1701. "example": {}
  1702. }
  1703. },
  1704. "required": true
  1705. },
  1706. "responses": {
  1707. "200": {
  1708. "description": "",
  1709. "content": {
  1710. "application/json": {
  1711. "schema": {
  1712. "type": "object",
  1713. "properties": {
  1714. "isSuccess": {
  1715. "type": "boolean"
  1716. },
  1717. "code": {
  1718. "type": "integer"
  1719. },
  1720. "result": {
  1721. "type": "array",
  1722. "items": {
  1723. "type": "object",
  1724. "properties": {
  1725. "digest": {
  1726. "type": "string"
  1727. },
  1728. "modified_at": {
  1729. "type": "string"
  1730. },
  1731. "name": {
  1732. "type": "string"
  1733. },
  1734. "size": {
  1735. "type": "integer"
  1736. }
  1737. }
  1738. }
  1739. },
  1740. "isAuthorized": {
  1741. "type": "boolean"
  1742. }
  1743. },
  1744. "required": ["isSuccess", "code", "result", "isAuthorized"]
  1745. },
  1746. "example": {
  1747. "isSuccess": true,
  1748. "code": 1,
  1749. "result": [
  1750. {
  1751. "digest": "baf6a787fdffd633537aa2eb51cfd54cb93ff08e28040095462bb63daf552878",
  1752. "modified_at": "2026-04-29T16:17:20.046777106Z",
  1753. "name": "llama3.2:1b",
  1754. "size": 1321098329
  1755. }
  1756. ],
  1757. "isAuthorized": true
  1758. }
  1759. }
  1760. },
  1761. "headers": {}
  1762. }
  1763. },
  1764. "security": []
  1765. }
  1766. },
  1767. "/api/ai/ollama/checkModels": {
  1768. "post": {
  1769. "summary": "批量检查模型是否可用",
  1770. "deprecated": false,
  1771. "description": "",
  1772. "tags": ["ollama"],
  1773. "parameters": [
  1774. {
  1775. "name": "Authorization",
  1776. "in": "header",
  1777. "description": "",
  1778. "example": "bpm_client_1500870842102321152",
  1779. "schema": {
  1780. "type": "string",
  1781. "default": "bpm_client_1500870842102321152"
  1782. }
  1783. }
  1784. ],
  1785. "requestBody": {
  1786. "content": {
  1787. "application/json": {
  1788. "schema": {
  1789. "type": "object",
  1790. "properties": {
  1791. "models": {
  1792. "type": "array",
  1793. "items": {
  1794. "type": "string"
  1795. }
  1796. }
  1797. },
  1798. "required": ["models"]
  1799. },
  1800. "example": {
  1801. "models": ["llama3.2:1b"]
  1802. }
  1803. }
  1804. },
  1805. "required": true
  1806. },
  1807. "responses": {
  1808. "200": {
  1809. "description": "",
  1810. "content": {
  1811. "application/json": {
  1812. "schema": {
  1813. "type": "object",
  1814. "properties": {
  1815. "isSuccess": {
  1816. "type": "boolean"
  1817. },
  1818. "code": {
  1819. "type": "integer"
  1820. },
  1821. "result": {
  1822. "type": "array",
  1823. "items": {
  1824. "type": "object",
  1825. "properties": {
  1826. "available": {
  1827. "type": "boolean"
  1828. },
  1829. "name": {
  1830. "type": "string"
  1831. }
  1832. }
  1833. }
  1834. },
  1835. "isAuthorized": {
  1836. "type": "boolean"
  1837. }
  1838. },
  1839. "required": ["isSuccess", "code", "result", "isAuthorized"]
  1840. },
  1841. "example": {
  1842. "isSuccess": true,
  1843. "code": 1,
  1844. "result": [
  1845. {
  1846. "available": true,
  1847. "name": "llama3.2:1b"
  1848. }
  1849. ],
  1850. "isAuthorized": true
  1851. }
  1852. }
  1853. },
  1854. "headers": {}
  1855. }
  1856. },
  1857. "security": []
  1858. }
  1859. },
  1860. "/api/ai/ollama/downloadModel": {
  1861. "post": {
  1862. "summary": "下载模型",
  1863. "deprecated": false,
  1864. "description": "",
  1865. "tags": ["ollama"],
  1866. "parameters": [
  1867. {
  1868. "name": "Authorization",
  1869. "in": "header",
  1870. "description": "",
  1871. "example": "bpm_client_1500870842102321152",
  1872. "schema": {
  1873. "type": "string",
  1874. "default": "bpm_client_1500870842102321152"
  1875. }
  1876. }
  1877. ],
  1878. "requestBody": {
  1879. "content": {
  1880. "application/json": {
  1881. "schema": {
  1882. "type": "object",
  1883. "properties": {
  1884. "model": {
  1885. "type": "string"
  1886. }
  1887. },
  1888. "required": ["model"]
  1889. },
  1890. "example": {
  1891. "model": "qwen3-embedding:4b"
  1892. }
  1893. }
  1894. },
  1895. "required": true
  1896. },
  1897. "responses": {
  1898. "200": {
  1899. "description": "",
  1900. "content": {
  1901. "application/json": {
  1902. "schema": {
  1903. "type": "object",
  1904. "properties": {
  1905. "isSuccess": {
  1906. "type": "boolean"
  1907. },
  1908. "code": {
  1909. "type": "integer"
  1910. },
  1911. "result": {
  1912. "type": "object",
  1913. "properties": {
  1914. "modelName": {
  1915. "type": "string"
  1916. },
  1917. "progress": {
  1918. "type": "integer"
  1919. },
  1920. "status": {
  1921. "type": "string"
  1922. },
  1923. "taskId": {
  1924. "type": "string"
  1925. }
  1926. },
  1927. "required": ["modelName", "progress", "status", "taskId"]
  1928. },
  1929. "isAuthorized": {
  1930. "type": "boolean"
  1931. }
  1932. },
  1933. "required": ["isSuccess", "code", "result", "isAuthorized"]
  1934. },
  1935. "example": {
  1936. "isSuccess": true,
  1937. "code": 1,
  1938. "result": {
  1939. "modelName": "qwen3-embedding:4b",
  1940. "progress": 0,
  1941. "status": "pending",
  1942. "taskId": "9aaad22d-3749-4d8d-9b34-9aa9d119becc"
  1943. },
  1944. "isAuthorized": true
  1945. }
  1946. }
  1947. },
  1948. "headers": {}
  1949. }
  1950. },
  1951. "security": []
  1952. }
  1953. },
  1954. "/api/ai/ollama/downloadProcess": {
  1955. "post": {
  1956. "summary": "获取下载进度",
  1957. "deprecated": false,
  1958. "description": "",
  1959. "tags": ["ollama"],
  1960. "parameters": [
  1961. {
  1962. "name": "Authorization",
  1963. "in": "header",
  1964. "description": "",
  1965. "example": "bpm_client_1500870842102321152",
  1966. "schema": {
  1967. "type": "string",
  1968. "default": "bpm_client_1500870842102321152"
  1969. }
  1970. }
  1971. ],
  1972. "requestBody": {
  1973. "content": {
  1974. "application/json": {
  1975. "schema": {
  1976. "type": "object",
  1977. "properties": {
  1978. "taskId": {
  1979. "type": "string"
  1980. }
  1981. },
  1982. "required": ["taskId"]
  1983. },
  1984. "example": {
  1985. "taskId": "9aaad22d-3749-4d8d-9b34-9aa9d119becc"
  1986. }
  1987. }
  1988. },
  1989. "required": true
  1990. },
  1991. "responses": {
  1992. "200": {
  1993. "description": "",
  1994. "content": {
  1995. "application/json": {
  1996. "schema": {
  1997. "type": "object",
  1998. "properties": {
  1999. "isSuccess": {
  2000. "type": "boolean"
  2001. },
  2002. "code": {
  2003. "type": "integer"
  2004. },
  2005. "result": {
  2006. "type": "object",
  2007. "properties": {
  2008. "id": {
  2009. "type": "string"
  2010. },
  2011. "message": {
  2012. "type": "string"
  2013. },
  2014. "modelName": {
  2015. "type": "string"
  2016. },
  2017. "progress": {
  2018. "type": "number"
  2019. },
  2020. "startTime": {
  2021. "type": "string"
  2022. },
  2023. "status": {
  2024. "type": "string"
  2025. }
  2026. },
  2027. "required": ["id", "message", "modelName", "progress", "startTime", "status"]
  2028. },
  2029. "isAuthorized": {
  2030. "type": "boolean"
  2031. }
  2032. },
  2033. "required": ["isSuccess", "code", "result", "isAuthorized"]
  2034. },
  2035. "example": {
  2036. "isSuccess": true,
  2037. "code": 1,
  2038. "result": {
  2039. "id": "9aaad22d-3749-4d8d-9b34-9aa9d119becc",
  2040. "message": "下载中: 0.3% (pulling 2b0cf8f17b4c)",
  2041. "modelName": "qwen3-embedding:4b",
  2042. "progress": 0.33791762086877225,
  2043. "startTime": "2026-05-10T17:56:51.675831455+08:00",
  2044. "status": "downloading"
  2045. },
  2046. "isAuthorized": true
  2047. }
  2048. }
  2049. },
  2050. "headers": {}
  2051. }
  2052. },
  2053. "security": []
  2054. }
  2055. },
  2056. "/api/ai/ollama/downloadTasks": {
  2057. "post": {
  2058. "summary": "获取所有下载任务列表",
  2059. "deprecated": false,
  2060. "description": "",
  2061. "tags": ["ollama"],
  2062. "parameters": [
  2063. {
  2064. "name": "Authorization",
  2065. "in": "header",
  2066. "description": "",
  2067. "example": "bpm_client_1500870842102321152",
  2068. "schema": {
  2069. "type": "string",
  2070. "default": "bpm_client_1500870842102321152"
  2071. }
  2072. }
  2073. ],
  2074. "requestBody": {
  2075. "content": {
  2076. "application/json": {
  2077. "schema": {
  2078. "type": "object",
  2079. "properties": {}
  2080. },
  2081. "example": {}
  2082. }
  2083. },
  2084. "required": true
  2085. },
  2086. "responses": {
  2087. "200": {
  2088. "description": "",
  2089. "content": {
  2090. "application/json": {
  2091. "schema": {
  2092. "type": "object",
  2093. "properties": {
  2094. "isSuccess": {
  2095. "type": "boolean"
  2096. },
  2097. "code": {
  2098. "type": "integer"
  2099. },
  2100. "result": {
  2101. "type": "array",
  2102. "items": {
  2103. "type": "object",
  2104. "properties": {
  2105. "id": {
  2106. "type": "string"
  2107. },
  2108. "message": {
  2109. "type": "string"
  2110. },
  2111. "modelName": {
  2112. "type": "string"
  2113. },
  2114. "progress": {
  2115. "type": "integer"
  2116. },
  2117. "startTime": {
  2118. "type": "string"
  2119. },
  2120. "status": {
  2121. "type": "string"
  2122. }
  2123. }
  2124. }
  2125. },
  2126. "isAuthorized": {
  2127. "type": "boolean"
  2128. }
  2129. },
  2130. "required": ["isSuccess", "code", "result", "isAuthorized"]
  2131. },
  2132. "example": {
  2133. "isSuccess": true,
  2134. "code": 1,
  2135. "result": [
  2136. {
  2137. "id": "9aaad22d-3749-4d8d-9b34-9aa9d119becc",
  2138. "message": "下载完成",
  2139. "modelName": "qwen3-embedding:4b",
  2140. "progress": 100,
  2141. "startTime": "2026-05-10T17:56:51.675831455+08:00",
  2142. "status": "completed"
  2143. }
  2144. ],
  2145. "isAuthorized": true
  2146. }
  2147. }
  2148. },
  2149. "headers": {}
  2150. }
  2151. },
  2152. "security": []
  2153. }
  2154. }
  2155. },
  2156. "components": {
  2157. "schemas": {
  2158. "AgentNode": {
  2159. "type": "object",
  2160. "properties": {
  2161. "appAgentId": {
  2162. "type": "string",
  2163. "format": "uuid"
  2164. },
  2165. "creationTime": {
  2166. "type": "string",
  2167. "format": "date-time"
  2168. },
  2169. "creatorUserId": {
  2170. "type": "string",
  2171. "format": "uuid"
  2172. },
  2173. "data": {
  2174. "$ref": "#/components/schemas/NodeData"
  2175. },
  2176. "height": {
  2177. "type": "integer"
  2178. },
  2179. "id": {
  2180. "type": "string",
  2181. "format": "uuid"
  2182. },
  2183. "isDeleted": {
  2184. "type": "boolean"
  2185. },
  2186. "position": {
  2187. "type": "object",
  2188. "properties": {
  2189. "x": {
  2190. "type": "integer"
  2191. },
  2192. "y": {
  2193. "type": "integer"
  2194. }
  2195. },
  2196. "required": ["x", "y"]
  2197. },
  2198. "selected": {
  2199. "type": "boolean"
  2200. },
  2201. "type": {
  2202. "type": "string",
  2203. "enum": ["custom", "start", "end", "condition", "task", "http-request"]
  2204. },
  2205. "updateTime": {
  2206. "type": "string",
  2207. "format": "date-time"
  2208. },
  2209. "width": {
  2210. "type": "integer"
  2211. },
  2212. "zIndex": {
  2213. "type": "integer"
  2214. }
  2215. },
  2216. "required": [
  2217. "appAgentId",
  2218. "creationTime",
  2219. "creatorUserId",
  2220. "data",
  2221. "id",
  2222. "position",
  2223. "type"
  2224. ]
  2225. },
  2226. "NodeData": {
  2227. "type": "object",
  2228. "properties": {
  2229. "outputs": {
  2230. "type": "array",
  2231. "items": {
  2232. "type": "object",
  2233. "properties": {
  2234. "name": {
  2235. "type": "string"
  2236. },
  2237. "describe": {
  2238. "type": "string"
  2239. },
  2240. "type": {
  2241. "type": "string",
  2242. "enum": ["string", "number", "boolean", "object", "array"]
  2243. }
  2244. },
  2245. "required": ["name", "describe", "type"]
  2246. }
  2247. },
  2248. "output_can_alter": {
  2249. "type": "boolean"
  2250. },
  2251. "variables": {
  2252. "type": "array",
  2253. "items": {
  2254. "type": "string"
  2255. }
  2256. },
  2257. "method": {
  2258. "type": "string",
  2259. "enum": ["get", "post", "put", "delete", "patch", "head", "options"]
  2260. },
  2261. "ssl_verify": {
  2262. "type": "boolean"
  2263. },
  2264. "isInIteration": {
  2265. "type": "boolean"
  2266. },
  2267. "default_value": {
  2268. "type": "array",
  2269. "items": {
  2270. "type": "string"
  2271. }
  2272. },
  2273. "body": {
  2274. "$ref": "#/components/schemas/RequestBody"
  2275. },
  2276. "params": {
  2277. "type": "array",
  2278. "items": {
  2279. "type": "string"
  2280. }
  2281. },
  2282. "title": {
  2283. "type": "string"
  2284. },
  2285. "type": {
  2286. "type": "string",
  2287. "enum": ["http-request", "condition", "task"]
  2288. },
  2289. "error_strategy": {
  2290. "type": "string",
  2291. "enum": ["none", "retry", "abort", "continue"]
  2292. },
  2293. "retry_config": {
  2294. "type": "object",
  2295. "properties": {
  2296. "max_retries": {
  2297. "type": "integer",
  2298. "minimum": 0,
  2299. "maximum": 10
  2300. },
  2301. "retry_enabled": {
  2302. "type": "boolean"
  2303. },
  2304. "retry_interval": {
  2305. "type": "integer",
  2306. "minimum": 0,
  2307. "maximum": 5000
  2308. }
  2309. },
  2310. "required": ["max_retries", "retry_enabled", "retry_interval"]
  2311. },
  2312. "url": {
  2313. "type": "string",
  2314. "format": "uri"
  2315. },
  2316. "authorization": {
  2317. "type": "object",
  2318. "properties": {
  2319. "type": {
  2320. "type": "string",
  2321. "enum": ["none", "bearer", "basic", "api-key"]
  2322. },
  2323. "config": {
  2324. "type": "object",
  2325. "properties": {
  2326. "api_key": {
  2327. "type": "string"
  2328. },
  2329. "header": {
  2330. "type": "string"
  2331. },
  2332. "type": {
  2333. "type": "string"
  2334. }
  2335. }
  2336. }
  2337. },
  2338. "required": ["type", "config"]
  2339. },
  2340. "timeout_config": {
  2341. "type": "object",
  2342. "properties": {
  2343. "max_write_timeout": {
  2344. "type": "integer",
  2345. "minimum": 0
  2346. },
  2347. "max_read_timeout": {
  2348. "type": "integer",
  2349. "minimum": 0
  2350. },
  2351. "max_connect_timeout": {
  2352. "type": "integer",
  2353. "minimum": 0
  2354. }
  2355. },
  2356. "required": ["max_write_timeout", "max_read_timeout", "max_connect_timeout"]
  2357. },
  2358. "heads": {
  2359. "type": "array",
  2360. "items": {
  2361. "$ref": "#/components/schemas/HttpHeader"
  2362. }
  2363. },
  2364. "selected": {
  2365. "type": "boolean"
  2366. },
  2367. "desc": {
  2368. "type": "string"
  2369. },
  2370. "isInLoop": {
  2371. "type": "boolean"
  2372. }
  2373. },
  2374. "required": ["outputs", "method", "title", "type", "url"]
  2375. },
  2376. "RequestBody": {
  2377. "type": "object",
  2378. "properties": {
  2379. "data": {
  2380. "type": "array",
  2381. "items": {
  2382. "$ref": "#/components/schemas/RequestDataItem"
  2383. }
  2384. },
  2385. "type": {
  2386. "type": "string",
  2387. "enum": ["json", "form-data", "x-www-form-urlencoded", "raw", "binary"]
  2388. }
  2389. },
  2390. "required": ["data", "type"]
  2391. },
  2392. "RequestDataItem": {
  2393. "type": "object",
  2394. "properties": {
  2395. "type": {
  2396. "type": "string",
  2397. "enum": ["text", "file", "json"]
  2398. },
  2399. "value": {
  2400. "type": "string"
  2401. },
  2402. "key": {
  2403. "type": "string"
  2404. }
  2405. },
  2406. "required": ["type", "value"]
  2407. },
  2408. "HttpHeader": {
  2409. "type": "object",
  2410. "properties": {
  2411. "name": {
  2412. "type": "string"
  2413. },
  2414. "value": {
  2415. "type": "string"
  2416. }
  2417. },
  2418. "required": ["name", "value"]
  2419. }
  2420. },
  2421. "securitySchemes": {
  2422. "ApiKeyAuth": {
  2423. "type": "apiKey",
  2424. "in": "header",
  2425. "name": "Authorization"
  2426. }
  2427. }
  2428. },
  2429. "security": [
  2430. {
  2431. "ApiKeyAuth": []
  2432. }
  2433. ]
  2434. }