@klex/agent-admin-api 0.2.0 → 0.3.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/README.md +9 -0
- package/dist/index.d.ts +768 -423
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -40,11 +40,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
40
40
|
"/v1/cloud/enroll": {
|
|
41
41
|
$post: {
|
|
42
42
|
output: {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
clientId: string;
|
|
44
|
+
enrolledAt: string;
|
|
45
45
|
};
|
|
46
46
|
outputFormat: "json";
|
|
47
|
-
status:
|
|
47
|
+
status: 200;
|
|
48
48
|
input: {
|
|
49
49
|
json: {
|
|
50
50
|
enrollmentCode: string;
|
|
@@ -56,7 +56,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
56
56
|
code: string;
|
|
57
57
|
};
|
|
58
58
|
outputFormat: "json";
|
|
59
|
-
status:
|
|
59
|
+
status: 400;
|
|
60
60
|
input: {
|
|
61
61
|
json: {
|
|
62
62
|
enrollmentCode: string;
|
|
@@ -64,11 +64,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
64
64
|
};
|
|
65
65
|
} | {
|
|
66
66
|
output: {
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
error: string;
|
|
68
|
+
code: string;
|
|
69
69
|
};
|
|
70
70
|
outputFormat: "json";
|
|
71
|
-
status:
|
|
71
|
+
status: 500;
|
|
72
72
|
input: {
|
|
73
73
|
json: {
|
|
74
74
|
enrollmentCode: string;
|
|
@@ -91,11 +91,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
91
91
|
"/v1/settings/agent": {
|
|
92
92
|
$patch: {
|
|
93
93
|
output: {
|
|
94
|
-
|
|
95
|
-
code: string;
|
|
94
|
+
officialName: string;
|
|
96
95
|
};
|
|
97
96
|
outputFormat: "json";
|
|
98
|
-
status:
|
|
97
|
+
status: 200;
|
|
99
98
|
input: {
|
|
100
99
|
json: {
|
|
101
100
|
officialName: string;
|
|
@@ -107,7 +106,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
107
106
|
code: string;
|
|
108
107
|
};
|
|
109
108
|
outputFormat: "json";
|
|
110
|
-
status:
|
|
109
|
+
status: 400;
|
|
111
110
|
input: {
|
|
112
111
|
json: {
|
|
113
112
|
officialName: string;
|
|
@@ -115,10 +114,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
115
114
|
};
|
|
116
115
|
} | {
|
|
117
116
|
output: {
|
|
118
|
-
|
|
117
|
+
error: string;
|
|
118
|
+
code: string;
|
|
119
119
|
};
|
|
120
120
|
outputFormat: "json";
|
|
121
|
-
status:
|
|
121
|
+
status: 500;
|
|
122
122
|
input: {
|
|
123
123
|
json: {
|
|
124
124
|
officialName: string;
|
|
@@ -129,14 +129,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
129
129
|
} & {
|
|
130
130
|
"/v1/settings/model-selection": {
|
|
131
131
|
$get: {
|
|
132
|
-
output: {
|
|
133
|
-
error: string;
|
|
134
|
-
code: string;
|
|
135
|
-
};
|
|
136
|
-
outputFormat: "json";
|
|
137
|
-
status: 500;
|
|
138
|
-
input: {};
|
|
139
|
-
} | {
|
|
140
132
|
output: {
|
|
141
133
|
chat: ({
|
|
142
134
|
model: `${string}:${string}`;
|
|
@@ -177,31 +169,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
177
169
|
outputFormat: "json";
|
|
178
170
|
status: 200;
|
|
179
171
|
input: {};
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
} & {
|
|
183
|
-
"/v1/settings/model-selection": {
|
|
184
|
-
$patch: {
|
|
185
|
-
output: {
|
|
186
|
-
error: string;
|
|
187
|
-
code: string;
|
|
188
|
-
};
|
|
189
|
-
outputFormat: "json";
|
|
190
|
-
status: 400;
|
|
191
|
-
input: {
|
|
192
|
-
json: {
|
|
193
|
-
chat?: unknown[] | undefined;
|
|
194
|
-
compaction?: unknown[] | undefined;
|
|
195
|
-
memory?: unknown[] | undefined;
|
|
196
|
-
imageVision?: unknown[] | undefined;
|
|
197
|
-
audioListening?: unknown[] | undefined;
|
|
198
|
-
voice?: {
|
|
199
|
-
sts: unknown[];
|
|
200
|
-
tts: unknown[];
|
|
201
|
-
stt: unknown[];
|
|
202
|
-
} | undefined;
|
|
203
|
-
};
|
|
204
|
-
};
|
|
205
172
|
} | {
|
|
206
173
|
output: {
|
|
207
174
|
error: string;
|
|
@@ -209,21 +176,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
209
176
|
};
|
|
210
177
|
outputFormat: "json";
|
|
211
178
|
status: 500;
|
|
212
|
-
input: {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
audioListening?: unknown[] | undefined;
|
|
219
|
-
voice?: {
|
|
220
|
-
sts: unknown[];
|
|
221
|
-
tts: unknown[];
|
|
222
|
-
stt: unknown[];
|
|
223
|
-
} | undefined;
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
} | {
|
|
179
|
+
input: {};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
} & {
|
|
183
|
+
"/v1/settings/model-selection": {
|
|
184
|
+
$patch: {
|
|
227
185
|
output: {
|
|
228
186
|
chat: ({
|
|
229
187
|
model: `${string}:${string}`;
|
|
@@ -281,24 +239,66 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
281
239
|
} | undefined;
|
|
282
240
|
};
|
|
283
241
|
};
|
|
242
|
+
} | {
|
|
243
|
+
output: {
|
|
244
|
+
error: string;
|
|
245
|
+
code: string;
|
|
246
|
+
};
|
|
247
|
+
outputFormat: "json";
|
|
248
|
+
status: 400;
|
|
249
|
+
input: {
|
|
250
|
+
json: {
|
|
251
|
+
chat?: unknown[] | undefined;
|
|
252
|
+
compaction?: unknown[] | undefined;
|
|
253
|
+
memory?: unknown[] | undefined;
|
|
254
|
+
imageVision?: unknown[] | undefined;
|
|
255
|
+
audioListening?: unknown[] | undefined;
|
|
256
|
+
voice?: {
|
|
257
|
+
sts: unknown[];
|
|
258
|
+
tts: unknown[];
|
|
259
|
+
stt: unknown[];
|
|
260
|
+
} | undefined;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
} | {
|
|
264
|
+
output: {
|
|
265
|
+
error: string;
|
|
266
|
+
code: string;
|
|
267
|
+
};
|
|
268
|
+
outputFormat: "json";
|
|
269
|
+
status: 500;
|
|
270
|
+
input: {
|
|
271
|
+
json: {
|
|
272
|
+
chat?: unknown[] | undefined;
|
|
273
|
+
compaction?: unknown[] | undefined;
|
|
274
|
+
memory?: unknown[] | undefined;
|
|
275
|
+
imageVision?: unknown[] | undefined;
|
|
276
|
+
audioListening?: unknown[] | undefined;
|
|
277
|
+
voice?: {
|
|
278
|
+
sts: unknown[];
|
|
279
|
+
tts: unknown[];
|
|
280
|
+
stt: unknown[];
|
|
281
|
+
} | undefined;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
284
|
};
|
|
285
285
|
};
|
|
286
286
|
} & {
|
|
287
287
|
"/v1/settings/telemetry": {
|
|
288
288
|
$get: {
|
|
289
289
|
output: {
|
|
290
|
-
|
|
291
|
-
code: string;
|
|
290
|
+
level: "full" | "minimum" | "off" | "reduced";
|
|
292
291
|
};
|
|
293
292
|
outputFormat: "json";
|
|
294
|
-
status:
|
|
293
|
+
status: 200;
|
|
295
294
|
input: {};
|
|
296
295
|
} | {
|
|
297
296
|
output: {
|
|
298
|
-
|
|
297
|
+
error: string;
|
|
298
|
+
code: string;
|
|
299
299
|
};
|
|
300
300
|
outputFormat: "json";
|
|
301
|
-
status:
|
|
301
|
+
status: 500;
|
|
302
302
|
input: {};
|
|
303
303
|
};
|
|
304
304
|
};
|
|
@@ -306,11 +306,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
306
306
|
"/v1/settings/telemetry": {
|
|
307
307
|
$patch: {
|
|
308
308
|
output: {
|
|
309
|
-
|
|
310
|
-
code: string;
|
|
309
|
+
level: "full" | "minimum" | "off" | "reduced";
|
|
311
310
|
};
|
|
312
311
|
outputFormat: "json";
|
|
313
|
-
status:
|
|
312
|
+
status: 200;
|
|
314
313
|
input: {
|
|
315
314
|
json: {
|
|
316
315
|
level?: "full" | "minimum" | "off" | "reduced" | undefined;
|
|
@@ -322,7 +321,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
322
321
|
code: string;
|
|
323
322
|
};
|
|
324
323
|
outputFormat: "json";
|
|
325
|
-
status:
|
|
324
|
+
status: 400;
|
|
326
325
|
input: {
|
|
327
326
|
json: {
|
|
328
327
|
level?: "full" | "minimum" | "off" | "reduced" | undefined;
|
|
@@ -330,10 +329,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
330
329
|
};
|
|
331
330
|
} | {
|
|
332
331
|
output: {
|
|
333
|
-
|
|
332
|
+
error: string;
|
|
333
|
+
code: string;
|
|
334
334
|
};
|
|
335
335
|
outputFormat: "json";
|
|
336
|
-
status:
|
|
336
|
+
status: 500;
|
|
337
337
|
input: {
|
|
338
338
|
json: {
|
|
339
339
|
level?: "full" | "minimum" | "off" | "reduced" | undefined;
|
|
@@ -344,14 +344,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
344
344
|
} & {
|
|
345
345
|
"/v1/introspect": {
|
|
346
346
|
$get: {
|
|
347
|
-
output: {
|
|
348
|
-
error: string;
|
|
349
|
-
code: string;
|
|
350
|
-
};
|
|
351
|
-
outputFormat: "json";
|
|
352
|
-
status: 500;
|
|
353
|
-
input: {};
|
|
354
|
-
} | {
|
|
355
347
|
output: {
|
|
356
348
|
path: string[];
|
|
357
349
|
state: {
|
|
@@ -366,11 +358,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
366
358
|
outputFormat: "json";
|
|
367
359
|
status: 200;
|
|
368
360
|
input: {};
|
|
369
|
-
}
|
|
370
|
-
};
|
|
371
|
-
} & {
|
|
372
|
-
"/v1/mcp-servers": {
|
|
373
|
-
$get: {
|
|
361
|
+
} | {
|
|
374
362
|
output: {
|
|
375
363
|
error: string;
|
|
376
364
|
code: string;
|
|
@@ -378,7 +366,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
378
366
|
outputFormat: "json";
|
|
379
367
|
status: 500;
|
|
380
368
|
input: {};
|
|
381
|
-
}
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
} & {
|
|
372
|
+
"/v1/mcp-servers": {
|
|
373
|
+
$get: {
|
|
382
374
|
output: {
|
|
383
375
|
servers: {
|
|
384
376
|
name: string;
|
|
@@ -404,11 +396,49 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
404
396
|
outputFormat: "json";
|
|
405
397
|
status: 200;
|
|
406
398
|
input: {};
|
|
399
|
+
} | {
|
|
400
|
+
output: {
|
|
401
|
+
error: string;
|
|
402
|
+
code: string;
|
|
403
|
+
};
|
|
404
|
+
outputFormat: "json";
|
|
405
|
+
status: 500;
|
|
406
|
+
input: {};
|
|
407
407
|
};
|
|
408
408
|
};
|
|
409
409
|
} & {
|
|
410
410
|
"/v1/mcp-servers/:name": {
|
|
411
411
|
$get: {
|
|
412
|
+
output: {
|
|
413
|
+
server: {
|
|
414
|
+
name: string;
|
|
415
|
+
status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
|
|
416
|
+
toolCount: number;
|
|
417
|
+
supportsPushNotifications: boolean;
|
|
418
|
+
supportsRealtimeMedia: boolean;
|
|
419
|
+
transport: "http" | "stdio";
|
|
420
|
+
usesInteractiveOAuth: boolean;
|
|
421
|
+
authorization: {
|
|
422
|
+
id: string;
|
|
423
|
+
createdAt: string;
|
|
424
|
+
expiresAt: string;
|
|
425
|
+
} | null;
|
|
426
|
+
lastError: {
|
|
427
|
+
name: string;
|
|
428
|
+
message: string;
|
|
429
|
+
at: string;
|
|
430
|
+
} | null;
|
|
431
|
+
nextRetryAt: string | null;
|
|
432
|
+
};
|
|
433
|
+
};
|
|
434
|
+
outputFormat: "json";
|
|
435
|
+
status: 200;
|
|
436
|
+
input: {
|
|
437
|
+
param: {
|
|
438
|
+
name: string;
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
} | {
|
|
412
442
|
output: {
|
|
413
443
|
error: string;
|
|
414
444
|
code: string;
|
|
@@ -432,9 +462,13 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
432
462
|
name: string;
|
|
433
463
|
};
|
|
434
464
|
};
|
|
435
|
-
}
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
} & {
|
|
468
|
+
"/v1/mcp-servers": {
|
|
469
|
+
$post: {
|
|
436
470
|
output: {
|
|
437
|
-
|
|
471
|
+
servers: {
|
|
438
472
|
name: string;
|
|
439
473
|
status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
|
|
440
474
|
toolCount: number;
|
|
@@ -453,20 +487,31 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
453
487
|
at: string;
|
|
454
488
|
} | null;
|
|
455
489
|
nextRetryAt: string | null;
|
|
456
|
-
};
|
|
490
|
+
}[];
|
|
457
491
|
};
|
|
458
492
|
outputFormat: "json";
|
|
459
|
-
status:
|
|
493
|
+
status: 201;
|
|
460
494
|
input: {
|
|
461
|
-
|
|
495
|
+
json: {
|
|
496
|
+
name: string;
|
|
497
|
+
type?: "stdio" | undefined;
|
|
498
|
+
command: string;
|
|
499
|
+
args?: string[] | undefined;
|
|
500
|
+
env?: Record<string, string> | undefined;
|
|
501
|
+
versionNegotiation?: "auto" | "legacy" | {
|
|
502
|
+
pin: string;
|
|
503
|
+
} | undefined;
|
|
504
|
+
} | {
|
|
462
505
|
name: string;
|
|
506
|
+
type?: "http" | "streamable-http" | undefined;
|
|
507
|
+
url: string;
|
|
508
|
+
headers?: Record<string, string> | undefined;
|
|
509
|
+
versionNegotiation?: "auto" | "legacy" | {
|
|
510
|
+
pin: string;
|
|
511
|
+
} | undefined;
|
|
463
512
|
};
|
|
464
513
|
};
|
|
465
|
-
}
|
|
466
|
-
};
|
|
467
|
-
} & {
|
|
468
|
-
"/v1/mcp-servers": {
|
|
469
|
-
$post: {
|
|
514
|
+
} | {
|
|
470
515
|
output: {
|
|
471
516
|
error: string;
|
|
472
517
|
code: string;
|
|
@@ -547,7 +592,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
547
592
|
} | undefined;
|
|
548
593
|
};
|
|
549
594
|
};
|
|
550
|
-
}
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
} & {
|
|
598
|
+
"/v1/mcp-servers/:name": {
|
|
599
|
+
$patch: {
|
|
551
600
|
output: {
|
|
552
601
|
servers: {
|
|
553
602
|
name: string;
|
|
@@ -571,10 +620,13 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
571
620
|
}[];
|
|
572
621
|
};
|
|
573
622
|
outputFormat: "json";
|
|
574
|
-
status:
|
|
623
|
+
status: 200;
|
|
575
624
|
input: {
|
|
576
|
-
|
|
625
|
+
param: {
|
|
577
626
|
name: string;
|
|
627
|
+
};
|
|
628
|
+
} & {
|
|
629
|
+
json: {
|
|
578
630
|
type?: "stdio" | undefined;
|
|
579
631
|
command: string;
|
|
580
632
|
args?: string[] | undefined;
|
|
@@ -583,7 +635,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
583
635
|
pin: string;
|
|
584
636
|
} | undefined;
|
|
585
637
|
} | {
|
|
586
|
-
name: string;
|
|
587
638
|
type?: "http" | "streamable-http" | undefined;
|
|
588
639
|
url: string;
|
|
589
640
|
headers?: Record<string, string> | undefined;
|
|
@@ -592,11 +643,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
592
643
|
} | undefined;
|
|
593
644
|
};
|
|
594
645
|
};
|
|
595
|
-
}
|
|
596
|
-
};
|
|
597
|
-
} & {
|
|
598
|
-
"/v1/mcp-servers/:name": {
|
|
599
|
-
$patch: {
|
|
646
|
+
} | {
|
|
600
647
|
output: {
|
|
601
648
|
error: string;
|
|
602
649
|
code: string;
|
|
@@ -683,7 +730,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
683
730
|
} | undefined;
|
|
684
731
|
};
|
|
685
732
|
};
|
|
686
|
-
}
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
} & {
|
|
736
|
+
"/v1/mcp-servers/:name": {
|
|
737
|
+
$delete: {
|
|
687
738
|
output: {
|
|
688
739
|
servers: {
|
|
689
740
|
name: string;
|
|
@@ -712,29 +763,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
712
763
|
param: {
|
|
713
764
|
name: string;
|
|
714
765
|
};
|
|
715
|
-
} & {
|
|
716
|
-
json: {
|
|
717
|
-
type?: "stdio" | undefined;
|
|
718
|
-
command: string;
|
|
719
|
-
args?: string[] | undefined;
|
|
720
|
-
env?: Record<string, string> | undefined;
|
|
721
|
-
versionNegotiation?: "auto" | "legacy" | {
|
|
722
|
-
pin: string;
|
|
723
|
-
} | undefined;
|
|
724
|
-
} | {
|
|
725
|
-
type?: "http" | "streamable-http" | undefined;
|
|
726
|
-
url: string;
|
|
727
|
-
headers?: Record<string, string> | undefined;
|
|
728
|
-
versionNegotiation?: "auto" | "legacy" | {
|
|
729
|
-
pin: string;
|
|
730
|
-
} | undefined;
|
|
731
|
-
};
|
|
732
766
|
};
|
|
733
|
-
}
|
|
734
|
-
};
|
|
735
|
-
} & {
|
|
736
|
-
"/v1/mcp-servers/:name": {
|
|
737
|
-
$delete: {
|
|
767
|
+
} | {
|
|
738
768
|
output: {
|
|
739
769
|
error: string;
|
|
740
770
|
code: string;
|
|
@@ -758,53 +788,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
758
788
|
name: string;
|
|
759
789
|
};
|
|
760
790
|
};
|
|
761
|
-
} | {
|
|
762
|
-
output: {
|
|
763
|
-
servers: {
|
|
764
|
-
name: string;
|
|
765
|
-
status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
|
|
766
|
-
toolCount: number;
|
|
767
|
-
supportsPushNotifications: boolean;
|
|
768
|
-
supportsRealtimeMedia: boolean;
|
|
769
|
-
transport: "http" | "stdio";
|
|
770
|
-
usesInteractiveOAuth: boolean;
|
|
771
|
-
authorization: {
|
|
772
|
-
id: string;
|
|
773
|
-
createdAt: string;
|
|
774
|
-
expiresAt: string;
|
|
775
|
-
} | null;
|
|
776
|
-
lastError: {
|
|
777
|
-
name: string;
|
|
778
|
-
message: string;
|
|
779
|
-
at: string;
|
|
780
|
-
} | null;
|
|
781
|
-
nextRetryAt: string | null;
|
|
782
|
-
}[];
|
|
783
|
-
};
|
|
784
|
-
outputFormat: "json";
|
|
785
|
-
status: 200;
|
|
786
|
-
input: {
|
|
787
|
-
param: {
|
|
788
|
-
name: string;
|
|
789
|
-
};
|
|
790
|
-
};
|
|
791
791
|
};
|
|
792
792
|
};
|
|
793
793
|
} & {
|
|
794
794
|
"/v1/mcp-servers/:name/tool-calls": {
|
|
795
795
|
$get: {
|
|
796
|
-
output: {
|
|
797
|
-
error: string;
|
|
798
|
-
code: string;
|
|
799
|
-
};
|
|
800
|
-
outputFormat: "json";
|
|
801
|
-
status: 500;
|
|
802
|
-
input: {
|
|
803
|
-
param: {
|
|
804
|
-
name: string;
|
|
805
|
-
};
|
|
806
|
-
};
|
|
807
|
-
} | {
|
|
808
796
|
output: {
|
|
809
797
|
toolCalls: {
|
|
810
798
|
id: string;
|
|
@@ -827,17 +815,33 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
827
815
|
name: string;
|
|
828
816
|
};
|
|
829
817
|
};
|
|
818
|
+
} | {
|
|
819
|
+
output: {
|
|
820
|
+
error: string;
|
|
821
|
+
code: string;
|
|
822
|
+
};
|
|
823
|
+
outputFormat: "json";
|
|
824
|
+
status: 500;
|
|
825
|
+
input: {
|
|
826
|
+
param: {
|
|
827
|
+
name: string;
|
|
828
|
+
};
|
|
829
|
+
};
|
|
830
830
|
};
|
|
831
831
|
};
|
|
832
832
|
} & {
|
|
833
833
|
"/v1/mcp-servers/:name/authorization": {
|
|
834
834
|
$put: {
|
|
835
835
|
output: {
|
|
836
|
-
|
|
837
|
-
|
|
836
|
+
id: string;
|
|
837
|
+
serverName: string;
|
|
838
|
+
serverUrl: string;
|
|
839
|
+
authorizationUrl: string;
|
|
840
|
+
state: string;
|
|
841
|
+
expiresAt: string;
|
|
838
842
|
};
|
|
839
843
|
outputFormat: "json";
|
|
840
|
-
status:
|
|
844
|
+
status: 200;
|
|
841
845
|
input: {
|
|
842
846
|
param: {
|
|
843
847
|
name: string;
|
|
@@ -849,7 +853,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
849
853
|
code: string;
|
|
850
854
|
};
|
|
851
855
|
outputFormat: "json";
|
|
852
|
-
status:
|
|
856
|
+
status: 404;
|
|
853
857
|
input: {
|
|
854
858
|
param: {
|
|
855
859
|
name: string;
|
|
@@ -861,7 +865,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
861
865
|
code: string;
|
|
862
866
|
};
|
|
863
867
|
outputFormat: "json";
|
|
864
|
-
status:
|
|
868
|
+
status: 409;
|
|
865
869
|
input: {
|
|
866
870
|
param: {
|
|
867
871
|
name: string;
|
|
@@ -873,7 +877,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
873
877
|
code: string;
|
|
874
878
|
};
|
|
875
879
|
outputFormat: "json";
|
|
876
|
-
status:
|
|
880
|
+
status: 503;
|
|
877
881
|
input: {
|
|
878
882
|
param: {
|
|
879
883
|
name: string;
|
|
@@ -881,15 +885,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
881
885
|
};
|
|
882
886
|
} | {
|
|
883
887
|
output: {
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
serverUrl: string;
|
|
887
|
-
authorizationUrl: string;
|
|
888
|
-
state: string;
|
|
889
|
-
expiresAt: string;
|
|
888
|
+
error: string;
|
|
889
|
+
code: string;
|
|
890
890
|
};
|
|
891
891
|
outputFormat: "json";
|
|
892
|
-
status:
|
|
892
|
+
status: 504;
|
|
893
893
|
input: {
|
|
894
894
|
param: {
|
|
895
895
|
name: string;
|
|
@@ -900,21 +900,21 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
900
900
|
} & {
|
|
901
901
|
"/v1/mcp-servers/:name/authorization": {
|
|
902
902
|
$delete: {
|
|
903
|
-
output: {
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
};
|
|
907
|
-
outputFormat: "json";
|
|
908
|
-
status: 404;
|
|
903
|
+
output: {};
|
|
904
|
+
outputFormat: string;
|
|
905
|
+
status: 204;
|
|
909
906
|
input: {
|
|
910
907
|
param: {
|
|
911
908
|
name: string;
|
|
912
909
|
};
|
|
913
910
|
};
|
|
914
911
|
} | {
|
|
915
|
-
output: {
|
|
916
|
-
|
|
917
|
-
|
|
912
|
+
output: {
|
|
913
|
+
error: string;
|
|
914
|
+
code: string;
|
|
915
|
+
};
|
|
916
|
+
outputFormat: "json";
|
|
917
|
+
status: 404;
|
|
918
918
|
input: {
|
|
919
919
|
param: {
|
|
920
920
|
name: string;
|
|
@@ -926,11 +926,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
926
926
|
"/v1/mcp-oauth/callback": {
|
|
927
927
|
$post: {
|
|
928
928
|
output: {
|
|
929
|
-
|
|
930
|
-
code: string;
|
|
929
|
+
accepted: true;
|
|
931
930
|
};
|
|
932
931
|
outputFormat: "json";
|
|
933
|
-
status:
|
|
932
|
+
status: 202;
|
|
934
933
|
input: {
|
|
935
934
|
json: {
|
|
936
935
|
state: string;
|
|
@@ -945,7 +944,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
945
944
|
code: string;
|
|
946
945
|
};
|
|
947
946
|
outputFormat: "json";
|
|
948
|
-
status:
|
|
947
|
+
status: 400;
|
|
949
948
|
input: {
|
|
950
949
|
json: {
|
|
951
950
|
state: string;
|
|
@@ -956,10 +955,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
956
955
|
};
|
|
957
956
|
} | {
|
|
958
957
|
output: {
|
|
959
|
-
|
|
958
|
+
error: string;
|
|
959
|
+
code: string;
|
|
960
960
|
};
|
|
961
961
|
outputFormat: "json";
|
|
962
|
-
status:
|
|
962
|
+
status: 404;
|
|
963
963
|
input: {
|
|
964
964
|
json: {
|
|
965
965
|
state: string;
|
|
@@ -971,8 +971,288 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
971
971
|
};
|
|
972
972
|
};
|
|
973
973
|
} & {
|
|
974
|
-
"/v1/
|
|
974
|
+
"/v1/god-messages": {
|
|
975
|
+
$post: {
|
|
976
|
+
output: {
|
|
977
|
+
sessionId: string;
|
|
978
|
+
};
|
|
979
|
+
outputFormat: "json";
|
|
980
|
+
status: 202;
|
|
981
|
+
input: {
|
|
982
|
+
json: {
|
|
983
|
+
content: ({
|
|
984
|
+
type: "text";
|
|
985
|
+
text: string;
|
|
986
|
+
} | {
|
|
987
|
+
type: "image";
|
|
988
|
+
mimeType: string;
|
|
989
|
+
data: string;
|
|
990
|
+
} | {
|
|
991
|
+
type: "audio";
|
|
992
|
+
mimeType: string;
|
|
993
|
+
data: string;
|
|
994
|
+
} | {
|
|
995
|
+
type: "resource_link";
|
|
996
|
+
uri: string;
|
|
997
|
+
name: string;
|
|
998
|
+
title?: string | undefined;
|
|
999
|
+
description?: string | undefined;
|
|
1000
|
+
mimeType?: string | undefined;
|
|
1001
|
+
size?: number | undefined;
|
|
1002
|
+
} | {
|
|
1003
|
+
type: "resource";
|
|
1004
|
+
resource: {
|
|
1005
|
+
uri: string;
|
|
1006
|
+
mimeType?: string | undefined;
|
|
1007
|
+
text?: string | undefined;
|
|
1008
|
+
blob?: string | undefined;
|
|
1009
|
+
};
|
|
1010
|
+
})[];
|
|
1011
|
+
};
|
|
1012
|
+
};
|
|
1013
|
+
} | {
|
|
1014
|
+
output: {
|
|
1015
|
+
error: string;
|
|
1016
|
+
code: string;
|
|
1017
|
+
};
|
|
1018
|
+
outputFormat: "json";
|
|
1019
|
+
status: 400;
|
|
1020
|
+
input: {
|
|
1021
|
+
json: {
|
|
1022
|
+
content: ({
|
|
1023
|
+
type: "text";
|
|
1024
|
+
text: string;
|
|
1025
|
+
} | {
|
|
1026
|
+
type: "image";
|
|
1027
|
+
mimeType: string;
|
|
1028
|
+
data: string;
|
|
1029
|
+
} | {
|
|
1030
|
+
type: "audio";
|
|
1031
|
+
mimeType: string;
|
|
1032
|
+
data: string;
|
|
1033
|
+
} | {
|
|
1034
|
+
type: "resource_link";
|
|
1035
|
+
uri: string;
|
|
1036
|
+
name: string;
|
|
1037
|
+
title?: string | undefined;
|
|
1038
|
+
description?: string | undefined;
|
|
1039
|
+
mimeType?: string | undefined;
|
|
1040
|
+
size?: number | undefined;
|
|
1041
|
+
} | {
|
|
1042
|
+
type: "resource";
|
|
1043
|
+
resource: {
|
|
1044
|
+
uri: string;
|
|
1045
|
+
mimeType?: string | undefined;
|
|
1046
|
+
text?: string | undefined;
|
|
1047
|
+
blob?: string | undefined;
|
|
1048
|
+
};
|
|
1049
|
+
})[];
|
|
1050
|
+
};
|
|
1051
|
+
};
|
|
1052
|
+
} | {
|
|
1053
|
+
output: {
|
|
1054
|
+
error: string;
|
|
1055
|
+
code: string;
|
|
1056
|
+
};
|
|
1057
|
+
outputFormat: "json";
|
|
1058
|
+
status: 409;
|
|
1059
|
+
input: {
|
|
1060
|
+
json: {
|
|
1061
|
+
content: ({
|
|
1062
|
+
type: "text";
|
|
1063
|
+
text: string;
|
|
1064
|
+
} | {
|
|
1065
|
+
type: "image";
|
|
1066
|
+
mimeType: string;
|
|
1067
|
+
data: string;
|
|
1068
|
+
} | {
|
|
1069
|
+
type: "audio";
|
|
1070
|
+
mimeType: string;
|
|
1071
|
+
data: string;
|
|
1072
|
+
} | {
|
|
1073
|
+
type: "resource_link";
|
|
1074
|
+
uri: string;
|
|
1075
|
+
name: string;
|
|
1076
|
+
title?: string | undefined;
|
|
1077
|
+
description?: string | undefined;
|
|
1078
|
+
mimeType?: string | undefined;
|
|
1079
|
+
size?: number | undefined;
|
|
1080
|
+
} | {
|
|
1081
|
+
type: "resource";
|
|
1082
|
+
resource: {
|
|
1083
|
+
uri: string;
|
|
1084
|
+
mimeType?: string | undefined;
|
|
1085
|
+
text?: string | undefined;
|
|
1086
|
+
blob?: string | undefined;
|
|
1087
|
+
};
|
|
1088
|
+
})[];
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
} | {
|
|
1092
|
+
output: {
|
|
1093
|
+
error: string;
|
|
1094
|
+
code: string;
|
|
1095
|
+
};
|
|
1096
|
+
outputFormat: "json";
|
|
1097
|
+
status: 500;
|
|
1098
|
+
input: {
|
|
1099
|
+
json: {
|
|
1100
|
+
content: ({
|
|
1101
|
+
type: "text";
|
|
1102
|
+
text: string;
|
|
1103
|
+
} | {
|
|
1104
|
+
type: "image";
|
|
1105
|
+
mimeType: string;
|
|
1106
|
+
data: string;
|
|
1107
|
+
} | {
|
|
1108
|
+
type: "audio";
|
|
1109
|
+
mimeType: string;
|
|
1110
|
+
data: string;
|
|
1111
|
+
} | {
|
|
1112
|
+
type: "resource_link";
|
|
1113
|
+
uri: string;
|
|
1114
|
+
name: string;
|
|
1115
|
+
title?: string | undefined;
|
|
1116
|
+
description?: string | undefined;
|
|
1117
|
+
mimeType?: string | undefined;
|
|
1118
|
+
size?: number | undefined;
|
|
1119
|
+
} | {
|
|
1120
|
+
type: "resource";
|
|
1121
|
+
resource: {
|
|
1122
|
+
uri: string;
|
|
1123
|
+
mimeType?: string | undefined;
|
|
1124
|
+
text?: string | undefined;
|
|
1125
|
+
blob?: string | undefined;
|
|
1126
|
+
};
|
|
1127
|
+
})[];
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1130
|
+
} | {
|
|
1131
|
+
output: {
|
|
1132
|
+
error: string;
|
|
1133
|
+
code: string;
|
|
1134
|
+
};
|
|
1135
|
+
outputFormat: "json";
|
|
1136
|
+
status: 503;
|
|
1137
|
+
input: {
|
|
1138
|
+
json: {
|
|
1139
|
+
content: ({
|
|
1140
|
+
type: "text";
|
|
1141
|
+
text: string;
|
|
1142
|
+
} | {
|
|
1143
|
+
type: "image";
|
|
1144
|
+
mimeType: string;
|
|
1145
|
+
data: string;
|
|
1146
|
+
} | {
|
|
1147
|
+
type: "audio";
|
|
1148
|
+
mimeType: string;
|
|
1149
|
+
data: string;
|
|
1150
|
+
} | {
|
|
1151
|
+
type: "resource_link";
|
|
1152
|
+
uri: string;
|
|
1153
|
+
name: string;
|
|
1154
|
+
title?: string | undefined;
|
|
1155
|
+
description?: string | undefined;
|
|
1156
|
+
mimeType?: string | undefined;
|
|
1157
|
+
size?: number | undefined;
|
|
1158
|
+
} | {
|
|
1159
|
+
type: "resource";
|
|
1160
|
+
resource: {
|
|
1161
|
+
uri: string;
|
|
1162
|
+
mimeType?: string | undefined;
|
|
1163
|
+
text?: string | undefined;
|
|
1164
|
+
blob?: string | undefined;
|
|
1165
|
+
};
|
|
1166
|
+
})[];
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1169
|
+
};
|
|
1170
|
+
};
|
|
1171
|
+
} & {
|
|
1172
|
+
"/v1/god-messages/session": {
|
|
1173
|
+
$get: {
|
|
1174
|
+
output: {
|
|
1175
|
+
id: string;
|
|
1176
|
+
status: "active" | "terminated";
|
|
1177
|
+
runtimeState: "idle" | "retrying" | "success" | "terminated" | "working";
|
|
1178
|
+
model: {
|
|
1179
|
+
id: string | null;
|
|
1180
|
+
isFallback: boolean;
|
|
1181
|
+
fallbackIndex: number;
|
|
1182
|
+
};
|
|
1183
|
+
usage: {
|
|
1184
|
+
chat: {
|
|
1185
|
+
latest: {
|
|
1186
|
+
inputTokens: number;
|
|
1187
|
+
outputTokens: number;
|
|
1188
|
+
inputCacheWriteTokens: number;
|
|
1189
|
+
inputCacheReadTokens: number;
|
|
1190
|
+
} | null;
|
|
1191
|
+
total: {
|
|
1192
|
+
inputTokens: number;
|
|
1193
|
+
outputTokens: number;
|
|
1194
|
+
inputCacheWriteTokens: number;
|
|
1195
|
+
inputCacheReadTokens: number;
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
extensions: {
|
|
1199
|
+
[x: string]: {
|
|
1200
|
+
latest: {
|
|
1201
|
+
inputTokens: number;
|
|
1202
|
+
outputTokens: number;
|
|
1203
|
+
inputCacheWriteTokens: number;
|
|
1204
|
+
inputCacheReadTokens: number;
|
|
1205
|
+
} | null;
|
|
1206
|
+
total: {
|
|
1207
|
+
inputTokens: number;
|
|
1208
|
+
outputTokens: number;
|
|
1209
|
+
inputCacheWriteTokens: number;
|
|
1210
|
+
inputCacheReadTokens: number;
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
|
+
};
|
|
1215
|
+
turns: number;
|
|
1216
|
+
steps: number;
|
|
1217
|
+
messageCount: number;
|
|
1218
|
+
createdAt: string;
|
|
1219
|
+
};
|
|
1220
|
+
outputFormat: "json";
|
|
1221
|
+
status: 200;
|
|
1222
|
+
input: {};
|
|
1223
|
+
} | {
|
|
1224
|
+
output: {
|
|
1225
|
+
error: string;
|
|
1226
|
+
code: string;
|
|
1227
|
+
};
|
|
1228
|
+
outputFormat: "json";
|
|
1229
|
+
status: 404;
|
|
1230
|
+
input: {};
|
|
1231
|
+
};
|
|
1232
|
+
};
|
|
1233
|
+
} & {
|
|
1234
|
+
"/v1/god-messages/messages": {
|
|
975
1235
|
$get: {
|
|
1236
|
+
output: {
|
|
1237
|
+
messages: {
|
|
1238
|
+
id: string;
|
|
1239
|
+
role: string;
|
|
1240
|
+
parts: {
|
|
1241
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1242
|
+
}[];
|
|
1243
|
+
}[];
|
|
1244
|
+
nextCursor: string | null;
|
|
1245
|
+
hasMore: boolean;
|
|
1246
|
+
};
|
|
1247
|
+
outputFormat: "json";
|
|
1248
|
+
status: 200;
|
|
1249
|
+
input: {
|
|
1250
|
+
query: {
|
|
1251
|
+
limit?: unknown;
|
|
1252
|
+
cursor?: string | undefined;
|
|
1253
|
+
};
|
|
1254
|
+
};
|
|
1255
|
+
} | {
|
|
976
1256
|
output: {
|
|
977
1257
|
error: string;
|
|
978
1258
|
code: string;
|
|
@@ -981,11 +1261,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
981
1261
|
status: 400;
|
|
982
1262
|
input: {
|
|
983
1263
|
query: {
|
|
984
|
-
splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
|
|
985
|
-
from?: string | undefined;
|
|
986
|
-
to?: string | undefined;
|
|
987
|
-
granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
|
|
988
1264
|
limit?: unknown;
|
|
1265
|
+
cursor?: string | undefined;
|
|
989
1266
|
};
|
|
990
1267
|
};
|
|
991
1268
|
} | {
|
|
@@ -997,14 +1274,50 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
997
1274
|
status: 500;
|
|
998
1275
|
input: {
|
|
999
1276
|
query: {
|
|
1000
|
-
splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
|
|
1001
|
-
from?: string | undefined;
|
|
1002
|
-
to?: string | undefined;
|
|
1003
|
-
granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
|
|
1004
1277
|
limit?: unknown;
|
|
1278
|
+
cursor?: string | undefined;
|
|
1005
1279
|
};
|
|
1006
1280
|
};
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
1283
|
+
} & {
|
|
1284
|
+
"/v1/god-messages/reset": {
|
|
1285
|
+
$post: {
|
|
1286
|
+
output: {
|
|
1287
|
+
sessionId: string;
|
|
1288
|
+
};
|
|
1289
|
+
outputFormat: "json";
|
|
1290
|
+
status: 200;
|
|
1291
|
+
input: {};
|
|
1292
|
+
} | {
|
|
1293
|
+
output: {
|
|
1294
|
+
error: string;
|
|
1295
|
+
code: string;
|
|
1296
|
+
};
|
|
1297
|
+
outputFormat: "json";
|
|
1298
|
+
status: 404;
|
|
1299
|
+
input: {};
|
|
1300
|
+
} | {
|
|
1301
|
+
output: {
|
|
1302
|
+
error: string;
|
|
1303
|
+
code: string;
|
|
1304
|
+
};
|
|
1305
|
+
outputFormat: "json";
|
|
1306
|
+
status: 409;
|
|
1307
|
+
input: {};
|
|
1007
1308
|
} | {
|
|
1309
|
+
output: {
|
|
1310
|
+
error: string;
|
|
1311
|
+
code: string;
|
|
1312
|
+
};
|
|
1313
|
+
outputFormat: "json";
|
|
1314
|
+
status: 500;
|
|
1315
|
+
input: {};
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
1318
|
+
} & {
|
|
1319
|
+
"/v1/usage": {
|
|
1320
|
+
$get: {
|
|
1008
1321
|
output: {
|
|
1009
1322
|
dataPoints: {
|
|
1010
1323
|
bucket: string | null;
|
|
@@ -1041,19 +1354,43 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1041
1354
|
limit?: unknown;
|
|
1042
1355
|
};
|
|
1043
1356
|
};
|
|
1044
|
-
}
|
|
1045
|
-
};
|
|
1046
|
-
} & {
|
|
1047
|
-
"/v1/providers": {
|
|
1048
|
-
$get: {
|
|
1357
|
+
} | {
|
|
1049
1358
|
output: {
|
|
1050
1359
|
error: string;
|
|
1051
1360
|
code: string;
|
|
1052
1361
|
};
|
|
1053
1362
|
outputFormat: "json";
|
|
1054
|
-
status:
|
|
1055
|
-
input: {
|
|
1363
|
+
status: 400;
|
|
1364
|
+
input: {
|
|
1365
|
+
query: {
|
|
1366
|
+
splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
|
|
1367
|
+
from?: string | undefined;
|
|
1368
|
+
to?: string | undefined;
|
|
1369
|
+
granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
|
|
1370
|
+
limit?: unknown;
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1056
1373
|
} | {
|
|
1374
|
+
output: {
|
|
1375
|
+
error: string;
|
|
1376
|
+
code: string;
|
|
1377
|
+
};
|
|
1378
|
+
outputFormat: "json";
|
|
1379
|
+
status: 500;
|
|
1380
|
+
input: {
|
|
1381
|
+
query: {
|
|
1382
|
+
splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
|
|
1383
|
+
from?: string | undefined;
|
|
1384
|
+
to?: string | undefined;
|
|
1385
|
+
granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
|
|
1386
|
+
limit?: unknown;
|
|
1387
|
+
};
|
|
1388
|
+
};
|
|
1389
|
+
};
|
|
1390
|
+
};
|
|
1391
|
+
} & {
|
|
1392
|
+
"/v1/providers": {
|
|
1393
|
+
$get: {
|
|
1057
1394
|
output: {
|
|
1058
1395
|
providers: ({
|
|
1059
1396
|
name: string;
|
|
@@ -1083,11 +1420,68 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1083
1420
|
outputFormat: "json";
|
|
1084
1421
|
status: 200;
|
|
1085
1422
|
input: {};
|
|
1423
|
+
} | {
|
|
1424
|
+
output: {
|
|
1425
|
+
error: string;
|
|
1426
|
+
code: string;
|
|
1427
|
+
};
|
|
1428
|
+
outputFormat: "json";
|
|
1429
|
+
status: 500;
|
|
1430
|
+
input: {};
|
|
1086
1431
|
};
|
|
1087
1432
|
};
|
|
1088
1433
|
} & {
|
|
1089
1434
|
"/v1/providers": {
|
|
1090
1435
|
$post: {
|
|
1436
|
+
output: {
|
|
1437
|
+
providers: ({
|
|
1438
|
+
name: string;
|
|
1439
|
+
preset: "anthropic" | "google" | "openai";
|
|
1440
|
+
auth: {
|
|
1441
|
+
apiKey?: string | undefined;
|
|
1442
|
+
headers?: {
|
|
1443
|
+
[x: string]: string;
|
|
1444
|
+
} | undefined;
|
|
1445
|
+
};
|
|
1446
|
+
} | {
|
|
1447
|
+
name: string;
|
|
1448
|
+
endpoints: {
|
|
1449
|
+
[x: string]: {
|
|
1450
|
+
url: string;
|
|
1451
|
+
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1452
|
+
auth: {
|
|
1453
|
+
apiKey?: string | undefined;
|
|
1454
|
+
headers?: {
|
|
1455
|
+
[x: string]: string;
|
|
1456
|
+
} | undefined;
|
|
1457
|
+
};
|
|
1458
|
+
};
|
|
1459
|
+
};
|
|
1460
|
+
})[];
|
|
1461
|
+
};
|
|
1462
|
+
outputFormat: "json";
|
|
1463
|
+
status: 201;
|
|
1464
|
+
input: {
|
|
1465
|
+
json: {
|
|
1466
|
+
name: string;
|
|
1467
|
+
preset: "anthropic" | "google" | "openai";
|
|
1468
|
+
auth: {
|
|
1469
|
+
apiKey?: string | undefined;
|
|
1470
|
+
headers?: Record<string, string> | undefined;
|
|
1471
|
+
};
|
|
1472
|
+
} | {
|
|
1473
|
+
name: string;
|
|
1474
|
+
endpoints: Record<string, {
|
|
1475
|
+
url: string;
|
|
1476
|
+
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1477
|
+
auth: {
|
|
1478
|
+
apiKey?: string | undefined;
|
|
1479
|
+
headers?: Record<string, string> | undefined;
|
|
1480
|
+
};
|
|
1481
|
+
}>;
|
|
1482
|
+
};
|
|
1483
|
+
};
|
|
1484
|
+
} | {
|
|
1091
1485
|
output: {
|
|
1092
1486
|
error: string;
|
|
1093
1487
|
code: string;
|
|
@@ -1168,7 +1562,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1168
1562
|
}>;
|
|
1169
1563
|
};
|
|
1170
1564
|
};
|
|
1171
|
-
}
|
|
1565
|
+
};
|
|
1566
|
+
};
|
|
1567
|
+
} & {
|
|
1568
|
+
"/v1/providers/:name": {
|
|
1569
|
+
$patch: {
|
|
1172
1570
|
output: {
|
|
1173
1571
|
providers: ({
|
|
1174
1572
|
name: string;
|
|
@@ -1196,32 +1594,29 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1196
1594
|
})[];
|
|
1197
1595
|
};
|
|
1198
1596
|
outputFormat: "json";
|
|
1199
|
-
status:
|
|
1597
|
+
status: 200;
|
|
1200
1598
|
input: {
|
|
1201
|
-
|
|
1599
|
+
param: {
|
|
1202
1600
|
name: string;
|
|
1203
|
-
|
|
1204
|
-
|
|
1601
|
+
};
|
|
1602
|
+
} & {
|
|
1603
|
+
json: {
|
|
1604
|
+
preset?: "anthropic" | "google" | "openai" | undefined;
|
|
1605
|
+
auth?: {
|
|
1205
1606
|
apiKey?: string | undefined;
|
|
1206
1607
|
headers?: Record<string, string> | undefined;
|
|
1207
|
-
};
|
|
1208
|
-
|
|
1209
|
-
name: string;
|
|
1210
|
-
endpoints: Record<string, {
|
|
1608
|
+
} | undefined;
|
|
1609
|
+
endpoints?: Record<string, {
|
|
1211
1610
|
url: string;
|
|
1212
1611
|
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1213
1612
|
auth: {
|
|
1214
1613
|
apiKey?: string | undefined;
|
|
1215
1614
|
headers?: Record<string, string> | undefined;
|
|
1216
1615
|
};
|
|
1217
|
-
}
|
|
1616
|
+
}> | undefined;
|
|
1218
1617
|
};
|
|
1219
1618
|
};
|
|
1220
|
-
}
|
|
1221
|
-
};
|
|
1222
|
-
} & {
|
|
1223
|
-
"/v1/providers/:name": {
|
|
1224
|
-
$patch: {
|
|
1619
|
+
} | {
|
|
1225
1620
|
output: {
|
|
1226
1621
|
error: string;
|
|
1227
1622
|
code: string;
|
|
@@ -1305,7 +1700,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1305
1700
|
}> | undefined;
|
|
1306
1701
|
};
|
|
1307
1702
|
};
|
|
1308
|
-
}
|
|
1703
|
+
};
|
|
1704
|
+
};
|
|
1705
|
+
} & {
|
|
1706
|
+
"/v1/providers/:name": {
|
|
1707
|
+
$delete: {
|
|
1309
1708
|
output: {
|
|
1310
1709
|
providers: ({
|
|
1311
1710
|
name: string;
|
|
@@ -1338,28 +1737,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1338
1737
|
param: {
|
|
1339
1738
|
name: string;
|
|
1340
1739
|
};
|
|
1341
|
-
} & {
|
|
1342
|
-
json: {
|
|
1343
|
-
preset?: "anthropic" | "google" | "openai" | undefined;
|
|
1344
|
-
auth?: {
|
|
1345
|
-
apiKey?: string | undefined;
|
|
1346
|
-
headers?: Record<string, string> | undefined;
|
|
1347
|
-
} | undefined;
|
|
1348
|
-
endpoints?: Record<string, {
|
|
1349
|
-
url: string;
|
|
1350
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1351
|
-
auth: {
|
|
1352
|
-
apiKey?: string | undefined;
|
|
1353
|
-
headers?: Record<string, string> | undefined;
|
|
1354
|
-
};
|
|
1355
|
-
}> | undefined;
|
|
1356
|
-
};
|
|
1357
1740
|
};
|
|
1358
|
-
}
|
|
1359
|
-
};
|
|
1360
|
-
} & {
|
|
1361
|
-
"/v1/providers/:name": {
|
|
1362
|
-
$delete: {
|
|
1741
|
+
} | {
|
|
1363
1742
|
output: {
|
|
1364
1743
|
error: string;
|
|
1365
1744
|
code: string;
|
|
@@ -1407,32 +1786,23 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1407
1786
|
name: string;
|
|
1408
1787
|
};
|
|
1409
1788
|
};
|
|
1410
|
-
}
|
|
1789
|
+
};
|
|
1790
|
+
};
|
|
1791
|
+
} & {
|
|
1792
|
+
"/v1/providers/:name/endpoints": {
|
|
1793
|
+
$get: {
|
|
1411
1794
|
output: {
|
|
1412
|
-
|
|
1795
|
+
endpoints: {
|
|
1413
1796
|
name: string;
|
|
1414
|
-
|
|
1797
|
+
url: string;
|
|
1798
|
+
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1415
1799
|
auth: {
|
|
1416
1800
|
apiKey?: string | undefined;
|
|
1417
1801
|
headers?: {
|
|
1418
1802
|
[x: string]: string;
|
|
1419
1803
|
} | undefined;
|
|
1420
1804
|
};
|
|
1421
|
-
}
|
|
1422
|
-
name: string;
|
|
1423
|
-
endpoints: {
|
|
1424
|
-
[x: string]: {
|
|
1425
|
-
url: string;
|
|
1426
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1427
|
-
auth: {
|
|
1428
|
-
apiKey?: string | undefined;
|
|
1429
|
-
headers?: {
|
|
1430
|
-
[x: string]: string;
|
|
1431
|
-
} | undefined;
|
|
1432
|
-
};
|
|
1433
|
-
};
|
|
1434
|
-
};
|
|
1435
|
-
})[];
|
|
1805
|
+
}[];
|
|
1436
1806
|
};
|
|
1437
1807
|
outputFormat: "json";
|
|
1438
1808
|
status: 200;
|
|
@@ -1441,11 +1811,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1441
1811
|
name: string;
|
|
1442
1812
|
};
|
|
1443
1813
|
};
|
|
1444
|
-
}
|
|
1445
|
-
};
|
|
1446
|
-
} & {
|
|
1447
|
-
"/v1/providers/:name/endpoints": {
|
|
1448
|
-
$get: {
|
|
1814
|
+
} | {
|
|
1449
1815
|
output: {
|
|
1450
1816
|
error: string;
|
|
1451
1817
|
code: string;
|
|
@@ -1481,7 +1847,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1481
1847
|
name: string;
|
|
1482
1848
|
};
|
|
1483
1849
|
};
|
|
1484
|
-
}
|
|
1850
|
+
};
|
|
1851
|
+
};
|
|
1852
|
+
} & {
|
|
1853
|
+
"/v1/providers/:name/endpoints": {
|
|
1854
|
+
$post: {
|
|
1485
1855
|
output: {
|
|
1486
1856
|
endpoints: {
|
|
1487
1857
|
name: string;
|
|
@@ -1496,17 +1866,23 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1496
1866
|
}[];
|
|
1497
1867
|
};
|
|
1498
1868
|
outputFormat: "json";
|
|
1499
|
-
status:
|
|
1869
|
+
status: 201;
|
|
1500
1870
|
input: {
|
|
1501
1871
|
param: {
|
|
1502
1872
|
name: string;
|
|
1503
1873
|
};
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1874
|
+
} & {
|
|
1875
|
+
json: {
|
|
1876
|
+
name: string;
|
|
1877
|
+
url: string;
|
|
1878
|
+
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1879
|
+
auth: {
|
|
1880
|
+
apiKey?: string | undefined;
|
|
1881
|
+
headers?: Record<string, string> | undefined;
|
|
1882
|
+
};
|
|
1883
|
+
};
|
|
1884
|
+
};
|
|
1885
|
+
} | {
|
|
1510
1886
|
output: {
|
|
1511
1887
|
error: string;
|
|
1512
1888
|
code: string;
|
|
@@ -1594,7 +1970,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1594
1970
|
};
|
|
1595
1971
|
};
|
|
1596
1972
|
};
|
|
1597
|
-
}
|
|
1973
|
+
};
|
|
1974
|
+
};
|
|
1975
|
+
} & {
|
|
1976
|
+
"/v1/providers/:name/endpoints/:endpointName": {
|
|
1977
|
+
$patch: {
|
|
1598
1978
|
output: {
|
|
1599
1979
|
endpoints: {
|
|
1600
1980
|
name: string;
|
|
@@ -1609,27 +1989,23 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1609
1989
|
}[];
|
|
1610
1990
|
};
|
|
1611
1991
|
outputFormat: "json";
|
|
1612
|
-
status:
|
|
1992
|
+
status: 200;
|
|
1613
1993
|
input: {
|
|
1614
1994
|
param: {
|
|
1615
1995
|
name: string;
|
|
1996
|
+
endpointName: string;
|
|
1616
1997
|
};
|
|
1617
1998
|
} & {
|
|
1618
1999
|
json: {
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
auth: {
|
|
2000
|
+
url?: string | undefined;
|
|
2001
|
+
format?: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions" | undefined;
|
|
2002
|
+
auth?: {
|
|
1623
2003
|
apiKey?: string | undefined;
|
|
1624
2004
|
headers?: Record<string, string> | undefined;
|
|
1625
|
-
};
|
|
2005
|
+
} | undefined;
|
|
1626
2006
|
};
|
|
1627
2007
|
};
|
|
1628
|
-
}
|
|
1629
|
-
};
|
|
1630
|
-
} & {
|
|
1631
|
-
"/v1/providers/:name/endpoints/:endpointName": {
|
|
1632
|
-
$patch: {
|
|
2008
|
+
} | {
|
|
1633
2009
|
output: {
|
|
1634
2010
|
error: string;
|
|
1635
2011
|
code: string;
|
|
@@ -1695,7 +2071,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1695
2071
|
} | undefined;
|
|
1696
2072
|
};
|
|
1697
2073
|
};
|
|
1698
|
-
}
|
|
2074
|
+
};
|
|
2075
|
+
};
|
|
2076
|
+
} & {
|
|
2077
|
+
"/v1/providers/:name/endpoints/:endpointName": {
|
|
2078
|
+
$delete: {
|
|
1699
2079
|
output: {
|
|
1700
2080
|
endpoints: {
|
|
1701
2081
|
name: string;
|
|
@@ -1716,21 +2096,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1716
2096
|
name: string;
|
|
1717
2097
|
endpointName: string;
|
|
1718
2098
|
};
|
|
1719
|
-
} & {
|
|
1720
|
-
json: {
|
|
1721
|
-
url?: string | undefined;
|
|
1722
|
-
format?: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions" | undefined;
|
|
1723
|
-
auth?: {
|
|
1724
|
-
apiKey?: string | undefined;
|
|
1725
|
-
headers?: Record<string, string> | undefined;
|
|
1726
|
-
} | undefined;
|
|
1727
|
-
};
|
|
1728
2099
|
};
|
|
1729
|
-
}
|
|
1730
|
-
};
|
|
1731
|
-
} & {
|
|
1732
|
-
"/v1/providers/:name/endpoints/:endpointName": {
|
|
1733
|
-
$delete: {
|
|
2100
|
+
} | {
|
|
1734
2101
|
output: {
|
|
1735
2102
|
error: string;
|
|
1736
2103
|
code: string;
|
|
@@ -1782,18 +2149,34 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1782
2149
|
endpointName: string;
|
|
1783
2150
|
};
|
|
1784
2151
|
};
|
|
1785
|
-
}
|
|
2152
|
+
};
|
|
2153
|
+
};
|
|
2154
|
+
} & {
|
|
2155
|
+
"/v1/providers/:name/known-models": {
|
|
2156
|
+
$get: {
|
|
1786
2157
|
output: {
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
2158
|
+
models: {
|
|
2159
|
+
modelId: string;
|
|
2160
|
+
endpointName?: string | undefined;
|
|
2161
|
+
displayName?: string | undefined;
|
|
2162
|
+
contextSize?: number | undefined;
|
|
2163
|
+
capabilities?: {
|
|
2164
|
+
input?: {
|
|
2165
|
+
image?: {
|
|
2166
|
+
mediaTypes: string[];
|
|
2167
|
+
maxBytes: number;
|
|
2168
|
+
} | undefined;
|
|
2169
|
+
audio?: {
|
|
2170
|
+
mediaTypes: string[];
|
|
2171
|
+
maxBytes: number;
|
|
2172
|
+
} | undefined;
|
|
1795
2173
|
} | undefined;
|
|
1796
|
-
|
|
2174
|
+
voice?: {
|
|
2175
|
+
sts?: boolean | undefined;
|
|
2176
|
+
tts?: boolean | undefined;
|
|
2177
|
+
stt?: boolean | undefined;
|
|
2178
|
+
} | undefined;
|
|
2179
|
+
} | undefined;
|
|
1797
2180
|
}[];
|
|
1798
2181
|
};
|
|
1799
2182
|
outputFormat: "json";
|
|
@@ -1801,14 +2184,13 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1801
2184
|
input: {
|
|
1802
2185
|
param: {
|
|
1803
2186
|
name: string;
|
|
1804
|
-
|
|
2187
|
+
};
|
|
2188
|
+
} & {
|
|
2189
|
+
query: {
|
|
2190
|
+
endpointName?: string | undefined;
|
|
1805
2191
|
};
|
|
1806
2192
|
};
|
|
1807
|
-
}
|
|
1808
|
-
};
|
|
1809
|
-
} & {
|
|
1810
|
-
"/v1/providers/:name/known-models": {
|
|
1811
|
-
$get: {
|
|
2193
|
+
} | {
|
|
1812
2194
|
output: {
|
|
1813
2195
|
error: string;
|
|
1814
2196
|
code: string;
|
|
@@ -1856,7 +2238,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1856
2238
|
endpointName?: string | undefined;
|
|
1857
2239
|
};
|
|
1858
2240
|
};
|
|
1859
|
-
}
|
|
2241
|
+
};
|
|
2242
|
+
};
|
|
2243
|
+
} & {
|
|
2244
|
+
"/v1/providers/:name/known-models": {
|
|
2245
|
+
$post: {
|
|
1860
2246
|
output: {
|
|
1861
2247
|
models: {
|
|
1862
2248
|
modelId: string;
|
|
@@ -1883,21 +2269,37 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1883
2269
|
}[];
|
|
1884
2270
|
};
|
|
1885
2271
|
outputFormat: "json";
|
|
1886
|
-
status:
|
|
2272
|
+
status: 201;
|
|
1887
2273
|
input: {
|
|
1888
2274
|
param: {
|
|
1889
2275
|
name: string;
|
|
1890
2276
|
};
|
|
1891
2277
|
} & {
|
|
1892
|
-
|
|
2278
|
+
json: {
|
|
2279
|
+
modelId: string;
|
|
1893
2280
|
endpointName?: string | undefined;
|
|
2281
|
+
displayName?: string | undefined;
|
|
2282
|
+
contextSize?: number | undefined;
|
|
2283
|
+
capabilities?: {
|
|
2284
|
+
input?: {
|
|
2285
|
+
image?: {
|
|
2286
|
+
mediaTypes: string[];
|
|
2287
|
+
maxBytes: number;
|
|
2288
|
+
} | undefined;
|
|
2289
|
+
audio?: {
|
|
2290
|
+
mediaTypes: string[];
|
|
2291
|
+
maxBytes: number;
|
|
2292
|
+
} | undefined;
|
|
2293
|
+
} | undefined;
|
|
2294
|
+
voice?: {
|
|
2295
|
+
sts?: boolean | undefined;
|
|
2296
|
+
tts?: boolean | undefined;
|
|
2297
|
+
stt?: boolean | undefined;
|
|
2298
|
+
} | undefined;
|
|
2299
|
+
} | undefined;
|
|
1894
2300
|
};
|
|
1895
2301
|
};
|
|
1896
|
-
}
|
|
1897
|
-
};
|
|
1898
|
-
} & {
|
|
1899
|
-
"/v1/providers/:name/known-models": {
|
|
1900
|
-
$post: {
|
|
2302
|
+
} | {
|
|
1901
2303
|
output: {
|
|
1902
2304
|
error: string;
|
|
1903
2305
|
code: string;
|
|
@@ -2041,7 +2443,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2041
2443
|
} | undefined;
|
|
2042
2444
|
};
|
|
2043
2445
|
};
|
|
2044
|
-
}
|
|
2446
|
+
};
|
|
2447
|
+
};
|
|
2448
|
+
} & {
|
|
2449
|
+
"/v1/providers/:name/known-models/:modelId": {
|
|
2450
|
+
$patch: {
|
|
2045
2451
|
output: {
|
|
2046
2452
|
models: {
|
|
2047
2453
|
modelId: string;
|
|
@@ -2068,15 +2474,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2068
2474
|
}[];
|
|
2069
2475
|
};
|
|
2070
2476
|
outputFormat: "json";
|
|
2071
|
-
status:
|
|
2477
|
+
status: 200;
|
|
2072
2478
|
input: {
|
|
2073
2479
|
param: {
|
|
2074
2480
|
name: string;
|
|
2481
|
+
modelId: string;
|
|
2075
2482
|
};
|
|
2076
2483
|
} & {
|
|
2077
|
-
|
|
2078
|
-
modelId: string;
|
|
2484
|
+
query: {
|
|
2079
2485
|
endpointName?: string | undefined;
|
|
2486
|
+
};
|
|
2487
|
+
} & {
|
|
2488
|
+
json: {
|
|
2080
2489
|
displayName?: string | undefined;
|
|
2081
2490
|
contextSize?: number | undefined;
|
|
2082
2491
|
capabilities?: {
|
|
@@ -2098,11 +2507,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2098
2507
|
} | undefined;
|
|
2099
2508
|
};
|
|
2100
2509
|
};
|
|
2101
|
-
}
|
|
2102
|
-
};
|
|
2103
|
-
} & {
|
|
2104
|
-
"/v1/providers/:name/known-models/:modelId": {
|
|
2105
|
-
$patch: {
|
|
2510
|
+
} | {
|
|
2106
2511
|
output: {
|
|
2107
2512
|
error: string;
|
|
2108
2513
|
code: string;
|
|
@@ -2219,7 +2624,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2219
2624
|
} | undefined;
|
|
2220
2625
|
};
|
|
2221
2626
|
};
|
|
2222
|
-
}
|
|
2627
|
+
};
|
|
2628
|
+
};
|
|
2629
|
+
} & {
|
|
2630
|
+
"/v1/providers/:name/known-models/:modelId": {
|
|
2631
|
+
$delete: {
|
|
2223
2632
|
output: {
|
|
2224
2633
|
models: {
|
|
2225
2634
|
modelId: string;
|
|
@@ -2256,34 +2665,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2256
2665
|
query: {
|
|
2257
2666
|
endpointName?: string | undefined;
|
|
2258
2667
|
};
|
|
2259
|
-
} & {
|
|
2260
|
-
json: {
|
|
2261
|
-
displayName?: string | undefined;
|
|
2262
|
-
contextSize?: number | undefined;
|
|
2263
|
-
capabilities?: {
|
|
2264
|
-
input?: {
|
|
2265
|
-
image?: {
|
|
2266
|
-
mediaTypes: string[];
|
|
2267
|
-
maxBytes: number;
|
|
2268
|
-
} | undefined;
|
|
2269
|
-
audio?: {
|
|
2270
|
-
mediaTypes: string[];
|
|
2271
|
-
maxBytes: number;
|
|
2272
|
-
} | undefined;
|
|
2273
|
-
} | undefined;
|
|
2274
|
-
voice?: {
|
|
2275
|
-
sts?: boolean | undefined;
|
|
2276
|
-
tts?: boolean | undefined;
|
|
2277
|
-
stt?: boolean | undefined;
|
|
2278
|
-
} | undefined;
|
|
2279
|
-
} | undefined;
|
|
2280
|
-
};
|
|
2281
2668
|
};
|
|
2282
|
-
}
|
|
2283
|
-
};
|
|
2284
|
-
} & {
|
|
2285
|
-
"/v1/providers/:name/known-models/:modelId": {
|
|
2286
|
-
$delete: {
|
|
2669
|
+
} | {
|
|
2287
2670
|
output: {
|
|
2288
2671
|
error: string;
|
|
2289
2672
|
code: string;
|
|
@@ -2334,55 +2717,24 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2334
2717
|
endpointName?: string | undefined;
|
|
2335
2718
|
};
|
|
2336
2719
|
};
|
|
2337
|
-
} | {
|
|
2338
|
-
output: {
|
|
2339
|
-
models: {
|
|
2340
|
-
modelId: string;
|
|
2341
|
-
endpointName?: string | undefined;
|
|
2342
|
-
displayName?: string | undefined;
|
|
2343
|
-
contextSize?: number | undefined;
|
|
2344
|
-
capabilities?: {
|
|
2345
|
-
input?: {
|
|
2346
|
-
image?: {
|
|
2347
|
-
mediaTypes: string[];
|
|
2348
|
-
maxBytes: number;
|
|
2349
|
-
} | undefined;
|
|
2350
|
-
audio?: {
|
|
2351
|
-
mediaTypes: string[];
|
|
2352
|
-
maxBytes: number;
|
|
2353
|
-
} | undefined;
|
|
2354
|
-
} | undefined;
|
|
2355
|
-
voice?: {
|
|
2356
|
-
sts?: boolean | undefined;
|
|
2357
|
-
tts?: boolean | undefined;
|
|
2358
|
-
stt?: boolean | undefined;
|
|
2359
|
-
} | undefined;
|
|
2360
|
-
} | undefined;
|
|
2361
|
-
}[];
|
|
2362
|
-
};
|
|
2363
|
-
outputFormat: "json";
|
|
2364
|
-
status: 200;
|
|
2365
|
-
input: {
|
|
2366
|
-
param: {
|
|
2367
|
-
name: string;
|
|
2368
|
-
modelId: string;
|
|
2369
|
-
};
|
|
2370
|
-
} & {
|
|
2371
|
-
query: {
|
|
2372
|
-
endpointName?: string | undefined;
|
|
2373
|
-
};
|
|
2374
|
-
};
|
|
2375
2720
|
};
|
|
2376
2721
|
};
|
|
2377
2722
|
} & {
|
|
2378
2723
|
"/v1/introspect/:path": {
|
|
2379
2724
|
$get: {
|
|
2380
2725
|
output: {
|
|
2381
|
-
|
|
2382
|
-
|
|
2726
|
+
path: string[];
|
|
2727
|
+
state: {
|
|
2728
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
2729
|
+
} | null;
|
|
2730
|
+
children: {
|
|
2731
|
+
id: string;
|
|
2732
|
+
hasState: boolean;
|
|
2733
|
+
hasChildren: boolean;
|
|
2734
|
+
}[];
|
|
2383
2735
|
};
|
|
2384
2736
|
outputFormat: "json";
|
|
2385
|
-
status:
|
|
2737
|
+
status: 200;
|
|
2386
2738
|
input: {
|
|
2387
2739
|
param: {
|
|
2388
2740
|
path: string;
|
|
@@ -2394,7 +2746,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2394
2746
|
code: string;
|
|
2395
2747
|
};
|
|
2396
2748
|
outputFormat: "json";
|
|
2397
|
-
status:
|
|
2749
|
+
status: 400;
|
|
2398
2750
|
input: {
|
|
2399
2751
|
param: {
|
|
2400
2752
|
path: string;
|
|
@@ -2406,7 +2758,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2406
2758
|
code: string;
|
|
2407
2759
|
};
|
|
2408
2760
|
outputFormat: "json";
|
|
2409
|
-
status:
|
|
2761
|
+
status: 404;
|
|
2410
2762
|
input: {
|
|
2411
2763
|
param: {
|
|
2412
2764
|
path: string;
|
|
@@ -2414,18 +2766,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2414
2766
|
};
|
|
2415
2767
|
} | {
|
|
2416
2768
|
output: {
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2420
|
-
} | null;
|
|
2421
|
-
children: {
|
|
2422
|
-
id: string;
|
|
2423
|
-
hasState: boolean;
|
|
2424
|
-
hasChildren: boolean;
|
|
2425
|
-
}[];
|
|
2769
|
+
error: string;
|
|
2770
|
+
code: string;
|
|
2426
2771
|
};
|
|
2427
2772
|
outputFormat: "json";
|
|
2428
|
-
status:
|
|
2773
|
+
status: 500;
|
|
2429
2774
|
input: {
|
|
2430
2775
|
param: {
|
|
2431
2776
|
path: string;
|