@klex/agent-admin-api 0.11.1 → 0.12.0
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 +735 -669
- package/package.json +2 -2
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;
|
|
@@ -223,112 +232,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
223
232
|
outputFormat: "json";
|
|
224
233
|
status: 200;
|
|
225
234
|
input: {};
|
|
226
|
-
} | {
|
|
227
|
-
output: {
|
|
228
|
-
error: string;
|
|
229
|
-
code: string;
|
|
230
|
-
remediation?: string | undefined;
|
|
231
|
-
};
|
|
232
|
-
outputFormat: "json";
|
|
233
|
-
status: 500;
|
|
234
|
-
input: {};
|
|
235
235
|
};
|
|
236
236
|
};
|
|
237
237
|
} & {
|
|
238
238
|
"/v1/settings/model-selection": {
|
|
239
239
|
$patch: {
|
|
240
240
|
output: {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
providerOptions?: {
|
|
245
|
-
[x: string]: {
|
|
246
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
247
|
-
};
|
|
248
|
-
} | undefined;
|
|
249
|
-
}[];
|
|
250
|
-
compaction: {
|
|
251
|
-
providerId: string;
|
|
252
|
-
modelId: string;
|
|
253
|
-
providerOptions?: {
|
|
254
|
-
[x: string]: {
|
|
255
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
256
|
-
};
|
|
257
|
-
} | undefined;
|
|
258
|
-
}[];
|
|
259
|
-
memory: {
|
|
260
|
-
providerId: string;
|
|
261
|
-
modelId: string;
|
|
262
|
-
providerOptions?: {
|
|
263
|
-
[x: string]: {
|
|
264
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
265
|
-
};
|
|
266
|
-
} | undefined;
|
|
267
|
-
}[];
|
|
268
|
-
imageVision: {
|
|
269
|
-
providerId: string;
|
|
270
|
-
modelId: string;
|
|
271
|
-
providerOptions?: {
|
|
272
|
-
[x: string]: {
|
|
273
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
274
|
-
};
|
|
275
|
-
} | undefined;
|
|
276
|
-
}[];
|
|
277
|
-
audioListening: {
|
|
278
|
-
providerId: string;
|
|
279
|
-
modelId: string;
|
|
280
|
-
providerOptions?: {
|
|
281
|
-
[x: string]: {
|
|
282
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
283
|
-
};
|
|
284
|
-
} | undefined;
|
|
285
|
-
}[];
|
|
286
|
-
consult: {
|
|
287
|
-
providerId: string;
|
|
288
|
-
modelId: string;
|
|
289
|
-
providerOptions?: {
|
|
290
|
-
[x: string]: {
|
|
291
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
292
|
-
};
|
|
293
|
-
} | undefined;
|
|
294
|
-
}[];
|
|
295
|
-
voice: {
|
|
296
|
-
sts: {
|
|
297
|
-
providerId: string;
|
|
298
|
-
modelId: string;
|
|
299
|
-
providerOptions?: {
|
|
300
|
-
[x: string]: {
|
|
301
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
302
|
-
};
|
|
303
|
-
} | undefined;
|
|
304
|
-
voiceId?: string | undefined;
|
|
305
|
-
}[];
|
|
306
|
-
tts: {
|
|
307
|
-
providerId: string;
|
|
308
|
-
modelId: string;
|
|
309
|
-
providerOptions?: {
|
|
310
|
-
[x: string]: {
|
|
311
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
312
|
-
};
|
|
313
|
-
} | undefined;
|
|
314
|
-
}[];
|
|
315
|
-
stt: {
|
|
316
|
-
providerId: string;
|
|
317
|
-
modelId: string;
|
|
318
|
-
providerOptions?: {
|
|
319
|
-
[x: string]: {
|
|
320
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
321
|
-
};
|
|
322
|
-
} | undefined;
|
|
323
|
-
}[];
|
|
324
|
-
};
|
|
325
|
-
warnings: {
|
|
326
|
-
modelId: string;
|
|
327
|
-
message: string;
|
|
328
|
-
}[];
|
|
241
|
+
error: string;
|
|
242
|
+
code: string;
|
|
243
|
+
remediation?: string | undefined;
|
|
329
244
|
};
|
|
330
245
|
outputFormat: "json";
|
|
331
|
-
status:
|
|
246
|
+
status: 400;
|
|
332
247
|
input: {
|
|
333
248
|
json: {
|
|
334
249
|
chat?: {
|
|
@@ -388,7 +303,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
388
303
|
remediation?: string | undefined;
|
|
389
304
|
};
|
|
390
305
|
outputFormat: "json";
|
|
391
|
-
status:
|
|
306
|
+
status: 500;
|
|
392
307
|
input: {
|
|
393
308
|
json: {
|
|
394
309
|
chat?: {
|
|
@@ -443,12 +358,97 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
443
358
|
};
|
|
444
359
|
} | {
|
|
445
360
|
output: {
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
361
|
+
chat: {
|
|
362
|
+
providerId: string;
|
|
363
|
+
modelId: string;
|
|
364
|
+
providerOptions?: {
|
|
365
|
+
[x: string]: {
|
|
366
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
367
|
+
};
|
|
368
|
+
} | undefined;
|
|
369
|
+
}[];
|
|
370
|
+
compaction: {
|
|
371
|
+
providerId: string;
|
|
372
|
+
modelId: string;
|
|
373
|
+
providerOptions?: {
|
|
374
|
+
[x: string]: {
|
|
375
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
376
|
+
};
|
|
377
|
+
} | undefined;
|
|
378
|
+
}[];
|
|
379
|
+
memory: {
|
|
380
|
+
providerId: string;
|
|
381
|
+
modelId: string;
|
|
382
|
+
providerOptions?: {
|
|
383
|
+
[x: string]: {
|
|
384
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
385
|
+
};
|
|
386
|
+
} | undefined;
|
|
387
|
+
}[];
|
|
388
|
+
imageVision: {
|
|
389
|
+
providerId: string;
|
|
390
|
+
modelId: string;
|
|
391
|
+
providerOptions?: {
|
|
392
|
+
[x: string]: {
|
|
393
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
394
|
+
};
|
|
395
|
+
} | undefined;
|
|
396
|
+
}[];
|
|
397
|
+
audioListening: {
|
|
398
|
+
providerId: string;
|
|
399
|
+
modelId: string;
|
|
400
|
+
providerOptions?: {
|
|
401
|
+
[x: string]: {
|
|
402
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
403
|
+
};
|
|
404
|
+
} | undefined;
|
|
405
|
+
}[];
|
|
406
|
+
consult: {
|
|
407
|
+
providerId: string;
|
|
408
|
+
modelId: string;
|
|
409
|
+
providerOptions?: {
|
|
410
|
+
[x: string]: {
|
|
411
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
412
|
+
};
|
|
413
|
+
} | undefined;
|
|
414
|
+
}[];
|
|
415
|
+
voice: {
|
|
416
|
+
sts: {
|
|
417
|
+
providerId: string;
|
|
418
|
+
modelId: string;
|
|
419
|
+
providerOptions?: {
|
|
420
|
+
[x: string]: {
|
|
421
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
422
|
+
};
|
|
423
|
+
} | undefined;
|
|
424
|
+
voiceId?: string | undefined;
|
|
425
|
+
}[];
|
|
426
|
+
tts: {
|
|
427
|
+
providerId: string;
|
|
428
|
+
modelId: string;
|
|
429
|
+
providerOptions?: {
|
|
430
|
+
[x: string]: {
|
|
431
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
432
|
+
};
|
|
433
|
+
} | undefined;
|
|
434
|
+
}[];
|
|
435
|
+
stt: {
|
|
436
|
+
providerId: string;
|
|
437
|
+
modelId: string;
|
|
438
|
+
providerOptions?: {
|
|
439
|
+
[x: string]: {
|
|
440
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
441
|
+
};
|
|
442
|
+
} | undefined;
|
|
443
|
+
}[];
|
|
444
|
+
};
|
|
445
|
+
warnings: {
|
|
446
|
+
modelId: string;
|
|
447
|
+
message: string;
|
|
448
|
+
}[];
|
|
449
449
|
};
|
|
450
450
|
outputFormat: "json";
|
|
451
|
-
status:
|
|
451
|
+
status: 200;
|
|
452
452
|
input: {
|
|
453
453
|
json: {
|
|
454
454
|
chat?: {
|
|
@@ -518,8 +518,17 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
518
518
|
"/v1/introspect": {
|
|
519
519
|
$get: {
|
|
520
520
|
output: {
|
|
521
|
-
|
|
522
|
-
|
|
521
|
+
error: string;
|
|
522
|
+
code: string;
|
|
523
|
+
remediation?: string | undefined;
|
|
524
|
+
};
|
|
525
|
+
outputFormat: "json";
|
|
526
|
+
status: 500;
|
|
527
|
+
input: {};
|
|
528
|
+
} | {
|
|
529
|
+
output: {
|
|
530
|
+
path: string[];
|
|
531
|
+
state: {
|
|
523
532
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
524
533
|
} | null;
|
|
525
534
|
children: {
|
|
@@ -531,7 +540,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
531
540
|
outputFormat: "json";
|
|
532
541
|
status: 200;
|
|
533
542
|
input: {};
|
|
534
|
-
}
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
} & {
|
|
546
|
+
"/v1/mcp-servers": {
|
|
547
|
+
$get: {
|
|
535
548
|
output: {
|
|
536
549
|
error: string;
|
|
537
550
|
code: string;
|
|
@@ -540,11 +553,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
540
553
|
outputFormat: "json";
|
|
541
554
|
status: 500;
|
|
542
555
|
input: {};
|
|
543
|
-
}
|
|
544
|
-
};
|
|
545
|
-
} & {
|
|
546
|
-
"/v1/mcp-servers": {
|
|
547
|
-
$get: {
|
|
556
|
+
} | {
|
|
548
557
|
output: {
|
|
549
558
|
servers: {
|
|
550
559
|
name: string;
|
|
@@ -571,51 +580,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
571
580
|
outputFormat: "json";
|
|
572
581
|
status: 200;
|
|
573
582
|
input: {};
|
|
574
|
-
} | {
|
|
575
|
-
output: {
|
|
576
|
-
error: string;
|
|
577
|
-
code: string;
|
|
578
|
-
remediation?: string | undefined;
|
|
579
|
-
};
|
|
580
|
-
outputFormat: "json";
|
|
581
|
-
status: 500;
|
|
582
|
-
input: {};
|
|
583
583
|
};
|
|
584
584
|
};
|
|
585
585
|
} & {
|
|
586
586
|
"/v1/mcp-servers/:name": {
|
|
587
587
|
$get: {
|
|
588
|
-
output: {
|
|
589
|
-
server: {
|
|
590
|
-
name: string;
|
|
591
|
-
status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
|
|
592
|
-
toolCount: number;
|
|
593
|
-
supportsPushNotifications: boolean;
|
|
594
|
-
supportsRealtimeMedia: boolean;
|
|
595
|
-
transport: "http" | "stdio";
|
|
596
|
-
headerNames: string[];
|
|
597
|
-
usesInteractiveOAuth: boolean;
|
|
598
|
-
authorization: {
|
|
599
|
-
id: string;
|
|
600
|
-
createdAt: string;
|
|
601
|
-
expiresAt: string;
|
|
602
|
-
} | null;
|
|
603
|
-
lastError: {
|
|
604
|
-
name: string;
|
|
605
|
-
message: string;
|
|
606
|
-
at: string;
|
|
607
|
-
} | null;
|
|
608
|
-
nextRetryAt: string | null;
|
|
609
|
-
};
|
|
610
|
-
};
|
|
611
|
-
outputFormat: "json";
|
|
612
|
-
status: 200;
|
|
613
|
-
input: {
|
|
614
|
-
param: {
|
|
615
|
-
name: string;
|
|
616
|
-
};
|
|
617
|
-
};
|
|
618
|
-
} | {
|
|
619
588
|
output: {
|
|
620
589
|
error: string;
|
|
621
590
|
code: string;
|
|
@@ -641,13 +610,9 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
641
610
|
name: string;
|
|
642
611
|
};
|
|
643
612
|
};
|
|
644
|
-
}
|
|
645
|
-
};
|
|
646
|
-
} & {
|
|
647
|
-
"/v1/mcp-servers": {
|
|
648
|
-
$post: {
|
|
613
|
+
} | {
|
|
649
614
|
output: {
|
|
650
|
-
|
|
615
|
+
server: {
|
|
651
616
|
name: string;
|
|
652
617
|
status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
|
|
653
618
|
toolCount: number;
|
|
@@ -667,31 +632,20 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
667
632
|
at: string;
|
|
668
633
|
} | null;
|
|
669
634
|
nextRetryAt: string | null;
|
|
670
|
-
}
|
|
635
|
+
};
|
|
671
636
|
};
|
|
672
637
|
outputFormat: "json";
|
|
673
|
-
status:
|
|
638
|
+
status: 200;
|
|
674
639
|
input: {
|
|
675
|
-
|
|
676
|
-
name: string;
|
|
677
|
-
type?: "stdio" | undefined;
|
|
678
|
-
command: string;
|
|
679
|
-
args?: string[] | undefined;
|
|
680
|
-
env?: Record<string, string> | undefined;
|
|
681
|
-
versionNegotiation?: "auto" | "legacy" | {
|
|
682
|
-
pin: string;
|
|
683
|
-
} | undefined;
|
|
684
|
-
} | {
|
|
640
|
+
param: {
|
|
685
641
|
name: string;
|
|
686
|
-
type?: "http" | "streamable-http" | undefined;
|
|
687
|
-
url: string;
|
|
688
|
-
headers?: Record<string, string> | undefined;
|
|
689
|
-
versionNegotiation?: "auto" | "legacy" | {
|
|
690
|
-
pin: string;
|
|
691
|
-
} | undefined;
|
|
692
642
|
};
|
|
693
643
|
};
|
|
694
|
-
}
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
} & {
|
|
647
|
+
"/v1/mcp-servers": {
|
|
648
|
+
$post: {
|
|
695
649
|
output: {
|
|
696
650
|
error: string;
|
|
697
651
|
code: string;
|
|
@@ -775,11 +729,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
775
729
|
} | undefined;
|
|
776
730
|
};
|
|
777
731
|
};
|
|
778
|
-
}
|
|
779
|
-
};
|
|
780
|
-
} & {
|
|
781
|
-
"/v1/mcp-servers/:name": {
|
|
782
|
-
$patch: {
|
|
732
|
+
} | {
|
|
783
733
|
output: {
|
|
784
734
|
servers: {
|
|
785
735
|
name: string;
|
|
@@ -804,13 +754,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
804
754
|
}[];
|
|
805
755
|
};
|
|
806
756
|
outputFormat: "json";
|
|
807
|
-
status:
|
|
757
|
+
status: 201;
|
|
808
758
|
input: {
|
|
809
|
-
param: {
|
|
810
|
-
name: string;
|
|
811
|
-
};
|
|
812
|
-
} & {
|
|
813
759
|
json: {
|
|
760
|
+
name: string;
|
|
814
761
|
type?: "stdio" | undefined;
|
|
815
762
|
command: string;
|
|
816
763
|
args?: string[] | undefined;
|
|
@@ -819,15 +766,20 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
819
766
|
pin: string;
|
|
820
767
|
} | undefined;
|
|
821
768
|
} | {
|
|
769
|
+
name: string;
|
|
822
770
|
type?: "http" | "streamable-http" | undefined;
|
|
823
|
-
url
|
|
824
|
-
|
|
771
|
+
url: string;
|
|
772
|
+
headers?: Record<string, string> | undefined;
|
|
825
773
|
versionNegotiation?: "auto" | "legacy" | {
|
|
826
774
|
pin: string;
|
|
827
775
|
} | undefined;
|
|
828
776
|
};
|
|
829
777
|
};
|
|
830
|
-
}
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
} & {
|
|
781
|
+
"/v1/mcp-servers/:name": {
|
|
782
|
+
$patch: {
|
|
831
783
|
output: {
|
|
832
784
|
error: string;
|
|
833
785
|
code: string;
|
|
@@ -917,11 +869,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
917
869
|
} | undefined;
|
|
918
870
|
};
|
|
919
871
|
};
|
|
920
|
-
}
|
|
921
|
-
};
|
|
922
|
-
} & {
|
|
923
|
-
"/v1/mcp-servers/:name": {
|
|
924
|
-
$delete: {
|
|
872
|
+
} | {
|
|
925
873
|
output: {
|
|
926
874
|
servers: {
|
|
927
875
|
name: string;
|
|
@@ -951,8 +899,29 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
951
899
|
param: {
|
|
952
900
|
name: string;
|
|
953
901
|
};
|
|
902
|
+
} & {
|
|
903
|
+
json: {
|
|
904
|
+
type?: "stdio" | undefined;
|
|
905
|
+
command: string;
|
|
906
|
+
args?: string[] | undefined;
|
|
907
|
+
env?: Record<string, string> | undefined;
|
|
908
|
+
versionNegotiation?: "auto" | "legacy" | {
|
|
909
|
+
pin: string;
|
|
910
|
+
} | undefined;
|
|
911
|
+
} | {
|
|
912
|
+
type?: "http" | "streamable-http" | undefined;
|
|
913
|
+
url?: string | undefined;
|
|
914
|
+
headerUpdates?: Record<string, string | null> | undefined;
|
|
915
|
+
versionNegotiation?: "auto" | "legacy" | {
|
|
916
|
+
pin: string;
|
|
917
|
+
} | undefined;
|
|
918
|
+
};
|
|
954
919
|
};
|
|
955
|
-
}
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
} & {
|
|
923
|
+
"/v1/mcp-servers/:name": {
|
|
924
|
+
$delete: {
|
|
956
925
|
output: {
|
|
957
926
|
error: string;
|
|
958
927
|
code: string;
|
|
@@ -978,11 +947,55 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
978
947
|
name: string;
|
|
979
948
|
};
|
|
980
949
|
};
|
|
950
|
+
} | {
|
|
951
|
+
output: {
|
|
952
|
+
servers: {
|
|
953
|
+
name: string;
|
|
954
|
+
status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
|
|
955
|
+
toolCount: number;
|
|
956
|
+
supportsPushNotifications: boolean;
|
|
957
|
+
supportsRealtimeMedia: boolean;
|
|
958
|
+
transport: "http" | "stdio";
|
|
959
|
+
headerNames: string[];
|
|
960
|
+
usesInteractiveOAuth: boolean;
|
|
961
|
+
authorization: {
|
|
962
|
+
id: string;
|
|
963
|
+
createdAt: string;
|
|
964
|
+
expiresAt: string;
|
|
965
|
+
} | null;
|
|
966
|
+
lastError: {
|
|
967
|
+
name: string;
|
|
968
|
+
message: string;
|
|
969
|
+
at: string;
|
|
970
|
+
} | null;
|
|
971
|
+
nextRetryAt: string | null;
|
|
972
|
+
}[];
|
|
973
|
+
};
|
|
974
|
+
outputFormat: "json";
|
|
975
|
+
status: 200;
|
|
976
|
+
input: {
|
|
977
|
+
param: {
|
|
978
|
+
name: string;
|
|
979
|
+
};
|
|
980
|
+
};
|
|
981
981
|
};
|
|
982
982
|
};
|
|
983
983
|
} & {
|
|
984
984
|
"/v1/mcp-servers/:name/tool-calls": {
|
|
985
985
|
$get: {
|
|
986
|
+
output: {
|
|
987
|
+
error: string;
|
|
988
|
+
code: string;
|
|
989
|
+
remediation?: string | undefined;
|
|
990
|
+
};
|
|
991
|
+
outputFormat: "json";
|
|
992
|
+
status: 500;
|
|
993
|
+
input: {
|
|
994
|
+
param: {
|
|
995
|
+
name: string;
|
|
996
|
+
};
|
|
997
|
+
};
|
|
998
|
+
} | {
|
|
986
999
|
output: {
|
|
987
1000
|
toolCalls: {
|
|
988
1001
|
id: string;
|
|
@@ -1005,34 +1018,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1005
1018
|
name: string;
|
|
1006
1019
|
};
|
|
1007
1020
|
};
|
|
1008
|
-
} | {
|
|
1009
|
-
output: {
|
|
1010
|
-
error: string;
|
|
1011
|
-
code: string;
|
|
1012
|
-
remediation?: string | undefined;
|
|
1013
|
-
};
|
|
1014
|
-
outputFormat: "json";
|
|
1015
|
-
status: 500;
|
|
1016
|
-
input: {
|
|
1017
|
-
param: {
|
|
1018
|
-
name: string;
|
|
1019
|
-
};
|
|
1020
|
-
};
|
|
1021
1021
|
};
|
|
1022
1022
|
};
|
|
1023
1023
|
} & {
|
|
1024
1024
|
"/v1/mcp-servers/:name/authorization": {
|
|
1025
1025
|
$put: {
|
|
1026
1026
|
output: {
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
authorizationUrl: string;
|
|
1031
|
-
state: string;
|
|
1032
|
-
expiresAt: string;
|
|
1027
|
+
error: string;
|
|
1028
|
+
code: string;
|
|
1029
|
+
remediation?: string | undefined;
|
|
1033
1030
|
};
|
|
1034
1031
|
outputFormat: "json";
|
|
1035
|
-
status:
|
|
1032
|
+
status: 404;
|
|
1036
1033
|
input: {
|
|
1037
1034
|
param: {
|
|
1038
1035
|
name: string;
|
|
@@ -1045,7 +1042,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1045
1042
|
remediation?: string | undefined;
|
|
1046
1043
|
};
|
|
1047
1044
|
outputFormat: "json";
|
|
1048
|
-
status:
|
|
1045
|
+
status: 409;
|
|
1049
1046
|
input: {
|
|
1050
1047
|
param: {
|
|
1051
1048
|
name: string;
|
|
@@ -1058,7 +1055,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1058
1055
|
remediation?: string | undefined;
|
|
1059
1056
|
};
|
|
1060
1057
|
outputFormat: "json";
|
|
1061
|
-
status:
|
|
1058
|
+
status: 503;
|
|
1062
1059
|
input: {
|
|
1063
1060
|
param: {
|
|
1064
1061
|
name: string;
|
|
@@ -1071,7 +1068,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1071
1068
|
remediation?: string | undefined;
|
|
1072
1069
|
};
|
|
1073
1070
|
outputFormat: "json";
|
|
1074
|
-
status:
|
|
1071
|
+
status: 504;
|
|
1075
1072
|
input: {
|
|
1076
1073
|
param: {
|
|
1077
1074
|
name: string;
|
|
@@ -1079,12 +1076,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1079
1076
|
};
|
|
1080
1077
|
} | {
|
|
1081
1078
|
output: {
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1079
|
+
id: string;
|
|
1080
|
+
serverName: string;
|
|
1081
|
+
serverUrl: string;
|
|
1082
|
+
authorizationUrl: string;
|
|
1083
|
+
state: string;
|
|
1084
|
+
expiresAt: string;
|
|
1085
1085
|
};
|
|
1086
1086
|
outputFormat: "json";
|
|
1087
|
-
status:
|
|
1087
|
+
status: 200;
|
|
1088
1088
|
input: {
|
|
1089
1089
|
param: {
|
|
1090
1090
|
name: string;
|
|
@@ -1095,15 +1095,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1095
1095
|
} & {
|
|
1096
1096
|
"/v1/mcp-servers/:name/authorization": {
|
|
1097
1097
|
$delete: {
|
|
1098
|
-
output: {};
|
|
1099
|
-
outputFormat: string;
|
|
1100
|
-
status: 204;
|
|
1101
|
-
input: {
|
|
1102
|
-
param: {
|
|
1103
|
-
name: string;
|
|
1104
|
-
};
|
|
1105
|
-
};
|
|
1106
|
-
} | {
|
|
1107
1098
|
output: {
|
|
1108
1099
|
error: string;
|
|
1109
1100
|
code: string;
|
|
@@ -1116,16 +1107,27 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1116
1107
|
name: string;
|
|
1117
1108
|
};
|
|
1118
1109
|
};
|
|
1110
|
+
} | {
|
|
1111
|
+
output: {};
|
|
1112
|
+
outputFormat: string;
|
|
1113
|
+
status: 204;
|
|
1114
|
+
input: {
|
|
1115
|
+
param: {
|
|
1116
|
+
name: string;
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
1119
1119
|
};
|
|
1120
1120
|
};
|
|
1121
1121
|
} & {
|
|
1122
1122
|
"/v1/mcp-oauth/callback": {
|
|
1123
1123
|
$post: {
|
|
1124
1124
|
output: {
|
|
1125
|
-
|
|
1126
|
-
|
|
1125
|
+
error: string;
|
|
1126
|
+
code: string;
|
|
1127
|
+
remediation?: string | undefined;
|
|
1128
|
+
};
|
|
1127
1129
|
outputFormat: "json";
|
|
1128
|
-
status:
|
|
1130
|
+
status: 400;
|
|
1129
1131
|
input: {
|
|
1130
1132
|
json: {
|
|
1131
1133
|
state: string;
|
|
@@ -1141,7 +1143,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1141
1143
|
remediation?: string | undefined;
|
|
1142
1144
|
};
|
|
1143
1145
|
outputFormat: "json";
|
|
1144
|
-
status:
|
|
1146
|
+
status: 404;
|
|
1145
1147
|
input: {
|
|
1146
1148
|
json: {
|
|
1147
1149
|
state: string;
|
|
@@ -1152,12 +1154,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1152
1154
|
};
|
|
1153
1155
|
} | {
|
|
1154
1156
|
output: {
|
|
1155
|
-
|
|
1156
|
-
code: string;
|
|
1157
|
-
remediation?: string | undefined;
|
|
1157
|
+
accepted: true;
|
|
1158
1158
|
};
|
|
1159
1159
|
outputFormat: "json";
|
|
1160
|
-
status:
|
|
1160
|
+
status: 202;
|
|
1161
1161
|
input: {
|
|
1162
1162
|
json: {
|
|
1163
1163
|
state: string;
|
|
@@ -1373,6 +1373,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1373
1373
|
} & {
|
|
1374
1374
|
"/v1/god-messages/session": {
|
|
1375
1375
|
$get: {
|
|
1376
|
+
output: {
|
|
1377
|
+
error: string;
|
|
1378
|
+
code: string;
|
|
1379
|
+
remediation?: string | undefined;
|
|
1380
|
+
};
|
|
1381
|
+
outputFormat: "json";
|
|
1382
|
+
status: 404;
|
|
1383
|
+
input: {};
|
|
1384
|
+
} | {
|
|
1376
1385
|
output: {
|
|
1377
1386
|
name: string;
|
|
1378
1387
|
extensionIdentifier?: string | undefined;
|
|
@@ -1427,33 +1436,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1427
1436
|
outputFormat: "json";
|
|
1428
1437
|
status: 200;
|
|
1429
1438
|
input: {};
|
|
1430
|
-
} | {
|
|
1431
|
-
output: {
|
|
1432
|
-
error: string;
|
|
1433
|
-
code: string;
|
|
1434
|
-
remediation?: string | undefined;
|
|
1435
|
-
};
|
|
1436
|
-
outputFormat: "json";
|
|
1437
|
-
status: 404;
|
|
1438
|
-
input: {};
|
|
1439
1439
|
};
|
|
1440
1440
|
};
|
|
1441
1441
|
} & {
|
|
1442
1442
|
"/v1/god-messages/messages": {
|
|
1443
1443
|
$get: {
|
|
1444
1444
|
output: {
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
parts: {
|
|
1449
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1450
|
-
}[];
|
|
1451
|
-
}[];
|
|
1452
|
-
nextCursor: string | null;
|
|
1453
|
-
hasMore: boolean;
|
|
1445
|
+
error: string;
|
|
1446
|
+
code: string;
|
|
1447
|
+
remediation?: string | undefined;
|
|
1454
1448
|
};
|
|
1455
1449
|
outputFormat: "json";
|
|
1456
|
-
status:
|
|
1450
|
+
status: 400;
|
|
1457
1451
|
input: {
|
|
1458
1452
|
query: {
|
|
1459
1453
|
limit?: unknown;
|
|
@@ -1467,7 +1461,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1467
1461
|
remediation?: string | undefined;
|
|
1468
1462
|
};
|
|
1469
1463
|
outputFormat: "json";
|
|
1470
|
-
status:
|
|
1464
|
+
status: 500;
|
|
1471
1465
|
input: {
|
|
1472
1466
|
query: {
|
|
1473
1467
|
limit?: unknown;
|
|
@@ -1476,12 +1470,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1476
1470
|
};
|
|
1477
1471
|
} | {
|
|
1478
1472
|
output: {
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1473
|
+
messages: {
|
|
1474
|
+
id: string;
|
|
1475
|
+
role: string;
|
|
1476
|
+
parts: {
|
|
1477
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1478
|
+
}[];
|
|
1479
|
+
}[];
|
|
1480
|
+
nextCursor: string | null;
|
|
1481
|
+
hasMore: boolean;
|
|
1482
1482
|
};
|
|
1483
1483
|
outputFormat: "json";
|
|
1484
|
-
status:
|
|
1484
|
+
status: 200;
|
|
1485
1485
|
input: {
|
|
1486
1486
|
query: {
|
|
1487
1487
|
limit?: unknown;
|
|
@@ -1493,13 +1493,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1493
1493
|
} & {
|
|
1494
1494
|
"/v1/god-messages/reset": {
|
|
1495
1495
|
$post: {
|
|
1496
|
-
output: {
|
|
1497
|
-
sessionId: string;
|
|
1498
|
-
};
|
|
1499
|
-
outputFormat: "json";
|
|
1500
|
-
status: 200;
|
|
1501
|
-
input: {};
|
|
1502
|
-
} | {
|
|
1503
1496
|
output: {
|
|
1504
1497
|
error: string;
|
|
1505
1498
|
code: string;
|
|
@@ -1526,11 +1519,52 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1526
1519
|
outputFormat: "json";
|
|
1527
1520
|
status: 500;
|
|
1528
1521
|
input: {};
|
|
1522
|
+
} | {
|
|
1523
|
+
output: {
|
|
1524
|
+
sessionId: string;
|
|
1525
|
+
};
|
|
1526
|
+
outputFormat: "json";
|
|
1527
|
+
status: 200;
|
|
1528
|
+
input: {};
|
|
1529
1529
|
};
|
|
1530
1530
|
};
|
|
1531
1531
|
} & {
|
|
1532
1532
|
"/v1/sessions": {
|
|
1533
1533
|
$get: {
|
|
1534
|
+
output: {
|
|
1535
|
+
error: string;
|
|
1536
|
+
code: string;
|
|
1537
|
+
remediation?: string | undefined;
|
|
1538
|
+
};
|
|
1539
|
+
outputFormat: "json";
|
|
1540
|
+
status: 400;
|
|
1541
|
+
input: {
|
|
1542
|
+
query: {
|
|
1543
|
+
kind?: "child" | "default" | "god" | undefined;
|
|
1544
|
+
parentInstanceId?: string | undefined;
|
|
1545
|
+
live?: "false" | "true" | undefined;
|
|
1546
|
+
limit?: unknown;
|
|
1547
|
+
cursor?: string | undefined;
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
} | {
|
|
1551
|
+
output: {
|
|
1552
|
+
error: string;
|
|
1553
|
+
code: string;
|
|
1554
|
+
remediation?: string | undefined;
|
|
1555
|
+
};
|
|
1556
|
+
outputFormat: "json";
|
|
1557
|
+
status: 500;
|
|
1558
|
+
input: {
|
|
1559
|
+
query: {
|
|
1560
|
+
kind?: "child" | "default" | "god" | undefined;
|
|
1561
|
+
parentInstanceId?: string | undefined;
|
|
1562
|
+
live?: "false" | "true" | undefined;
|
|
1563
|
+
limit?: unknown;
|
|
1564
|
+
cursor?: string | undefined;
|
|
1565
|
+
};
|
|
1566
|
+
};
|
|
1567
|
+
} | {
|
|
1534
1568
|
output: {
|
|
1535
1569
|
sessions: {
|
|
1536
1570
|
instanceId: string;
|
|
@@ -1562,21 +1596,21 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1562
1596
|
cursor?: string | undefined;
|
|
1563
1597
|
};
|
|
1564
1598
|
};
|
|
1565
|
-
}
|
|
1599
|
+
};
|
|
1600
|
+
};
|
|
1601
|
+
} & {
|
|
1602
|
+
"/v1/sessions/:instanceId": {
|
|
1603
|
+
$get: {
|
|
1566
1604
|
output: {
|
|
1567
1605
|
error: string;
|
|
1568
1606
|
code: string;
|
|
1569
1607
|
remediation?: string | undefined;
|
|
1570
1608
|
};
|
|
1571
1609
|
outputFormat: "json";
|
|
1572
|
-
status:
|
|
1610
|
+
status: 404;
|
|
1573
1611
|
input: {
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
parentInstanceId?: string | undefined;
|
|
1577
|
-
live?: "false" | "true" | undefined;
|
|
1578
|
-
limit?: unknown;
|
|
1579
|
-
cursor?: string | undefined;
|
|
1612
|
+
param: {
|
|
1613
|
+
instanceId: string;
|
|
1580
1614
|
};
|
|
1581
1615
|
};
|
|
1582
1616
|
} | {
|
|
@@ -1588,19 +1622,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1588
1622
|
outputFormat: "json";
|
|
1589
1623
|
status: 500;
|
|
1590
1624
|
input: {
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
parentInstanceId?: string | undefined;
|
|
1594
|
-
live?: "false" | "true" | undefined;
|
|
1595
|
-
limit?: unknown;
|
|
1596
|
-
cursor?: string | undefined;
|
|
1625
|
+
param: {
|
|
1626
|
+
instanceId: string;
|
|
1597
1627
|
};
|
|
1598
1628
|
};
|
|
1599
|
-
}
|
|
1600
|
-
};
|
|
1601
|
-
} & {
|
|
1602
|
-
"/v1/sessions/:instanceId": {
|
|
1603
|
-
$get: {
|
|
1629
|
+
} | {
|
|
1604
1630
|
output: {
|
|
1605
1631
|
instanceId: string;
|
|
1606
1632
|
sessionId: string;
|
|
@@ -1624,6 +1650,29 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1624
1650
|
instanceId: string;
|
|
1625
1651
|
};
|
|
1626
1652
|
};
|
|
1653
|
+
};
|
|
1654
|
+
};
|
|
1655
|
+
} & {
|
|
1656
|
+
"/v1/sessions/:instanceId/messages": {
|
|
1657
|
+
$get: {
|
|
1658
|
+
output: {
|
|
1659
|
+
error: string;
|
|
1660
|
+
code: string;
|
|
1661
|
+
remediation?: string | undefined;
|
|
1662
|
+
};
|
|
1663
|
+
outputFormat: "json";
|
|
1664
|
+
status: 400;
|
|
1665
|
+
input: {
|
|
1666
|
+
param: {
|
|
1667
|
+
instanceId: string;
|
|
1668
|
+
};
|
|
1669
|
+
} & {
|
|
1670
|
+
query: {
|
|
1671
|
+
limit?: unknown;
|
|
1672
|
+
cursor?: unknown;
|
|
1673
|
+
includeProviderMetadata?: "false" | "true" | undefined;
|
|
1674
|
+
};
|
|
1675
|
+
};
|
|
1627
1676
|
} | {
|
|
1628
1677
|
output: {
|
|
1629
1678
|
error: string;
|
|
@@ -1636,6 +1685,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1636
1685
|
param: {
|
|
1637
1686
|
instanceId: string;
|
|
1638
1687
|
};
|
|
1688
|
+
} & {
|
|
1689
|
+
query: {
|
|
1690
|
+
limit?: unknown;
|
|
1691
|
+
cursor?: unknown;
|
|
1692
|
+
includeProviderMetadata?: "false" | "true" | undefined;
|
|
1693
|
+
};
|
|
1639
1694
|
};
|
|
1640
1695
|
} | {
|
|
1641
1696
|
output: {
|
|
@@ -1649,12 +1704,14 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1649
1704
|
param: {
|
|
1650
1705
|
instanceId: string;
|
|
1651
1706
|
};
|
|
1707
|
+
} & {
|
|
1708
|
+
query: {
|
|
1709
|
+
limit?: unknown;
|
|
1710
|
+
cursor?: unknown;
|
|
1711
|
+
includeProviderMetadata?: "false" | "true" | undefined;
|
|
1712
|
+
};
|
|
1652
1713
|
};
|
|
1653
|
-
}
|
|
1654
|
-
};
|
|
1655
|
-
} & {
|
|
1656
|
-
"/v1/sessions/:instanceId/messages": {
|
|
1657
|
-
$get: {
|
|
1714
|
+
} | {
|
|
1658
1715
|
output: {
|
|
1659
1716
|
messages: {
|
|
1660
1717
|
id: string;
|
|
@@ -1684,7 +1741,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1684
1741
|
includeProviderMetadata?: "false" | "true" | undefined;
|
|
1685
1742
|
};
|
|
1686
1743
|
};
|
|
1687
|
-
}
|
|
1744
|
+
};
|
|
1745
|
+
};
|
|
1746
|
+
} & {
|
|
1747
|
+
"/v1/usage": {
|
|
1748
|
+
$get: {
|
|
1688
1749
|
output: {
|
|
1689
1750
|
error: string;
|
|
1690
1751
|
code: string;
|
|
@@ -1693,33 +1754,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1693
1754
|
outputFormat: "json";
|
|
1694
1755
|
status: 400;
|
|
1695
1756
|
input: {
|
|
1696
|
-
param: {
|
|
1697
|
-
instanceId: string;
|
|
1698
|
-
};
|
|
1699
|
-
} & {
|
|
1700
|
-
query: {
|
|
1701
|
-
limit?: unknown;
|
|
1702
|
-
cursor?: unknown;
|
|
1703
|
-
includeProviderMetadata?: "false" | "true" | undefined;
|
|
1704
|
-
};
|
|
1705
|
-
};
|
|
1706
|
-
} | {
|
|
1707
|
-
output: {
|
|
1708
|
-
error: string;
|
|
1709
|
-
code: string;
|
|
1710
|
-
remediation?: string | undefined;
|
|
1711
|
-
};
|
|
1712
|
-
outputFormat: "json";
|
|
1713
|
-
status: 404;
|
|
1714
|
-
input: {
|
|
1715
|
-
param: {
|
|
1716
|
-
instanceId: string;
|
|
1717
|
-
};
|
|
1718
|
-
} & {
|
|
1719
1757
|
query: {
|
|
1758
|
+
splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
|
|
1759
|
+
from?: string | undefined;
|
|
1760
|
+
to?: string | undefined;
|
|
1761
|
+
granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
|
|
1720
1762
|
limit?: unknown;
|
|
1721
|
-
cursor?: unknown;
|
|
1722
|
-
includeProviderMetadata?: "false" | "true" | undefined;
|
|
1723
1763
|
};
|
|
1724
1764
|
};
|
|
1725
1765
|
} | {
|
|
@@ -1731,21 +1771,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1731
1771
|
outputFormat: "json";
|
|
1732
1772
|
status: 500;
|
|
1733
1773
|
input: {
|
|
1734
|
-
param: {
|
|
1735
|
-
instanceId: string;
|
|
1736
|
-
};
|
|
1737
|
-
} & {
|
|
1738
1774
|
query: {
|
|
1775
|
+
splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
|
|
1776
|
+
from?: string | undefined;
|
|
1777
|
+
to?: string | undefined;
|
|
1778
|
+
granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
|
|
1739
1779
|
limit?: unknown;
|
|
1740
|
-
cursor?: unknown;
|
|
1741
|
-
includeProviderMetadata?: "false" | "true" | undefined;
|
|
1742
1780
|
};
|
|
1743
1781
|
};
|
|
1744
|
-
}
|
|
1745
|
-
};
|
|
1746
|
-
} & {
|
|
1747
|
-
"/v1/usage": {
|
|
1748
|
-
$get: {
|
|
1782
|
+
} | {
|
|
1749
1783
|
output: {
|
|
1750
1784
|
dataPoints: {
|
|
1751
1785
|
bucket: string | null;
|
|
@@ -1783,23 +1817,19 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1783
1817
|
limit?: unknown;
|
|
1784
1818
|
};
|
|
1785
1819
|
};
|
|
1786
|
-
}
|
|
1820
|
+
};
|
|
1821
|
+
};
|
|
1822
|
+
} & {
|
|
1823
|
+
"/v1/skills": {
|
|
1824
|
+
$get: {
|
|
1787
1825
|
output: {
|
|
1788
1826
|
error: string;
|
|
1789
1827
|
code: string;
|
|
1790
1828
|
remediation?: string | undefined;
|
|
1791
1829
|
};
|
|
1792
1830
|
outputFormat: "json";
|
|
1793
|
-
status:
|
|
1794
|
-
input: {
|
|
1795
|
-
query: {
|
|
1796
|
-
splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
|
|
1797
|
-
from?: string | undefined;
|
|
1798
|
-
to?: string | undefined;
|
|
1799
|
-
granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
|
|
1800
|
-
limit?: unknown;
|
|
1801
|
-
};
|
|
1802
|
-
};
|
|
1831
|
+
status: 500;
|
|
1832
|
+
input: {};
|
|
1803
1833
|
} | {
|
|
1804
1834
|
output: {
|
|
1805
1835
|
error: string;
|
|
@@ -1807,21 +1837,9 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1807
1837
|
remediation?: string | undefined;
|
|
1808
1838
|
};
|
|
1809
1839
|
outputFormat: "json";
|
|
1810
|
-
status:
|
|
1811
|
-
input: {
|
|
1812
|
-
|
|
1813
|
-
splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
|
|
1814
|
-
from?: string | undefined;
|
|
1815
|
-
to?: string | undefined;
|
|
1816
|
-
granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
|
|
1817
|
-
limit?: unknown;
|
|
1818
|
-
};
|
|
1819
|
-
};
|
|
1820
|
-
};
|
|
1821
|
-
};
|
|
1822
|
-
} & {
|
|
1823
|
-
"/v1/skills": {
|
|
1824
|
-
$get: {
|
|
1840
|
+
status: 503;
|
|
1841
|
+
input: {};
|
|
1842
|
+
} | {
|
|
1825
1843
|
output: {
|
|
1826
1844
|
skills: {
|
|
1827
1845
|
name: string;
|
|
@@ -1836,6 +1854,23 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1836
1854
|
outputFormat: "json";
|
|
1837
1855
|
status: 200;
|
|
1838
1856
|
input: {};
|
|
1857
|
+
};
|
|
1858
|
+
};
|
|
1859
|
+
} & {
|
|
1860
|
+
"/v1/skills/:name": {
|
|
1861
|
+
$get: {
|
|
1862
|
+
output: {
|
|
1863
|
+
error: string;
|
|
1864
|
+
code: string;
|
|
1865
|
+
remediation?: string | undefined;
|
|
1866
|
+
};
|
|
1867
|
+
outputFormat: "json";
|
|
1868
|
+
status: 404;
|
|
1869
|
+
input: {
|
|
1870
|
+
param: {
|
|
1871
|
+
name: string;
|
|
1872
|
+
};
|
|
1873
|
+
};
|
|
1839
1874
|
} | {
|
|
1840
1875
|
output: {
|
|
1841
1876
|
error: string;
|
|
@@ -1844,7 +1879,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1844
1879
|
};
|
|
1845
1880
|
outputFormat: "json";
|
|
1846
1881
|
status: 500;
|
|
1847
|
-
input: {
|
|
1882
|
+
input: {
|
|
1883
|
+
param: {
|
|
1884
|
+
name: string;
|
|
1885
|
+
};
|
|
1886
|
+
};
|
|
1848
1887
|
} | {
|
|
1849
1888
|
output: {
|
|
1850
1889
|
error: string;
|
|
@@ -1853,12 +1892,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1853
1892
|
};
|
|
1854
1893
|
outputFormat: "json";
|
|
1855
1894
|
status: 503;
|
|
1856
|
-
input: {
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
}
|
|
1860
|
-
|
|
1861
|
-
|
|
1895
|
+
input: {
|
|
1896
|
+
param: {
|
|
1897
|
+
name: string;
|
|
1898
|
+
};
|
|
1899
|
+
};
|
|
1900
|
+
} | {
|
|
1862
1901
|
output: {
|
|
1863
1902
|
name: string;
|
|
1864
1903
|
description: string;
|
|
@@ -1877,17 +1916,22 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1877
1916
|
name: string;
|
|
1878
1917
|
};
|
|
1879
1918
|
};
|
|
1880
|
-
}
|
|
1919
|
+
};
|
|
1920
|
+
};
|
|
1921
|
+
} & {
|
|
1922
|
+
"/v1/episode-summaries": {
|
|
1923
|
+
$get: {
|
|
1881
1924
|
output: {
|
|
1882
1925
|
error: string;
|
|
1883
1926
|
code: string;
|
|
1884
1927
|
remediation?: string | undefined;
|
|
1885
1928
|
};
|
|
1886
1929
|
outputFormat: "json";
|
|
1887
|
-
status:
|
|
1930
|
+
status: 400;
|
|
1888
1931
|
input: {
|
|
1889
|
-
|
|
1890
|
-
|
|
1932
|
+
query: {
|
|
1933
|
+
limit?: unknown;
|
|
1934
|
+
cursor?: string | undefined;
|
|
1891
1935
|
};
|
|
1892
1936
|
};
|
|
1893
1937
|
} | {
|
|
@@ -1899,8 +1943,9 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1899
1943
|
outputFormat: "json";
|
|
1900
1944
|
status: 500;
|
|
1901
1945
|
input: {
|
|
1902
|
-
|
|
1903
|
-
|
|
1946
|
+
query: {
|
|
1947
|
+
limit?: unknown;
|
|
1948
|
+
cursor?: string | undefined;
|
|
1904
1949
|
};
|
|
1905
1950
|
};
|
|
1906
1951
|
} | {
|
|
@@ -1912,8 +1957,29 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1912
1957
|
outputFormat: "json";
|
|
1913
1958
|
status: 503;
|
|
1914
1959
|
input: {
|
|
1915
|
-
|
|
1916
|
-
|
|
1960
|
+
query: {
|
|
1961
|
+
limit?: unknown;
|
|
1962
|
+
cursor?: string | undefined;
|
|
1963
|
+
};
|
|
1964
|
+
};
|
|
1965
|
+
} | {
|
|
1966
|
+
output: {
|
|
1967
|
+
summaries: {
|
|
1968
|
+
episodeId: string;
|
|
1969
|
+
title: string;
|
|
1970
|
+
startedAt: string;
|
|
1971
|
+
endedAt: string;
|
|
1972
|
+
createdAt: string;
|
|
1973
|
+
}[];
|
|
1974
|
+
nextCursor: string | null;
|
|
1975
|
+
hasMore: boolean;
|
|
1976
|
+
};
|
|
1977
|
+
outputFormat: "json";
|
|
1978
|
+
status: 200;
|
|
1979
|
+
input: {
|
|
1980
|
+
query: {
|
|
1981
|
+
limit?: unknown;
|
|
1982
|
+
cursor?: string | undefined;
|
|
1917
1983
|
};
|
|
1918
1984
|
};
|
|
1919
1985
|
};
|
|
@@ -1934,71 +2000,20 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1934
2000
|
connectivityTest: boolean;
|
|
1935
2001
|
customModels: boolean;
|
|
1936
2002
|
};
|
|
1937
|
-
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";
|
|
1938
|
-
settingsSchema: {
|
|
1939
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1940
|
-
};
|
|
1941
|
-
}[];
|
|
1942
|
-
};
|
|
1943
|
-
outputFormat: "json";
|
|
1944
|
-
status: 200;
|
|
1945
|
-
input: {};
|
|
1946
|
-
};
|
|
1947
|
-
};
|
|
1948
|
-
} & {
|
|
1949
|
-
"/v1/provider-types/:type/can-add": {
|
|
1950
|
-
$post: {
|
|
1951
|
-
output: {
|
|
1952
|
-
ok: boolean;
|
|
1953
|
-
code?: string | undefined;
|
|
1954
|
-
message?: string | undefined;
|
|
1955
|
-
provider?: {
|
|
1956
|
-
id: string;
|
|
1957
|
-
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";
|
|
1958
|
-
metadata: {
|
|
1959
|
-
displayName: string;
|
|
1960
|
-
description: string;
|
|
1961
|
-
logoSvg?: string | undefined;
|
|
1962
|
-
documentationUrl?: string | undefined;
|
|
1963
|
-
capabilities: {
|
|
1964
|
-
modelDiscovery: boolean;
|
|
1965
|
-
voiceDiscovery: boolean;
|
|
1966
|
-
voicePreview: boolean;
|
|
1967
|
-
connectivityTest: boolean;
|
|
1968
|
-
customModels: boolean;
|
|
1969
|
-
};
|
|
1970
|
-
};
|
|
1971
|
-
settings: {
|
|
2003
|
+
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";
|
|
2004
|
+
settingsSchema: {
|
|
1972
2005
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
1973
2006
|
};
|
|
1974
|
-
|
|
1975
|
-
update: {
|
|
1976
|
-
available: boolean;
|
|
1977
|
-
code?: string | undefined;
|
|
1978
|
-
message?: string | undefined;
|
|
1979
|
-
remediation?: string | undefined;
|
|
1980
|
-
};
|
|
1981
|
-
remove: {
|
|
1982
|
-
available: boolean;
|
|
1983
|
-
code?: string | undefined;
|
|
1984
|
-
message?: string | undefined;
|
|
1985
|
-
remediation?: string | undefined;
|
|
1986
|
-
};
|
|
1987
|
-
};
|
|
1988
|
-
} | undefined;
|
|
2007
|
+
}[];
|
|
1989
2008
|
};
|
|
1990
2009
|
outputFormat: "json";
|
|
1991
2010
|
status: 200;
|
|
1992
|
-
input: {
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
settings: Record<string, unknown>;
|
|
1999
|
-
};
|
|
2000
|
-
};
|
|
2001
|
-
} | {
|
|
2011
|
+
input: {};
|
|
2012
|
+
};
|
|
2013
|
+
};
|
|
2014
|
+
} & {
|
|
2015
|
+
"/v1/provider-types/:type/can-add": {
|
|
2016
|
+
$post: {
|
|
2002
2017
|
output: {
|
|
2003
2018
|
error: string;
|
|
2004
2019
|
code: string;
|
|
@@ -2032,13 +2047,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2032
2047
|
settings: Record<string, unknown>;
|
|
2033
2048
|
};
|
|
2034
2049
|
};
|
|
2035
|
-
}
|
|
2036
|
-
};
|
|
2037
|
-
} & {
|
|
2038
|
-
"/v1/providers": {
|
|
2039
|
-
$get: {
|
|
2050
|
+
} | {
|
|
2040
2051
|
output: {
|
|
2041
|
-
|
|
2052
|
+
ok: boolean;
|
|
2053
|
+
code?: string | undefined;
|
|
2054
|
+
message?: string | undefined;
|
|
2055
|
+
provider?: {
|
|
2042
2056
|
id: string;
|
|
2043
2057
|
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";
|
|
2044
2058
|
metadata: {
|
|
@@ -2071,21 +2085,26 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2071
2085
|
remediation?: string | undefined;
|
|
2072
2086
|
};
|
|
2073
2087
|
};
|
|
2074
|
-
}
|
|
2088
|
+
} | undefined;
|
|
2075
2089
|
};
|
|
2076
2090
|
outputFormat: "json";
|
|
2077
2091
|
status: 200;
|
|
2078
|
-
input: {
|
|
2092
|
+
input: {
|
|
2093
|
+
param: {
|
|
2094
|
+
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";
|
|
2095
|
+
};
|
|
2096
|
+
} & {
|
|
2097
|
+
json: {
|
|
2098
|
+
settings: Record<string, unknown>;
|
|
2099
|
+
};
|
|
2100
|
+
};
|
|
2079
2101
|
};
|
|
2080
2102
|
};
|
|
2081
2103
|
} & {
|
|
2082
2104
|
"/v1/providers": {
|
|
2083
|
-
$
|
|
2105
|
+
$get: {
|
|
2084
2106
|
output: {
|
|
2085
|
-
|
|
2086
|
-
code?: string | undefined;
|
|
2087
|
-
message?: string | undefined;
|
|
2088
|
-
provider?: {
|
|
2107
|
+
providers: {
|
|
2089
2108
|
id: string;
|
|
2090
2109
|
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";
|
|
2091
2110
|
metadata: {
|
|
@@ -2118,18 +2137,16 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2118
2137
|
remediation?: string | undefined;
|
|
2119
2138
|
};
|
|
2120
2139
|
};
|
|
2121
|
-
}
|
|
2140
|
+
}[];
|
|
2122
2141
|
};
|
|
2123
2142
|
outputFormat: "json";
|
|
2124
|
-
status:
|
|
2125
|
-
input: {
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
};
|
|
2132
|
-
} | {
|
|
2143
|
+
status: 200;
|
|
2144
|
+
input: {};
|
|
2145
|
+
};
|
|
2146
|
+
};
|
|
2147
|
+
} & {
|
|
2148
|
+
"/v1/providers": {
|
|
2149
|
+
$post: {
|
|
2133
2150
|
output: {
|
|
2134
2151
|
error: string;
|
|
2135
2152
|
code: string;
|
|
@@ -2174,11 +2191,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2174
2191
|
settings: Record<string, unknown>;
|
|
2175
2192
|
};
|
|
2176
2193
|
};
|
|
2177
|
-
}
|
|
2178
|
-
};
|
|
2179
|
-
} & {
|
|
2180
|
-
"/v1/providers/:id": {
|
|
2181
|
-
$patch: {
|
|
2194
|
+
} | {
|
|
2182
2195
|
output: {
|
|
2183
2196
|
ok: boolean;
|
|
2184
2197
|
code?: string | undefined;
|
|
@@ -2219,17 +2232,19 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2219
2232
|
} | undefined;
|
|
2220
2233
|
};
|
|
2221
2234
|
outputFormat: "json";
|
|
2222
|
-
status:
|
|
2235
|
+
status: 201;
|
|
2223
2236
|
input: {
|
|
2224
|
-
param: {
|
|
2225
|
-
id: string;
|
|
2226
|
-
};
|
|
2227
|
-
} & {
|
|
2228
2237
|
json: {
|
|
2229
|
-
|
|
2238
|
+
id: string;
|
|
2239
|
+
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";
|
|
2240
|
+
settings: Record<string, unknown>;
|
|
2230
2241
|
};
|
|
2231
2242
|
};
|
|
2232
|
-
}
|
|
2243
|
+
};
|
|
2244
|
+
};
|
|
2245
|
+
} & {
|
|
2246
|
+
"/v1/providers/:id": {
|
|
2247
|
+
$patch: {
|
|
2233
2248
|
output: {
|
|
2234
2249
|
error: string;
|
|
2235
2250
|
code: string;
|
|
@@ -2280,11 +2295,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2280
2295
|
settings?: Record<string, unknown> | undefined;
|
|
2281
2296
|
};
|
|
2282
2297
|
};
|
|
2283
|
-
}
|
|
2284
|
-
};
|
|
2285
|
-
} & {
|
|
2286
|
-
"/v1/providers/:id": {
|
|
2287
|
-
$delete: {
|
|
2298
|
+
} | {
|
|
2288
2299
|
output: {
|
|
2289
2300
|
ok: boolean;
|
|
2290
2301
|
code?: string | undefined;
|
|
@@ -2330,8 +2341,16 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2330
2341
|
param: {
|
|
2331
2342
|
id: string;
|
|
2332
2343
|
};
|
|
2344
|
+
} & {
|
|
2345
|
+
json: {
|
|
2346
|
+
settings?: Record<string, unknown> | undefined;
|
|
2347
|
+
};
|
|
2333
2348
|
};
|
|
2334
|
-
}
|
|
2349
|
+
};
|
|
2350
|
+
};
|
|
2351
|
+
} & {
|
|
2352
|
+
"/v1/providers/:id": {
|
|
2353
|
+
$delete: {
|
|
2335
2354
|
output: {
|
|
2336
2355
|
error: string;
|
|
2337
2356
|
code: string;
|
|
@@ -2383,14 +2402,45 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2383
2402
|
id: string;
|
|
2384
2403
|
};
|
|
2385
2404
|
};
|
|
2386
|
-
}
|
|
2387
|
-
};
|
|
2388
|
-
} & {
|
|
2389
|
-
"/v1/providers/:id/test": {
|
|
2390
|
-
$post: {
|
|
2405
|
+
} | {
|
|
2391
2406
|
output: {
|
|
2392
|
-
|
|
2393
|
-
|
|
2407
|
+
ok: boolean;
|
|
2408
|
+
code?: string | undefined;
|
|
2409
|
+
message?: string | undefined;
|
|
2410
|
+
provider?: {
|
|
2411
|
+
id: string;
|
|
2412
|
+
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";
|
|
2413
|
+
metadata: {
|
|
2414
|
+
displayName: string;
|
|
2415
|
+
description: string;
|
|
2416
|
+
logoSvg?: string | undefined;
|
|
2417
|
+
documentationUrl?: string | undefined;
|
|
2418
|
+
capabilities: {
|
|
2419
|
+
modelDiscovery: boolean;
|
|
2420
|
+
voiceDiscovery: boolean;
|
|
2421
|
+
voicePreview: boolean;
|
|
2422
|
+
connectivityTest: boolean;
|
|
2423
|
+
customModels: boolean;
|
|
2424
|
+
};
|
|
2425
|
+
};
|
|
2426
|
+
settings: {
|
|
2427
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
2428
|
+
};
|
|
2429
|
+
operations: {
|
|
2430
|
+
update: {
|
|
2431
|
+
available: boolean;
|
|
2432
|
+
code?: string | undefined;
|
|
2433
|
+
message?: string | undefined;
|
|
2434
|
+
remediation?: string | undefined;
|
|
2435
|
+
};
|
|
2436
|
+
remove: {
|
|
2437
|
+
available: boolean;
|
|
2438
|
+
code?: string | undefined;
|
|
2439
|
+
message?: string | undefined;
|
|
2440
|
+
remediation?: string | undefined;
|
|
2441
|
+
};
|
|
2442
|
+
};
|
|
2443
|
+
} | undefined;
|
|
2394
2444
|
};
|
|
2395
2445
|
outputFormat: "json";
|
|
2396
2446
|
status: 200;
|
|
@@ -2399,7 +2449,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2399
2449
|
id: string;
|
|
2400
2450
|
};
|
|
2401
2451
|
};
|
|
2402
|
-
}
|
|
2452
|
+
};
|
|
2453
|
+
};
|
|
2454
|
+
} & {
|
|
2455
|
+
"/v1/providers/:id/test": {
|
|
2456
|
+
$post: {
|
|
2403
2457
|
output: {
|
|
2404
2458
|
error: string;
|
|
2405
2459
|
code: string;
|
|
@@ -2438,51 +2492,30 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2438
2492
|
id: string;
|
|
2439
2493
|
};
|
|
2440
2494
|
};
|
|
2495
|
+
} | {
|
|
2496
|
+
output: {
|
|
2497
|
+
latencyMs: number;
|
|
2498
|
+
target?: string | undefined;
|
|
2499
|
+
};
|
|
2500
|
+
outputFormat: "json";
|
|
2501
|
+
status: 200;
|
|
2502
|
+
input: {
|
|
2503
|
+
param: {
|
|
2504
|
+
id: string;
|
|
2505
|
+
};
|
|
2506
|
+
};
|
|
2441
2507
|
};
|
|
2442
2508
|
};
|
|
2443
2509
|
} & {
|
|
2444
2510
|
"/v1/providers/:id/models": {
|
|
2445
2511
|
$get: {
|
|
2446
2512
|
output: {
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
displayName?: string | undefined;
|
|
2451
|
-
contextSize?: number | undefined;
|
|
2452
|
-
capabilities?: {
|
|
2453
|
-
input?: {
|
|
2454
|
-
image?: {
|
|
2455
|
-
mediaTypes?: string[] | undefined;
|
|
2456
|
-
maxBytes?: number | undefined;
|
|
2457
|
-
maxWidth?: number | undefined;
|
|
2458
|
-
maxHeight?: number | undefined;
|
|
2459
|
-
maxTotalPixels?: number | undefined;
|
|
2460
|
-
} | undefined;
|
|
2461
|
-
audio?: {
|
|
2462
|
-
mediaTypes?: string[] | undefined;
|
|
2463
|
-
maxBytes?: number | undefined;
|
|
2464
|
-
maxLengthSeconds?: number | undefined;
|
|
2465
|
-
} | undefined;
|
|
2466
|
-
} | undefined;
|
|
2467
|
-
voice?: {
|
|
2468
|
-
sts?: boolean | undefined;
|
|
2469
|
-
tts?: boolean | undefined;
|
|
2470
|
-
stt?: boolean | undefined;
|
|
2471
|
-
} | undefined;
|
|
2472
|
-
tools?: boolean | undefined;
|
|
2473
|
-
reasoning?: boolean | undefined;
|
|
2474
|
-
} | undefined;
|
|
2475
|
-
createdAt?: string | undefined;
|
|
2476
|
-
source: "discovered" | "manual" | "merged";
|
|
2477
|
-
provenance?: {
|
|
2478
|
-
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|
|
2479
|
-
documentationUrl?: string | undefined;
|
|
2480
|
-
reviewedAt?: string | undefined;
|
|
2481
|
-
}[] | undefined;
|
|
2482
|
-
}[];
|
|
2513
|
+
error: string;
|
|
2514
|
+
code: string;
|
|
2515
|
+
remediation?: string | undefined;
|
|
2483
2516
|
};
|
|
2484
2517
|
outputFormat: "json";
|
|
2485
|
-
status:
|
|
2518
|
+
status: 400;
|
|
2486
2519
|
input: {
|
|
2487
2520
|
param: {
|
|
2488
2521
|
id: string;
|
|
@@ -2499,7 +2532,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2499
2532
|
remediation?: string | undefined;
|
|
2500
2533
|
};
|
|
2501
2534
|
outputFormat: "json";
|
|
2502
|
-
status:
|
|
2535
|
+
status: 404;
|
|
2503
2536
|
input: {
|
|
2504
2537
|
param: {
|
|
2505
2538
|
id: string;
|
|
@@ -2516,7 +2549,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2516
2549
|
remediation?: string | undefined;
|
|
2517
2550
|
};
|
|
2518
2551
|
outputFormat: "json";
|
|
2519
|
-
status:
|
|
2552
|
+
status: 500;
|
|
2520
2553
|
input: {
|
|
2521
2554
|
param: {
|
|
2522
2555
|
id: string;
|
|
@@ -2528,12 +2561,45 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2528
2561
|
};
|
|
2529
2562
|
} | {
|
|
2530
2563
|
output: {
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2564
|
+
models: {
|
|
2565
|
+
modelId: string;
|
|
2566
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2567
|
+
displayName?: string | undefined;
|
|
2568
|
+
contextSize?: number | undefined;
|
|
2569
|
+
capabilities?: {
|
|
2570
|
+
input?: {
|
|
2571
|
+
image?: {
|
|
2572
|
+
mediaTypes?: string[] | undefined;
|
|
2573
|
+
maxBytes?: number | undefined;
|
|
2574
|
+
maxWidth?: number | undefined;
|
|
2575
|
+
maxHeight?: number | undefined;
|
|
2576
|
+
maxTotalPixels?: number | undefined;
|
|
2577
|
+
} | undefined;
|
|
2578
|
+
audio?: {
|
|
2579
|
+
mediaTypes?: string[] | undefined;
|
|
2580
|
+
maxBytes?: number | undefined;
|
|
2581
|
+
maxLengthSeconds?: number | undefined;
|
|
2582
|
+
} | undefined;
|
|
2583
|
+
} | undefined;
|
|
2584
|
+
voice?: {
|
|
2585
|
+
sts?: boolean | undefined;
|
|
2586
|
+
tts?: boolean | undefined;
|
|
2587
|
+
stt?: boolean | undefined;
|
|
2588
|
+
} | undefined;
|
|
2589
|
+
tools?: boolean | undefined;
|
|
2590
|
+
reasoning?: boolean | undefined;
|
|
2591
|
+
} | undefined;
|
|
2592
|
+
createdAt?: string | undefined;
|
|
2593
|
+
source: "discovered" | "manual" | "merged";
|
|
2594
|
+
provenance?: {
|
|
2595
|
+
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|
|
2596
|
+
documentationUrl?: string | undefined;
|
|
2597
|
+
reviewedAt?: string | undefined;
|
|
2598
|
+
}[] | undefined;
|
|
2599
|
+
}[];
|
|
2534
2600
|
};
|
|
2535
2601
|
outputFormat: "json";
|
|
2536
|
-
status:
|
|
2602
|
+
status: 200;
|
|
2537
2603
|
input: {
|
|
2538
2604
|
param: {
|
|
2539
2605
|
id: string;
|
|
@@ -2549,17 +2615,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2549
2615
|
"/v1/providers/:id/voices": {
|
|
2550
2616
|
$get: {
|
|
2551
2617
|
output: {
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
voiceId: string;
|
|
2556
|
-
displayName: string;
|
|
2557
|
-
description?: string | undefined;
|
|
2558
|
-
isPreviewAvailable: boolean;
|
|
2559
|
-
}[];
|
|
2618
|
+
error: string;
|
|
2619
|
+
code: string;
|
|
2620
|
+
remediation?: string | undefined;
|
|
2560
2621
|
};
|
|
2561
2622
|
outputFormat: "json";
|
|
2562
|
-
status:
|
|
2623
|
+
status: 400;
|
|
2563
2624
|
input: {
|
|
2564
2625
|
param: {
|
|
2565
2626
|
id: string;
|
|
@@ -2577,7 +2638,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2577
2638
|
remediation?: string | undefined;
|
|
2578
2639
|
};
|
|
2579
2640
|
outputFormat: "json";
|
|
2580
|
-
status:
|
|
2641
|
+
status: 404;
|
|
2581
2642
|
input: {
|
|
2582
2643
|
param: {
|
|
2583
2644
|
id: string;
|
|
@@ -2595,7 +2656,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2595
2656
|
remediation?: string | undefined;
|
|
2596
2657
|
};
|
|
2597
2658
|
outputFormat: "json";
|
|
2598
|
-
status:
|
|
2659
|
+
status: 429;
|
|
2599
2660
|
input: {
|
|
2600
2661
|
param: {
|
|
2601
2662
|
id: string;
|
|
@@ -2613,7 +2674,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2613
2674
|
remediation?: string | undefined;
|
|
2614
2675
|
};
|
|
2615
2676
|
outputFormat: "json";
|
|
2616
|
-
status:
|
|
2677
|
+
status: 500;
|
|
2617
2678
|
input: {
|
|
2618
2679
|
param: {
|
|
2619
2680
|
id: string;
|
|
@@ -2631,7 +2692,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2631
2692
|
remediation?: string | undefined;
|
|
2632
2693
|
};
|
|
2633
2694
|
outputFormat: "json";
|
|
2634
|
-
status:
|
|
2695
|
+
status: 502;
|
|
2635
2696
|
input: {
|
|
2636
2697
|
param: {
|
|
2637
2698
|
id: string;
|
|
@@ -2644,12 +2705,17 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2644
2705
|
};
|
|
2645
2706
|
} | {
|
|
2646
2707
|
output: {
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2708
|
+
defaultVoiceId?: string | undefined;
|
|
2709
|
+
stale?: boolean | undefined;
|
|
2710
|
+
voices: {
|
|
2711
|
+
voiceId: string;
|
|
2712
|
+
displayName: string;
|
|
2713
|
+
description?: string | undefined;
|
|
2714
|
+
isPreviewAvailable: boolean;
|
|
2715
|
+
}[];
|
|
2650
2716
|
};
|
|
2651
2717
|
outputFormat: "json";
|
|
2652
|
-
status:
|
|
2718
|
+
status: 200;
|
|
2653
2719
|
input: {
|
|
2654
2720
|
param: {
|
|
2655
2721
|
id: string;
|
|
@@ -2773,82 +2839,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2773
2839
|
} & {
|
|
2774
2840
|
"/v1/providers/:id/models": {
|
|
2775
2841
|
$post: {
|
|
2776
|
-
output: {
|
|
2777
|
-
models: {
|
|
2778
|
-
modelId: string;
|
|
2779
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2780
|
-
displayName?: string | undefined;
|
|
2781
|
-
contextSize?: number | undefined;
|
|
2782
|
-
capabilities?: {
|
|
2783
|
-
input?: {
|
|
2784
|
-
image?: {
|
|
2785
|
-
mediaTypes?: string[] | undefined;
|
|
2786
|
-
maxBytes?: number | undefined;
|
|
2787
|
-
maxWidth?: number | undefined;
|
|
2788
|
-
maxHeight?: number | undefined;
|
|
2789
|
-
maxTotalPixels?: number | undefined;
|
|
2790
|
-
} | undefined;
|
|
2791
|
-
audio?: {
|
|
2792
|
-
mediaTypes?: string[] | undefined;
|
|
2793
|
-
maxBytes?: number | undefined;
|
|
2794
|
-
maxLengthSeconds?: number | undefined;
|
|
2795
|
-
} | undefined;
|
|
2796
|
-
} | undefined;
|
|
2797
|
-
voice?: {
|
|
2798
|
-
sts?: boolean | undefined;
|
|
2799
|
-
tts?: boolean | undefined;
|
|
2800
|
-
stt?: boolean | undefined;
|
|
2801
|
-
} | undefined;
|
|
2802
|
-
tools?: boolean | undefined;
|
|
2803
|
-
reasoning?: boolean | undefined;
|
|
2804
|
-
} | undefined;
|
|
2805
|
-
createdAt?: string | undefined;
|
|
2806
|
-
source: "discovered" | "manual" | "merged";
|
|
2807
|
-
provenance?: {
|
|
2808
|
-
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|
|
2809
|
-
documentationUrl?: string | undefined;
|
|
2810
|
-
reviewedAt?: string | undefined;
|
|
2811
|
-
}[] | undefined;
|
|
2812
|
-
}[];
|
|
2813
|
-
};
|
|
2814
|
-
outputFormat: "json";
|
|
2815
|
-
status: 200;
|
|
2816
|
-
input: {
|
|
2817
|
-
param: {
|
|
2818
|
-
id: string;
|
|
2819
|
-
};
|
|
2820
|
-
} & {
|
|
2821
|
-
json: {
|
|
2822
|
-
modelId: string;
|
|
2823
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2824
|
-
displayName?: string | undefined;
|
|
2825
|
-
contextSize?: number | undefined;
|
|
2826
|
-
capabilities?: {
|
|
2827
|
-
input?: {
|
|
2828
|
-
image?: {
|
|
2829
|
-
mediaTypes?: string[] | undefined;
|
|
2830
|
-
maxBytes?: number | undefined;
|
|
2831
|
-
maxWidth?: number | undefined;
|
|
2832
|
-
maxHeight?: number | undefined;
|
|
2833
|
-
maxTotalPixels?: number | undefined;
|
|
2834
|
-
} | undefined;
|
|
2835
|
-
audio?: {
|
|
2836
|
-
mediaTypes?: string[] | undefined;
|
|
2837
|
-
maxBytes?: number | undefined;
|
|
2838
|
-
maxLengthSeconds?: number | undefined;
|
|
2839
|
-
} | undefined;
|
|
2840
|
-
} | undefined;
|
|
2841
|
-
voice?: {
|
|
2842
|
-
sts?: boolean | undefined;
|
|
2843
|
-
tts?: boolean | undefined;
|
|
2844
|
-
stt?: boolean | undefined;
|
|
2845
|
-
} | undefined;
|
|
2846
|
-
tools?: boolean | undefined;
|
|
2847
|
-
reasoning?: boolean | undefined;
|
|
2848
|
-
} | undefined;
|
|
2849
|
-
};
|
|
2850
|
-
};
|
|
2851
|
-
} | {
|
|
2852
2842
|
output: {
|
|
2853
2843
|
error: string;
|
|
2854
2844
|
code: string;
|
|
@@ -3020,11 +3010,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3020
3010
|
} | undefined;
|
|
3021
3011
|
};
|
|
3022
3012
|
};
|
|
3023
|
-
}
|
|
3024
|
-
};
|
|
3025
|
-
} & {
|
|
3026
|
-
"/v1/providers/:id/models/:modelId": {
|
|
3027
|
-
$patch: {
|
|
3013
|
+
} | {
|
|
3028
3014
|
output: {
|
|
3029
3015
|
models: {
|
|
3030
3016
|
modelId: string;
|
|
@@ -3068,10 +3054,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3068
3054
|
input: {
|
|
3069
3055
|
param: {
|
|
3070
3056
|
id: string;
|
|
3071
|
-
modelId: string;
|
|
3072
3057
|
};
|
|
3073
3058
|
} & {
|
|
3074
3059
|
json: {
|
|
3060
|
+
modelId: string;
|
|
3075
3061
|
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3076
3062
|
displayName?: string | undefined;
|
|
3077
3063
|
contextSize?: number | undefined;
|
|
@@ -3100,7 +3086,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3100
3086
|
} | undefined;
|
|
3101
3087
|
};
|
|
3102
3088
|
};
|
|
3103
|
-
}
|
|
3089
|
+
};
|
|
3090
|
+
};
|
|
3091
|
+
} & {
|
|
3092
|
+
"/v1/providers/:id/models/:modelId": {
|
|
3093
|
+
$patch: {
|
|
3104
3094
|
output: {
|
|
3105
3095
|
error: string;
|
|
3106
3096
|
code: string;
|
|
@@ -3229,11 +3219,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3229
3219
|
} | undefined;
|
|
3230
3220
|
};
|
|
3231
3221
|
};
|
|
3232
|
-
}
|
|
3233
|
-
};
|
|
3234
|
-
} & {
|
|
3235
|
-
"/v1/providers/:id/models/:modelId": {
|
|
3236
|
-
$delete: {
|
|
3222
|
+
} | {
|
|
3237
3223
|
output: {
|
|
3238
3224
|
models: {
|
|
3239
3225
|
modelId: string;
|
|
@@ -3279,8 +3265,41 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3279
3265
|
id: string;
|
|
3280
3266
|
modelId: string;
|
|
3281
3267
|
};
|
|
3268
|
+
} & {
|
|
3269
|
+
json: {
|
|
3270
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3271
|
+
displayName?: string | undefined;
|
|
3272
|
+
contextSize?: number | undefined;
|
|
3273
|
+
capabilities?: {
|
|
3274
|
+
input?: {
|
|
3275
|
+
image?: {
|
|
3276
|
+
mediaTypes?: string[] | undefined;
|
|
3277
|
+
maxBytes?: number | undefined;
|
|
3278
|
+
maxWidth?: number | undefined;
|
|
3279
|
+
maxHeight?: number | undefined;
|
|
3280
|
+
maxTotalPixels?: number | undefined;
|
|
3281
|
+
} | undefined;
|
|
3282
|
+
audio?: {
|
|
3283
|
+
mediaTypes?: string[] | undefined;
|
|
3284
|
+
maxBytes?: number | undefined;
|
|
3285
|
+
maxLengthSeconds?: number | undefined;
|
|
3286
|
+
} | undefined;
|
|
3287
|
+
} | undefined;
|
|
3288
|
+
voice?: {
|
|
3289
|
+
sts?: boolean | undefined;
|
|
3290
|
+
tts?: boolean | undefined;
|
|
3291
|
+
stt?: boolean | undefined;
|
|
3292
|
+
} | undefined;
|
|
3293
|
+
tools?: boolean | undefined;
|
|
3294
|
+
reasoning?: boolean | undefined;
|
|
3295
|
+
} | undefined;
|
|
3296
|
+
};
|
|
3282
3297
|
};
|
|
3283
|
-
}
|
|
3298
|
+
};
|
|
3299
|
+
};
|
|
3300
|
+
} & {
|
|
3301
|
+
"/v1/providers/:id/models/:modelId": {
|
|
3302
|
+
$delete: {
|
|
3284
3303
|
output: {
|
|
3285
3304
|
error: string;
|
|
3286
3305
|
code: string;
|
|
@@ -3336,30 +3355,58 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3336
3355
|
modelId: string;
|
|
3337
3356
|
};
|
|
3338
3357
|
};
|
|
3339
|
-
}
|
|
3340
|
-
};
|
|
3341
|
-
} & {
|
|
3342
|
-
"/v1/introspect/:path": {
|
|
3343
|
-
$get: {
|
|
3358
|
+
} | {
|
|
3344
3359
|
output: {
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3360
|
+
models: {
|
|
3361
|
+
modelId: string;
|
|
3362
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3363
|
+
displayName?: string | undefined;
|
|
3364
|
+
contextSize?: number | undefined;
|
|
3365
|
+
capabilities?: {
|
|
3366
|
+
input?: {
|
|
3367
|
+
image?: {
|
|
3368
|
+
mediaTypes?: string[] | undefined;
|
|
3369
|
+
maxBytes?: number | undefined;
|
|
3370
|
+
maxWidth?: number | undefined;
|
|
3371
|
+
maxHeight?: number | undefined;
|
|
3372
|
+
maxTotalPixels?: number | undefined;
|
|
3373
|
+
} | undefined;
|
|
3374
|
+
audio?: {
|
|
3375
|
+
mediaTypes?: string[] | undefined;
|
|
3376
|
+
maxBytes?: number | undefined;
|
|
3377
|
+
maxLengthSeconds?: number | undefined;
|
|
3378
|
+
} | undefined;
|
|
3379
|
+
} | undefined;
|
|
3380
|
+
voice?: {
|
|
3381
|
+
sts?: boolean | undefined;
|
|
3382
|
+
tts?: boolean | undefined;
|
|
3383
|
+
stt?: boolean | undefined;
|
|
3384
|
+
} | undefined;
|
|
3385
|
+
tools?: boolean | undefined;
|
|
3386
|
+
reasoning?: boolean | undefined;
|
|
3387
|
+
} | undefined;
|
|
3388
|
+
createdAt?: string | undefined;
|
|
3389
|
+
source: "discovered" | "manual" | "merged";
|
|
3390
|
+
provenance?: {
|
|
3391
|
+
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|
|
3392
|
+
documentationUrl?: string | undefined;
|
|
3393
|
+
reviewedAt?: string | undefined;
|
|
3394
|
+
}[] | undefined;
|
|
3353
3395
|
}[];
|
|
3354
3396
|
};
|
|
3355
3397
|
outputFormat: "json";
|
|
3356
3398
|
status: 200;
|
|
3357
3399
|
input: {
|
|
3358
3400
|
param: {
|
|
3359
|
-
|
|
3401
|
+
id: string;
|
|
3402
|
+
modelId: string;
|
|
3360
3403
|
};
|
|
3361
3404
|
};
|
|
3362
|
-
}
|
|
3405
|
+
};
|
|
3406
|
+
};
|
|
3407
|
+
} & {
|
|
3408
|
+
"/v1/introspect/:path": {
|
|
3409
|
+
$get: {
|
|
3363
3410
|
output: {
|
|
3364
3411
|
error: string;
|
|
3365
3412
|
code: string;
|
|
@@ -3398,6 +3445,25 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3398
3445
|
path: string;
|
|
3399
3446
|
};
|
|
3400
3447
|
};
|
|
3448
|
+
} | {
|
|
3449
|
+
output: {
|
|
3450
|
+
path: string[];
|
|
3451
|
+
state: {
|
|
3452
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
3453
|
+
} | null;
|
|
3454
|
+
children: {
|
|
3455
|
+
id: string;
|
|
3456
|
+
hasState: boolean;
|
|
3457
|
+
hasChildren: boolean;
|
|
3458
|
+
}[];
|
|
3459
|
+
};
|
|
3460
|
+
outputFormat: "json";
|
|
3461
|
+
status: 200;
|
|
3462
|
+
input: {
|
|
3463
|
+
param: {
|
|
3464
|
+
path: string;
|
|
3465
|
+
};
|
|
3466
|
+
};
|
|
3401
3467
|
};
|
|
3402
3468
|
};
|
|
3403
3469
|
}, "/", "/v1/introspect/:path">;
|