summaryrefslogtreecommitdiff
path: root/data/en_us/modelstudio/2026-02-10/api-docs.php
blob: 409a75b90c75e1eed8f5be485ba281d4b03ffc1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'ROA', 'product' => 'ModelStudio', 'version' => '2026-02-10'],
    'directories' => [
        [
            'children' => ['ListWorkspaces', 'CreateWorkspace', 'DeleteWorkspace'],
            'type' => 'directory',
            'title' => 'Business space',
        ],
        [
            'children' => ['ResetApiKey', 'EnableApiKey', 'DisableApiKey', 'CreateApiKey', 'UpdateApiKey', 'GetApiKey', 'ListApiKeys', 'DeleteApiKey'],
            'type' => 'directory',
            'title' => 'API Key',
        ],
        [
            'children' => ['AddOrganizationMember', 'BatchAssignSeats', 'BatchRevokeSeats', 'CreateTokenPlanInviteLink', 'CreateTokenPlanKey', 'GetOrganization', 'GetOrganizationMemberSeatStats', 'GetSubscriptionSeatDetails', 'GetSubscriptionStats', 'GetTokenPlanAccountDetail', 'GetTokenPlanInviteLink', 'GetTokenPlanOrgInviteConfig', 'ListOrganizationMembers', 'ListSubscriptionSharedPackages', 'RemoveOrganizationMember', 'RevokeTokenPlanInviteLink', 'RotateTokenPlanKey', 'SetTokenPlanOrgInviteConfig', 'UpdateOrganization', 'UpdateOrganizationMember'],
            'title' => 'Others',
            'type' => 'directory',
        ],
    ],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'AddOrganizationMember' => [
            'summary' => 'Creates an account and directly adds it as a member.',
            'path' => '/tokenplan/organization/member-additions',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'AccountName',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'The display name. If this parameter is not empty, the name field of the account is updated synchronously.', 'type' => 'string', 'required' => true, 'example' => '账号名称'],
                ],
                [
                    'name' => 'OrgRoleCode',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'The organization role code. Only ORG_ADMIN or ORG_MEMBER is allowed. Default value: ORG_MEMBER.', 'type' => 'string', 'required' => true, 'example' => 'ORG_MEMBER'],
                ],
                [
                    'name' => 'SpecType',
                    'in' => 'query',
                    'schema' => ['description' => 'The seat specification. Valid values:'."\n"
                        ."\n"
                        .'- standard: standard seat.'."\n"
                        .'- pro: premium seat.'."\n"
                        .'- max: exclusive seat.', 'type' => 'string', 'required' => false, 'example' => 'standard', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<CreateAccountAddMemberDTO>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => 'Success'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'Success.'],
                            'Data' => [
                                'title' => '',
                                'description' => 'The business data.',
                                'type' => 'object',
                                'properties' => [
                                    'AccountId' => ['title' => '', 'description' => 'The account ID.', 'type' => 'string', 'example' => 'acc_123456789'],
                                    'SeatAssigned' => ['description' => 'Indicates whether the seat was assigned successfully.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                                ],
                                'example' => '',
                            ],
                            'HttpStatusCode' => ['title' => '', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => 'None'],
                            'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '385C2BC3-52FC-564F-9312-97E5DFE1DFC0'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Create a member',
            'changeSet' => [],
            'ramActions' => [
                [
                    'operationType' => 'create',
                    'ramAction' => [
                        'action' => 'modelstudio:AddOrganizationMember',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"Success\\",\\n  \\"Message\\": \\"Success.\\",\\n  \\"Data\\": {\\n    \\"AccountId\\": \\"acc_123456789\\",\\n    \\"SeatAssigned\\": true\\n  },\\n  \\"HttpStatusCode\\": 0,\\n  \\"RequestId\\": \\"385C2BC3-52FC-564F-9312-97E5DFE1DFC0\\"\\n}","type":"json"}]',
        ],
        'BatchAssignSeats' => [
            'summary' => 'Assigns seats in batches to the member level.',
            'path' => '/tokenplan/subscription/seat-assignments',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'SeatType',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'The seat type. Valid values:'."\n"
                        .'- standard: standard seat'."\n"
                        .'- pro: pro seat'."\n"
                        .'- max: premium seat', 'type' => 'string', 'required' => true, 'example' => 'standard'],
                ],
                [
                    'name' => 'AccountIds',
                    'in' => 'query',
                    'style' => 'flat',
                    'schema' => [
                        'title' => '',
                        'description' => 'The list of target member IDs.',
                        'type' => 'array',
                        'items' => ['description' => 'The member ID.', 'type' => 'string', 'required' => false, 'example' => 'acc_123456789', 'title' => ''],
                        'required' => false,
                        'example' => '',
                    ],
                ],
                [
                    'name' => 'Locale',
                    'in' => 'query',
                    'schema' => ['description' => 'The language. Valid values: zh-CN and en-US.', 'type' => 'string', 'required' => false, 'example' => 'zh-CN', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<Void>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => '200'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'None'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Assign seats',
            'changeSet' => [],
            'ramActions' => [
                [
                    'operationType' => 'update',
                    'ramAction' => [
                        'action' => 'modelstudio:BatchAssignSeats',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"None\\"\\n}","type":"json"}]',
        ],
        'BatchRevokeSeats' => [
            'path' => '/tokenplan/subscription/seat-revocations',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'Items',
                    'in' => 'query',
                    'style' => 'json',
                    'schema' => [
                        'title' => '',
                        'description' => 'The list of revocation items. This parameter is required.',
                        'type' => 'array',
                        'items' => [
                            'description' => 'The details of the send record list.',
                            'type' => 'object',
                            'properties' => [
                                'AccountId' => ['title' => '', 'description' => 'The ID of the currently associated member.', 'type' => 'string', 'required' => false, 'example' => 'acc_123456789'],
                            ],
                            'required' => false,
                            'title' => '',
                            'example' => '',
                        ],
                        'required' => false,
                        'example' => '',
                    ],
                ],
                [
                    'name' => 'Locale',
                    'in' => 'query',
                    'schema' => ['description' => 'The language. Valid values: zh-CN and en-US.', 'type' => 'string', 'required' => false, 'example' => 'zh-CN', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<Void>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The error code. This parameter is empty if the request was successful.', 'type' => 'string', 'example' => '200'],
                            'Message' => ['title' => '', 'description' => 'The error message. This parameter is empty if the request was successful.', 'type' => 'string', 'example' => 'Successful'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Revoke seats',
            'summary' => 'Revokes member-level seats in batches.',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"Successful\\"\\n}","type":"json"}]',
        ],
        'CreateApiKey' => [
            'summary' => 'Before using large models or applications in Alibaba Cloud Model Studio, create an API key as an authentication credential.',
            'path' => '/modelstudio/apikeys',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'workspaceId',
                    'in' => 'query',
                    'schema' => ['description' => 'The workspace ID.'."\n"
                        .'> '."\n"
                        .'> - If you leave this parameter empty, the API key is automatically assigned to the default workspace.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'maxLength' => 128, 'example' => 'ws-8af73c50f5596193', 'title' => ''],
                ],
                [
                    'name' => 'description',
                    'in' => 'query',
                    'schema' => ['description' => 'The description.', 'type' => 'string', 'maxLength' => 200, 'required' => false, 'example' => 'test', 'title' => ''],
                ],
                [
                    'name' => 'auth',
                    'in' => 'formData',
                    'style' => 'flat',
                    'schema' => [
                        'title' => '',
                        'description' => 'The API key permission settings.',
                        'type' => 'object',
                        'properties' => [
                            'type' => [
                                'title' => '',
                                'description' => 'Valid values:'."\n"
                                    ."\n"
                                    .'- All: all permissions.'."\n"
                                    .'- Custom: custom permissions.',
                                'type' => 'string',
                                'required' => false,
                                'example' => 'Custom',
                                'default' => 'All',
                                'enum' => ['All', 'Custom'],
                            ],
                            'accessIps' => [
                                'title' => '',
                                'description' => 'The IP access whitelist.'."\n"
                                    ."\n"
                                    .'> '."\n"
                                    .'> - When you set custom permissions and leave the IP access whitelist empty, the server sets the default values to IPv4 (0.0.0.0/0) and IPv6 (::/0), which allows all traffic.',
                                'type' => 'array',
                                'items' => ['title' => '', 'description' => 'The IPv4 address, IPv6 address, or CIDR block.', 'type' => 'string', 'example' => '192.168.1.0/24', 'required' => false],
                                'required' => false,
                                'docRequired' => false,
                                'example' => '',
                            ],
                            'modelAccessScope' => [
                                'title' => '',
                                'description' => 'The model access scope.',
                                'type' => 'object',
                                'properties' => [
                                    'allowAllModels' => ['title' => '', 'description' => 'Specifies whether all models with granted inference permissions in the workspace are accessible. Valid values:'."\n"
                                        ."\n"
                                        .'- true'."\n"
                                        .'- false', 'type' => 'boolean', 'default' => 'true', 'required' => false, 'example' => 'false'],
                                    'accessibleModels' => [
                                        'title' => '',
                                        'description' => 'The list of accessible models.'."\n"
                                            .'><notice>This parameter takes effect only when allowAllModels is set to false.></notice>',
                                        'type' => 'array',
                                        'items' => ['title' => '', 'description' => 'The accessible model.', 'type' => 'string', 'required' => false, 'example' => 'qwen3.6-plus'],
                                        'required' => false,
                                        'example' => '',
                                    ],
                                ],
                                'required' => false,
                                'docRequired' => false,
                                'example' => '',
                            ],
                        ],
                        'required' => false,
                        'example' => '',
                    ],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'C0CDC72E-52D7-5BC8-9396-9276B4FDF6B3'],
                            'code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''],
                            'message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
                            'success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n"
                                .'- true: Succeeded.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                            'apiKey' => [
                                'description' => 'The API key information.',
                                'type' => 'object',
                                'properties' => [
                                    'apiKeyValue' => ['description' => 'The value of the API key.'."\n"
                                        .'><notice>Copy your API key immediately. Store it securely. Anyone who obtains this key can initiate service requests on your behalf and incur charges. If you lose the key, you can reset it or create a new one.></notice>', 'type' => 'string', 'example' => 'sk-ws-djI.8O7dkfkW2aICctnid4u4', 'title' => ''],
                                    'apiKeyId' => ['description' => 'API Key ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1858636', 'title' => ''],
                                    'workspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'ws-3fa048e86117d91f', 'title' => ''],
                                    'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'desc', 'title' => ''],
                                    'createdBy' => ['description' => 'The creator.', 'type' => 'string', 'example' => '1378030599924858', 'title' => ''],
                                    'gmtCreate' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1774338222000', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this action.', 'description' => ''],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"requestId\\": \\"C0CDC72E-52D7-5BC8-9396-9276B4FDF6B3\\",\\n  \\"code\\": \\"200\\",\\n  \\"message\\": \\"success\\",\\n  \\"httpStatusCode\\": 200,\\n  \\"success\\": true,\\n  \\"apiKey\\": {\\n    \\"apiKeyValue\\": \\"sk-ws-djI.8O7dkfkW2aICctnid4u4\\",\\n    \\"apiKeyId\\": 1858636,\\n    \\"workspaceId\\": \\"ws-3fa048e86117d91f\\",\\n    \\"description\\": \\"desc\\",\\n    \\"createdBy\\": \\"1378030599924858\\",\\n    \\"gmtCreate\\": 1774338222000\\n  }\\n}","type":"json"}]',
            'title' => 'Create an API key',
            'changeSet' => [],
            'ramActions' => [
                [
                    'operationType' => 'create',
                    'ramAction' => [
                        'action' => 'modelstudio:CreateApiKey',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
        ],
        'CreateTokenPlanInviteLink' => [
            'summary' => 'Creates a TokenPlan member invitation link.',
            'path' => '/tokenplan/invite/link/create',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'ExpireType',
                    'in' => 'query',
                    'schema' => ['description' => 'The expiration period. Default value: DAYS_7. Valid values:'."\n"
                        ."\n"
                        .'- DAYS_7'."\n"
                        .'- DAYS_30'."\n"
                        .'- MONTHS_6'."\n"
                        .'- YEAR_1', 'type' => 'string', 'required' => false, 'example' => 'DAYS_7', 'title' => ''],
                ],
                [
                    'name' => 'SsoSource',
                    'in' => 'query',
                    'schema' => ['description' => 'The SSO logon method bound to the invitation link. Valid values:'."\n"
                        ."\n"
                        .'- SAML'."\n"
                        .'- DINGTALK', 'type' => 'string', 'required' => true, 'example' => 'SAML', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<Void>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the call was successful. Valid values:'."\n"
                                ."\n"
                                .'- true: The call was successful.'."\n"
                                .'- false: The call failed.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => '404'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'Successful'],
                            'Data' => [
                                'description' => 'The business parameters.',
                                'type' => 'object',
                                'properties' => [
                                    'Token' => ['description' => 'The generated token.', 'type' => 'string', 'example' => 'sk-ws-D.****.*******', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Create a tokenPlan member invitation link',
            'description' => 'A user can have only one valid invitation link at a time.'."\n"
                ."\n"
                .'If the user already has a valid invitation link, this operation returns the existing link.'."\n"
                ."\n"
                .'To create a new link, call the RevokeTokenPlanInviteLink operation to invalidate the current link first.'."\n"
                ."\n"
                .'This operation returns only the generated token. The invitation link is assembled in the following format: `https://{host}/accept-invite?token=[token]&orgId=[orgId]`'."\n"
                .'* For the China site, the host is tokenplan-enterprise.bailian.aliyunportal.com.'."\n"
                .'* For the China site, the host is tokenplan-enterprise.modelstudio.aliyunportal.com.',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"404\\",\\n  \\"Message\\": \\"Successful\\",\\n  \\"Data\\": {\\n    \\"Token\\": \\"sk-ws-D.****.*******\\"\\n  }\\n}","type":"json"}]',
        ],
        'CreateTokenPlanKey' => [
            'path' => '/tokenplan/api-keys',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'AccountId',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'The account ID.', 'type' => 'string', 'required' => true, 'example' => 'acc_123456789'],
                ],
                [
                    'name' => 'Description',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'The description of the key.', 'type' => 'string', 'required' => false, 'example' => 'APIKEY描述'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<CreateApiKeyDTO>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The error code. This parameter is empty if the request is successful.', 'type' => 'string', 'example' => '200'],
                            'Message' => ['title' => '', 'description' => 'The error message. This parameter is empty if the request is successful.', 'type' => 'string', 'example' => 'Success.'],
                            'Data' => [
                                'title' => '',
                                'description' => 'The business data.',
                                'type' => 'object',
                                'properties' => [
                                    'ApiKeyId' => ['title' => '', 'description' => 'The API key ID, which is automatically generated by the system.', 'type' => 'string', 'example' => 'ak-123456'],
                                    'SourceId' => ['title' => '', 'description' => 'The source_id returned by BaiLian.', 'type' => 'string', 'example' => '123'],
                                    'PlainApiKey' => ['title' => '', 'description' => 'The plaintext API key returned by BaiLian. This value is returned only once when the key is created.', 'type' => 'string', 'example' => 'sk-ws.abc123456'],
                                    'MaskedApiKey' => ['title' => '', 'description' => 'The masked API key returned by BaiLian, such as sk_***cdef.', 'type' => 'string', 'example' => 'sk_***6'],
                                    'Description' => ['title' => '', 'description' => 'The description of the key.', 'type' => 'string', 'example' => 'APIKEY描述'],
                                    'CreatedAt' => ['title' => '', 'description' => 'The time when the key was created.', 'type' => 'string', 'example' => '2025-07-18T03:19:17Z'],
                                ],
                                'example' => '',
                            ],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Generate API key',
            'summary' => 'Creates a UAC API key.',
            'changeSet' => [],
            'ramActions' => [
                [
                    'operationType' => 'create',
                    'ramAction' => [
                        'action' => 'modelstudio:CreateTokenPlanKey',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"Success.\\",\\n  \\"Data\\": {\\n    \\"ApiKeyId\\": \\"ak-123456\\",\\n    \\"SourceId\\": \\"123\\",\\n    \\"PlainApiKey\\": \\"sk-ws.abc123456\\",\\n    \\"MaskedApiKey\\": \\"sk_***6\\",\\n    \\"Description\\": \\"APIKEY描述\\",\\n    \\"CreatedAt\\": \\"2025-07-18T03:19:17Z\\"\\n  }\\n}","type":"json"}]',
        ],
        'CreateWorkspace' => [
            'summary' => 'Creates a business workspace.',
            'path' => '/modelstudio/workspaces',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'workspaceName',
                    'in' => 'query',
                    'schema' => ['description' => 'The name of the business workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 30, 'example' => 'workspace_test', 'title' => ''],
                ],
                [
                    'name' => 'serviceSite',
                    'in' => 'query',
                    'schema' => ['title' => '', 'type' => 'string', 'required' => false, 'example' => 'global', 'maxLength' => 30, 'description' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'code' => ['description' => 'The response status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
                            'workspace' => [
                                'description' => 'The business workspace information.',
                                'type' => 'object',
                                'properties' => [
                                    'workspaceId' => ['description' => 'The business workspace ID.', 'type' => 'string', 'example' => 'ws-ac3ef438bec22dc5', 'title' => ''],
                                    'workspaceName' => ['description' => 'The name of the business workspace.', 'type' => 'string', 'example' => 'default', 'title' => ''],
                                    'region' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
                                    'apiHost' => ['description' => 'API Host。', 'type' => 'string', 'example' => 'llm-34o9ts1dai60z5sf.cn-beijing.maas.aliyuncs.com', 'title' => ''],
                                    'gmtCreate' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742785623772', 'title' => ''],
                                    'serviceSite' => ['description' => 'The service deployment scope. For more information, see [documentation](https://www.alibabacloud.com/help/zh/model-studio/regions/).', 'type' => 'string', 'example' => 'global', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
                            'message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BB521414-5D38-5E66-AA66-963B2B4200E2'],
                            'success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'title' => 'Create a business workspace',
            'changeSet' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"code\\": \\"200\\",\\n  \\"workspace\\": {\\n    \\"workspaceId\\": \\"ws-ac3ef438bec22dc5\\",\\n    \\"workspaceName\\": \\"default\\",\\n    \\"region\\": \\"cn-beijing\\",\\n    \\"apiHost\\": \\"llm-34o9ts1dai60z5sf.cn-beijing.maas.aliyuncs.com\\",\\n    \\"gmtCreate\\": 1742785623772,\\n    \\"serviceSite\\": \\"global\\"\\n  },\\n  \\"httpStatusCode\\": 200,\\n  \\"message\\": \\"success\\",\\n  \\"requestId\\": \\"BB521414-5D38-5E66-AA66-963B2B4200E2\\",\\n  \\"success\\": true\\n}","type":"json"}]',
            'ramActions' => [
                [
                    'operationType' => 'create',
                    'ramAction' => [
                        'action' => 'modelstudio:CreateWorkspace',
                        'authLevel' => 'resource',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'Workspace', 'arn' => 'acs:modelstudio:{#regionId}:{#accountId}:workspace/*'],
                        ],
                    ],
                ],
            ],
        ],
        'DeleteApiKey' => [
            'summary' => 'Deletes an authentication credential API key.',
            'path' => '/modelstudio/apikeys/{apiKeyId}',
            'methods' => ['delete'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'apiKeyId',
                    'in' => 'path',
                    'schema' => ['description' => 'The API key ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1528339', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'code' => ['description' => 'The status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
                            'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
                            'message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'ok', 'title' => ''],
                            'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '099A671E-FA21-5A36-8A73-918572DDEF53'],
                            'success' => ['description' => 'Indicates whether the API call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'title' => 'Delete an API key',
            'changeSet' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"code\\": \\"200\\",\\n  \\"httpStatusCode\\": 200,\\n  \\"message\\": \\"ok\\",\\n  \\"requestId\\": \\"099A671E-FA21-5A36-8A73-918572DDEF53\\",\\n  \\"success\\": true\\n}","type":"json"}]',
            'ramActions' => [
                [
                    'operationType' => 'delete',
                    'ramAction' => [
                        'action' => 'modelstudio:DeleteApiKey',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
        ],
        'DeleteWorkspace' => [
            'summary' => 'Deletes a workspace.',
            'path' => '/modelstudio/workspaces/{workspaceId}',
            'methods' => ['delete'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'workspaceId',
                    'in' => 'path',
                    'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'example' => 'ws-32klhjk2312334jkh', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'code' => ['description' => 'The response status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
                            'isDeleted' => ['description' => 'Indicates whether the workspace is successfully deleted. Valid values:'."\n"
                                ."\n"
                                .'- true: Succeeded.'."\n"
                                ."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                            'failReasons' => [
                                'description' => 'The list of failure reasons.',
                                'type' => 'array',
                                'items' => [
                                    'description' => 'The failure reason.',
                                    'type' => 'object',
                                    'properties' => [
                                        'reason' => ['description' => 'The specific reason.', 'type' => 'string', 'example' => 'API Key exists. Please clear them first.', 'title' => ''],
                                        'resourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'API Key', 'title' => ''],
                                    ],
                                    'title' => '',
                                    'example' => '',
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
                            'message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'DFD55E7B-0615-5343-BDA0-FBEE86F29935'],
                            'success' => ['description' => 'Indicates whether the API call is successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Succeeded.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'title' => 'Delete a workspace',
            'description' => 'A workspace can be deleted only if the following conditional requirements are met:'."\n"
                ."\n"
                .'1. The workspace is not the default workspace.'."\n"
                .'2. The workspace is not used to purchase other products, such as AMB.'."\n"
                .'3. In permission management, the workspace is not granted to Resource Access Management (RAM) users or RAM roles.'."\n"
                .'4. The workspace does not contain any resources, such as API keys, model deployments, or knowledge bases.',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"code\\": \\"200\\",\\n  \\"isDeleted\\": true,\\n  \\"failReasons\\": [\\n    {\\n      \\"reason\\": \\"API Key exists. Please clear them first.\\",\\n      \\"resourceType\\": \\"API Key\\"\\n    }\\n  ],\\n  \\"httpStatusCode\\": 200,\\n  \\"message\\": \\"success\\",\\n  \\"requestId\\": \\"DFD55E7B-0615-5343-BDA0-FBEE86F29935\\",\\n  \\"success\\": true\\n}","type":"json"}]',
        ],
        'DisableApiKey' => [
            'path' => '/modelstudio/apikeys/{apiKeyId}/disable',
            'methods' => ['put'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'apiKeyId',
                    'in' => 'path',
                    'schema' => ['description' => 'API Key ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3268483', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '36045E0A-551D-592D-B1BC-4C56596CE59E'],
                            'code' => ['description' => 'The error code.', 'type' => 'string', 'example' => '200', 'title' => ''],
                            'message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
                            'success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n"
                                .'- true: The request was successful.'."\n"
                                .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'ApiKey.Already.Disabled', 'errorMessage' => 'API Key is  already disabled.', 'description' => 'API Key is  already disabled.'],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'title' => 'Disable an API key',
            'summary' => 'Disables an API key.',
            'description' => 'An API key that is already disabled cannot be disabled again.',
            'changeSet' => [],
            'ramActions' => [
                [
                    'operationType' => 'update',
                    'ramAction' => [
                        'action' => 'modelstudio:DisableApiKey',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"requestId\\": \\"36045E0A-551D-592D-B1BC-4C56596CE59E\\",\\n  \\"code\\": \\"200\\",\\n  \\"message\\": \\"success\\",\\n  \\"httpStatusCode\\": 200,\\n  \\"success\\": true\\n}","type":"json"}]',
        ],
        'EnableApiKey' => [
            'path' => '/modelstudio/apikeys/{apiKeyId}/enable',
            'methods' => ['put'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'apiKeyId',
                    'in' => 'path',
                    'schema' => ['description' => 'API Key ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3076140', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BB521414-5D38-5E66-AA66-963B2B4200E2'],
                            'code' => ['description' => 'The status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
                            'message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'ok', 'title' => ''],
                            'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
                            'success' => ['description' => 'Indicates whether the API call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'ApiKey.Already.Enabled', 'errorMessage' => 'ApiKey is already enabled.', 'description' => 'The API Key is already in active status.'],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'title' => 'Enable an API key',
            'summary' => 'Enables an API key.',
            'description' => 'An API key that is already enabled cannot be enabled again.',
            'changeSet' => [],
            'ramActions' => [
                [
                    'operationType' => 'update',
                    'ramAction' => [
                        'action' => 'modelstudio:EnableApiKey',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"requestId\\": \\"BB521414-5D38-5E66-AA66-963B2B4200E2\\",\\n  \\"code\\": \\"200\\",\\n  \\"message\\": \\"ok\\",\\n  \\"httpStatusCode\\": 200,\\n  \\"success\\": true\\n}","type":"json"}]',
        ],
        'GetApiKey' => [
            'summary' => 'Retrieves the information about a specified API key.',
            'path' => '/modelstudio/apikeys/{apiKeyId}',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'apiKeyId',
                    'in' => 'path',
                    'schema' => ['description' => 'API Key ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2984618', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'code' => ['description' => 'The response status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
                            'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
                            'message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'DFD55E7B-0615-5343-BDA0-FBEE86F29935'],
                            'success' => ['description' => 'Indicates whether the request was successful.'."\n"
                                .'- true: The request was successful.'."\n"
                                .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                            'apiKey' => [
                                'description' => 'The API key information.',
                                'type' => 'object',
                                'properties' => [
                                    'apiKeyId' => ['description' => 'API Key ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2965964', 'title' => ''],
                                    'apiKeyValue' => ['description' => 'The value of the API key.', 'type' => 'string', 'example' => 'sk-ws-djI.mhU0D****testtestest', 'title' => ''],
                                    'gmtCreate' => ['description' => 'The time when the API key was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1774338222000', 'title' => ''],
                                    'workspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'ws-b2d30f148c236908', 'title' => ''],
                                    'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'v7', 'title' => ''],
                                    'createdBy' => ['description' => 'The creator.', 'type' => 'string', 'example' => '1378030599924858', 'title' => ''],
                                    'disabled' => [
                                        'description' => 'Indicates whether the API key is disabled.'."\n"
                                            ."\n"
                                            .'- **0**: Active.'."\n"
                                            .'- **1**: Disabled.',
                                        'enumValueTitles' => ['Active.', 'Disabled.'],
                                        'type' => 'integer',
                                        'format' => 'int32',
                                        'enum' => ['0', '1'],
                                        'example' => '0',
                                        'title' => '',
                                    ],
                                    'auth' => [
                                        'title' => '',
                                        'description' => 'The permission settings.',
                                        'type' => 'object',
                                        'properties' => [
                                            'type' => ['title' => '', 'description' => 'All: all permissions. Custom: custom permissions.', 'type' => 'string', 'example' => 'Custom'],
                                            'accessIps' => [
                                                'title' => '',
                                                'description' => 'The IP access whitelist.',
                                                'type' => 'array',
                                                'items' => ['title' => '', 'description' => 'Supports IPv4, IPv6, and CIDR blocks.', 'type' => 'string', 'example' => '192.168.1.0/24'],
                                                'example' => '',
                                            ],
                                            'modelAccessScope' => [
                                                'title' => '',
                                                'description' => 'The model access scope.',
                                                'type' => 'object',
                                                'properties' => [
                                                    'allowAllModels' => ['title' => '', 'description' => 'Indicates whether all models with granted inference permissions in the workspace can be accessed. Valid values:'."\n"
                                                        ."\n"
                                                        .'- true'."\n"
                                                        .'- false', 'type' => 'boolean', 'example' => 'false'],
                                                    'accessibleModels' => [
                                                        'title' => '',
                                                        'description' => 'The list of accessible models.',
                                                        'type' => 'array',
                                                        'items' => ['title' => '', 'description' => 'The accessible model.', 'type' => 'string', 'example' => 'qwen3.7-plus'],
                                                        'example' => '',
                                                    ],
                                                ],
                                                'docRequired' => false,
                                                'example' => '',
                                            ],
                                        ],
                                        'example' => '',
                                    ],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"code\\": \\"200\\",\\n  \\"httpStatusCode\\": 200,\\n  \\"message\\": \\"success\\",\\n  \\"requestId\\": \\"DFD55E7B-0615-5343-BDA0-FBEE86F29935\\",\\n  \\"success\\": true,\\n  \\"apiKey\\": {\\n    \\"apiKeyId\\": 2965964,\\n    \\"apiKeyValue\\": \\"sk-ws-djI.mhU0D****testtestest\\",\\n    \\"gmtCreate\\": 1774338222000,\\n    \\"workspaceId\\": \\"ws-b2d30f148c236908\\",\\n    \\"description\\": \\"v7\\",\\n    \\"createdBy\\": \\"1378030599924858\\",\\n    \\"disabled\\": 0,\\n    \\"auth\\": {\\n      \\"type\\": \\"Custom\\",\\n      \\"accessIps\\": [\\n        \\"192.168.1.0/24\\"\\n      ],\\n      \\"modelAccessScope\\": {\\n        \\"allowAllModels\\": false,\\n        \\"accessibleModels\\": [\\n          \\"qwen3.7-plus\\"\\n        ]\\n      }\\n    }\\n  }\\n}","type":"json"}]',
            'title' => 'Query a specified API key',
            'changeSet' => [],
            'ramActions' => [
                [
                    'operationType' => 'get',
                    'ramAction' => [
                        'action' => 'modelstudio:GetApiKey',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
        ],
        'GetOrganization' => [
            'path' => '/tokenplan/organization',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<OrgDTO>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the API call is successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => '200'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'Successful'],
                            'Data' => [
                                'title' => '',
                                'description' => 'The business data.',
                                'type' => 'object',
                                'properties' => [
                                    'OrgId' => ['title' => '', 'description' => 'The organization ID.', 'type' => 'string', 'example' => 'org_123456789'],
                                    'NamespaceId' => ['title' => '', 'description' => 'The product namespace ID.', 'type' => 'string', 'example' => 'namespace-1'],
                                    'Name' => ['title' => '', 'description' => 'The organization name.', 'type' => 'string', 'example' => '组织名称'],
                                    'Description' => ['title' => '', 'description' => 'The organization description.', 'type' => 'string', 'example' => '组织描述'],
                                    'Status' => ['title' => '', 'description' => 'The status. Valid values: ACTIVE and FROZEN.', 'type' => 'string', 'example' => 'ACTIVE'],
                                    'OwnerId' => ['title' => '', 'description' => 'The UAC account ID of the organization owner.', 'type' => 'string', 'example' => 'acc_123456789'],
                                    'OwnerBizAccountId' => ['title' => '', 'description' => 'The business account identifier of the organization owner. The value is aliyunUid for the ALIYUN type and userIdentifier for the SSO type.', 'type' => 'string', 'example' => '1543686331379464'],
                                    'GmtCreate' => ['title' => '', 'description' => 'The creation time.', 'type' => 'string', 'example' => '2025-11-20T02:26:35Z'],
                                    'GmtModified' => ['title' => '', 'description' => 'The modification time.', 'type' => 'string', 'example' => '2025-11-13T02:11:56Z'],
                                ],
                                'example' => '',
                            ],
                            'HttpStatusCode' => ['title' => '', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
                            'RequestId' => ['title' => '', 'description' => 'The unique request ID.', 'type' => 'string', 'example' => '0CB5868D-C6E5-59A6-A20A-C39EB2E75BDE'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Get information about a specified organization',
            'summary' => 'Retrieves information about a specified organization.',
            'description' => 'Retrieves information about a specified organization by OrgId.',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"Successful\\",\\n  \\"Data\\": {\\n    \\"OrgId\\": \\"org_123456789\\",\\n    \\"NamespaceId\\": \\"namespace-1\\",\\n    \\"Name\\": \\"组织名称\\",\\n    \\"Description\\": \\"组织描述\\",\\n    \\"Status\\": \\"ACTIVE\\",\\n    \\"OwnerId\\": \\"acc_123456789\\",\\n    \\"OwnerBizAccountId\\": \\"1543686331379464\\",\\n    \\"GmtCreate\\": \\"2025-11-20T02:26:35Z\\",\\n    \\"GmtModified\\": \\"2025-11-13T02:11:56Z\\"\\n  },\\n  \\"HttpStatusCode\\": 200,\\n  \\"RequestId\\": \\"0CB5868D-C6E5-59A6-A20A-C39EB2E75BDE\\"\\n}","type":"json"}]',
        ],
        'GetOrganizationMemberSeatStats' => [
            'path' => '/tokenplan/organization/member-seat-stats',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'OrgMemberStatsWithSeatDTO',
                        'type' => 'object',
                        'properties' => [
                            'OrgId' => ['title' => '', 'description' => 'The organization ID.', 'type' => 'string', 'example' => '5ffd468b1e45db3c1cc26ad6'],
                            'TotalMemberCount' => ['title' => '', 'description' => 'The total number of members.', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
                            'OwnerRoleUserCount' => ['title' => '', 'description' => 'The number of owner accounts (ORG_OWNER role).', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
                            'AdminRoleUserCount' => ['title' => '', 'description' => 'The number of administrators (ORG_ADMIN role).', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
                            'MemberRoleUserCount' => ['title' => '', 'description' => 'The number of regular members (ORG_MEMBER role).', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
                            'SeatedMemberCount' => ['title' => '', 'description' => 'The number of members with assigned seats.', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
                            'UnseatedMemberCount' => ['title' => '', 'description' => 'The number of members without assigned seats.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Member management - display member count and seat count',
            'summary' => 'Queries organization member statistics information, including the total number of members, the number of administrators, the number of regular members, the number of members with allocated seats, and the number of members without allocated seats.',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"OrgId\\": \\"5ffd468b1e45db3c1cc26ad6\\",\\n  \\"TotalMemberCount\\": 12,\\n  \\"OwnerRoleUserCount\\": 1,\\n  \\"AdminRoleUserCount\\": 3,\\n  \\"MemberRoleUserCount\\": 8,\\n  \\"SeatedMemberCount\\": 2,\\n  \\"UnseatedMemberCount\\": 10\\n}","type":"json"}]',
        ],
        'GetSubscriptionSeatDetails' => [
            'summary' => 'Queries seat details by paging.',
            'path' => '/tokenplan/subscription/seat-detail',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '紧急发布', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'PageNo',
                    'in' => 'query',
                    'schema' => ['description' => 'The page number. Default value: 1. Valid values: positive integers.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
                ],
                [
                    'name' => 'PageSize',
                    'in' => 'query',
                    'schema' => ['description' => 'The number of entries per page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
                ],
                [
                    'name' => 'StatusList',
                    'in' => 'query',
                    'style' => 'flat',
                    'schema' => [
                        'description' => 'The list of seat statuses used for filtering.',
                        'type' => 'array',
                        'items' => ['description' => 'The seat status. Valid values:'."\n"
                            ."\n"
                            .'- CREATING: being created.'."\n"
                            .'- NORMAL: active.'."\n"
                            .'- LIMIT: restricted due to overdue payment.'."\n"
                            .'- RELEASE: released upon expiration.'."\n"
                            .'- STOP: stopped upon expiration.'."\n"
                            .'- REFUNDED: refunded.', 'type' => 'string', 'required' => false, 'example' => 'NORMAL', 'title' => ''],
                        'required' => false,
                        'title' => '',
                        'example' => '',
                    ],
                ],
                [
                    'name' => 'SeatId',
                    'in' => 'query',
                    'schema' => ['description' => 'The seat ID.', 'type' => 'string', 'required' => false, 'example' => 'seat-123456', 'title' => ''],
                ],
                [
                    'name' => 'SeatType',
                    'in' => 'query',
                    'schema' => ['description' => 'The seat type (specType). Valid values:'."\n"
                        ."\n"
                        .'- standard: standard seat.'."\n"
                        .'- pro: pro seat.'."\n"
                        .'- max: premium seat.', 'type' => 'string', 'required' => false, 'example' => 'standard', 'title' => ''],
                ],
                [
                    'name' => 'QueryAssigned',
                    'in' => 'query',
                    'schema' => ['description' => 'The seat assignment status filter. Set to true for assigned seats, false for unassigned seats, or null for all seats.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<PageQueryResourceSeatResponse>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the call is successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => '200'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'OK'],
                            'Data' => [
                                'title' => '',
                                'description' => 'The business data.',
                                'type' => 'object',
                                'properties' => [
                                    'Items' => [
                                        'description' => 'The data items.',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => 'The data items.',
                                            'type' => 'object',
                                            'properties' => [
                                                'InstanceCode' => ['description' => 'The instance code of the seat.', 'type' => 'string', 'example' => 'subs-1234567', 'title' => ''],
                                                'EquityList' => [
                                                    'description' => 'The currently active equity instances. For TokenPlan products, this list contains only one active equity instance.',
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'EquityType' => ['description' => 'The equity type, such as CREDITS, SPN, or resource plan.', 'type' => 'string', 'example' => 'CREDITS', 'title' => ''],
                                                            'CycleInstanceId' => ['description' => 'The equity code (subscription code). This does not need to be consumed in CREDITS scenarios.', 'type' => 'string', 'example' => '123456', 'title' => ''],
                                                            'CycleStartTime' => ['description' => 'The start time of the current cycle, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1775232000', 'title' => ''],
                                                            'CycleEndTime' => ['description' => 'The end time of the current cycle, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1755273600', 'title' => ''],
                                                            'CycleTotalValue' => ['description' => 'The total quota of the current cycle.', 'type' => 'number', 'format' => 'double', 'example' => '100.00000000', 'title' => ''],
                                                            'CycleSurplusValue' => ['description' => 'The remaining quota of the current cycle.', 'type' => 'number', 'format' => 'double', 'example' => '40.00000000', 'title' => ''],
                                                            'CycleVersion' => ['description' => 'The time-series version of the current cycle.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
                                                        ],
                                                        'description' => '',
                                                        'title' => '',
                                                        'example' => '',
                                                    ],
                                                    'title' => '',
                                                    'example' => '',
                                                ],
                                                'EndTime' => ['description' => 'The expiration time of the seat.', 'type' => 'integer', 'format' => 'int64', 'example' => '1781422733', 'title' => ''],
                                                'SeatId' => ['description' => 'The seat ID.', 'type' => 'string', 'example' => 'seat_123456', 'title' => ''],
                                                'SpecType' => ['description' => 'The seat type. Valid values: '."\n"
                                                    ."\n"
                                                    .'- standard: standard seat.'."\n"
                                                    .'- pro: pro seat.'."\n"
                                                    .'- max: premium seat.', 'type' => 'string', 'example' => 'standard', 'title' => ''],
                                                'StartTime' => ['description' => 'The start time of the seat.', 'type' => 'integer', 'format' => 'int64', 'example' => '1781422733', 'title' => ''],
                                                'AssignedStatus' => ['description' => 'The assignment status. Valid values:'."\n"
                                                    ."\n"
                                                    .'- ASSIGNED'."\n"
                                                    .'- UNASSIGNED', 'type' => 'string', 'example' => 'ASSIGNED', 'title' => ''],
                                                'AccountId' => ['description' => 'The ID of the attached member accounts.', 'type' => 'string', 'example' => 'acc_123456789', 'title' => ''],
                                                'AccountName' => ['description' => 'The name of the member accounts.', 'type' => 'string', 'example' => 'ExampleName', 'title' => ''],
                                                'AccountEmail' => ['description' => 'The mailbox of the member accounts.', 'type' => 'string', 'example' => 'test@email.com', 'title' => ''],
                                                'Status' => ['description' => 'The seat status. Valid values:'."\n"
                                                    .'- CREATING: being created.'."\n"
                                                    .'- NORMAL: active.'."\n"
                                                    .'- LIMIT: restricted due to overdue payment.'."\n"
                                                    .'- RELEASE: released upon expiration.'."\n"
                                                    .'- STOP: stopped upon expiration.'."\n"
                                                    .'- REFUNDED: refunded.', 'type' => 'string', 'example' => 'NORMAL', 'title' => ''],
                                            ],
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'Total' => ['description' => 'The total number of seats.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
                                    'PageNo' => ['description' => 'The page number. The value is greater than 0 and does not exceed the maximum value of the Integer data type.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
                                    'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
                                ],
                                'example' => '',
                            ],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Subscription details - seat list',
            'changeSet' => [],
            'ramActions' => [
                [
                    'operationType' => 'get',
                    'ramAction' => [
                        'action' => 'modelstudio:GetSubscriptionSeatDetails',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"OK\\",\\n  \\"Data\\": {\\n    \\"Items\\": [\\n      {\\n        \\"InstanceCode\\": \\"subs-1234567\\",\\n        \\"EquityList\\": [\\n          {\\n            \\"EquityType\\": \\"CREDITS\\",\\n            \\"CycleInstanceId\\": \\"123456\\",\\n            \\"CycleStartTime\\": 1775232000,\\n            \\"CycleEndTime\\": 1755273600,\\n            \\"CycleTotalValue\\": 100,\\n            \\"CycleSurplusValue\\": 40,\\n            \\"CycleVersion\\": 1\\n          }\\n        ],\\n        \\"EndTime\\": 1781422733,\\n        \\"SeatId\\": \\"seat_123456\\",\\n        \\"SpecType\\": \\"standard\\",\\n        \\"StartTime\\": 1781422733,\\n        \\"AssignedStatus\\": \\"ASSIGNED\\",\\n        \\"AccountId\\": \\"acc_123456789\\",\\n        \\"AccountName\\": \\"ExampleName\\",\\n        \\"AccountEmail\\": \\"test@email.com\\",\\n        \\"Status\\": \\"NORMAL\\"\\n      }\\n    ],\\n    \\"Total\\": 100,\\n    \\"PageNo\\": 1,\\n    \\"PageSize\\": 10\\n  }\\n}","type":"json"}]',
        ],
        'GetSubscriptionStats' => [
            'summary' => 'Queries the number of members and seats for member management.',
            'path' => '/tokenplan/subscription/stats',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<SubscriptionInfoDTO>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the API call is successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => '200'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'successful'],
                            'Data' => [
                                'title' => '',
                                'description' => 'The business data.',
                                'type' => 'object',
                                'properties' => [
                                    'SubscriptionStartTime' => ['title' => '', 'description' => 'The subscription start time, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1781422733'],
                                    'SubscriptionEndTime' => ['title' => '', 'description' => 'The subscription end time, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1781422734'],
                                    'Items' => [
                                        'title' => '',
                                        'description' => 'The list of seat information, grouped by specType.',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => 'The list data.',
                                            'type' => 'object',
                                            'properties' => [
                                                'SeatType' => ['title' => '', 'description' => 'The seat type (specType). Valid values:'."\n"
                                                    .'- standard: Standard seat.'."\n"
                                                    .'- pro: Pro seat.'."\n"
                                                    .'- max: Premium seat.', 'type' => 'string', 'example' => 'standard'],
                                                'SeatRefreshTime' => ['title' => '', 'description' => 'The refresh time of the current cycle, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1781422734'],
                                                'TotalSeats' => ['title' => '', 'description' => 'The total number of seats.', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
                                                'AssignedSeats' => ['title' => '', 'description' => 'The number of assigned seats.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
                                                'SeatCredits' => ['title' => '', 'description' => 'The total credits quota for the seat.', 'type' => 'number', 'format' => 'double', 'example' => '100'],
                                                'SeatRemainingCredits' => ['title' => '', 'description' => 'The remaining credits for the current cycle.', 'type' => 'number', 'format' => 'double', 'example' => '40'],
                                            ],
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'example' => '',
                                    ],
                                ],
                                'example' => '',
                            ],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Member management - display member and seat counts',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"successful\\",\\n  \\"Data\\": {\\n    \\"SubscriptionStartTime\\": 1781422733,\\n    \\"SubscriptionEndTime\\": 1781422734,\\n    \\"Items\\": [\\n      {\\n        \\"SeatType\\": \\"standard\\",\\n        \\"SeatRefreshTime\\": 1781422734,\\n        \\"TotalSeats\\": 2,\\n        \\"AssignedSeats\\": 1,\\n        \\"SeatCredits\\": 100,\\n        \\"SeatRemainingCredits\\": 40\\n      }\\n    ]\\n  }\\n}","type":"json"}]',
        ],
        'GetTokenPlanAccountDetail' => [
            'path' => '/tokenplan/account',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<AccountDetailDTO>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the API call is successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => '200'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'Success.'],
                            'Data' => [
                                'title' => '',
                                'description' => 'The business data.',
                                'type' => 'object',
                                'properties' => [
                                    'AccountId' => ['title' => '', 'description' => 'The account ID.', 'type' => 'string', 'example' => 'acc_123456789'],
                                    'AccountType' => ['title' => '', 'description' => 'The account type. Valid values:'."\n"
                                        ."\n"
                                        .'- ALIYUN '."\n"
                                        .'- SSO '."\n"
                                        .'- SA', 'type' => 'string', 'example' => 'ALIYUN'],
                                    'IsDeleted' => ['title' => '', 'description' => 'The global status of the account. A value of 0 indicates Normal. A value of 1 indicates Frozen.', 'type' => 'boolean', 'example' => '0'],
                                    'Name' => ['title' => '', 'description' => 'The display name of the account.', 'type' => 'string', 'example' => 'test_name'],
                                    'AliyunUid' => ['title' => '', 'description' => 'The Alibaba Cloud UID. This parameter applies only to accounts of the ALIYUN type.', 'type' => 'string', 'example' => '1122334455'],
                                    'Email' => ['title' => '', 'description' => 'The email address. This parameter applies only to accounts of the SSO type.', 'type' => 'string', 'example' => 'test@email.com'],
                                    'CreatedAt' => ['title' => '', 'description' => 'The time when the account was created.', 'type' => 'string', 'example' => 'Thu May 28 14:33:52 CST 2026'],
                                    'OrgMemberships' => [
                                        'title' => '',
                                        'description' => 'The list of organization memberships in a tree structure (organization → workspace).',
                                        'type' => 'array',
                                        'items' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'OrgId' => ['title' => '', 'description' => 'The organization ID.', 'type' => 'string', 'example' => 'org_123456789'],
                                                'MemberStatus' => ['title' => '', 'description' => 'The organization member status. Valid values:'."\n"
                                                    ."\n"
                                                    .'- ACTIVE '."\n"
                                                    .'- INITIAL '."\n"
                                                    .'- FROZEN', 'type' => 'string', 'example' => 'ENABLE'],
                                                'RoleId' => ['title' => '', 'description' => 'The organization role ID.', 'type' => 'string', 'example' => 'SYSTEM_ROLE_ORG_OWNER'],
                                                'RoleCode' => ['title' => '', 'description' => 'The organization role code. Valid values:'."\n"
                                                    ."\n"
                                                    .'- ORG_OWNER'."\n"
                                                    .'- ORG_ADMIN'."\n"
                                                    .'- ORG_MEMBER', 'type' => 'string', 'example' => 'ORG_MEMBER'],
                                                'Workspaces' => [
                                                    'title' => '',
                                                    'description' => 'The list of workspaces that the account has joined under the organization.',
                                                    'type' => 'array',
                                                    'items' => [
                                                        'description' => 'The workspace list.',
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'WorkspaceId' => ['title' => '', 'description' => 'The workspace ID.', 'type' => 'string', 'example' => 'ws_123456789'],
                                                            'MemberStatus' => ['title' => '', 'description' => 'The member status. Valid values:'."\n"
                                                                .'- ACTIVE '."\n"
                                                                .'- FROZEN', 'type' => 'string', 'example' => 'ACTIVE'],
                                                            'RoleId' => ['title' => '', 'description' => 'The workspace role ID.', 'type' => 'string', 'example' => 'SYSTEM_ROLE_WS_ADMIN'],
                                                            'RoleCode' => ['title' => '', 'description' => 'The workspace role code. Valid values:'."\n"
                                                                .'- WS_ADMIN'."\n"
                                                                .'- WS_MEMBER', 'type' => 'string', 'example' => 'WS_ADMIN'],
                                                        ],
                                                        'title' => '',
                                                        'example' => '',
                                                    ],
                                                    'example' => '',
                                                ],
                                            ],
                                            'description' => '',
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'example' => '',
                                    ],
                                ],
                                'example' => '',
                            ],
                            'HttpStatusCode' => ['title' => '', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
                            'RequestId' => ['title' => '', 'description' => 'The unique request ID.', 'type' => 'string', 'example' => 'C0DC05D9-C506-519B-AFF3-2B00165176E4'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Retrieve organization information for an account',
            'summary' => 'Retrieves the TokenPlan account details and organization information.',
            'description' => 'Retrieves the TokenPlan management platform account information when the user is logged in.',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"Success.\\",\\n  \\"Data\\": {\\n    \\"AccountId\\": \\"acc_123456789\\",\\n    \\"AccountType\\": \\"ALIYUN\\",\\n    \\"IsDeleted\\": true,\\n    \\"Name\\": \\"test_name\\",\\n    \\"AliyunUid\\": \\"1122334455\\",\\n    \\"Email\\": \\"test@email.com\\",\\n    \\"CreatedAt\\": \\"Thu May 28 14:33:52 CST 2026\\",\\n    \\"OrgMemberships\\": [\\n      {\\n        \\"OrgId\\": \\"org_123456789\\",\\n        \\"MemberStatus\\": \\"ENABLE\\",\\n        \\"RoleId\\": \\"SYSTEM_ROLE_ORG_OWNER\\",\\n        \\"RoleCode\\": \\"ORG_MEMBER\\",\\n        \\"Workspaces\\": [\\n          {\\n            \\"WorkspaceId\\": \\"ws_123456789\\",\\n            \\"MemberStatus\\": \\"ACTIVE\\",\\n            \\"RoleId\\": \\"SYSTEM_ROLE_WS_ADMIN\\",\\n            \\"RoleCode\\": \\"WS_ADMIN\\"\\n          }\\n        ]\\n      }\\n    ]\\n  },\\n  \\"HttpStatusCode\\": 200,\\n  \\"RequestId\\": \\"C0DC05D9-C506-519B-AFF3-2B00165176E4\\"\\n}","type":"json"}]',
        ],
        'GetTokenPlanInviteLink' => [
            'summary' => 'Retrieves the TokenPlan member invitation link.',
            'path' => '/tokenplan/invite/link/get',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<Void>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the call was successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'False'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => '200'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'Successful'],
                            'Data' => [
                                'description' => 'The returned data.',
                                'type' => 'object',
                                'properties' => [
                                    'Token' => ['description' => 'The generated token.', 'type' => 'string', 'example' => 'sk-ws-D.****.*******', 'title' => ''],
                                    'ExpireTime' => ['description' => 'The expiration time. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1778379206', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Retrieve tokenPlan member invitation link',
            'description' => 'This operation returns only the generated token and expiration time. The invitation link is assembled in the following format: `https://{host}/accept-invite?token=[token]&orgId=[orgId]`'."\n"
                .'* For the China site, the host is tokenplan-enterprise.bailian.aliyunportal.com.'."\n"
                .'* For the international site, the host is tokenplan-enterprise.modelstudio.aliyunportal.com.',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"Successful\\",\\n  \\"Data\\": {\\n    \\"Token\\": \\"sk-ws-D.****.*******\\",\\n    \\"ExpireTime\\": 1778379206\\n  }\\n}","type":"json"}]',
        ],
        'GetTokenPlanOrgInviteConfig' => [
            'path' => '/tokenplan/invite/config/get',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<Void>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the API call is successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'true'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => '200'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'Successful'],
                            'Data' => [
                                'description' => 'The data result of the current category statistics.',
                                'type' => 'object',
                                'properties' => [
                                    'OrgId' => ['description' => 'The organization ID.', 'type' => 'string', 'example' => 'org_123456789', 'title' => ''],
                                    'DefaultRoleId' => ['description' => 'The default organization role ID to assign. Valid values:'."\n"
                                        ."\n"
                                        .'- SYSTEM_ROLE_ORG_ADMIN'."\n"
                                        .'- SYSTEM_ROLE_ORG_MEMBER', 'type' => 'string', 'example' => 'ORG_MEMBER', 'title' => ''],
                                    'SeatAssignStrategy' => ['description' => 'The default seat allocation strategy. Valid values:'."\n"
                                        ."\n"
                                        .'- HIGH_TO_LOW'."\n"
                                        .'- LOW_TO_HIGH '."\n"
                                        .'- NONE', 'type' => 'string', 'example' => 'NONE', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Get tokenPlan member invitation configuration',
            'summary' => 'Retrieves the TokenPlan member invitation configuration.',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"Successful\\",\\n  \\"Data\\": {\\n    \\"OrgId\\": \\"org_123456789\\",\\n    \\"DefaultRoleId\\": \\"ORG_MEMBER\\",\\n    \\"SeatAssignStrategy\\": \\"NONE\\"\\n  }\\n}","type":"json"}]',
        ],
        'ListApiKeys' => [
            'summary' => 'Retrieves a list of API key information for authentication credentials.',
            'path' => '/modelstudio/apikeys',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'nextToken',
                    'in' => 'query',
                    'schema' => ['description' => 'The token used to retrieve more results. This parameter is not required for the first query. For subsequent queries, use the token obtained from the previous response.', 'type' => 'string', 'required' => false, 'example' => 'w9Z+S5+TZyw=', 'title' => ''],
                ],
                [
                    'name' => 'maxResults',
                    'in' => 'query',
                    'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '10', 'default' => '10', 'required' => false, 'example' => '30', 'title' => ''],
                ],
                [
                    'name' => 'workspaceId',
                    'in' => 'query',
                    'schema' => ['description' => 'The workspace ID for exact match.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => 'ws-ac3ef438bec22dc5', 'title' => ''],
                ],
                [
                    'name' => 'apiKeyId',
                    'in' => 'query',
                    'schema' => ['description' => 'The API key ID for exact match.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3076140', 'title' => ''],
                ],
                [
                    'name' => 'description',
                    'in' => 'query',
                    'schema' => ['description' => 'The keyword for fuzzy match by description.', 'type' => 'string', 'maxLength' => 200, 'required' => false, 'example' => 'test', 'title' => ''],
                ],
                [
                    'name' => 'orderBy',
                    'in' => 'query',
                    'schema' => [
                        'title' => '',
                        'description' => 'The field by which to sort results. Valid values:'."\n"
                            ."\n"
                            .'- apiKeyId (default)'."\n"
                            ."\n"
                            .'- gmtCreate',
                        'type' => 'string',
                        'default' => 'apiKeyId',
                        'enum' => ['apiKeyId', 'gmtCreate'],
                        'required' => false,
                        'example' => 'gmtCreate',
                    ],
                ],
                [
                    'name' => 'order',
                    'in' => 'query',
                    'schema' => [
                        'title' => '',
                        'description' => 'The sort order. Valid values:'."\n"
                            ."\n"
                            .'- DESC (default)'."\n"
                            ."\n"
                            .'- ASC',
                        'type' => 'string',
                        'default' => 'DESC',
                        'enum' => ['DESC', 'ASC'],
                        'required' => false,
                        'example' => 'ASC',
                    ],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'code' => ['description' => 'The response status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
                            'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
                            'message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'E4C14AE6-E987-5C2F-9230-9960AB48F4F2'],
                            'success' => ['description' => 'Indicates whether the API call was successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                            'apiKeys' => [
                                'description' => 'The list of API keys.',
                                'type' => 'array',
                                'items' => [
                                    'description' => 'The API key information.',
                                    'type' => 'object',
                                    'properties' => [
                                        'apiKeyId' => ['description' => 'API Key ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2965964', 'title' => ''],
                                        'apiKeyValue' => ['description' => 'The value of the API key.', 'type' => 'string', 'example' => 'sk-ws-djI.8O7d*****2aICctnid4u4', 'title' => ''],
                                        'gmtCreate' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1774338222000', 'title' => ''],
                                        'workspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'ws-950f9aca7e76c816', 'title' => ''],
                                        'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'test', 'title' => ''],
                                        'createdBy' => ['description' => 'The creator.', 'type' => 'string', 'example' => '1378030599924858', 'title' => ''],
                                        'disabled' => ['description' => 'Indicates whether the API key is disabled. Valid values:'."\n"
                                            ."\n"
                                            .'- **0**: Active.'."\n"
                                            .'- **1**: Disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
                                        'auth' => [
                                            'title' => '',
                                            'description' => 'The permission settings.',
                                            'type' => 'object',
                                            'properties' => [
                                                'type' => ['title' => '', 'description' => 'All: all permissions. Custom: custom permissions.', 'type' => 'string', 'example' => 'Custom'],
                                                'accessIps' => [
                                                    'title' => '',
                                                    'description' => 'The IP access whitelist.',
                                                    'type' => 'array',
                                                    'items' => ['title' => '', 'description' => 'Supports IPv4, IPv6, and CIDR blocks.', 'type' => 'string', 'example' => '192.168.1.0/24'],
                                                    'example' => '',
                                                ],
                                                'modelAccessScope' => [
                                                    'title' => '',
                                                    'description' => 'The model access scope.',
                                                    'type' => 'object',
                                                    'properties' => [
                                                        'allowAllModels' => ['title' => '', 'description' => 'Indicates whether access to all models with inference permissions in the workspace is allowed.', 'type' => 'boolean', 'example' => ''],
                                                        'accessibleModels' => [
                                                            'title' => '',
                                                            'description' => 'The list of accessible models.',
                                                            'type' => 'array',
                                                            'items' => ['title' => '', 'description' => 'The accessible model.', 'type' => 'string', 'example' => ''],
                                                            'example' => '',
                                                        ],
                                                    ],
                                                    'docRequired' => false,
                                                    'example' => '',
                                                ],
                                            ],
                                            'example' => '',
                                        ],
                                    ],
                                    'title' => '',
                                    'example' => '',
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'nextToken' => ['description' => 'The token used to retrieve more results. This parameter is not required for the first query. For subsequent queries, use the token obtained from the previous response.', 'type' => 'string', 'example' => 'lwytFRtLdNk=', 'title' => ''],
                            'maxResults' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
                            'totalCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'System.Error.Invoke', 'errorMessage' => 'Internal error.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'Request.Illegal.Sign', 'errorMessage' => 'Sign is illegal.', 'description' => ''],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"code\\": \\"200\\",\\n  \\"httpStatusCode\\": 200,\\n  \\"message\\": \\"success\\",\\n  \\"requestId\\": \\"E4C14AE6-E987-5C2F-9230-9960AB48F4F2\\",\\n  \\"success\\": true,\\n  \\"apiKeys\\": [\\n    {\\n      \\"apiKeyId\\": 2965964,\\n      \\"apiKeyValue\\": \\"sk-ws-djI.8O7d*****2aICctnid4u4\\",\\n      \\"gmtCreate\\": 1774338222000,\\n      \\"workspaceId\\": \\"ws-950f9aca7e76c816\\",\\n      \\"description\\": \\"test\\",\\n      \\"createdBy\\": \\"1378030599924858\\",\\n      \\"disabled\\": 0,\\n      \\"auth\\": {\\n        \\"type\\": \\"Custom\\",\\n        \\"accessIps\\": [\\n          \\"192.168.1.0/24\\"\\n        ],\\n        \\"modelAccessScope\\": {\\n          \\"allowAllModels\\": false,\\n          \\"accessibleModels\\": [\\n            \\"\\"\\n          ]\\n        }\\n      }\\n    }\\n  ],\\n  \\"nextToken\\": \\"lwytFRtLdNk=\\",\\n  \\"maxResults\\": 10,\\n  \\"totalCount\\": 4\\n}","type":"json"}]',
            'title' => 'Query API key list',
            'changeSet' => [],
            'ramActions' => [
                [
                    'operationType' => 'list',
                    'ramAction' => [
                        'action' => 'modelstudio:ListApiKeys',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
        ],
        'ListOrganizationMembers' => [
            'path' => '/tokenplan/organization/members',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'Name',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'Fuzzy filter by member name. Matches accountName or email and is case-insensitive.', 'type' => 'string', 'required' => false, 'example' => '成员名称'],
                ],
                [
                    'name' => 'Status',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'Filters by member status, such as ACTIVE or FROZEN. Set to null to disable filtering.', 'type' => 'string', 'required' => false, 'example' => 'ACTIVE'],
                ],
                [
                    'name' => 'HasSeat',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'Specifies whether to filter by seat assignment.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
                ],
                [
                    'name' => 'PageNum',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'The page number, starting from 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
                ],
                [
                    'name' => 'PageSize',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'The number of entries per page. Default value: 20. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'PageResult<MemberWithSeatInfoDTO>',
                        'type' => 'object',
                        'properties' => [
                            'PageNo' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '18'],
                            'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
                            'Total' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
                            'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => 'Success'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'Successful'],
                            'Data' => [
                                'title' => '',
                                'description' => 'The business data.',
                                'type' => 'array',
                                'items' => [
                                    'description' => 'The operation result.',
                                    'type' => 'object',
                                    'properties' => [
                                        'AccountId' => ['title' => '', 'description' => 'The ID of the member account.', 'type' => 'string', 'example' => 'acc_123456789'],
                                        'AccountName' => ['title' => '', 'description' => 'The name of the member account.', 'type' => 'string', 'example' => 'test_001'],
                                        'AccountBizId' => ['title' => '', 'description' => 'The member business ID.', 'type' => 'string', 'example' => '112233'],
                                        'Email' => ['title' => '', 'description' => 'The email address of the member.', 'type' => 'string', 'example' => 'test@email.com'],
                                        'OrgId' => ['title' => '', 'description' => 'The organization ID.', 'type' => 'string', 'example' => 'org_123456789'],
                                        'Status' => ['title' => '', 'description' => 'The member status.', 'type' => 'string', 'example' => 'ACTIVE'],
                                        'Roles' => [
                                            'title' => '',
                                            'description' => 'The list of member roles.',
                                            'type' => 'array',
                                            'items' => ['description' => 'The member role.', 'type' => 'string', 'example' => 'ORG_MEMBER', 'title' => ''],
                                            'example' => '',
                                        ],
                                        'GmtCreate' => ['title' => '', 'description' => 'The time when the member joined.', 'type' => 'string', 'example' => '2026-06-10T11:57:42.000+00:00'],
                                        'SeatId' => ['title' => '', 'description' => 'The ID used to allocate the seat resource.', 'type' => 'string', 'example' => 'seat_123456'],
                                        'SpecType' => ['title' => '', 'description' => 'The seat specification type. Valid values:'."\n"
                                            .'- standard: Standard seat.'."\n"
                                            .'- pro: Pro seat.'."\n"
                                            .'- max: Premium seat.', 'type' => 'string', 'example' => 'standard'],
                                        'ApiKeyId' => ['title' => '', 'description' => 'API Key ID', 'type' => 'string', 'example' => 'key_123456789'],
                                        'MaskedApiKey' => ['title' => '', 'description' => 'The masked API key.', 'type' => 'string', 'example' => 'prefix.abc****456'],
                                    ],
                                    'title' => '',
                                    'example' => '',
                                ],
                                'example' => '',
                            ],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Get member list',
            'summary' => 'Queries the list of organization members including seat information. Supports filtering by name, status, and seat assignment, and supports pagination.',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"PageNo\\": 18,\\n  \\"PageSize\\": 20,\\n  \\"Total\\": 1,\\n  \\"Success\\": true,\\n  \\"Code\\": \\"Success\\",\\n  \\"Message\\": \\"Successful\\",\\n  \\"Data\\": [\\n    {\\n      \\"AccountId\\": \\"acc_123456789\\",\\n      \\"AccountName\\": \\"test_001\\",\\n      \\"AccountBizId\\": \\"112233\\",\\n      \\"Email\\": \\"test@email.com\\",\\n      \\"OrgId\\": \\"org_123456789\\",\\n      \\"Status\\": \\"ACTIVE\\",\\n      \\"Roles\\": [\\n        \\"ORG_MEMBER\\"\\n      ],\\n      \\"GmtCreate\\": \\"2026-06-10T11:57:42.000+00:00\\",\\n      \\"SeatId\\": \\"seat_123456\\",\\n      \\"SpecType\\": \\"standard\\",\\n      \\"ApiKeyId\\": \\"key_123456789\\",\\n      \\"MaskedApiKey\\": \\"prefix.abc****456\\"\\n    }\\n  ]\\n}","type":"json"}]',
        ],
        'ListSubscriptionSharedPackages' => [
            'summary' => 'Queries the details of shared packages by paging.',
            'path' => '/tokenplan/subscription/shared-packages',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'PageNo',
                    'in' => 'query',
                    'schema' => ['description' => 'The page number. Default value: 1. The value must be a positive integer.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
                ],
                [
                    'name' => 'PageSize',
                    'in' => 'query',
                    'schema' => ['description' => 'The number of entries per page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
                ],
                [
                    'name' => 'StatusList',
                    'in' => 'query',
                    'style' => 'flat',
                    'schema' => [
                        'description' => 'The list of statuses used for filtering.',
                        'type' => 'array',
                        'items' => ['description' => 'The seat status. Valid values:'."\n"
                            ."\n"
                            .'- CREATING: being created.'."\n"
                            .'- NORMAL: active.'."\n"
                            .'- LIMIT: restricted due to overdue payment.'."\n"
                            .'- RELEASE: released upon expiration.'."\n"
                            .'- STOP: stopped upon expiration.'."\n"
                            .'- REFUNDED: refunded.', 'type' => 'string', 'required' => false, 'example' => 'NORMAL', 'title' => ''],
                        'required' => false,
                        'title' => '',
                        'example' => '',
                    ],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<PageQueryResourceSeatResponse>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the API call is successful. Valid values:'."\n"
                                ."\n"
                                .'- true: The call is successful.'."\n"
                                .'- false: The call failed.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => '200'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'Successful'],
                            'Data' => [
                                'title' => '',
                                'description' => 'The business data.',
                                'type' => 'object',
                                'properties' => [
                                    'Items' => [
                                        'description' => 'The data entries.',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => 'The data entries.',
                                            'type' => 'object',
                                            'properties' => [
                                                'InstanceCode' => ['title' => '', 'description' => 'The instance code of the seat.', 'type' => 'string', 'example' => 'subs-1234567'],
                                                'EquityList' => [
                                                    'description' => 'The currently active equity instances.',
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'EquityType' => ['description' => 'The equity type, such as CREDITS, SPN, or resource plan.', 'type' => 'string', 'example' => 'CREDITS', 'title' => ''],
                                                            'CycleInstanceId' => ['description' => 'The equity code (subscription code). This is not required for consumption in the credits scenario.', 'type' => 'string', 'example' => '123456', 'title' => ''],
                                                            'CycleStartTime' => ['description' => 'The start time of the current cycle, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1775232000', 'title' => ''],
                                                            'CycleEndTime' => ['description' => 'The end time of the current cycle, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1756310400', 'title' => ''],
                                                            'CycleTotalValue' => ['description' => 'The total quota of the current cycle.', 'type' => 'number', 'format' => 'double', 'example' => '100.00000000', 'title' => ''],
                                                            'CycleSurplusValue' => ['description' => 'The remaining quota of the current cycle.', 'type' => 'number', 'format' => 'double', 'example' => '40.00000000', 'title' => ''],
                                                            'CycleVersion' => ['description' => 'The sequential version of the current cycle.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
                                                        ],
                                                        'description' => '',
                                                        'title' => '',
                                                        'example' => '',
                                                    ],
                                                    'title' => '',
                                                    'example' => '',
                                                ],
                                                'Status' => ['description' => 'The seat status. Valid values:'."\n"
                                                    ."\n"
                                                    .'- CREATING: being created.'."\n"
                                                    .'- NORMAL: active.'."\n"
                                                    .'- LIMIT: restricted due to overdue payment.'."\n"
                                                    .'- RELEASE: released upon expiration.'."\n"
                                                    .'- STOP: stopped upon expiration.'."\n"
                                                    .'- REFUNDED: refunded.', 'type' => 'string', 'example' => 'NORMAL', 'title' => ''],
                                            ],
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'Total' => ['description' => 'The total number of seats.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
                                    'PageNo' => ['description' => 'The page number. The value must be greater than 0 and cannot exceed the maximum value of the Integer data type. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
                                    'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
                                ],
                                'example' => '',
                            ],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Query shared package details by paging',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"Successful\\",\\n  \\"Data\\": {\\n    \\"Items\\": [\\n      {\\n        \\"InstanceCode\\": \\"subs-1234567\\",\\n        \\"EquityList\\": [\\n          {\\n            \\"EquityType\\": \\"CREDITS\\",\\n            \\"CycleInstanceId\\": \\"123456\\",\\n            \\"CycleStartTime\\": 1775232000,\\n            \\"CycleEndTime\\": 1756310400,\\n            \\"CycleTotalValue\\": 100,\\n            \\"CycleSurplusValue\\": 40,\\n            \\"CycleVersion\\": 1\\n          }\\n        ],\\n        \\"Status\\": \\"NORMAL\\"\\n      }\\n    ],\\n    \\"Total\\": 100,\\n    \\"PageNo\\": 1,\\n    \\"PageSize\\": 10\\n  }\\n}","type":"json"}]',
        ],
        'ListWorkspaces' => [
            'summary' => 'Retrieves the list of business workspaces.',
            'path' => '/modelstudio/workspaces',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'nextToken',
                    'in' => 'query',
                    'schema' => ['description' => 'The pagination token used to retrieve more results. You do not need to specify this parameter for the first request. For subsequent requests, use the token returned in the previous response.', 'type' => 'string', 'required' => false, 'example' => 'uwCwQ5FFCDo=', 'title' => ''],
                ],
                [
                    'name' => 'maxResults',
                    'in' => 'query',
                    'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '10', 'default' => '10', 'required' => false, 'example' => '10', 'title' => ''],
                ],
                [
                    'name' => 'workspaceName',
                    'in' => 'query',
                    'schema' => ['description' => 'The keyword for fuzzy match by business workspace name.', 'type' => 'string', 'maxLength' => 30, 'required' => false, 'example' => 'ws_test', 'title' => ''],
                ],
                [
                    'name' => 'workspaceId',
                    'in' => 'query',
                    'schema' => ['title' => '', 'type' => 'string', 'example' => 'ws-32klhjk2312334jkh', 'maxLength' => 128, 'description' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'code' => ['description' => 'The response status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
                            'workspaces' => [
                                'description' => 'The list of business workspaces.',
                                'type' => 'array',
                                'items' => [
                                    'description' => 'The business workspace.',
                                    'type' => 'object',
                                    'properties' => [
                                        'workspaceName' => ['description' => 'The business workspace name.', 'type' => 'string', 'example' => 'default', 'title' => ''],
                                        'workspaceId' => ['description' => 'The business workspace ID.', 'type' => 'string', 'example' => 'ws-0759e7b7ea7f585b', 'title' => ''],
                                        'region' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
                                        'apiHost' => ['description' => 'API Host。', 'type' => 'string', 'example' => 'llm-34o9ts1dai60z5sf.cn-beijing.maas.aliyuncs.com', 'title' => ''],
                                        'gmtCreate' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742785623772', 'title' => ''],
                                        'serviceSite' => ['description' => 'The service deployment scope. For more information, see [documentation](https://www.alibabacloud.com/help/zh/model-studio/regions/).', 'type' => 'string', 'example' => 'global', 'title' => ''],
                                    ],
                                    'title' => '',
                                    'example' => '',
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'maxResults' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
                            'nextToken' => ['description' => 'The pagination token used to retrieve more results. You do not need to specify this parameter for the first request. For subsequent requests, use the token returned in the previous response.', 'type' => 'string', 'example' => 'TbB1IsZUSR4iE', 'title' => ''],
                            'totalCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '149', 'title' => ''],
                            'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
                            'message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '75DD3695-77E0-5784-B8A6-C213A01781FE'],
                            'success' => ['description' => 'Indicates whether the API call was successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'title' => 'Query business workspace list',
            'changeSet' => [],
            'ramActions' => [
                [
                    'operationType' => 'list',
                    'ramAction' => [
                        'action' => 'modelstudio:ListWorkspaces',
                        'authLevel' => 'resource',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'conditional', 'product' => 'ModelStudio', 'resourceType' => 'Workspace', 'arn' => 'acs:modelstudio:{#regionId}:{#accountId}:workspace/*'],
                            ['validationType' => 'conditional', 'product' => 'ModelStudio', 'resourceType' => 'Workspace', 'arn' => 'acs:modelstudio:{#regionId}:{#accountId}:workspace/{#workspaceId}'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"code\\": \\"200\\",\\n  \\"workspaces\\": [\\n    {\\n      \\"workspaceName\\": \\"default\\",\\n      \\"workspaceId\\": \\"ws-0759e7b7ea7f585b\\",\\n      \\"region\\": \\"cn-beijing\\",\\n      \\"apiHost\\": \\"llm-34o9ts1dai60z5sf.cn-beijing.maas.aliyuncs.com\\",\\n      \\"gmtCreate\\": 1742785623772,\\n      \\"serviceSite\\": \\"global\\"\\n    }\\n  ],\\n  \\"maxResults\\": 100,\\n  \\"nextToken\\": \\"TbB1IsZUSR4iE\\",\\n  \\"totalCount\\": 149,\\n  \\"httpStatusCode\\": 200,\\n  \\"message\\": \\"success\\",\\n  \\"requestId\\": \\"75DD3695-77E0-5784-B8A6-C213A01781FE\\",\\n  \\"success\\": true\\n}","type":"json"}]',
        ],
        'RemoveOrganizationMember' => [
            'summary' => 'Removes organization members. Before removal, checks whether the member holds a seat. If the member holds a seat, the removal is rejected.',
            'path' => '/tokenplan/organization/member-removals',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'AccountIds',
                    'in' => 'query',
                    'style' => 'flat',
                    'schema' => [
                        'title' => '',
                        'description' => 'The list of member account IDs to be removed.',
                        'type' => 'array',
                        'items' => ['description' => 'The list of member account IDs.', 'type' => 'string', 'required' => false, 'example' => 'acc_123456789', 'title' => ''],
                        'required' => false,
                        'example' => '',
                    ],
                ],
                [
                    'name' => 'Locale',
                    'in' => 'query',
                    'schema' => ['description' => 'The language. Valid values: zh-CN and en-US.', 'type' => 'string', 'required' => false, 'example' => 'zh-CN', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<Void>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the operation is successful.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The error code. This parameter is empty if the operation is successful.', 'type' => 'string', 'example' => 'Success'],
                            'Message' => ['title' => '', 'description' => 'The error message. This parameter is empty if the operation is successful.', 'type' => 'string', 'example' => 'Success.'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Remove members',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"Success\\",\\n  \\"Message\\": \\"Success.\\"\\n}","type":"json"}]',
        ],
        'ResetApiKey' => [
            'path' => '/modelstudio/apikeys/{apiKeyId}/reset',
            'methods' => ['put'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'apiKeyId',
                    'in' => 'path',
                    'schema' => ['description' => 'API Key ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2984618', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '36045E0A-551D-592D-B1BC-4C56596CE59E'],
                            'code' => ['description' => 'The response status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
                            'message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'ok', 'title' => ''],
                            'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
                            'success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n"
                                .'- true: The request was successful.'."\n"
                                .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                            'apiKey' => [
                                'description' => 'The API key information.',
                                'type' => 'object',
                                'properties' => [
                                    'apiKeyValue' => ['description' => 'The value of the API key.', 'type' => 'string', 'example' => 'sk-ws-djI.8O7dkfkW2aICctnid4u4', 'title' => ''],
                                    'apiKeyId' => ['description' => 'API Key ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2965964', 'title' => ''],
                                    'workspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'ws-b2d30f148c236908', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'ResetFailed.ApiKeyDisabled', 'errorMessage' => 'You cannot reset a disabled API Key.', 'description' => 'You cannot reset a disabled API Key.'],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'title' => 'Reset API key',
            'summary' => 'Resets an API key.',
            'description' => 'Only the API key value changes. The API key ID remains unchanged.',
            'changeSet' => [],
            'ramActions' => [
                [
                    'operationType' => 'update',
                    'ramAction' => [
                        'action' => 'modelstudio:ResetApiKey',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"requestId\\": \\"36045E0A-551D-592D-B1BC-4C56596CE59E\\",\\n  \\"code\\": \\"200\\",\\n  \\"message\\": \\"ok\\",\\n  \\"httpStatusCode\\": 200,\\n  \\"success\\": true,\\n  \\"apiKey\\": {\\n    \\"apiKeyValue\\": \\"sk-ws-djI.8O7dkfkW2aICctnid4u4\\",\\n    \\"apiKeyId\\": 2965964,\\n    \\"workspaceId\\": \\"ws-b2d30f148c236908\\"\\n  }\\n}","type":"json"}]',
        ],
        'RevokeTokenPlanInviteLink' => [
            'summary' => 'Revokes a TokenPlan member invitation link.',
            'path' => '/tokenplan/invite/link/revoke',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<Void>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the API call is successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'False'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => '200'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'Successful'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Revoke a tokenPlan member invitation link',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"Successful\\"\\n}","type":"json"}]',
        ],
        'RotateTokenPlanKey' => [
            'summary' => 'Resets a UAC API key.',
            'path' => '/tokenplan/api-key-rotations',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'ApiKeyId',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'API Key ID', 'type' => 'string', 'required' => true, 'example' => 'ak_123456'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<ResetApiKeyDTO>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the API call is successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => 'Success'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'Success.'],
                            'Data' => [
                                'title' => '',
                                'description' => 'The business data.',
                                'type' => 'object',
                                'properties' => [
                                    'ApiKeyId' => ['title' => '', 'description' => 'The API Key ID, which is system-generated.', 'type' => 'string', 'example' => 'ak_123456'],
                                    'SourceId' => ['title' => '', 'description' => 'The source_id returned by BaiLian.', 'type' => 'string', 'example' => '123456'],
                                    'PlainApiKey' => ['title' => '', 'description' => 'The new plaintext API Key returned by BaiLian. This value is returned only once during the reset operation.', 'type' => 'string', 'example' => 'sk-ws.abc123456'],
                                    'MaskedApiKey' => ['title' => '', 'description' => 'The new masked_api_key returned by BaiLian, such as sk_***cdef.', 'type' => 'string', 'example' => 'sk_***6'],
                                    'ResetAt' => ['title' => '', 'description' => 'The time when the API key was reset.', 'type' => 'string', 'example' => '2025-07-18T03:19:17Z'],
                                ],
                                'example' => '',
                            ],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Reset API key',
            'description' => 'Only the API Key value changes. The API Key ID remains unchanged.',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"Success\\",\\n  \\"Message\\": \\"Success.\\",\\n  \\"Data\\": {\\n    \\"ApiKeyId\\": \\"ak_123456\\",\\n    \\"SourceId\\": \\"123456\\",\\n    \\"PlainApiKey\\": \\"sk-ws.abc123456\\",\\n    \\"MaskedApiKey\\": \\"sk_***6\\",\\n    \\"ResetAt\\": \\"2025-07-18T03:19:17Z\\"\\n  }\\n}","type":"json"}]',
        ],
        'SetTokenPlanOrgInviteConfig' => [
            'path' => '/tokenplan/invite/config/set',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'DefaultRoleId',
                    'in' => 'query',
                    'schema' => ['description' => 'The ID of the organization role assigned by default. Valid values:'."\n"
                        ."\n"
                        .'- SYSTEM_ROLE_ORG_ADMIN'."\n"
                        .'- SYSTEM_ROLE_ORG_MEMBER', 'type' => 'string', 'required' => true, 'example' => 'ORG_MEMBER', 'title' => ''],
                ],
                [
                    'name' => 'SeatAssignStrategy',
                    'in' => 'query',
                    'schema' => ['description' => 'The default seat allocation policy. Valid values:'."\n"
                        ."\n"
                        .'- HIGH_TO_LOW'."\n"
                        .'- LOW_TO_HIGH'."\n"
                        .'- NONE', 'type' => 'string', 'required' => true, 'example' => 'NONE', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<Void>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the call was successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => 'Success'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'OK'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Configure tokenPlan member invitation settings',
            'summary' => 'Configures the member invitation settings for a TokenPlan.',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"Success\\",\\n  \\"Message\\": \\"OK\\"\\n}","type":"json"}]',
        ],
        'UpdateApiKey' => [
            'summary' => 'Edits the information of an authentication credential API key.',
            'path' => '/modelstudio/apikeys/{apiKeyId}',
            'methods' => ['put'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'apiKeyId',
                    'in' => 'path',
                    'schema' => ['description' => 'API Key ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3268483', 'title' => ''],
                ],
                [
                    'name' => 'description',
                    'in' => 'query',
                    'schema' => ['description' => 'The description.', 'type' => 'string', 'maxLength' => 200, 'required' => false, 'example' => 'update description.', 'title' => ''],
                ],
                [
                    'name' => 'auth',
                    'in' => 'formData',
                    'style' => 'flat',
                    'schema' => [
                        'title' => '',
                        'description' => 'The API key permission settings.'."\n"
                            ."\n"
                            .'> Do not fill in this section or fill it in completely for each UpdateApiKey operation. Otherwise, the configuration may not match your expectations.',
                        'type' => 'object',
                        'properties' => [
                            'type' => [
                                'title' => '',
                                'description' => 'Valid values:'."\n"
                                    ."\n"
                                    .'- All: all permissions.'."\n"
                                    .'- Custom: custom permissions.',
                                'type' => 'string',
                                'required' => false,
                                'enum' => ['All', 'Custom'],
                                'example' => 'Custom',
                            ],
                            'accessIps' => [
                                'title' => '',
                                'description' => 'The IP access whitelist.'."\n"
                                    ."\n"
                                    .'> '."\n"
                                    .'> - When you customize the permission scope, if the IP access whitelist is not specified, the server sets it to IPv4 (0.0.0.0/0) and IPv6 (::/0) by default, which allows all traffic.',
                                'type' => 'array',
                                'items' => ['title' => '', 'description' => 'The IPv4 address, IPv6 address, or CIDR block.', 'type' => 'string', 'required' => false, 'example' => '192.168.1.0/24'],
                                'required' => false,
                                'docRequired' => false,
                                'example' => '',
                            ],
                            'modelAccessScope' => [
                                'title' => '',
                                'description' => 'The model access scope.',
                                'type' => 'object',
                                'properties' => [
                                    'allowAllModels' => ['title' => '', 'description' => 'Specifies whether to allow access to all models with granted inference permissions in the workspace. Valid values:'."\n"
                                        ."\n"
                                        .'- true'."\n"
                                        .'- false', 'type' => 'boolean', 'required' => false, 'example' => ''],
                                    'accessibleModels' => [
                                        'title' => '',
                                        'description' => 'The list of accessible models.'."\n"
                                            .'><notice>The content takes effect only when allowAllModels is set to false.></notice>',
                                        'type' => 'array',
                                        'items' => ['title' => '', 'description' => 'The accessible model.', 'type' => 'string', 'required' => false, 'example' => ''],
                                        'required' => false,
                                        'example' => '',
                                    ],
                                ],
                                'required' => false,
                                'docRequired' => false,
                                'example' => '',
                            ],
                        ],
                        'required' => false,
                        'example' => '',
                    ],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '36045E0A-551D-592D-B1BC-4C56596CE59E'],
                            'code' => ['description' => 'The response status code.', 'type' => 'string', 'example' => '200', 'title' => ''],
                            'message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
                            'success' => ['description' => 'Indicates whether the API call is successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"requestId\\": \\"36045E0A-551D-592D-B1BC-4C56596CE59E\\",\\n  \\"code\\": \\"200\\",\\n  \\"message\\": \\"success\\",\\n  \\"httpStatusCode\\": 200,\\n  \\"success\\": true\\n}","type":"json"}]',
            'title' => 'Edit API key',
            'changeSet' => [],
            'ramActions' => [
                [
                    'operationType' => 'update',
                    'ramAction' => [
                        'action' => 'modelstudio:UpdateApiKey',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
        ],
        'UpdateOrganization' => [
            'path' => '/tokenplan/organization',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'Name',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'The organization name.', 'type' => 'string', 'required' => false, 'example' => '新的组织名称'],
                ],
                [
                    'name' => 'Description',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'The organization description.', 'type' => 'string', 'required' => false, 'example' => '新的组织描述'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<OrgDTO>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the API call is successful. Valid values:'."\n"
                                ."\n"
                                .'- true: Successful.'."\n"
                                .'- false: Failed.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The response status code.', 'type' => 'string', 'example' => 'Success'],
                            'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'Successful'],
                            'Data' => [
                                'title' => '',
                                'description' => 'The business data.',
                                'type' => 'object',
                                'properties' => [
                                    'OrgId' => ['title' => '', 'description' => 'The organization ID.', 'type' => 'string', 'example' => 'org_123456789'],
                                    'NamespaceId' => ['title' => '', 'description' => 'The product namespace ID.', 'type' => 'string', 'example' => 'namespace-1'],
                                    'Name' => ['title' => '', 'description' => 'The organization name.', 'type' => 'string', 'example' => '组织名称'],
                                    'Description' => ['title' => '', 'description' => 'The organization description.', 'type' => 'string', 'example' => '组织描述'],
                                    'Status' => ['title' => '', 'description' => 'The status. Valid values:'."\n"
                                        .'- ACTIVE'."\n"
                                        .'- FROZEN', 'type' => 'string', 'example' => 'ACTIVE'],
                                    'OwnerId' => ['title' => '', 'description' => 'The UAC account ID of the organization owner.', 'type' => 'string', 'example' => 'acc_123456789'],
                                    'OwnerBizAccountId' => ['title' => '', 'description' => 'The business account identifier of the organization owner. The value is aliyunUid for the ALIYUN type and userIdentifier for the SSO type.', 'type' => 'string', 'example' => '1269388320468566'],
                                    'GmtCreate' => ['title' => '', 'description' => 'The creation time.', 'type' => 'string', 'example' => '2025-12-11T02:19:27Z'],
                                    'GmtModified' => ['title' => '', 'description' => 'The modification time.', 'type' => 'string', 'example' => '2025-07-08 13:59:11'],
                                ],
                                'example' => '',
                            ],
                            'HttpStatusCode' => ['title' => '', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => 'None'],
                            'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'EC0B0D42-A88C-55F5-AF48-498B8207F6BC'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Modify organization information',
            'summary' => 'Modifies organization information.',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"Success\\",\\n  \\"Message\\": \\"Successful\\",\\n  \\"Data\\": {\\n    \\"OrgId\\": \\"org_123456789\\",\\n    \\"NamespaceId\\": \\"namespace-1\\",\\n    \\"Name\\": \\"组织名称\\",\\n    \\"Description\\": \\"组织描述\\",\\n    \\"Status\\": \\"ACTIVE\\",\\n    \\"OwnerId\\": \\"acc_123456789\\",\\n    \\"OwnerBizAccountId\\": \\"1269388320468566\\",\\n    \\"GmtCreate\\": \\"2025-12-11T02:19:27Z\\",\\n    \\"GmtModified\\": \\"2025-07-08 13:59:11\\"\\n  },\\n  \\"HttpStatusCode\\": 0,\\n  \\"RequestId\\": \\"EC0B0D42-A88C-55F5-AF48-498B8207F6BC\\"\\n}","type":"json"}]',
        ],
        'UpdateOrganizationMember' => [
            'summary' => 'Modifies the roles of organization members.',
            'path' => '/tokenplan/organization/members/update',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
            'parameters' => [
                [
                    'name' => 'AccountIds',
                    'in' => 'query',
                    'style' => 'flat',
                    'schema' => [
                        'title' => '',
                        'description' => 'The list of account IDs for batch operations.',
                        'type' => 'array',
                        'items' => ['description' => 'The member account ID.', 'type' => 'string', 'required' => false, 'example' => 'acc_123456789', 'title' => ''],
                        'required' => false,
                        'example' => '',
                    ],
                ],
                [
                    'name' => 'NewRoleCode',
                    'in' => 'query',
                    'schema' => ['title' => '', 'description' => 'The code of the new role. When you perform a batch operation, all specified accounts are changed to this role.', 'type' => 'string', 'required' => true, 'example' => 'ORG_MEMBER'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'Result<Void>',
                        'type' => 'object',
                        'properties' => [
                            'Success' => ['title' => '', 'description' => 'Indicates whether the operation was successful.', 'type' => 'boolean', 'example' => 'True'],
                            'Code' => ['title' => '', 'description' => 'The error code. This parameter is empty if the operation is successful.', 'type' => 'string', 'example' => '200'],
                            'Message' => ['title' => '', 'description' => 'The error message. This parameter is empty if the operation is successful.', 'type' => 'string', 'example' => 'Successful'],
                            'HttpStatusCode' => ['title' => '', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => 'None'],
                            'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9531C132-DF05-5C7F-8BB0-96EA8C4D00D7'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Modify member roles',
            'changeSet' => [],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Success\\": true,\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"Successful\\",\\n  \\"HttpStatusCode\\": 0,\\n  \\"RequestId\\": \\"9531C132-DF05-5C7F-8BB0-96EA8C4D00D7\\"\\n}","type":"json"}]',
        ],
    ],
    'endpoints' => [
        ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'modelstudio.cn-beijing.aliyuncs.com', 'endpoint' => 'modelstudio.cn-beijing.aliyuncs.com', 'vpc' => 'modelstudio-vpc.cn-beijing.aliyuncs.com'],
        ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'modelstudio.cn-hongkong.aliyuncs.com', 'endpoint' => 'modelstudio.cn-hongkong.aliyuncs.com', 'vpc' => 'modelstudio-vpc.cn-hongkong.aliyuncs.com'],
        ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'modelstudio.ap-southeast-1.aliyuncs.com', 'endpoint' => 'modelstudio.ap-southeast-1.aliyuncs.com', 'vpc' => 'modelstudio-vpc.ap-southeast-1.aliyuncs.com'],
        ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'modelstudio.us-east-1.aliyuncs.com', 'endpoint' => 'modelstudio.us-east-1.aliyuncs.com', 'vpc' => 'modelstudio-vpc.us-east-1.aliyuncs.com'],
        ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'modelstudio.eu-central-1.aliyuncs.com', 'endpoint' => 'modelstudio.eu-central-1.aliyuncs.com', 'vpc' => 'modelstudio-vpc.eu-central-1.aliyuncs.com'],
    ],
    'errorCodes' => [
        ['code' => 'ApiKey.Already.Disabled', 'message' => 'API Key is  already disabled.', 'http_code' => 400, 'description' => 'API Key is  already disabled.'],
        ['code' => 'ApiKey.Already.Enabled', 'message' => 'ApiKey is already enabled.', 'http_code' => 400, 'description' => 'The API Key is already in active status.'],
        ['code' => 'ResetFailed.ApiKeyDisabled', 'message' => 'You cannot reset a disabled API Key.', 'http_code' => 400, 'description' => 'You cannot reset a disabled API Key.'],
        ['code' => 'ResourceNotFound.Workspace', 'message' => 'Workspace not existed.', 'http_code' => 404, 'description' => 'Workspace not existed.'],
    ],
    'changeSet' => [],
    'ram' => [
        'productCode' => 'ModelStudio',
        'productName' => 'Alibaba Cloud Model Studio',
        'ramCodes' => ['modelstudio'],
        'ramLevel' => 'RESOURCE',
        'ramConditions' => [],
        'ramActions' => [
            [
                'apiName' => 'GetSubscriptionStats',
                'description' => '',
                'operationType' => 'get',
                'ramAction' => [
                    'action' => 'modelstudio:GetSubscriptionStats',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'GetTokenPlanAccountDetail',
                'description' => '',
                'operationType' => 'get',
                'ramAction' => [
                    'action' => 'modelstudio:GetTokenPlanAccountDetail',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'EnableApiKey',
                'description' => '',
                'operationType' => 'update',
                'ramAction' => [
                    'action' => 'modelstudio:EnableApiKey',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'AddOrganizationMember',
                'description' => '',
                'operationType' => 'create',
                'ramAction' => [
                    'action' => 'modelstudio:AddOrganizationMember',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'UpdateOrganization',
                'description' => '',
                'operationType' => 'update',
                'ramAction' => [
                    'action' => 'modelstudio:UpdateOrganization',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'UpdateOrganizationMember',
                'description' => '',
                'operationType' => 'update',
                'ramAction' => [
                    'action' => 'modelstudio:UpdateOrganizationMember',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'RemoveOrganizationMember',
                'description' => '',
                'operationType' => 'update',
                'ramAction' => [
                    'action' => 'modelstudio:RemoveOrganizationMember',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'BatchAssignSeats',
                'description' => '',
                'operationType' => 'update',
                'ramAction' => [
                    'action' => 'modelstudio:BatchAssignSeats',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'GetOrganizationMemberSeatStats',
                'description' => '',
                'operationType' => 'get',
                'ramAction' => [
                    'action' => 'modelstudio:GetOrganizationMemberSeatStats',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'BatchRevokeSeats',
                'description' => '',
                'operationType' => 'update',
                'ramAction' => [
                    'action' => 'modelstudio:BatchRevokeSeats',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'ListOrganizationMembers',
                'description' => '',
                'operationType' => 'list',
                'ramAction' => [
                    'action' => 'modelstudio:ListOrganizationMembers',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'CreateTokenPlanInviteLink',
                'description' => '',
                'operationType' => 'create',
                'ramAction' => [
                    'action' => 'modelstudio:CreateTokenPlanInviteLink',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'UpdateApiKey',
                'description' => '',
                'operationType' => 'update',
                'ramAction' => [
                    'action' => 'modelstudio:UpdateApiKey',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'GetOrganization',
                'description' => '',
                'operationType' => 'get',
                'ramAction' => [
                    'action' => 'modelstudio:GetOrganization',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'GetSubscriptionSeatDetails',
                'description' => '',
                'operationType' => 'get',
                'ramAction' => [
                    'action' => 'modelstudio:GetSubscriptionSeatDetails',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'GetApiKey',
                'description' => '',
                'operationType' => 'get',
                'ramAction' => [
                    'action' => 'modelstudio:GetApiKey',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'GetTokenPlanInviteLink',
                'description' => '',
                'operationType' => 'get',
                'ramAction' => [
                    'action' => 'modelstudio:GetTokenPlanInviteLink',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'RotateTokenPlanKey',
                'description' => '',
                'operationType' => 'update',
                'ramAction' => [
                    'action' => 'modelstudio:RotateTokenPlanKey',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'ListApiKeys',
                'description' => '',
                'operationType' => 'list',
                'ramAction' => [
                    'action' => 'modelstudio:ListApiKeys',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'SetTokenPlanOrgInviteConfig',
                'description' => '',
                'operationType' => 'update',
                'ramAction' => [
                    'action' => 'modelstudio:SetTokenPlanOrgInviteConfig',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'CreateWorkspace',
                'description' => '',
                'operationType' => 'create',
                'ramAction' => [
                    'action' => 'modelstudio:CreateWorkspace',
                    'authLevel' => 'resource',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'Workspace', 'arn' => 'acs:modelstudio:{#regionId}:{#accountId}:workspace/*'],
                    ],
                ],
            ],
            [
                'apiName' => 'CreateTokenPlanKey',
                'description' => '',
                'operationType' => 'create',
                'ramAction' => [
                    'action' => 'modelstudio:CreateTokenPlanKey',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'GetTokenPlanOrgInviteConfig',
                'description' => '',
                'operationType' => 'get',
                'ramAction' => [
                    'action' => 'modelstudio:GetTokenPlanOrgInviteConfig',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'CreateApiKey',
                'description' => '',
                'operationType' => 'create',
                'ramAction' => [
                    'action' => 'modelstudio:CreateApiKey',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'ListSubscriptionSharedPackages',
                'description' => '',
                'operationType' => 'list',
                'ramAction' => [
                    'action' => 'modelstudio:ListSubscriptionSharedPackages',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'DeleteApiKey',
                'description' => '',
                'operationType' => 'delete',
                'ramAction' => [
                    'action' => 'modelstudio:DeleteApiKey',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'RevokeTokenPlanInviteLink',
                'description' => '',
                'operationType' => 'update',
                'ramAction' => [
                    'action' => 'modelstudio:RevokeTokenPlanInviteLink',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'DisableApiKey',
                'description' => '',
                'operationType' => 'update',
                'ramAction' => [
                    'action' => 'modelstudio:DisableApiKey',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'DeleteWorkspace',
                'description' => '',
                'operationType' => 'delete',
                'ramAction' => [
                    'action' => 'modelstudio:DeleteWorkspace',
                    'authLevel' => 'resource',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'Workspace', 'arn' => 'acs:modelstudio:{#regionId}:{#accountId}:workspace/{#workspaceId}'],
                    ],
                ],
            ],
            [
                'apiName' => 'ListWorkspaces',
                'description' => '',
                'operationType' => 'list',
                'ramAction' => [
                    'action' => 'modelstudio:ListWorkspaces',
                    'authLevel' => 'resource',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'conditional', 'product' => 'ModelStudio', 'resourceType' => 'Workspace', 'arn' => 'acs:modelstudio:{#regionId}:{#accountId}:workspace/*'],
                        ['validationType' => 'conditional', 'product' => 'ModelStudio', 'resourceType' => 'Workspace', 'arn' => 'acs:modelstudio:{#regionId}:{#accountId}:workspace/{#workspaceId}'],
                    ],
                ],
            ],
            [
                'apiName' => 'ResetApiKey',
                'description' => '',
                'operationType' => 'update',
                'ramAction' => [
                    'action' => 'modelstudio:ResetApiKey',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ModelStudio', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
        ],
        'resourceTypes' => [
            ['validationType' => 'always', 'resourceType' => 'Workspace', 'arn' => 'acs:modelstudio:{#regionId}:{#accountId}:workspace/*'],
            ['validationType' => 'always', 'resourceType' => 'Workspace', 'arn' => 'acs:modelstudio:{#regionId}:{#accountId}:workspace/{#workspaceId}'],
        ],
    ],
];