system.openapi.json 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560
  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": "system",
  17. "description": "系统相关"
  18. }
  19. ],
  20. "paths": {
  21. "/api/bpm/getAsynTaskInfo": {
  22. "post": {
  23. "summary": "查询异步任务状态",
  24. "deprecated": false,
  25. "description": "状态 0: 已创建 1: 运行中 2: 成功 3: 失败 4: 挂起",
  26. "tags": ["system"],
  27. "parameters": [
  28. {
  29. "name": "Authorization",
  30. "in": "header",
  31. "description": "",
  32. "example": "bpm_backend_1523343531161161728",
  33. "schema": {
  34. "type": "string"
  35. }
  36. }
  37. ],
  38. "requestBody": {
  39. "content": {
  40. "application/json": {
  41. "schema": {
  42. "type": "object",
  43. "properties": {
  44. "id": {
  45. "type": "string"
  46. }
  47. },
  48. "required": ["id"]
  49. },
  50. "example": {
  51. "id": "a7d88070-5dd3-404e-ac02-429a883cf40c"
  52. }
  53. }
  54. },
  55. "required": true
  56. },
  57. "responses": {
  58. "200": {
  59. "description": "",
  60. "content": {
  61. "application/json": {
  62. "schema": {
  63. "type": "object",
  64. "properties": {
  65. "isSuccess": {
  66. "type": "boolean"
  67. },
  68. "code": {
  69. "type": "integer"
  70. },
  71. "result": {
  72. "type": "object",
  73. "properties": {
  74. "appPageCode": {
  75. "type": "string"
  76. },
  77. "argsInput": {
  78. "type": "object",
  79. "properties": {
  80. "args": {
  81. "type": "array",
  82. "items": {
  83. "type": "object",
  84. "properties": {
  85. "name": {
  86. "type": "string"
  87. },
  88. "value": {
  89. "type": "string"
  90. }
  91. }
  92. }
  93. }
  94. },
  95. "required": ["args"]
  96. },
  97. "code": {
  98. "type": "string"
  99. },
  100. "creationTime": {
  101. "type": "string"
  102. },
  103. "creatorUserId": {
  104. "type": "string"
  105. },
  106. "downFileId": {
  107. "type": "string"
  108. },
  109. "entityId": {
  110. "type": "string"
  111. },
  112. "fileId": {
  113. "type": "string"
  114. },
  115. "htmlStatusInfo": {
  116. "type": "string"
  117. },
  118. "id": {
  119. "type": "string"
  120. },
  121. "isDeleted": {
  122. "type": "boolean"
  123. },
  124. "nodeId": {
  125. "type": "string"
  126. },
  127. "params": {
  128. "type": "string"
  129. },
  130. "progress": {
  131. "type": "string"
  132. },
  133. "status": {
  134. "type": "integer"
  135. },
  136. "taskId": {
  137. "type": "string"
  138. },
  139. "type": {
  140. "type": "integer"
  141. },
  142. "updateTime": {
  143. "type": "string"
  144. }
  145. },
  146. "required": [
  147. "appPageCode",
  148. "argsInput",
  149. "code",
  150. "creationTime",
  151. "creatorUserId",
  152. "downFileId",
  153. "entityId",
  154. "fileId",
  155. "htmlStatusInfo",
  156. "id",
  157. "isDeleted",
  158. "nodeId",
  159. "params",
  160. "progress",
  161. "status",
  162. "taskId",
  163. "type",
  164. "updateTime"
  165. ]
  166. },
  167. "isAuthorized": {
  168. "type": "boolean"
  169. }
  170. },
  171. "required": ["isSuccess", "code", "result", "isAuthorized"]
  172. },
  173. "example": {
  174. "isSuccess": true,
  175. "code": 1,
  176. "result": {
  177. "appPageCode": "",
  178. "argsInput": {
  179. "args": [
  180. {
  181. "name": "dto",
  182. "value": "{\"fileId\":\"fe489262-4558-473c-aa8b-790a23f93a6c\",\"knowledge_base_id\":\"4eb56dcf-a376-4b1d-9475-88d0595d1343\",\"mode\":\"replace\",\"userId\":\"7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993\"}"
  183. }
  184. ]
  185. },
  186. "code": "2026060416453046069pq2bshgy",
  187. "creationTime": "2026-06-04 16:45:30",
  188. "creatorUserId": "7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993",
  189. "downFileId": "",
  190. "entityId": "",
  191. "fileId": "",
  192. "htmlStatusInfo": "任务编号:2026060416453046069pq2bshgy\r\n当前状态:成功\r\n",
  193. "id": "a7d88070-5dd3-404e-ac02-429a883cf40c",
  194. "isDeleted": false,
  195. "nodeId": "",
  196. "params": "{\"args\":[{\"name\":\"dto\",\"value\":\"{\\\"fileId\\\":\\\"fe489262-4558-473c-aa8b-790a23f93a6c\\\",\\\"knowledge_base_id\\\":\\\"4eb56dcf-a376-4b1d-9475-88d0595d1343\\\",\\\"mode\\\":\\\"replace\\\",\\\"userId\\\":\\\"7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993\\\"}\"}]}",
  197. "progress": "",
  198. "status": 2,
  199. "taskId": "",
  200. "type": 17,
  201. "updateTime": "2026-06-04 16:45:30"
  202. },
  203. "isAuthorized": true
  204. }
  205. }
  206. },
  207. "headers": {}
  208. }
  209. },
  210. "security": []
  211. }
  212. },
  213. "/api/menu/leftMenuList": {
  214. "post": {
  215. "summary": "获取左边菜单列表",
  216. "deprecated": false,
  217. "description": "状态 0: 已创建 1: 运行中 2: 成功 3: 失败 4: 挂起",
  218. "tags": ["system"],
  219. "parameters": [
  220. {
  221. "name": "Authorization",
  222. "in": "header",
  223. "description": "",
  224. "example": "bpm_backend_1523343531161161728",
  225. "schema": {
  226. "type": "string"
  227. }
  228. }
  229. ],
  230. "requestBody": {
  231. "content": {
  232. "application/json": {
  233. "schema": {
  234. "type": "object",
  235. "properties": {
  236. "menuCode": {
  237. "type": "string"
  238. }
  239. },
  240. "required": ["menuCode"]
  241. },
  242. "example": {
  243. "menuCode": "aiRoot"
  244. }
  245. }
  246. },
  247. "required": true
  248. },
  249. "responses": {
  250. "200": {
  251. "description": "",
  252. "content": {
  253. "application/json": {
  254. "schema": {
  255. "type": "object",
  256. "properties": {
  257. "isSuccess": {
  258. "type": "boolean"
  259. },
  260. "code": {
  261. "type": "integer"
  262. },
  263. "result": {
  264. "type": "object",
  265. "properties": {
  266. "bindLink": {
  267. "type": "boolean"
  268. },
  269. "code": {
  270. "type": "string"
  271. },
  272. "deleted": {
  273. "type": "boolean"
  274. },
  275. "dynamicMenuLink": {
  276. "type": "string"
  277. },
  278. "enableApply": {
  279. "type": "boolean"
  280. },
  281. "enableMobile": {
  282. "type": "boolean"
  283. },
  284. "fullName": {
  285. "type": "string"
  286. },
  287. "fullPath": {
  288. "type": "string"
  289. },
  290. "iconColor": {
  291. "type": "string"
  292. },
  293. "id": {
  294. "type": "string"
  295. },
  296. "isBindLink": {
  297. "type": "boolean"
  298. },
  299. "isDeleted": {
  300. "type": "boolean"
  301. },
  302. "isFavourite": {
  303. "type": "boolean"
  304. },
  305. "isManuallyCreate": {
  306. "type": "boolean"
  307. },
  308. "langName": {
  309. "type": "string"
  310. },
  311. "languageCulture": {
  312. "type": "string"
  313. },
  314. "link": {
  315. "type": "string"
  316. },
  317. "linkId": {
  318. "type": "string"
  319. },
  320. "linkType": {
  321. "type": "integer"
  322. },
  323. "linkWorkflowId": {
  324. "type": "string"
  325. },
  326. "manuallyCreate": {
  327. "type": "boolean"
  328. },
  329. "menuDepth": {
  330. "type": "integer"
  331. },
  332. "menuIndex": {
  333. "type": "integer"
  334. },
  335. "menuType": {
  336. "type": "integer"
  337. },
  338. "name": {
  339. "type": "string"
  340. },
  341. "openType": {
  342. "type": "integer"
  343. },
  344. "parentId": {
  345. "type": "string"
  346. },
  347. "subMenuList": {
  348. "type": "array",
  349. "items": {
  350. "type": "object",
  351. "properties": {
  352. "bindLink": {
  353. "type": "boolean"
  354. },
  355. "code": {
  356. "type": "string"
  357. },
  358. "deleted": {
  359. "type": "boolean"
  360. },
  361. "dynamicMenuLink": {
  362. "type": "string"
  363. },
  364. "enableApply": {
  365. "type": "boolean"
  366. },
  367. "enableMobile": {
  368. "type": "boolean"
  369. },
  370. "fullName": {
  371. "type": "string"
  372. },
  373. "fullPath": {
  374. "type": "string"
  375. },
  376. "iconColor": {
  377. "type": "string"
  378. },
  379. "id": {
  380. "type": "string"
  381. },
  382. "isBindLink": {
  383. "type": "boolean"
  384. },
  385. "isDeleted": {
  386. "type": "boolean"
  387. },
  388. "isFavourite": {
  389. "type": "boolean"
  390. },
  391. "isManuallyCreate": {
  392. "type": "boolean"
  393. },
  394. "langName": {
  395. "type": "string"
  396. },
  397. "languageCulture": {
  398. "type": "string"
  399. },
  400. "link": {
  401. "type": "string"
  402. },
  403. "linkId": {
  404. "type": "string"
  405. },
  406. "linkType": {
  407. "type": "integer"
  408. },
  409. "linkWorkflowId": {
  410. "type": "string"
  411. },
  412. "manuallyCreate": {
  413. "type": "boolean"
  414. },
  415. "menuDepth": {
  416. "type": "integer"
  417. },
  418. "menuIndex": {
  419. "type": "integer"
  420. },
  421. "menuType": {
  422. "type": "integer"
  423. },
  424. "name": {
  425. "type": "string"
  426. },
  427. "openType": {
  428. "type": "integer"
  429. },
  430. "parentId": {
  431. "type": "string"
  432. },
  433. "subMenuList": {
  434. "type": "array",
  435. "items": {
  436. "type": "string"
  437. }
  438. },
  439. "target": {
  440. "type": "string"
  441. },
  442. "targetName": {
  443. "type": "string"
  444. },
  445. "ts": {
  446. "type": "object",
  447. "properties": {
  448. "value": {
  449. "type": "string"
  450. }
  451. },
  452. "required": ["value"]
  453. }
  454. },
  455. "required": [
  456. "bindLink",
  457. "code",
  458. "deleted",
  459. "dynamicMenuLink",
  460. "enableApply",
  461. "enableMobile",
  462. "fullName",
  463. "fullPath",
  464. "iconColor",
  465. "id",
  466. "isBindLink",
  467. "isDeleted",
  468. "isFavourite",
  469. "isManuallyCreate",
  470. "langName",
  471. "languageCulture",
  472. "link",
  473. "linkId",
  474. "linkType",
  475. "linkWorkflowId",
  476. "manuallyCreate",
  477. "menuDepth",
  478. "menuIndex",
  479. "menuType",
  480. "name",
  481. "openType",
  482. "parentId",
  483. "subMenuList",
  484. "target",
  485. "targetName",
  486. "ts"
  487. ]
  488. }
  489. },
  490. "target": {
  491. "type": "string"
  492. },
  493. "targetName": {
  494. "type": "string"
  495. },
  496. "ts": {
  497. "type": "object",
  498. "properties": {
  499. "value": {
  500. "type": "string"
  501. }
  502. },
  503. "required": ["value"]
  504. }
  505. },
  506. "required": [
  507. "bindLink",
  508. "code",
  509. "deleted",
  510. "dynamicMenuLink",
  511. "enableApply",
  512. "enableMobile",
  513. "fullName",
  514. "fullPath",
  515. "iconColor",
  516. "id",
  517. "isBindLink",
  518. "isDeleted",
  519. "isFavourite",
  520. "isManuallyCreate",
  521. "langName",
  522. "languageCulture",
  523. "link",
  524. "linkId",
  525. "linkType",
  526. "linkWorkflowId",
  527. "manuallyCreate",
  528. "menuDepth",
  529. "menuIndex",
  530. "menuType",
  531. "name",
  532. "openType",
  533. "parentId",
  534. "subMenuList",
  535. "target",
  536. "targetName",
  537. "ts"
  538. ]
  539. },
  540. "isAuthorized": {
  541. "type": "boolean"
  542. }
  543. },
  544. "required": ["isSuccess", "code", "result", "isAuthorized"]
  545. },
  546. "example": {
  547. "isSuccess": true,
  548. "code": 1,
  549. "result": {
  550. "bindLink": false,
  551. "code": "aiRoot",
  552. "deleted": false,
  553. "dynamicMenuLink": "",
  554. "enableApply": false,
  555. "enableMobile": true,
  556. "fullName": "AI端",
  557. "fullPath": "aiRoot",
  558. "iconColor": "",
  559. "id": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  560. "isBindLink": false,
  561. "isDeleted": false,
  562. "isFavourite": false,
  563. "isManuallyCreate": true,
  564. "langName": "5f25ff2d-ee3f-4399-8246-41c55826ee97",
  565. "languageCulture": "zh-CN",
  566. "link": "",
  567. "linkId": "",
  568. "linkType": 0,
  569. "linkWorkflowId": "",
  570. "manuallyCreate": true,
  571. "menuDepth": 0,
  572. "menuIndex": 0,
  573. "menuType": 0,
  574. "name": "AI端",
  575. "openType": 0,
  576. "parentId": "",
  577. "subMenuList": [
  578. {
  579. "bindLink": false,
  580. "code": "sys_ai_zt_bp",
  581. "deleted": false,
  582. "dynamicMenuLink": "",
  583. "enableApply": false,
  584. "enableMobile": true,
  585. "fullName": "AI端>智能编排",
  586. "fullPath": "aiRoot>sys_ai_zt_bp",
  587. "iconColor": "",
  588. "id": "93a0ac01-0d54-441f-99ab-48be3ab21485",
  589. "isBindLink": false,
  590. "isDeleted": false,
  591. "isFavourite": false,
  592. "isManuallyCreate": true,
  593. "langName": "40a7d6b9-5e0e-4354-9743-7a2c2ec717f1",
  594. "languageCulture": "zh-CN",
  595. "link": "",
  596. "linkId": "",
  597. "linkType": 0,
  598. "linkWorkflowId": "",
  599. "manuallyCreate": true,
  600. "menuDepth": 2,
  601. "menuIndex": 1,
  602. "menuType": 0,
  603. "name": "智能编排",
  604. "openType": 3,
  605. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  606. "subMenuList": [],
  607. "target": "_self",
  608. "targetName": "",
  609. "ts": {
  610. "value": "2026-06-13 18:38:06"
  611. }
  612. },
  613. {
  614. "bindLink": false,
  615. "code": "sys_ai_knowledge_base",
  616. "deleted": false,
  617. "dynamicMenuLink": "",
  618. "enableApply": false,
  619. "enableMobile": true,
  620. "fullName": "AI端>知识库",
  621. "fullPath": "aiRoot>sys_ai_knowledge_base",
  622. "iconColor": "",
  623. "id": "35942985-8810-478f-9411-24e93ebdb8b9",
  624. "isBindLink": false,
  625. "isDeleted": false,
  626. "isFavourite": false,
  627. "isManuallyCreate": true,
  628. "langName": "9b36b6ad-56ba-441b-8fc0-5c2216033307",
  629. "languageCulture": "zh-CN",
  630. "link": "",
  631. "linkId": "",
  632. "linkType": 0,
  633. "linkWorkflowId": "",
  634. "manuallyCreate": true,
  635. "menuDepth": 2,
  636. "menuIndex": 2,
  637. "menuType": 0,
  638. "name": "知识库",
  639. "openType": 3,
  640. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  641. "subMenuList": [],
  642. "target": "_self",
  643. "targetName": "",
  644. "ts": {
  645. "value": "2026-06-13 18:38:06"
  646. }
  647. },
  648. {
  649. "bindLink": false,
  650. "code": "sys_ai_agent",
  651. "deleted": false,
  652. "dynamicMenuLink": "",
  653. "enableApply": false,
  654. "enableMobile": true,
  655. "fullName": "AI端>智能体",
  656. "fullPath": "aiRoot>sys_ai_agent",
  657. "iconColor": "",
  658. "id": "2241f858-cfd9-4592-9b98-cb0fd7deaf00",
  659. "isBindLink": false,
  660. "isDeleted": false,
  661. "isFavourite": false,
  662. "isManuallyCreate": true,
  663. "langName": "55163e16-2e12-4ff5-b47e-bb31f253d473",
  664. "languageCulture": "zh-CN",
  665. "link": "",
  666. "linkId": "",
  667. "linkType": 0,
  668. "linkWorkflowId": "",
  669. "manuallyCreate": true,
  670. "menuDepth": 2,
  671. "menuIndex": 3,
  672. "menuType": 0,
  673. "name": "智能体",
  674. "openType": 3,
  675. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  676. "subMenuList": [],
  677. "target": "_self",
  678. "targetName": "",
  679. "ts": {
  680. "value": "2026-06-13 18:38:06"
  681. }
  682. },
  683. {
  684. "bindLink": false,
  685. "code": "sys_ai_chat",
  686. "deleted": false,
  687. "dynamicMenuLink": "",
  688. "enableApply": false,
  689. "enableMobile": true,
  690. "fullName": "AI端>对话",
  691. "fullPath": "aiRoot>sys_ai_chat",
  692. "iconColor": "",
  693. "id": "9e0ee2c5-ac52-4ecc-8673-92b888181d35",
  694. "isBindLink": false,
  695. "isDeleted": false,
  696. "isFavourite": false,
  697. "isManuallyCreate": true,
  698. "langName": "7d6886e5-8254-4a55-a018-0efd03701185",
  699. "languageCulture": "zh-CN",
  700. "link": "",
  701. "linkId": "",
  702. "linkType": 0,
  703. "linkWorkflowId": "",
  704. "manuallyCreate": true,
  705. "menuDepth": 2,
  706. "menuIndex": 4,
  707. "menuType": 0,
  708. "name": "对话",
  709. "openType": 3,
  710. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  711. "subMenuList": [],
  712. "target": "_self",
  713. "targetName": "",
  714. "ts": {
  715. "value": "2026-06-13 18:38:06"
  716. }
  717. },
  718. {
  719. "bindLink": false,
  720. "code": "sys_ai_ollama",
  721. "deleted": false,
  722. "dynamicMenuLink": "",
  723. "enableApply": false,
  724. "enableMobile": true,
  725. "fullName": "AI端>Ollama",
  726. "fullPath": "aiRoot>sys_ai_ollama",
  727. "iconColor": "",
  728. "id": "e535532d-3d87-4f00-b95e-f41d2bc83ad1",
  729. "isBindLink": false,
  730. "isDeleted": false,
  731. "isFavourite": false,
  732. "isManuallyCreate": true,
  733. "langName": "4f81a757-733b-4b44-83b2-3121db0f2185",
  734. "languageCulture": "zh-CN",
  735. "link": "",
  736. "linkId": "",
  737. "linkType": 0,
  738. "linkWorkflowId": "",
  739. "manuallyCreate": true,
  740. "menuDepth": 2,
  741. "menuIndex": 5,
  742. "menuType": 0,
  743. "name": "Ollama",
  744. "openType": 3,
  745. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  746. "subMenuList": [],
  747. "target": "_self",
  748. "targetName": "",
  749. "ts": {
  750. "value": "2026-06-13 18:38:06"
  751. }
  752. },
  753. {
  754. "bindLink": false,
  755. "code": "sys_ai_models",
  756. "deleted": false,
  757. "dynamicMenuLink": "",
  758. "enableApply": false,
  759. "enableMobile": true,
  760. "fullName": "AI端>模型管理",
  761. "fullPath": "aiRoot>sys_ai_models",
  762. "iconColor": "",
  763. "id": "1ce4a64f-d882-465a-a5a2-d6b474d586d5",
  764. "isBindLink": false,
  765. "isDeleted": false,
  766. "isFavourite": false,
  767. "isManuallyCreate": true,
  768. "langName": "05fe6838-3ee6-4790-a16d-e02300c31877",
  769. "languageCulture": "zh-CN",
  770. "link": "",
  771. "linkId": "",
  772. "linkType": 0,
  773. "linkWorkflowId": "",
  774. "manuallyCreate": true,
  775. "menuDepth": 2,
  776. "menuIndex": 6,
  777. "menuType": 0,
  778. "name": "模型管理",
  779. "openType": 3,
  780. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  781. "subMenuList": [],
  782. "target": "_self",
  783. "targetName": "",
  784. "ts": {
  785. "value": "2026-06-13 18:38:06"
  786. }
  787. },
  788. {
  789. "bindLink": false,
  790. "code": "sys_ai_web_search",
  791. "deleted": false,
  792. "dynamicMenuLink": "",
  793. "enableApply": false,
  794. "enableMobile": true,
  795. "fullName": "AI端>网络搜索",
  796. "fullPath": "aiRoot>sys_ai_web_search",
  797. "iconColor": "",
  798. "id": "37e8039f-68cf-4174-9c6f-16881d666dba",
  799. "isBindLink": false,
  800. "isDeleted": false,
  801. "isFavourite": false,
  802. "isManuallyCreate": true,
  803. "langName": "ccc0620a-8a12-4dc3-9ca1-796200a63072",
  804. "languageCulture": "zh-CN",
  805. "link": "",
  806. "linkId": "",
  807. "linkType": 0,
  808. "linkWorkflowId": "",
  809. "manuallyCreate": true,
  810. "menuDepth": 2,
  811. "menuIndex": 7,
  812. "menuType": 0,
  813. "name": "网络搜索",
  814. "openType": 3,
  815. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  816. "subMenuList": [],
  817. "target": "_self",
  818. "targetName": "",
  819. "ts": {
  820. "value": "2026-06-13 18:38:06"
  821. }
  822. },
  823. {
  824. "bindLink": false,
  825. "code": "sys_ai_storage",
  826. "deleted": false,
  827. "dynamicMenuLink": "",
  828. "enableApply": false,
  829. "enableMobile": true,
  830. "fullName": "AI端>存储引擎",
  831. "fullPath": "aiRoot>sys_ai_storage",
  832. "iconColor": "",
  833. "id": "58f0a1fa-a109-40cd-bea0-2608edeabddf",
  834. "isBindLink": false,
  835. "isDeleted": false,
  836. "isFavourite": false,
  837. "isManuallyCreate": true,
  838. "langName": "ce89f453-eb67-42b8-beee-6f49a2ff9e95",
  839. "languageCulture": "zh-CN",
  840. "link": "",
  841. "linkId": "",
  842. "linkType": 0,
  843. "linkWorkflowId": "",
  844. "manuallyCreate": true,
  845. "menuDepth": 2,
  846. "menuIndex": 8,
  847. "menuType": 0,
  848. "name": "存储引擎",
  849. "openType": 3,
  850. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  851. "subMenuList": [],
  852. "target": "_self",
  853. "targetName": "",
  854. "ts": {
  855. "value": "2026-06-13 18:38:06"
  856. }
  857. },
  858. {
  859. "bindLink": false,
  860. "code": "sys_ai_vector_store",
  861. "deleted": false,
  862. "dynamicMenuLink": "",
  863. "enableApply": false,
  864. "enableMobile": true,
  865. "fullName": "AI端>向量存储",
  866. "fullPath": "aiRoot>sys_ai_vector_store",
  867. "iconColor": "",
  868. "id": "7cd06e7e-76bb-4864-8312-c264eb2fc692",
  869. "isBindLink": false,
  870. "isDeleted": false,
  871. "isFavourite": false,
  872. "isManuallyCreate": true,
  873. "langName": "c8347056-a144-4aa5-91e4-b21afdbf743c",
  874. "languageCulture": "zh-CN",
  875. "link": "",
  876. "linkId": "",
  877. "linkType": 0,
  878. "linkWorkflowId": "",
  879. "manuallyCreate": true,
  880. "menuDepth": 2,
  881. "menuIndex": 9,
  882. "menuType": 0,
  883. "name": "向量存储",
  884. "openType": 3,
  885. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  886. "subMenuList": [],
  887. "target": "_self",
  888. "targetName": "",
  889. "ts": {
  890. "value": "2026-06-13 18:38:06"
  891. }
  892. },
  893. {
  894. "bindLink": false,
  895. "code": "sys_ai_mcp",
  896. "deleted": false,
  897. "dynamicMenuLink": "",
  898. "enableApply": false,
  899. "enableMobile": true,
  900. "fullName": "AI端>MCP服务",
  901. "fullPath": "aiRoot>sys_ai_mcp",
  902. "iconColor": "",
  903. "id": "dc16b100-561c-4d71-8229-78700293a6b4",
  904. "isBindLink": false,
  905. "isDeleted": false,
  906. "isFavourite": false,
  907. "isManuallyCreate": true,
  908. "langName": "9b634097-e919-499c-bec4-d2990ec6af3d",
  909. "languageCulture": "zh-CN",
  910. "link": "",
  911. "linkId": "",
  912. "linkType": 0,
  913. "linkWorkflowId": "",
  914. "manuallyCreate": true,
  915. "menuDepth": 2,
  916. "menuIndex": 10,
  917. "menuType": 0,
  918. "name": "MCP服务",
  919. "openType": 3,
  920. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  921. "subMenuList": [],
  922. "target": "_self",
  923. "targetName": "",
  924. "ts": {
  925. "value": "2026-06-13 18:38:06"
  926. }
  927. },
  928. {
  929. "bindLink": false,
  930. "code": "sys_ai_prompts",
  931. "deleted": false,
  932. "dynamicMenuLink": "",
  933. "enableApply": false,
  934. "enableMobile": true,
  935. "fullName": "AI端>提示词与模版",
  936. "fullPath": "aiRoot>sys_ai_prompts",
  937. "iconColor": "",
  938. "id": "0667aa42-3f6a-4a30-8d2e-6ac1ee9fbf78",
  939. "isBindLink": false,
  940. "isDeleted": false,
  941. "isFavourite": false,
  942. "isManuallyCreate": true,
  943. "langName": "7ef73c2f-fcc5-485d-9924-de6e62acf8af",
  944. "languageCulture": "zh-CN",
  945. "link": "",
  946. "linkId": "",
  947. "linkType": 0,
  948. "linkWorkflowId": "",
  949. "manuallyCreate": true,
  950. "menuDepth": 2,
  951. "menuIndex": 11,
  952. "menuType": 0,
  953. "name": "提示词与模版",
  954. "openType": 3,
  955. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  956. "subMenuList": [],
  957. "target": "_self",
  958. "targetName": "",
  959. "ts": {
  960. "value": "2026-06-13 18:38:06"
  961. }
  962. },
  963. {
  964. "bindLink": false,
  965. "code": "sys_ai_skills",
  966. "deleted": false,
  967. "dynamicMenuLink": "",
  968. "enableApply": false,
  969. "enableMobile": true,
  970. "fullName": "AI端>Skills技能",
  971. "fullPath": "aiRoot>sys_ai_skills",
  972. "iconColor": "",
  973. "id": "67ff97c5-b5c9-4489-82c3-f09bcaf83c65",
  974. "isBindLink": false,
  975. "isDeleted": false,
  976. "isFavourite": false,
  977. "isManuallyCreate": true,
  978. "langName": "e2be2709-38a2-43bf-9397-adbd472576c3",
  979. "languageCulture": "zh-CN",
  980. "link": "",
  981. "linkId": "",
  982. "linkType": 0,
  983. "linkWorkflowId": "",
  984. "manuallyCreate": true,
  985. "menuDepth": 2,
  986. "menuIndex": 12,
  987. "menuType": 0,
  988. "name": "Skills技能",
  989. "openType": 3,
  990. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  991. "subMenuList": [],
  992. "target": "_self",
  993. "targetName": "",
  994. "ts": {
  995. "value": "2026-06-13 18:38:06"
  996. }
  997. },
  998. {
  999. "bindLink": false,
  1000. "code": "sys_ai_exec_logs",
  1001. "deleted": false,
  1002. "dynamicMenuLink": "",
  1003. "enableApply": false,
  1004. "enableMobile": true,
  1005. "fullName": "AI端>执行日志",
  1006. "fullPath": "aiRoot>sys_ai_exec_logs",
  1007. "iconColor": "",
  1008. "id": "efca3dad-c67d-4e3a-8bac-d172221b766c",
  1009. "isBindLink": false,
  1010. "isDeleted": false,
  1011. "isFavourite": false,
  1012. "isManuallyCreate": true,
  1013. "langName": "0b464709-70e1-43d7-8a73-1135762a1712",
  1014. "languageCulture": "zh-CN",
  1015. "link": "",
  1016. "linkId": "",
  1017. "linkType": 0,
  1018. "linkWorkflowId": "",
  1019. "manuallyCreate": true,
  1020. "menuDepth": 2,
  1021. "menuIndex": 13,
  1022. "menuType": 0,
  1023. "name": "执行日志",
  1024. "openType": 3,
  1025. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  1026. "subMenuList": [],
  1027. "target": "_self",
  1028. "targetName": "",
  1029. "ts": {
  1030. "value": "2026-06-13 18:38:06"
  1031. }
  1032. }
  1033. ],
  1034. "target": "",
  1035. "targetName": "",
  1036. "ts": {
  1037. "value": "2026-06-13 18:47:11"
  1038. }
  1039. },
  1040. "isAuthorized": true
  1041. }
  1042. }
  1043. },
  1044. "headers": {}
  1045. }
  1046. },
  1047. "security": []
  1048. }
  1049. },
  1050. "/api/menubutton/authorised_list": {
  1051. "post": {
  1052. "summary": "根据菜单编号,获取用户已授权的菜单按钮列表",
  1053. "deprecated": false,
  1054. "description": "状态 0: 已创建 1: 运行中 2: 成功 3: 失败 4: 挂起",
  1055. "tags": ["system"],
  1056. "parameters": [
  1057. {
  1058. "name": "Authorization",
  1059. "in": "header",
  1060. "description": "",
  1061. "example": "bpm_backend_1524236674609975296",
  1062. "schema": {
  1063. "type": "string"
  1064. }
  1065. }
  1066. ],
  1067. "requestBody": {
  1068. "content": {
  1069. "application/json": {
  1070. "schema": {
  1071. "type": "object",
  1072. "properties": {
  1073. "menuCode": {
  1074. "type": "string"
  1075. }
  1076. },
  1077. "required": ["menuCode"]
  1078. },
  1079. "example": {
  1080. "menuCode": "sys_ai_workflow"
  1081. }
  1082. }
  1083. },
  1084. "required": true
  1085. },
  1086. "responses": {
  1087. "200": {
  1088. "description": "",
  1089. "content": {
  1090. "application/json": {
  1091. "schema": {
  1092. "type": "object",
  1093. "properties": {
  1094. "isSuccess": {
  1095. "type": "boolean"
  1096. },
  1097. "code": {
  1098. "type": "integer"
  1099. },
  1100. "result": {
  1101. "type": "array",
  1102. "items": {
  1103. "type": "object",
  1104. "properties": {
  1105. "code": {
  1106. "type": "string"
  1107. },
  1108. "id": {
  1109. "type": "string"
  1110. },
  1111. "name": {
  1112. "type": "string"
  1113. }
  1114. },
  1115. "required": ["code", "id", "name"]
  1116. }
  1117. },
  1118. "isAuthorized": {
  1119. "type": "boolean"
  1120. }
  1121. },
  1122. "required": ["isSuccess", "code", "result", "isAuthorized"]
  1123. },
  1124. "example": {
  1125. "isSuccess": true,
  1126. "code": 1,
  1127. "result": [
  1128. {
  1129. "code": "edit",
  1130. "id": "622402cc-cb16-4aa2-9a9e-ee5082bd2265",
  1131. "name": "编辑"
  1132. },
  1133. {
  1134. "code": "del",
  1135. "id": "74e07200-c653-42d0-aa82-fcb1e28c48a0",
  1136. "name": "删除"
  1137. },
  1138. {
  1139. "code": "add",
  1140. "id": "993fcebc-547f-4323-9dd2-edde22316d68",
  1141. "name": "添加"
  1142. }
  1143. ],
  1144. "isAuthorized": true
  1145. }
  1146. }
  1147. },
  1148. "headers": {}
  1149. }
  1150. },
  1151. "security": []
  1152. }
  1153. },
  1154. "/api/account/curUserInfo": {
  1155. "post": {
  1156. "summary": "获取当前用户信息",
  1157. "deprecated": false,
  1158. "description": "状态 0: 已创建 1: 运行中 2: 成功 3: 失败 4: 挂起",
  1159. "tags": ["system"],
  1160. "parameters": [
  1161. {
  1162. "name": "Authorization",
  1163. "in": "header",
  1164. "description": "",
  1165. "example": "bpm_backend_1523343531161161728",
  1166. "schema": {
  1167. "type": "string"
  1168. }
  1169. }
  1170. ],
  1171. "requestBody": {
  1172. "content": {
  1173. "application/json": {
  1174. "schema": {
  1175. "type": "object",
  1176. "properties": {}
  1177. },
  1178. "example": {}
  1179. }
  1180. },
  1181. "required": true
  1182. },
  1183. "responses": {
  1184. "200": {
  1185. "description": "",
  1186. "content": {
  1187. "application/json": {
  1188. "schema": {
  1189. "type": "object",
  1190. "properties": {
  1191. "isSuccess": {
  1192. "type": "boolean"
  1193. },
  1194. "code": {
  1195. "type": "integer"
  1196. },
  1197. "result": {
  1198. "type": "object",
  1199. "properties": {
  1200. "account": {
  1201. "type": "string"
  1202. },
  1203. "cellPhone": {
  1204. "type": "string"
  1205. },
  1206. "employeeNumber": {
  1207. "type": "string"
  1208. },
  1209. "enterpriseName": {
  1210. "type": "string"
  1211. },
  1212. "id": {
  1213. "type": "string"
  1214. },
  1215. "isLoginToB": {
  1216. "type": "boolean"
  1217. },
  1218. "isOut": {
  1219. "type": "integer"
  1220. },
  1221. "isSuperAdmin": {
  1222. "type": "boolean"
  1223. },
  1224. "langName": {
  1225. "type": "string"
  1226. },
  1227. "language": {
  1228. "type": "string"
  1229. },
  1230. "name": {
  1231. "type": "string"
  1232. }
  1233. },
  1234. "required": [
  1235. "account",
  1236. "cellPhone",
  1237. "employeeNumber",
  1238. "enterpriseName",
  1239. "id",
  1240. "isLoginToB",
  1241. "isOut",
  1242. "isSuperAdmin",
  1243. "langName",
  1244. "language",
  1245. "name"
  1246. ]
  1247. },
  1248. "isAuthorized": {
  1249. "type": "boolean"
  1250. }
  1251. },
  1252. "required": ["isSuccess", "code", "result", "isAuthorized"]
  1253. },
  1254. "example": {
  1255. "isSuccess": true,
  1256. "code": 1,
  1257. "result": {
  1258. "account": "superadmin",
  1259. "cellPhone": "000****0000",
  1260. "employeeNumber": "",
  1261. "enterpriseName": "平台组件示例系统",
  1262. "id": "7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993",
  1263. "isLoginToB": false,
  1264. "isOut": 0,
  1265. "isSuperAdmin": true,
  1266. "langName": "e71764c1-48a2-41f3-9a32-3005200120d7",
  1267. "language": "zh-CN",
  1268. "name": "超级管理员"
  1269. },
  1270. "isAuthorized": true
  1271. }
  1272. }
  1273. },
  1274. "headers": {}
  1275. }
  1276. },
  1277. "security": []
  1278. }
  1279. }
  1280. },
  1281. "components": {
  1282. "schemas": {
  1283. "AgentNode": {
  1284. "type": "object",
  1285. "properties": {
  1286. "appAgentId": {
  1287. "type": "string",
  1288. "format": "uuid"
  1289. },
  1290. "creationTime": {
  1291. "type": "string",
  1292. "format": "date-time"
  1293. },
  1294. "creatorUserId": {
  1295. "type": "string",
  1296. "format": "uuid"
  1297. },
  1298. "data": {
  1299. "$ref": "#/components/schemas/NodeData"
  1300. },
  1301. "height": {
  1302. "type": "integer"
  1303. },
  1304. "id": {
  1305. "type": "string",
  1306. "format": "uuid"
  1307. },
  1308. "isDeleted": {
  1309. "type": "boolean"
  1310. },
  1311. "position": {
  1312. "type": "object",
  1313. "properties": {
  1314. "x": {
  1315. "type": "integer"
  1316. },
  1317. "y": {
  1318. "type": "integer"
  1319. }
  1320. },
  1321. "required": ["x", "y"]
  1322. },
  1323. "selected": {
  1324. "type": "boolean"
  1325. },
  1326. "type": {
  1327. "type": "string",
  1328. "enum": ["custom", "start", "end", "condition", "task", "http-request"]
  1329. },
  1330. "updateTime": {
  1331. "type": "string",
  1332. "format": "date-time"
  1333. },
  1334. "width": {
  1335. "type": "integer"
  1336. },
  1337. "zIndex": {
  1338. "type": "integer"
  1339. }
  1340. },
  1341. "required": [
  1342. "appAgentId",
  1343. "creationTime",
  1344. "creatorUserId",
  1345. "data",
  1346. "id",
  1347. "position",
  1348. "type"
  1349. ]
  1350. },
  1351. "NodeData": {
  1352. "type": "object",
  1353. "properties": {
  1354. "outputs": {
  1355. "type": "array",
  1356. "items": {
  1357. "type": "object",
  1358. "properties": {
  1359. "name": {
  1360. "type": "string"
  1361. },
  1362. "describe": {
  1363. "type": "string"
  1364. },
  1365. "type": {
  1366. "type": "string",
  1367. "enum": ["string", "number", "boolean", "object", "array"]
  1368. }
  1369. },
  1370. "required": ["name", "describe", "type"]
  1371. }
  1372. },
  1373. "output_can_alter": {
  1374. "type": "boolean"
  1375. },
  1376. "variables": {
  1377. "type": "array",
  1378. "items": {
  1379. "type": "string"
  1380. }
  1381. },
  1382. "method": {
  1383. "type": "string",
  1384. "enum": ["get", "post", "put", "delete", "patch", "head", "options"]
  1385. },
  1386. "ssl_verify": {
  1387. "type": "boolean"
  1388. },
  1389. "isInIteration": {
  1390. "type": "boolean"
  1391. },
  1392. "default_value": {
  1393. "type": "array",
  1394. "items": {
  1395. "type": "string"
  1396. }
  1397. },
  1398. "body": {
  1399. "$ref": "#/components/schemas/RequestBody"
  1400. },
  1401. "params": {
  1402. "type": "array",
  1403. "items": {
  1404. "type": "string"
  1405. }
  1406. },
  1407. "title": {
  1408. "type": "string"
  1409. },
  1410. "type": {
  1411. "type": "string",
  1412. "enum": ["http-request", "condition", "task"]
  1413. },
  1414. "error_strategy": {
  1415. "type": "string",
  1416. "enum": ["none", "retry", "abort", "continue"]
  1417. },
  1418. "retry_config": {
  1419. "type": "object",
  1420. "properties": {
  1421. "max_retries": {
  1422. "type": "integer",
  1423. "minimum": 0,
  1424. "maximum": 10
  1425. },
  1426. "retry_enabled": {
  1427. "type": "boolean"
  1428. },
  1429. "retry_interval": {
  1430. "type": "integer",
  1431. "minimum": 0,
  1432. "maximum": 5000
  1433. }
  1434. },
  1435. "required": ["max_retries", "retry_enabled", "retry_interval"]
  1436. },
  1437. "url": {
  1438. "type": "string",
  1439. "format": "uri"
  1440. },
  1441. "authorization": {
  1442. "type": "object",
  1443. "properties": {
  1444. "type": {
  1445. "type": "string",
  1446. "enum": ["none", "bearer", "basic", "api-key"]
  1447. },
  1448. "config": {
  1449. "type": "object",
  1450. "properties": {
  1451. "api_key": {
  1452. "type": "string"
  1453. },
  1454. "header": {
  1455. "type": "string"
  1456. },
  1457. "type": {
  1458. "type": "string"
  1459. }
  1460. }
  1461. }
  1462. },
  1463. "required": ["type", "config"]
  1464. },
  1465. "timeout_config": {
  1466. "type": "object",
  1467. "properties": {
  1468. "max_write_timeout": {
  1469. "type": "integer",
  1470. "minimum": 0
  1471. },
  1472. "max_read_timeout": {
  1473. "type": "integer",
  1474. "minimum": 0
  1475. },
  1476. "max_connect_timeout": {
  1477. "type": "integer",
  1478. "minimum": 0
  1479. }
  1480. },
  1481. "required": ["max_write_timeout", "max_read_timeout", "max_connect_timeout"]
  1482. },
  1483. "heads": {
  1484. "type": "array",
  1485. "items": {
  1486. "$ref": "#/components/schemas/HttpHeader"
  1487. }
  1488. },
  1489. "selected": {
  1490. "type": "boolean"
  1491. },
  1492. "desc": {
  1493. "type": "string"
  1494. },
  1495. "isInLoop": {
  1496. "type": "boolean"
  1497. }
  1498. },
  1499. "required": ["outputs", "method", "title", "type", "url"]
  1500. },
  1501. "RequestBody": {
  1502. "type": "object",
  1503. "properties": {
  1504. "data": {
  1505. "type": "array",
  1506. "items": {
  1507. "$ref": "#/components/schemas/RequestDataItem"
  1508. }
  1509. },
  1510. "type": {
  1511. "type": "string",
  1512. "enum": ["json", "form-data", "x-www-form-urlencoded", "raw", "binary"]
  1513. }
  1514. },
  1515. "required": ["data", "type"]
  1516. },
  1517. "RequestDataItem": {
  1518. "type": "object",
  1519. "properties": {
  1520. "type": {
  1521. "type": "string",
  1522. "enum": ["text", "file", "json"]
  1523. },
  1524. "value": {
  1525. "type": "string"
  1526. },
  1527. "key": {
  1528. "type": "string"
  1529. }
  1530. },
  1531. "required": ["type", "value"]
  1532. },
  1533. "HttpHeader": {
  1534. "type": "object",
  1535. "properties": {
  1536. "name": {
  1537. "type": "string"
  1538. },
  1539. "value": {
  1540. "type": "string"
  1541. }
  1542. },
  1543. "required": ["name", "value"]
  1544. }
  1545. },
  1546. "securitySchemes": {
  1547. "ApiKeyAuth": {
  1548. "type": "apiKey",
  1549. "in": "header",
  1550. "name": "Authorization"
  1551. }
  1552. }
  1553. },
  1554. "security": [
  1555. {
  1556. "ApiKeyAuth": []
  1557. }
  1558. ]
  1559. }