@klex/agent-admin-api 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +541 -541
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
15
15
|
} & {
|
|
16
16
|
"/v1/cloud/status": {
|
|
17
17
|
$get: {
|
|
18
|
+
output: {
|
|
19
|
+
error: string;
|
|
20
|
+
code: string;
|
|
21
|
+
remediation?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
outputFormat: "json";
|
|
24
|
+
status: 500;
|
|
25
|
+
input: {};
|
|
26
|
+
} | {
|
|
18
27
|
output: {
|
|
19
28
|
cloudEnabled: boolean;
|
|
20
29
|
enrolled: boolean;
|
|
@@ -26,26 +35,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
26
35
|
outputFormat: "json";
|
|
27
36
|
status: 200;
|
|
28
37
|
input: {};
|
|
29
|
-
} | {
|
|
30
|
-
output: {
|
|
31
|
-
error: string;
|
|
32
|
-
code: string;
|
|
33
|
-
remediation?: string | undefined;
|
|
34
|
-
};
|
|
35
|
-
outputFormat: "json";
|
|
36
|
-
status: 500;
|
|
37
|
-
input: {};
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
} & {
|
|
41
41
|
"/v1/cloud/enroll": {
|
|
42
42
|
$post: {
|
|
43
43
|
output: {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
error: string;
|
|
45
|
+
code: string;
|
|
46
|
+
remediation?: string | undefined;
|
|
46
47
|
};
|
|
47
48
|
outputFormat: "json";
|
|
48
|
-
status:
|
|
49
|
+
status: 400;
|
|
49
50
|
input: {
|
|
50
51
|
json: {
|
|
51
52
|
enrollmentCode: string;
|
|
@@ -58,7 +59,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
58
59
|
remediation?: string | undefined;
|
|
59
60
|
};
|
|
60
61
|
outputFormat: "json";
|
|
61
|
-
status:
|
|
62
|
+
status: 500;
|
|
62
63
|
input: {
|
|
63
64
|
json: {
|
|
64
65
|
enrollmentCode: string;
|
|
@@ -66,12 +67,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
66
67
|
};
|
|
67
68
|
} | {
|
|
68
69
|
output: {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
remediation?: string | undefined;
|
|
70
|
+
clientId: string;
|
|
71
|
+
enrolledAt: string;
|
|
72
72
|
};
|
|
73
73
|
outputFormat: "json";
|
|
74
|
-
status:
|
|
74
|
+
status: 200;
|
|
75
75
|
input: {
|
|
76
76
|
json: {
|
|
77
77
|
enrollmentCode: string;
|
|
@@ -94,10 +94,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
94
94
|
"/v1/settings/agent": {
|
|
95
95
|
$patch: {
|
|
96
96
|
output: {
|
|
97
|
-
|
|
97
|
+
error: string;
|
|
98
|
+
code: string;
|
|
99
|
+
remediation?: string | undefined;
|
|
98
100
|
};
|
|
99
101
|
outputFormat: "json";
|
|
100
|
-
status:
|
|
102
|
+
status: 400;
|
|
101
103
|
input: {
|
|
102
104
|
json: {
|
|
103
105
|
officialName: string;
|
|
@@ -110,7 +112,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
110
112
|
remediation?: string | undefined;
|
|
111
113
|
};
|
|
112
114
|
outputFormat: "json";
|
|
113
|
-
status:
|
|
115
|
+
status: 500;
|
|
114
116
|
input: {
|
|
115
117
|
json: {
|
|
116
118
|
officialName: string;
|
|
@@ -118,12 +120,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
118
120
|
};
|
|
119
121
|
} | {
|
|
120
122
|
output: {
|
|
121
|
-
|
|
122
|
-
code: string;
|
|
123
|
-
remediation?: string | undefined;
|
|
123
|
+
officialName: string;
|
|
124
124
|
};
|
|
125
125
|
outputFormat: "json";
|
|
126
|
-
status:
|
|
126
|
+
status: 200;
|
|
127
127
|
input: {
|
|
128
128
|
json: {
|
|
129
129
|
officialName: string;
|
|
@@ -134,6 +134,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
134
134
|
} & {
|
|
135
135
|
"/v1/settings/model-selection": {
|
|
136
136
|
$get: {
|
|
137
|
+
output: {
|
|
138
|
+
error: string;
|
|
139
|
+
code: string;
|
|
140
|
+
remediation?: string | undefined;
|
|
141
|
+
};
|
|
142
|
+
outputFormat: "json";
|
|
143
|
+
status: 500;
|
|
144
|
+
input: {};
|
|
145
|
+
} | {
|
|
137
146
|
output: {
|
|
138
147
|
chat: {
|
|
139
148
|
providerId: string;
|
|
@@ -213,102 +222,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
213
222
|
outputFormat: "json";
|
|
214
223
|
status: 200;
|
|
215
224
|
input: {};
|
|
216
|
-
} | {
|
|
217
|
-
output: {
|
|
218
|
-
error: string;
|
|
219
|
-
code: string;
|
|
220
|
-
remediation?: string | undefined;
|
|
221
|
-
};
|
|
222
|
-
outputFormat: "json";
|
|
223
|
-
status: 500;
|
|
224
|
-
input: {};
|
|
225
225
|
};
|
|
226
226
|
};
|
|
227
227
|
} & {
|
|
228
228
|
"/v1/settings/model-selection": {
|
|
229
229
|
$patch: {
|
|
230
230
|
output: {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
providerOptions?: {
|
|
235
|
-
[x: string]: {
|
|
236
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
237
|
-
};
|
|
238
|
-
} | undefined;
|
|
239
|
-
}[];
|
|
240
|
-
compaction: {
|
|
241
|
-
providerId: string;
|
|
242
|
-
modelId: string;
|
|
243
|
-
providerOptions?: {
|
|
244
|
-
[x: string]: {
|
|
245
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
246
|
-
};
|
|
247
|
-
} | undefined;
|
|
248
|
-
}[];
|
|
249
|
-
memory: {
|
|
250
|
-
providerId: string;
|
|
251
|
-
modelId: string;
|
|
252
|
-
providerOptions?: {
|
|
253
|
-
[x: string]: {
|
|
254
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
255
|
-
};
|
|
256
|
-
} | undefined;
|
|
257
|
-
}[];
|
|
258
|
-
imageVision: {
|
|
259
|
-
providerId: string;
|
|
260
|
-
modelId: string;
|
|
261
|
-
providerOptions?: {
|
|
262
|
-
[x: string]: {
|
|
263
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
264
|
-
};
|
|
265
|
-
} | undefined;
|
|
266
|
-
}[];
|
|
267
|
-
audioListening: {
|
|
268
|
-
providerId: string;
|
|
269
|
-
modelId: string;
|
|
270
|
-
providerOptions?: {
|
|
271
|
-
[x: string]: {
|
|
272
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
273
|
-
};
|
|
274
|
-
} | undefined;
|
|
275
|
-
}[];
|
|
276
|
-
voice: {
|
|
277
|
-
sts: {
|
|
278
|
-
providerId: string;
|
|
279
|
-
modelId: string;
|
|
280
|
-
providerOptions?: {
|
|
281
|
-
[x: string]: {
|
|
282
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
283
|
-
};
|
|
284
|
-
} | undefined;
|
|
285
|
-
}[];
|
|
286
|
-
tts: {
|
|
287
|
-
providerId: string;
|
|
288
|
-
modelId: string;
|
|
289
|
-
providerOptions?: {
|
|
290
|
-
[x: string]: {
|
|
291
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
292
|
-
};
|
|
293
|
-
} | undefined;
|
|
294
|
-
}[];
|
|
295
|
-
stt: {
|
|
296
|
-
providerId: string;
|
|
297
|
-
modelId: string;
|
|
298
|
-
providerOptions?: {
|
|
299
|
-
[x: string]: {
|
|
300
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
301
|
-
};
|
|
302
|
-
} | undefined;
|
|
303
|
-
}[];
|
|
304
|
-
};
|
|
305
|
-
warnings: {
|
|
306
|
-
modelId: string;
|
|
307
|
-
message: string;
|
|
308
|
-
}[];
|
|
231
|
+
error: string;
|
|
232
|
+
code: string;
|
|
233
|
+
remediation?: string | undefined;
|
|
309
234
|
};
|
|
310
235
|
outputFormat: "json";
|
|
311
|
-
status:
|
|
236
|
+
status: 400;
|
|
312
237
|
input: {
|
|
313
238
|
json: {
|
|
314
239
|
chat?: {
|
|
@@ -362,7 +287,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
362
287
|
remediation?: string | undefined;
|
|
363
288
|
};
|
|
364
289
|
outputFormat: "json";
|
|
365
|
-
status:
|
|
290
|
+
status: 500;
|
|
366
291
|
input: {
|
|
367
292
|
json: {
|
|
368
293
|
chat?: {
|
|
@@ -411,12 +336,87 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
411
336
|
};
|
|
412
337
|
} | {
|
|
413
338
|
output: {
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
339
|
+
chat: {
|
|
340
|
+
providerId: string;
|
|
341
|
+
modelId: string;
|
|
342
|
+
providerOptions?: {
|
|
343
|
+
[x: string]: {
|
|
344
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
345
|
+
};
|
|
346
|
+
} | undefined;
|
|
347
|
+
}[];
|
|
348
|
+
compaction: {
|
|
349
|
+
providerId: string;
|
|
350
|
+
modelId: string;
|
|
351
|
+
providerOptions?: {
|
|
352
|
+
[x: string]: {
|
|
353
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
354
|
+
};
|
|
355
|
+
} | undefined;
|
|
356
|
+
}[];
|
|
357
|
+
memory: {
|
|
358
|
+
providerId: string;
|
|
359
|
+
modelId: string;
|
|
360
|
+
providerOptions?: {
|
|
361
|
+
[x: string]: {
|
|
362
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
363
|
+
};
|
|
364
|
+
} | undefined;
|
|
365
|
+
}[];
|
|
366
|
+
imageVision: {
|
|
367
|
+
providerId: string;
|
|
368
|
+
modelId: string;
|
|
369
|
+
providerOptions?: {
|
|
370
|
+
[x: string]: {
|
|
371
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
372
|
+
};
|
|
373
|
+
} | undefined;
|
|
374
|
+
}[];
|
|
375
|
+
audioListening: {
|
|
376
|
+
providerId: string;
|
|
377
|
+
modelId: string;
|
|
378
|
+
providerOptions?: {
|
|
379
|
+
[x: string]: {
|
|
380
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
381
|
+
};
|
|
382
|
+
} | undefined;
|
|
383
|
+
}[];
|
|
384
|
+
voice: {
|
|
385
|
+
sts: {
|
|
386
|
+
providerId: string;
|
|
387
|
+
modelId: string;
|
|
388
|
+
providerOptions?: {
|
|
389
|
+
[x: string]: {
|
|
390
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
391
|
+
};
|
|
392
|
+
} | undefined;
|
|
393
|
+
}[];
|
|
394
|
+
tts: {
|
|
395
|
+
providerId: string;
|
|
396
|
+
modelId: string;
|
|
397
|
+
providerOptions?: {
|
|
398
|
+
[x: string]: {
|
|
399
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
400
|
+
};
|
|
401
|
+
} | undefined;
|
|
402
|
+
}[];
|
|
403
|
+
stt: {
|
|
404
|
+
providerId: string;
|
|
405
|
+
modelId: string;
|
|
406
|
+
providerOptions?: {
|
|
407
|
+
[x: string]: {
|
|
408
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
409
|
+
};
|
|
410
|
+
} | undefined;
|
|
411
|
+
}[];
|
|
412
|
+
};
|
|
413
|
+
warnings: {
|
|
414
|
+
modelId: string;
|
|
415
|
+
message: string;
|
|
416
|
+
}[];
|
|
417
417
|
};
|
|
418
418
|
outputFormat: "json";
|
|
419
|
-
status:
|
|
419
|
+
status: 200;
|
|
420
420
|
input: {
|
|
421
421
|
json: {
|
|
422
422
|
chat?: {
|
|
@@ -469,19 +469,19 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
469
469
|
"/v1/settings/telemetry": {
|
|
470
470
|
$get: {
|
|
471
471
|
output: {
|
|
472
|
-
|
|
472
|
+
error: string;
|
|
473
|
+
code: string;
|
|
474
|
+
remediation?: string | undefined;
|
|
473
475
|
};
|
|
474
476
|
outputFormat: "json";
|
|
475
|
-
status:
|
|
477
|
+
status: 500;
|
|
476
478
|
input: {};
|
|
477
479
|
} | {
|
|
478
480
|
output: {
|
|
479
|
-
|
|
480
|
-
code: string;
|
|
481
|
-
remediation?: string | undefined;
|
|
481
|
+
level: "full" | "minimum" | "off" | "reduced";
|
|
482
482
|
};
|
|
483
483
|
outputFormat: "json";
|
|
484
|
-
status:
|
|
484
|
+
status: 200;
|
|
485
485
|
input: {};
|
|
486
486
|
};
|
|
487
487
|
};
|
|
@@ -489,10 +489,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
489
489
|
"/v1/settings/telemetry": {
|
|
490
490
|
$patch: {
|
|
491
491
|
output: {
|
|
492
|
-
|
|
492
|
+
error: string;
|
|
493
|
+
code: string;
|
|
494
|
+
remediation?: string | undefined;
|
|
493
495
|
};
|
|
494
496
|
outputFormat: "json";
|
|
495
|
-
status:
|
|
497
|
+
status: 400;
|
|
496
498
|
input: {
|
|
497
499
|
json: {
|
|
498
500
|
level?: "full" | "minimum" | "off" | "reduced" | undefined;
|
|
@@ -505,7 +507,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
505
507
|
remediation?: string | undefined;
|
|
506
508
|
};
|
|
507
509
|
outputFormat: "json";
|
|
508
|
-
status:
|
|
510
|
+
status: 500;
|
|
509
511
|
input: {
|
|
510
512
|
json: {
|
|
511
513
|
level?: "full" | "minimum" | "off" | "reduced" | undefined;
|
|
@@ -513,12 +515,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
513
515
|
};
|
|
514
516
|
} | {
|
|
515
517
|
output: {
|
|
516
|
-
|
|
517
|
-
code: string;
|
|
518
|
-
remediation?: string | undefined;
|
|
518
|
+
level: "full" | "minimum" | "off" | "reduced";
|
|
519
519
|
};
|
|
520
520
|
outputFormat: "json";
|
|
521
|
-
status:
|
|
521
|
+
status: 200;
|
|
522
522
|
input: {
|
|
523
523
|
json: {
|
|
524
524
|
level?: "full" | "minimum" | "off" | "reduced" | undefined;
|
|
@@ -529,6 +529,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
529
529
|
} & {
|
|
530
530
|
"/v1/introspect": {
|
|
531
531
|
$get: {
|
|
532
|
+
output: {
|
|
533
|
+
error: string;
|
|
534
|
+
code: string;
|
|
535
|
+
remediation?: string | undefined;
|
|
536
|
+
};
|
|
537
|
+
outputFormat: "json";
|
|
538
|
+
status: 500;
|
|
539
|
+
input: {};
|
|
540
|
+
} | {
|
|
532
541
|
output: {
|
|
533
542
|
path: string[];
|
|
534
543
|
state: {
|
|
@@ -543,62 +552,22 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
543
552
|
outputFormat: "json";
|
|
544
553
|
status: 200;
|
|
545
554
|
input: {};
|
|
546
|
-
} | {
|
|
547
|
-
output: {
|
|
548
|
-
error: string;
|
|
549
|
-
code: string;
|
|
550
|
-
remediation?: string | undefined;
|
|
551
|
-
};
|
|
552
|
-
outputFormat: "json";
|
|
553
|
-
status: 500;
|
|
554
|
-
input: {};
|
|
555
555
|
};
|
|
556
556
|
};
|
|
557
557
|
} & {
|
|
558
558
|
"/v1/mcp-servers": {
|
|
559
559
|
$get: {
|
|
560
|
-
output: {
|
|
561
|
-
servers: {
|
|
562
|
-
name: string;
|
|
563
|
-
status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
|
|
564
|
-
toolCount: number;
|
|
565
|
-
supportsPushNotifications: boolean;
|
|
566
|
-
supportsRealtimeMedia: boolean;
|
|
567
|
-
transport: "http" | "stdio";
|
|
568
|
-
headerNames: string[];
|
|
569
|
-
usesInteractiveOAuth: boolean;
|
|
570
|
-
authorization: {
|
|
571
|
-
id: string;
|
|
572
|
-
createdAt: string;
|
|
573
|
-
expiresAt: string;
|
|
574
|
-
} | null;
|
|
575
|
-
lastError: {
|
|
576
|
-
name: string;
|
|
577
|
-
message: string;
|
|
578
|
-
at: string;
|
|
579
|
-
} | null;
|
|
580
|
-
nextRetryAt: string | null;
|
|
581
|
-
}[];
|
|
582
|
-
};
|
|
583
|
-
outputFormat: "json";
|
|
584
|
-
status: 200;
|
|
585
|
-
input: {};
|
|
586
|
-
} | {
|
|
587
560
|
output: {
|
|
588
561
|
error: string;
|
|
589
562
|
code: string;
|
|
590
563
|
remediation?: string | undefined;
|
|
591
|
-
};
|
|
592
|
-
outputFormat: "json";
|
|
593
|
-
status: 500;
|
|
594
|
-
input: {};
|
|
595
|
-
}
|
|
596
|
-
};
|
|
597
|
-
} & {
|
|
598
|
-
"/v1/mcp-servers/:name": {
|
|
599
|
-
$get: {
|
|
564
|
+
};
|
|
565
|
+
outputFormat: "json";
|
|
566
|
+
status: 500;
|
|
567
|
+
input: {};
|
|
568
|
+
} | {
|
|
600
569
|
output: {
|
|
601
|
-
|
|
570
|
+
servers: {
|
|
602
571
|
name: string;
|
|
603
572
|
status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
|
|
604
573
|
toolCount: number;
|
|
@@ -618,16 +587,16 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
618
587
|
at: string;
|
|
619
588
|
} | null;
|
|
620
589
|
nextRetryAt: string | null;
|
|
621
|
-
};
|
|
590
|
+
}[];
|
|
622
591
|
};
|
|
623
592
|
outputFormat: "json";
|
|
624
593
|
status: 200;
|
|
625
|
-
input: {
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
594
|
+
input: {};
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
} & {
|
|
598
|
+
"/v1/mcp-servers/:name": {
|
|
599
|
+
$get: {
|
|
631
600
|
output: {
|
|
632
601
|
error: string;
|
|
633
602
|
code: string;
|
|
@@ -653,13 +622,9 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
653
622
|
name: string;
|
|
654
623
|
};
|
|
655
624
|
};
|
|
656
|
-
}
|
|
657
|
-
};
|
|
658
|
-
} & {
|
|
659
|
-
"/v1/mcp-servers": {
|
|
660
|
-
$post: {
|
|
625
|
+
} | {
|
|
661
626
|
output: {
|
|
662
|
-
|
|
627
|
+
server: {
|
|
663
628
|
name: string;
|
|
664
629
|
status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
|
|
665
630
|
toolCount: number;
|
|
@@ -679,31 +644,20 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
679
644
|
at: string;
|
|
680
645
|
} | null;
|
|
681
646
|
nextRetryAt: string | null;
|
|
682
|
-
}
|
|
647
|
+
};
|
|
683
648
|
};
|
|
684
649
|
outputFormat: "json";
|
|
685
|
-
status:
|
|
650
|
+
status: 200;
|
|
686
651
|
input: {
|
|
687
|
-
|
|
688
|
-
name: string;
|
|
689
|
-
type?: "stdio" | undefined;
|
|
690
|
-
command: string;
|
|
691
|
-
args?: string[] | undefined;
|
|
692
|
-
env?: Record<string, string> | undefined;
|
|
693
|
-
versionNegotiation?: "auto" | "legacy" | {
|
|
694
|
-
pin: string;
|
|
695
|
-
} | undefined;
|
|
696
|
-
} | {
|
|
652
|
+
param: {
|
|
697
653
|
name: string;
|
|
698
|
-
type?: "http" | "streamable-http" | undefined;
|
|
699
|
-
url: string;
|
|
700
|
-
headers?: Record<string, string> | undefined;
|
|
701
|
-
versionNegotiation?: "auto" | "legacy" | {
|
|
702
|
-
pin: string;
|
|
703
|
-
} | undefined;
|
|
704
654
|
};
|
|
705
655
|
};
|
|
706
|
-
}
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
} & {
|
|
659
|
+
"/v1/mcp-servers": {
|
|
660
|
+
$post: {
|
|
707
661
|
output: {
|
|
708
662
|
error: string;
|
|
709
663
|
code: string;
|
|
@@ -787,11 +741,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
787
741
|
} | undefined;
|
|
788
742
|
};
|
|
789
743
|
};
|
|
790
|
-
}
|
|
791
|
-
};
|
|
792
|
-
} & {
|
|
793
|
-
"/v1/mcp-servers/:name": {
|
|
794
|
-
$patch: {
|
|
744
|
+
} | {
|
|
795
745
|
output: {
|
|
796
746
|
servers: {
|
|
797
747
|
name: string;
|
|
@@ -816,13 +766,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
816
766
|
}[];
|
|
817
767
|
};
|
|
818
768
|
outputFormat: "json";
|
|
819
|
-
status:
|
|
769
|
+
status: 201;
|
|
820
770
|
input: {
|
|
821
|
-
param: {
|
|
822
|
-
name: string;
|
|
823
|
-
};
|
|
824
|
-
} & {
|
|
825
771
|
json: {
|
|
772
|
+
name: string;
|
|
826
773
|
type?: "stdio" | undefined;
|
|
827
774
|
command: string;
|
|
828
775
|
args?: string[] | undefined;
|
|
@@ -831,15 +778,20 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
831
778
|
pin: string;
|
|
832
779
|
} | undefined;
|
|
833
780
|
} | {
|
|
781
|
+
name: string;
|
|
834
782
|
type?: "http" | "streamable-http" | undefined;
|
|
835
|
-
url
|
|
836
|
-
|
|
783
|
+
url: string;
|
|
784
|
+
headers?: Record<string, string> | undefined;
|
|
837
785
|
versionNegotiation?: "auto" | "legacy" | {
|
|
838
786
|
pin: string;
|
|
839
787
|
} | undefined;
|
|
840
788
|
};
|
|
841
789
|
};
|
|
842
|
-
}
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
} & {
|
|
793
|
+
"/v1/mcp-servers/:name": {
|
|
794
|
+
$patch: {
|
|
843
795
|
output: {
|
|
844
796
|
error: string;
|
|
845
797
|
code: string;
|
|
@@ -929,11 +881,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
929
881
|
} | undefined;
|
|
930
882
|
};
|
|
931
883
|
};
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
|
-
} & {
|
|
935
|
-
"/v1/mcp-servers/:name": {
|
|
936
|
-
$delete: {
|
|
884
|
+
} | {
|
|
937
885
|
output: {
|
|
938
886
|
servers: {
|
|
939
887
|
name: string;
|
|
@@ -963,8 +911,29 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
963
911
|
param: {
|
|
964
912
|
name: string;
|
|
965
913
|
};
|
|
914
|
+
} & {
|
|
915
|
+
json: {
|
|
916
|
+
type?: "stdio" | undefined;
|
|
917
|
+
command: string;
|
|
918
|
+
args?: string[] | undefined;
|
|
919
|
+
env?: Record<string, string> | undefined;
|
|
920
|
+
versionNegotiation?: "auto" | "legacy" | {
|
|
921
|
+
pin: string;
|
|
922
|
+
} | undefined;
|
|
923
|
+
} | {
|
|
924
|
+
type?: "http" | "streamable-http" | undefined;
|
|
925
|
+
url?: string | undefined;
|
|
926
|
+
headerUpdates?: Record<string, string | null> | undefined;
|
|
927
|
+
versionNegotiation?: "auto" | "legacy" | {
|
|
928
|
+
pin: string;
|
|
929
|
+
} | undefined;
|
|
930
|
+
};
|
|
966
931
|
};
|
|
967
|
-
}
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
} & {
|
|
935
|
+
"/v1/mcp-servers/:name": {
|
|
936
|
+
$delete: {
|
|
968
937
|
output: {
|
|
969
938
|
error: string;
|
|
970
939
|
code: string;
|
|
@@ -990,11 +959,55 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
990
959
|
name: string;
|
|
991
960
|
};
|
|
992
961
|
};
|
|
962
|
+
} | {
|
|
963
|
+
output: {
|
|
964
|
+
servers: {
|
|
965
|
+
name: string;
|
|
966
|
+
status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
|
|
967
|
+
toolCount: number;
|
|
968
|
+
supportsPushNotifications: boolean;
|
|
969
|
+
supportsRealtimeMedia: boolean;
|
|
970
|
+
transport: "http" | "stdio";
|
|
971
|
+
headerNames: string[];
|
|
972
|
+
usesInteractiveOAuth: boolean;
|
|
973
|
+
authorization: {
|
|
974
|
+
id: string;
|
|
975
|
+
createdAt: string;
|
|
976
|
+
expiresAt: string;
|
|
977
|
+
} | null;
|
|
978
|
+
lastError: {
|
|
979
|
+
name: string;
|
|
980
|
+
message: string;
|
|
981
|
+
at: string;
|
|
982
|
+
} | null;
|
|
983
|
+
nextRetryAt: string | null;
|
|
984
|
+
}[];
|
|
985
|
+
};
|
|
986
|
+
outputFormat: "json";
|
|
987
|
+
status: 200;
|
|
988
|
+
input: {
|
|
989
|
+
param: {
|
|
990
|
+
name: string;
|
|
991
|
+
};
|
|
992
|
+
};
|
|
993
993
|
};
|
|
994
994
|
};
|
|
995
995
|
} & {
|
|
996
996
|
"/v1/mcp-servers/:name/tool-calls": {
|
|
997
997
|
$get: {
|
|
998
|
+
output: {
|
|
999
|
+
error: string;
|
|
1000
|
+
code: string;
|
|
1001
|
+
remediation?: string | undefined;
|
|
1002
|
+
};
|
|
1003
|
+
outputFormat: "json";
|
|
1004
|
+
status: 500;
|
|
1005
|
+
input: {
|
|
1006
|
+
param: {
|
|
1007
|
+
name: string;
|
|
1008
|
+
};
|
|
1009
|
+
};
|
|
1010
|
+
} | {
|
|
998
1011
|
output: {
|
|
999
1012
|
toolCalls: {
|
|
1000
1013
|
id: string;
|
|
@@ -1017,34 +1030,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1017
1030
|
name: string;
|
|
1018
1031
|
};
|
|
1019
1032
|
};
|
|
1020
|
-
} | {
|
|
1021
|
-
output: {
|
|
1022
|
-
error: string;
|
|
1023
|
-
code: string;
|
|
1024
|
-
remediation?: string | undefined;
|
|
1025
|
-
};
|
|
1026
|
-
outputFormat: "json";
|
|
1027
|
-
status: 500;
|
|
1028
|
-
input: {
|
|
1029
|
-
param: {
|
|
1030
|
-
name: string;
|
|
1031
|
-
};
|
|
1032
|
-
};
|
|
1033
1033
|
};
|
|
1034
1034
|
};
|
|
1035
1035
|
} & {
|
|
1036
1036
|
"/v1/mcp-servers/:name/authorization": {
|
|
1037
1037
|
$put: {
|
|
1038
1038
|
output: {
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
authorizationUrl: string;
|
|
1043
|
-
state: string;
|
|
1044
|
-
expiresAt: string;
|
|
1039
|
+
error: string;
|
|
1040
|
+
code: string;
|
|
1041
|
+
remediation?: string | undefined;
|
|
1045
1042
|
};
|
|
1046
1043
|
outputFormat: "json";
|
|
1047
|
-
status:
|
|
1044
|
+
status: 404;
|
|
1048
1045
|
input: {
|
|
1049
1046
|
param: {
|
|
1050
1047
|
name: string;
|
|
@@ -1057,7 +1054,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1057
1054
|
remediation?: string | undefined;
|
|
1058
1055
|
};
|
|
1059
1056
|
outputFormat: "json";
|
|
1060
|
-
status:
|
|
1057
|
+
status: 409;
|
|
1061
1058
|
input: {
|
|
1062
1059
|
param: {
|
|
1063
1060
|
name: string;
|
|
@@ -1070,7 +1067,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1070
1067
|
remediation?: string | undefined;
|
|
1071
1068
|
};
|
|
1072
1069
|
outputFormat: "json";
|
|
1073
|
-
status:
|
|
1070
|
+
status: 503;
|
|
1074
1071
|
input: {
|
|
1075
1072
|
param: {
|
|
1076
1073
|
name: string;
|
|
@@ -1083,7 +1080,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1083
1080
|
remediation?: string | undefined;
|
|
1084
1081
|
};
|
|
1085
1082
|
outputFormat: "json";
|
|
1086
|
-
status:
|
|
1083
|
+
status: 504;
|
|
1087
1084
|
input: {
|
|
1088
1085
|
param: {
|
|
1089
1086
|
name: string;
|
|
@@ -1091,12 +1088,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1091
1088
|
};
|
|
1092
1089
|
} | {
|
|
1093
1090
|
output: {
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1091
|
+
id: string;
|
|
1092
|
+
serverName: string;
|
|
1093
|
+
serverUrl: string;
|
|
1094
|
+
authorizationUrl: string;
|
|
1095
|
+
state: string;
|
|
1096
|
+
expiresAt: string;
|
|
1097
1097
|
};
|
|
1098
1098
|
outputFormat: "json";
|
|
1099
|
-
status:
|
|
1099
|
+
status: 200;
|
|
1100
1100
|
input: {
|
|
1101
1101
|
param: {
|
|
1102
1102
|
name: string;
|
|
@@ -1107,15 +1107,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1107
1107
|
} & {
|
|
1108
1108
|
"/v1/mcp-servers/:name/authorization": {
|
|
1109
1109
|
$delete: {
|
|
1110
|
-
output: {};
|
|
1111
|
-
outputFormat: string;
|
|
1112
|
-
status: 204;
|
|
1113
|
-
input: {
|
|
1114
|
-
param: {
|
|
1115
|
-
name: string;
|
|
1116
|
-
};
|
|
1117
|
-
};
|
|
1118
|
-
} | {
|
|
1119
1110
|
output: {
|
|
1120
1111
|
error: string;
|
|
1121
1112
|
code: string;
|
|
@@ -1128,16 +1119,27 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1128
1119
|
name: string;
|
|
1129
1120
|
};
|
|
1130
1121
|
};
|
|
1122
|
+
} | {
|
|
1123
|
+
output: {};
|
|
1124
|
+
outputFormat: string;
|
|
1125
|
+
status: 204;
|
|
1126
|
+
input: {
|
|
1127
|
+
param: {
|
|
1128
|
+
name: string;
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
1131
|
};
|
|
1132
1132
|
};
|
|
1133
1133
|
} & {
|
|
1134
1134
|
"/v1/mcp-oauth/callback": {
|
|
1135
1135
|
$post: {
|
|
1136
1136
|
output: {
|
|
1137
|
-
|
|
1137
|
+
error: string;
|
|
1138
|
+
code: string;
|
|
1139
|
+
remediation?: string | undefined;
|
|
1138
1140
|
};
|
|
1139
1141
|
outputFormat: "json";
|
|
1140
|
-
status:
|
|
1142
|
+
status: 400;
|
|
1141
1143
|
input: {
|
|
1142
1144
|
json: {
|
|
1143
1145
|
state: string;
|
|
@@ -1153,7 +1155,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1153
1155
|
remediation?: string | undefined;
|
|
1154
1156
|
};
|
|
1155
1157
|
outputFormat: "json";
|
|
1156
|
-
status:
|
|
1158
|
+
status: 404;
|
|
1157
1159
|
input: {
|
|
1158
1160
|
json: {
|
|
1159
1161
|
state: string;
|
|
@@ -1164,12 +1166,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1164
1166
|
};
|
|
1165
1167
|
} | {
|
|
1166
1168
|
output: {
|
|
1167
|
-
|
|
1168
|
-
code: string;
|
|
1169
|
-
remediation?: string | undefined;
|
|
1169
|
+
accepted: true;
|
|
1170
1170
|
};
|
|
1171
1171
|
outputFormat: "json";
|
|
1172
|
-
status:
|
|
1172
|
+
status: 202;
|
|
1173
1173
|
input: {
|
|
1174
1174
|
json: {
|
|
1175
1175
|
state: string;
|
|
@@ -1385,6 +1385,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1385
1385
|
} & {
|
|
1386
1386
|
"/v1/god-messages/session": {
|
|
1387
1387
|
$get: {
|
|
1388
|
+
output: {
|
|
1389
|
+
error: string;
|
|
1390
|
+
code: string;
|
|
1391
|
+
remediation?: string | undefined;
|
|
1392
|
+
};
|
|
1393
|
+
outputFormat: "json";
|
|
1394
|
+
status: 404;
|
|
1395
|
+
input: {};
|
|
1396
|
+
} | {
|
|
1388
1397
|
output: {
|
|
1389
1398
|
id: string;
|
|
1390
1399
|
status: "active" | "terminated";
|
|
@@ -1434,33 +1443,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1434
1443
|
outputFormat: "json";
|
|
1435
1444
|
status: 200;
|
|
1436
1445
|
input: {};
|
|
1437
|
-
} | {
|
|
1438
|
-
output: {
|
|
1439
|
-
error: string;
|
|
1440
|
-
code: string;
|
|
1441
|
-
remediation?: string | undefined;
|
|
1442
|
-
};
|
|
1443
|
-
outputFormat: "json";
|
|
1444
|
-
status: 404;
|
|
1445
|
-
input: {};
|
|
1446
1446
|
};
|
|
1447
1447
|
};
|
|
1448
1448
|
} & {
|
|
1449
1449
|
"/v1/god-messages/messages": {
|
|
1450
1450
|
$get: {
|
|
1451
1451
|
output: {
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
parts: {
|
|
1456
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1457
|
-
}[];
|
|
1458
|
-
}[];
|
|
1459
|
-
nextCursor: string | null;
|
|
1460
|
-
hasMore: boolean;
|
|
1452
|
+
error: string;
|
|
1453
|
+
code: string;
|
|
1454
|
+
remediation?: string | undefined;
|
|
1461
1455
|
};
|
|
1462
1456
|
outputFormat: "json";
|
|
1463
|
-
status:
|
|
1457
|
+
status: 400;
|
|
1464
1458
|
input: {
|
|
1465
1459
|
query: {
|
|
1466
1460
|
limit?: unknown;
|
|
@@ -1474,7 +1468,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1474
1468
|
remediation?: string | undefined;
|
|
1475
1469
|
};
|
|
1476
1470
|
outputFormat: "json";
|
|
1477
|
-
status:
|
|
1471
|
+
status: 500;
|
|
1478
1472
|
input: {
|
|
1479
1473
|
query: {
|
|
1480
1474
|
limit?: unknown;
|
|
@@ -1483,12 +1477,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1483
1477
|
};
|
|
1484
1478
|
} | {
|
|
1485
1479
|
output: {
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1480
|
+
messages: {
|
|
1481
|
+
id: string;
|
|
1482
|
+
role: string;
|
|
1483
|
+
parts: {
|
|
1484
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1485
|
+
}[];
|
|
1486
|
+
}[];
|
|
1487
|
+
nextCursor: string | null;
|
|
1488
|
+
hasMore: boolean;
|
|
1489
1489
|
};
|
|
1490
1490
|
outputFormat: "json";
|
|
1491
|
-
status:
|
|
1491
|
+
status: 200;
|
|
1492
1492
|
input: {
|
|
1493
1493
|
query: {
|
|
1494
1494
|
limit?: unknown;
|
|
@@ -1500,13 +1500,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1500
1500
|
} & {
|
|
1501
1501
|
"/v1/god-messages/reset": {
|
|
1502
1502
|
$post: {
|
|
1503
|
-
output: {
|
|
1504
|
-
sessionId: string;
|
|
1505
|
-
};
|
|
1506
|
-
outputFormat: "json";
|
|
1507
|
-
status: 200;
|
|
1508
|
-
input: {};
|
|
1509
|
-
} | {
|
|
1510
1503
|
output: {
|
|
1511
1504
|
error: string;
|
|
1512
1505
|
code: string;
|
|
@@ -1533,39 +1526,25 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1533
1526
|
outputFormat: "json";
|
|
1534
1527
|
status: 500;
|
|
1535
1528
|
input: {};
|
|
1529
|
+
} | {
|
|
1530
|
+
output: {
|
|
1531
|
+
sessionId: string;
|
|
1532
|
+
};
|
|
1533
|
+
outputFormat: "json";
|
|
1534
|
+
status: 200;
|
|
1535
|
+
input: {};
|
|
1536
1536
|
};
|
|
1537
1537
|
};
|
|
1538
1538
|
} & {
|
|
1539
1539
|
"/v1/usage": {
|
|
1540
1540
|
$get: {
|
|
1541
1541
|
output: {
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
callCount: number;
|
|
1546
|
-
inputTokens: number;
|
|
1547
|
-
outputTokens: number;
|
|
1548
|
-
inputCacheWriteTokens: number;
|
|
1549
|
-
inputCacheReadTokens: number;
|
|
1550
|
-
ttftMs: number | null;
|
|
1551
|
-
totalDurationMs: number | null;
|
|
1552
|
-
errorCount: number;
|
|
1553
|
-
id: string | null;
|
|
1554
|
-
sessionId: string | null;
|
|
1555
|
-
providerType: string | null;
|
|
1556
|
-
providerId: string | null;
|
|
1557
|
-
endpointId: string | null;
|
|
1558
|
-
modelId: string | null;
|
|
1559
|
-
source: "chat" | "extension" | null;
|
|
1560
|
-
extensionId: string | null;
|
|
1561
|
-
finishReason: string | null;
|
|
1562
|
-
errorType: string | null;
|
|
1563
|
-
startedAt: string | null;
|
|
1564
|
-
finishedAt: string | null;
|
|
1565
|
-
}[];
|
|
1542
|
+
error: string;
|
|
1543
|
+
code: string;
|
|
1544
|
+
remediation?: string | undefined;
|
|
1566
1545
|
};
|
|
1567
1546
|
outputFormat: "json";
|
|
1568
|
-
status:
|
|
1547
|
+
status: 400;
|
|
1569
1548
|
input: {
|
|
1570
1549
|
query: {
|
|
1571
1550
|
splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
|
|
@@ -1582,7 +1561,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1582
1561
|
remediation?: string | undefined;
|
|
1583
1562
|
};
|
|
1584
1563
|
outputFormat: "json";
|
|
1585
|
-
status:
|
|
1564
|
+
status: 500;
|
|
1586
1565
|
input: {
|
|
1587
1566
|
query: {
|
|
1588
1567
|
splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
|
|
@@ -1594,12 +1573,33 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1594
1573
|
};
|
|
1595
1574
|
} | {
|
|
1596
1575
|
output: {
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1576
|
+
dataPoints: {
|
|
1577
|
+
bucket: string | null;
|
|
1578
|
+
splitKey: string | null;
|
|
1579
|
+
callCount: number;
|
|
1580
|
+
inputTokens: number;
|
|
1581
|
+
outputTokens: number;
|
|
1582
|
+
inputCacheWriteTokens: number;
|
|
1583
|
+
inputCacheReadTokens: number;
|
|
1584
|
+
ttftMs: number | null;
|
|
1585
|
+
totalDurationMs: number | null;
|
|
1586
|
+
errorCount: number;
|
|
1587
|
+
id: string | null;
|
|
1588
|
+
sessionId: string | null;
|
|
1589
|
+
providerType: string | null;
|
|
1590
|
+
providerId: string | null;
|
|
1591
|
+
endpointId: string | null;
|
|
1592
|
+
modelId: string | null;
|
|
1593
|
+
source: "chat" | "extension" | null;
|
|
1594
|
+
extensionId: string | null;
|
|
1595
|
+
finishReason: string | null;
|
|
1596
|
+
errorType: string | null;
|
|
1597
|
+
startedAt: string | null;
|
|
1598
|
+
finishedAt: string | null;
|
|
1599
|
+
}[];
|
|
1600
1600
|
};
|
|
1601
1601
|
outputFormat: "json";
|
|
1602
|
-
status:
|
|
1602
|
+
status: 200;
|
|
1603
1603
|
input: {
|
|
1604
1604
|
query: {
|
|
1605
1605
|
splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
|
|
@@ -1639,55 +1639,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1639
1639
|
} & {
|
|
1640
1640
|
"/v1/provider-types/:type/can-add": {
|
|
1641
1641
|
$post: {
|
|
1642
|
-
output: {
|
|
1643
|
-
ok: boolean;
|
|
1644
|
-
code?: string | undefined;
|
|
1645
|
-
message?: string | undefined;
|
|
1646
|
-
provider?: {
|
|
1647
|
-
id: string;
|
|
1648
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
1649
|
-
metadata: {
|
|
1650
|
-
displayName: string;
|
|
1651
|
-
description: string;
|
|
1652
|
-
logoSvg?: string | undefined;
|
|
1653
|
-
documentationUrl?: string | undefined;
|
|
1654
|
-
capabilities: {
|
|
1655
|
-
modelDiscovery: boolean;
|
|
1656
|
-
connectivityTest: boolean;
|
|
1657
|
-
customModels: boolean;
|
|
1658
|
-
};
|
|
1659
|
-
};
|
|
1660
|
-
settings: {
|
|
1661
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1662
|
-
};
|
|
1663
|
-
operations: {
|
|
1664
|
-
update: {
|
|
1665
|
-
available: boolean;
|
|
1666
|
-
code?: string | undefined;
|
|
1667
|
-
message?: string | undefined;
|
|
1668
|
-
remediation?: string | undefined;
|
|
1669
|
-
};
|
|
1670
|
-
remove: {
|
|
1671
|
-
available: boolean;
|
|
1672
|
-
code?: string | undefined;
|
|
1673
|
-
message?: string | undefined;
|
|
1674
|
-
remediation?: string | undefined;
|
|
1675
|
-
};
|
|
1676
|
-
};
|
|
1677
|
-
} | undefined;
|
|
1678
|
-
};
|
|
1679
|
-
outputFormat: "json";
|
|
1680
|
-
status: 200;
|
|
1681
|
-
input: {
|
|
1682
|
-
param: {
|
|
1683
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
1684
|
-
};
|
|
1685
|
-
} & {
|
|
1686
|
-
json: {
|
|
1687
|
-
settings: Record<string, unknown>;
|
|
1688
|
-
};
|
|
1689
|
-
};
|
|
1690
|
-
} | {
|
|
1691
1642
|
output: {
|
|
1692
1643
|
error: string;
|
|
1693
1644
|
code: string;
|
|
@@ -1721,13 +1672,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1721
1672
|
settings: Record<string, unknown>;
|
|
1722
1673
|
};
|
|
1723
1674
|
};
|
|
1724
|
-
}
|
|
1725
|
-
};
|
|
1726
|
-
} & {
|
|
1727
|
-
"/v1/providers": {
|
|
1728
|
-
$get: {
|
|
1675
|
+
} | {
|
|
1729
1676
|
output: {
|
|
1730
|
-
|
|
1677
|
+
ok: boolean;
|
|
1678
|
+
code?: string | undefined;
|
|
1679
|
+
message?: string | undefined;
|
|
1680
|
+
provider?: {
|
|
1731
1681
|
id: string;
|
|
1732
1682
|
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
1733
1683
|
metadata: {
|
|
@@ -1758,21 +1708,26 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1758
1708
|
remediation?: string | undefined;
|
|
1759
1709
|
};
|
|
1760
1710
|
};
|
|
1761
|
-
}
|
|
1711
|
+
} | undefined;
|
|
1762
1712
|
};
|
|
1763
1713
|
outputFormat: "json";
|
|
1764
1714
|
status: 200;
|
|
1765
|
-
input: {
|
|
1715
|
+
input: {
|
|
1716
|
+
param: {
|
|
1717
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
1718
|
+
};
|
|
1719
|
+
} & {
|
|
1720
|
+
json: {
|
|
1721
|
+
settings: Record<string, unknown>;
|
|
1722
|
+
};
|
|
1723
|
+
};
|
|
1766
1724
|
};
|
|
1767
1725
|
};
|
|
1768
1726
|
} & {
|
|
1769
1727
|
"/v1/providers": {
|
|
1770
|
-
$
|
|
1728
|
+
$get: {
|
|
1771
1729
|
output: {
|
|
1772
|
-
|
|
1773
|
-
code?: string | undefined;
|
|
1774
|
-
message?: string | undefined;
|
|
1775
|
-
provider?: {
|
|
1730
|
+
providers: {
|
|
1776
1731
|
id: string;
|
|
1777
1732
|
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
1778
1733
|
metadata: {
|
|
@@ -1803,18 +1758,16 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1803
1758
|
remediation?: string | undefined;
|
|
1804
1759
|
};
|
|
1805
1760
|
};
|
|
1806
|
-
}
|
|
1761
|
+
}[];
|
|
1807
1762
|
};
|
|
1808
1763
|
outputFormat: "json";
|
|
1809
|
-
status:
|
|
1810
|
-
input: {
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
};
|
|
1817
|
-
} | {
|
|
1764
|
+
status: 200;
|
|
1765
|
+
input: {};
|
|
1766
|
+
};
|
|
1767
|
+
};
|
|
1768
|
+
} & {
|
|
1769
|
+
"/v1/providers": {
|
|
1770
|
+
$post: {
|
|
1818
1771
|
output: {
|
|
1819
1772
|
error: string;
|
|
1820
1773
|
code: string;
|
|
@@ -1859,11 +1812,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1859
1812
|
settings: Record<string, unknown>;
|
|
1860
1813
|
};
|
|
1861
1814
|
};
|
|
1862
|
-
}
|
|
1863
|
-
};
|
|
1864
|
-
} & {
|
|
1865
|
-
"/v1/providers/:id": {
|
|
1866
|
-
$patch: {
|
|
1815
|
+
} | {
|
|
1867
1816
|
output: {
|
|
1868
1817
|
ok: boolean;
|
|
1869
1818
|
code?: string | undefined;
|
|
@@ -1902,17 +1851,19 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1902
1851
|
} | undefined;
|
|
1903
1852
|
};
|
|
1904
1853
|
outputFormat: "json";
|
|
1905
|
-
status:
|
|
1854
|
+
status: 201;
|
|
1906
1855
|
input: {
|
|
1907
|
-
param: {
|
|
1908
|
-
id: string;
|
|
1909
|
-
};
|
|
1910
|
-
} & {
|
|
1911
1856
|
json: {
|
|
1912
|
-
|
|
1857
|
+
id: string;
|
|
1858
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
1859
|
+
settings: Record<string, unknown>;
|
|
1913
1860
|
};
|
|
1914
1861
|
};
|
|
1915
|
-
}
|
|
1862
|
+
};
|
|
1863
|
+
};
|
|
1864
|
+
} & {
|
|
1865
|
+
"/v1/providers/:id": {
|
|
1866
|
+
$patch: {
|
|
1916
1867
|
output: {
|
|
1917
1868
|
error: string;
|
|
1918
1869
|
code: string;
|
|
@@ -1963,11 +1914,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1963
1914
|
settings?: Record<string, unknown> | undefined;
|
|
1964
1915
|
};
|
|
1965
1916
|
};
|
|
1966
|
-
}
|
|
1967
|
-
};
|
|
1968
|
-
} & {
|
|
1969
|
-
"/v1/providers/:id": {
|
|
1970
|
-
$delete: {
|
|
1917
|
+
} | {
|
|
1971
1918
|
output: {
|
|
1972
1919
|
ok: boolean;
|
|
1973
1920
|
code?: string | undefined;
|
|
@@ -2011,8 +1958,16 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2011
1958
|
param: {
|
|
2012
1959
|
id: string;
|
|
2013
1960
|
};
|
|
1961
|
+
} & {
|
|
1962
|
+
json: {
|
|
1963
|
+
settings?: Record<string, unknown> | undefined;
|
|
1964
|
+
};
|
|
2014
1965
|
};
|
|
2015
|
-
}
|
|
1966
|
+
};
|
|
1967
|
+
};
|
|
1968
|
+
} & {
|
|
1969
|
+
"/v1/providers/:id": {
|
|
1970
|
+
$delete: {
|
|
2016
1971
|
output: {
|
|
2017
1972
|
error: string;
|
|
2018
1973
|
code: string;
|
|
@@ -2058,7 +2013,52 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2058
2013
|
remediation?: string | undefined;
|
|
2059
2014
|
};
|
|
2060
2015
|
outputFormat: "json";
|
|
2061
|
-
status: 500;
|
|
2016
|
+
status: 500;
|
|
2017
|
+
input: {
|
|
2018
|
+
param: {
|
|
2019
|
+
id: string;
|
|
2020
|
+
};
|
|
2021
|
+
};
|
|
2022
|
+
} | {
|
|
2023
|
+
output: {
|
|
2024
|
+
ok: boolean;
|
|
2025
|
+
code?: string | undefined;
|
|
2026
|
+
message?: string | undefined;
|
|
2027
|
+
provider?: {
|
|
2028
|
+
id: string;
|
|
2029
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2030
|
+
metadata: {
|
|
2031
|
+
displayName: string;
|
|
2032
|
+
description: string;
|
|
2033
|
+
logoSvg?: string | undefined;
|
|
2034
|
+
documentationUrl?: string | undefined;
|
|
2035
|
+
capabilities: {
|
|
2036
|
+
modelDiscovery: boolean;
|
|
2037
|
+
connectivityTest: boolean;
|
|
2038
|
+
customModels: boolean;
|
|
2039
|
+
};
|
|
2040
|
+
};
|
|
2041
|
+
settings: {
|
|
2042
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
2043
|
+
};
|
|
2044
|
+
operations: {
|
|
2045
|
+
update: {
|
|
2046
|
+
available: boolean;
|
|
2047
|
+
code?: string | undefined;
|
|
2048
|
+
message?: string | undefined;
|
|
2049
|
+
remediation?: string | undefined;
|
|
2050
|
+
};
|
|
2051
|
+
remove: {
|
|
2052
|
+
available: boolean;
|
|
2053
|
+
code?: string | undefined;
|
|
2054
|
+
message?: string | undefined;
|
|
2055
|
+
remediation?: string | undefined;
|
|
2056
|
+
};
|
|
2057
|
+
};
|
|
2058
|
+
} | undefined;
|
|
2059
|
+
};
|
|
2060
|
+
outputFormat: "json";
|
|
2061
|
+
status: 200;
|
|
2062
2062
|
input: {
|
|
2063
2063
|
param: {
|
|
2064
2064
|
id: string;
|
|
@@ -2069,18 +2069,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2069
2069
|
} & {
|
|
2070
2070
|
"/v1/providers/:id/test": {
|
|
2071
2071
|
$post: {
|
|
2072
|
-
output: {
|
|
2073
|
-
latencyMs: number;
|
|
2074
|
-
target?: string | undefined;
|
|
2075
|
-
};
|
|
2076
|
-
outputFormat: "json";
|
|
2077
|
-
status: 200;
|
|
2078
|
-
input: {
|
|
2079
|
-
param: {
|
|
2080
|
-
id: string;
|
|
2081
|
-
};
|
|
2082
|
-
};
|
|
2083
|
-
} | {
|
|
2084
2072
|
output: {
|
|
2085
2073
|
error: string;
|
|
2086
2074
|
code: string;
|
|
@@ -2119,47 +2107,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2119
2107
|
id: string;
|
|
2120
2108
|
};
|
|
2121
2109
|
};
|
|
2122
|
-
}
|
|
2123
|
-
};
|
|
2124
|
-
} & {
|
|
2125
|
-
"/v1/providers/:id/models": {
|
|
2126
|
-
$get: {
|
|
2110
|
+
} | {
|
|
2127
2111
|
output: {
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2131
|
-
displayName?: string | undefined;
|
|
2132
|
-
contextSize?: number | undefined;
|
|
2133
|
-
capabilities?: {
|
|
2134
|
-
input?: {
|
|
2135
|
-
image?: {
|
|
2136
|
-
mediaTypes?: string[] | undefined;
|
|
2137
|
-
maxBytes?: number | undefined;
|
|
2138
|
-
maxWidth?: number | undefined;
|
|
2139
|
-
maxHeight?: number | undefined;
|
|
2140
|
-
maxTotalPixels?: number | undefined;
|
|
2141
|
-
} | undefined;
|
|
2142
|
-
audio?: {
|
|
2143
|
-
mediaTypes?: string[] | undefined;
|
|
2144
|
-
maxBytes?: number | undefined;
|
|
2145
|
-
maxLengthSeconds?: number | undefined;
|
|
2146
|
-
} | undefined;
|
|
2147
|
-
} | undefined;
|
|
2148
|
-
voice?: {
|
|
2149
|
-
sts?: boolean | undefined;
|
|
2150
|
-
tts?: boolean | undefined;
|
|
2151
|
-
stt?: boolean | undefined;
|
|
2152
|
-
} | undefined;
|
|
2153
|
-
tools?: boolean | undefined;
|
|
2154
|
-
reasoning?: boolean | undefined;
|
|
2155
|
-
} | undefined;
|
|
2156
|
-
source: "discovered" | "manual" | "merged";
|
|
2157
|
-
provenance?: {
|
|
2158
|
-
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|
|
2159
|
-
documentationUrl?: string | undefined;
|
|
2160
|
-
reviewedAt?: string | undefined;
|
|
2161
|
-
}[] | undefined;
|
|
2162
|
-
}[];
|
|
2112
|
+
latencyMs: number;
|
|
2113
|
+
target?: string | undefined;
|
|
2163
2114
|
};
|
|
2164
2115
|
outputFormat: "json";
|
|
2165
2116
|
status: 200;
|
|
@@ -2167,12 +2118,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2167
2118
|
param: {
|
|
2168
2119
|
id: string;
|
|
2169
2120
|
};
|
|
2170
|
-
} & {
|
|
2171
|
-
query: {
|
|
2172
|
-
refresh?: "false" | "true" | undefined;
|
|
2173
|
-
};
|
|
2174
2121
|
};
|
|
2175
|
-
}
|
|
2122
|
+
};
|
|
2123
|
+
};
|
|
2124
|
+
} & {
|
|
2125
|
+
"/v1/providers/:id/models": {
|
|
2126
|
+
$get: {
|
|
2176
2127
|
output: {
|
|
2177
2128
|
error: string;
|
|
2178
2129
|
code: string;
|
|
@@ -2223,11 +2174,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2223
2174
|
refresh?: "false" | "true" | undefined;
|
|
2224
2175
|
};
|
|
2225
2176
|
};
|
|
2226
|
-
}
|
|
2227
|
-
};
|
|
2228
|
-
} & {
|
|
2229
|
-
"/v1/providers/:id/models": {
|
|
2230
|
-
$post: {
|
|
2177
|
+
} | {
|
|
2231
2178
|
output: {
|
|
2232
2179
|
models: {
|
|
2233
2180
|
modelId: string;
|
|
@@ -2272,37 +2219,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2272
2219
|
id: string;
|
|
2273
2220
|
};
|
|
2274
2221
|
} & {
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2278
|
-
displayName?: string | undefined;
|
|
2279
|
-
contextSize?: number | undefined;
|
|
2280
|
-
capabilities?: {
|
|
2281
|
-
input?: {
|
|
2282
|
-
image?: {
|
|
2283
|
-
mediaTypes?: string[] | undefined;
|
|
2284
|
-
maxBytes?: number | undefined;
|
|
2285
|
-
maxWidth?: number | undefined;
|
|
2286
|
-
maxHeight?: number | undefined;
|
|
2287
|
-
maxTotalPixels?: number | undefined;
|
|
2288
|
-
} | undefined;
|
|
2289
|
-
audio?: {
|
|
2290
|
-
mediaTypes?: string[] | undefined;
|
|
2291
|
-
maxBytes?: number | undefined;
|
|
2292
|
-
maxLengthSeconds?: number | undefined;
|
|
2293
|
-
} | undefined;
|
|
2294
|
-
} | undefined;
|
|
2295
|
-
voice?: {
|
|
2296
|
-
sts?: boolean | undefined;
|
|
2297
|
-
tts?: boolean | undefined;
|
|
2298
|
-
stt?: boolean | undefined;
|
|
2299
|
-
} | undefined;
|
|
2300
|
-
tools?: boolean | undefined;
|
|
2301
|
-
reasoning?: boolean | undefined;
|
|
2302
|
-
} | undefined;
|
|
2222
|
+
query: {
|
|
2223
|
+
refresh?: "false" | "true" | undefined;
|
|
2303
2224
|
};
|
|
2304
2225
|
};
|
|
2305
|
-
}
|
|
2226
|
+
};
|
|
2227
|
+
};
|
|
2228
|
+
} & {
|
|
2229
|
+
"/v1/providers/:id/models": {
|
|
2230
|
+
$post: {
|
|
2306
2231
|
output: {
|
|
2307
2232
|
error: string;
|
|
2308
2233
|
code: string;
|
|
@@ -2474,11 +2399,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2474
2399
|
} | undefined;
|
|
2475
2400
|
};
|
|
2476
2401
|
};
|
|
2477
|
-
}
|
|
2478
|
-
};
|
|
2479
|
-
} & {
|
|
2480
|
-
"/v1/providers/:id/models/:modelId": {
|
|
2481
|
-
$patch: {
|
|
2402
|
+
} | {
|
|
2482
2403
|
output: {
|
|
2483
2404
|
models: {
|
|
2484
2405
|
modelId: string;
|
|
@@ -2521,10 +2442,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2521
2442
|
input: {
|
|
2522
2443
|
param: {
|
|
2523
2444
|
id: string;
|
|
2524
|
-
modelId: string;
|
|
2525
2445
|
};
|
|
2526
2446
|
} & {
|
|
2527
2447
|
json: {
|
|
2448
|
+
modelId: string;
|
|
2528
2449
|
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2529
2450
|
displayName?: string | undefined;
|
|
2530
2451
|
contextSize?: number | undefined;
|
|
@@ -2553,7 +2474,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2553
2474
|
} | undefined;
|
|
2554
2475
|
};
|
|
2555
2476
|
};
|
|
2556
|
-
}
|
|
2477
|
+
};
|
|
2478
|
+
};
|
|
2479
|
+
} & {
|
|
2480
|
+
"/v1/providers/:id/models/:modelId": {
|
|
2481
|
+
$patch: {
|
|
2557
2482
|
output: {
|
|
2558
2483
|
error: string;
|
|
2559
2484
|
code: string;
|
|
@@ -2682,11 +2607,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2682
2607
|
} | undefined;
|
|
2683
2608
|
};
|
|
2684
2609
|
};
|
|
2685
|
-
}
|
|
2686
|
-
};
|
|
2687
|
-
} & {
|
|
2688
|
-
"/v1/providers/:id/models/:modelId": {
|
|
2689
|
-
$delete: {
|
|
2610
|
+
} | {
|
|
2690
2611
|
output: {
|
|
2691
2612
|
models: {
|
|
2692
2613
|
modelId: string;
|
|
@@ -2731,8 +2652,41 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2731
2652
|
id: string;
|
|
2732
2653
|
modelId: string;
|
|
2733
2654
|
};
|
|
2655
|
+
} & {
|
|
2656
|
+
json: {
|
|
2657
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2658
|
+
displayName?: string | undefined;
|
|
2659
|
+
contextSize?: number | undefined;
|
|
2660
|
+
capabilities?: {
|
|
2661
|
+
input?: {
|
|
2662
|
+
image?: {
|
|
2663
|
+
mediaTypes?: string[] | undefined;
|
|
2664
|
+
maxBytes?: number | undefined;
|
|
2665
|
+
maxWidth?: number | undefined;
|
|
2666
|
+
maxHeight?: number | undefined;
|
|
2667
|
+
maxTotalPixels?: number | undefined;
|
|
2668
|
+
} | undefined;
|
|
2669
|
+
audio?: {
|
|
2670
|
+
mediaTypes?: string[] | undefined;
|
|
2671
|
+
maxBytes?: number | undefined;
|
|
2672
|
+
maxLengthSeconds?: number | undefined;
|
|
2673
|
+
} | undefined;
|
|
2674
|
+
} | undefined;
|
|
2675
|
+
voice?: {
|
|
2676
|
+
sts?: boolean | undefined;
|
|
2677
|
+
tts?: boolean | undefined;
|
|
2678
|
+
stt?: boolean | undefined;
|
|
2679
|
+
} | undefined;
|
|
2680
|
+
tools?: boolean | undefined;
|
|
2681
|
+
reasoning?: boolean | undefined;
|
|
2682
|
+
} | undefined;
|
|
2683
|
+
};
|
|
2734
2684
|
};
|
|
2735
|
-
}
|
|
2685
|
+
};
|
|
2686
|
+
};
|
|
2687
|
+
} & {
|
|
2688
|
+
"/v1/providers/:id/models/:modelId": {
|
|
2689
|
+
$delete: {
|
|
2736
2690
|
output: {
|
|
2737
2691
|
error: string;
|
|
2738
2692
|
code: string;
|
|
@@ -2788,30 +2742,57 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2788
2742
|
modelId: string;
|
|
2789
2743
|
};
|
|
2790
2744
|
};
|
|
2791
|
-
}
|
|
2792
|
-
};
|
|
2793
|
-
} & {
|
|
2794
|
-
"/v1/introspect/:path": {
|
|
2795
|
-
$get: {
|
|
2745
|
+
} | {
|
|
2796
2746
|
output: {
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2747
|
+
models: {
|
|
2748
|
+
modelId: string;
|
|
2749
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2750
|
+
displayName?: string | undefined;
|
|
2751
|
+
contextSize?: number | undefined;
|
|
2752
|
+
capabilities?: {
|
|
2753
|
+
input?: {
|
|
2754
|
+
image?: {
|
|
2755
|
+
mediaTypes?: string[] | undefined;
|
|
2756
|
+
maxBytes?: number | undefined;
|
|
2757
|
+
maxWidth?: number | undefined;
|
|
2758
|
+
maxHeight?: number | undefined;
|
|
2759
|
+
maxTotalPixels?: number | undefined;
|
|
2760
|
+
} | undefined;
|
|
2761
|
+
audio?: {
|
|
2762
|
+
mediaTypes?: string[] | undefined;
|
|
2763
|
+
maxBytes?: number | undefined;
|
|
2764
|
+
maxLengthSeconds?: number | undefined;
|
|
2765
|
+
} | undefined;
|
|
2766
|
+
} | undefined;
|
|
2767
|
+
voice?: {
|
|
2768
|
+
sts?: boolean | undefined;
|
|
2769
|
+
tts?: boolean | undefined;
|
|
2770
|
+
stt?: boolean | undefined;
|
|
2771
|
+
} | undefined;
|
|
2772
|
+
tools?: boolean | undefined;
|
|
2773
|
+
reasoning?: boolean | undefined;
|
|
2774
|
+
} | undefined;
|
|
2775
|
+
source: "discovered" | "manual" | "merged";
|
|
2776
|
+
provenance?: {
|
|
2777
|
+
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|
|
2778
|
+
documentationUrl?: string | undefined;
|
|
2779
|
+
reviewedAt?: string | undefined;
|
|
2780
|
+
}[] | undefined;
|
|
2805
2781
|
}[];
|
|
2806
2782
|
};
|
|
2807
2783
|
outputFormat: "json";
|
|
2808
2784
|
status: 200;
|
|
2809
2785
|
input: {
|
|
2810
2786
|
param: {
|
|
2811
|
-
|
|
2787
|
+
id: string;
|
|
2788
|
+
modelId: string;
|
|
2812
2789
|
};
|
|
2813
2790
|
};
|
|
2814
|
-
}
|
|
2791
|
+
};
|
|
2792
|
+
};
|
|
2793
|
+
} & {
|
|
2794
|
+
"/v1/introspect/:path": {
|
|
2795
|
+
$get: {
|
|
2815
2796
|
output: {
|
|
2816
2797
|
error: string;
|
|
2817
2798
|
code: string;
|
|
@@ -2850,6 +2831,25 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2850
2831
|
path: string;
|
|
2851
2832
|
};
|
|
2852
2833
|
};
|
|
2834
|
+
} | {
|
|
2835
|
+
output: {
|
|
2836
|
+
path: string[];
|
|
2837
|
+
state: {
|
|
2838
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
2839
|
+
} | null;
|
|
2840
|
+
children: {
|
|
2841
|
+
id: string;
|
|
2842
|
+
hasState: boolean;
|
|
2843
|
+
hasChildren: boolean;
|
|
2844
|
+
}[];
|
|
2845
|
+
};
|
|
2846
|
+
outputFormat: "json";
|
|
2847
|
+
status: 200;
|
|
2848
|
+
input: {
|
|
2849
|
+
param: {
|
|
2850
|
+
path: string;
|
|
2851
|
+
};
|
|
2852
|
+
};
|
|
2853
2853
|
};
|
|
2854
2854
|
};
|
|
2855
2855
|
}, "/", "/v1/introspect/:path">;
|