@klex/agent-admin-api 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist/index.d.ts +778 -704
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
30
30
|
output: {
|
|
31
31
|
error: string;
|
|
32
32
|
code: string;
|
|
33
|
+
remediation?: string | undefined;
|
|
33
34
|
};
|
|
34
35
|
outputFormat: "json";
|
|
35
36
|
status: 500;
|
|
@@ -54,6 +55,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
54
55
|
output: {
|
|
55
56
|
error: string;
|
|
56
57
|
code: string;
|
|
58
|
+
remediation?: string | undefined;
|
|
57
59
|
};
|
|
58
60
|
outputFormat: "json";
|
|
59
61
|
status: 400;
|
|
@@ -66,6 +68,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
66
68
|
output: {
|
|
67
69
|
error: string;
|
|
68
70
|
code: string;
|
|
71
|
+
remediation?: string | undefined;
|
|
69
72
|
};
|
|
70
73
|
outputFormat: "json";
|
|
71
74
|
status: 500;
|
|
@@ -104,6 +107,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
104
107
|
output: {
|
|
105
108
|
error: string;
|
|
106
109
|
code: string;
|
|
110
|
+
remediation?: string | undefined;
|
|
107
111
|
};
|
|
108
112
|
outputFormat: "json";
|
|
109
113
|
status: 400;
|
|
@@ -116,6 +120,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
116
120
|
output: {
|
|
117
121
|
error: string;
|
|
118
122
|
code: string;
|
|
123
|
+
remediation?: string | undefined;
|
|
119
124
|
};
|
|
120
125
|
outputFormat: "json";
|
|
121
126
|
status: 500;
|
|
@@ -130,40 +135,79 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
130
135
|
"/v1/settings/model-selection": {
|
|
131
136
|
$get: {
|
|
132
137
|
output: {
|
|
133
|
-
chat:
|
|
134
|
-
|
|
138
|
+
chat: {
|
|
139
|
+
providerId: string;
|
|
140
|
+
modelId: string;
|
|
135
141
|
providerOptions?: {
|
|
136
|
-
[x: string]:
|
|
142
|
+
[x: string]: {
|
|
143
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
144
|
+
};
|
|
137
145
|
} | undefined;
|
|
138
|
-
}
|
|
139
|
-
compaction:
|
|
140
|
-
|
|
146
|
+
}[];
|
|
147
|
+
compaction: {
|
|
148
|
+
providerId: string;
|
|
149
|
+
modelId: string;
|
|
141
150
|
providerOptions?: {
|
|
142
|
-
[x: string]:
|
|
151
|
+
[x: string]: {
|
|
152
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
153
|
+
};
|
|
143
154
|
} | undefined;
|
|
144
|
-
}
|
|
145
|
-
memory:
|
|
146
|
-
|
|
155
|
+
}[];
|
|
156
|
+
memory: {
|
|
157
|
+
providerId: string;
|
|
158
|
+
modelId: string;
|
|
147
159
|
providerOptions?: {
|
|
148
|
-
[x: string]:
|
|
160
|
+
[x: string]: {
|
|
161
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
162
|
+
};
|
|
149
163
|
} | undefined;
|
|
150
|
-
}
|
|
151
|
-
imageVision:
|
|
152
|
-
|
|
164
|
+
}[];
|
|
165
|
+
imageVision: {
|
|
166
|
+
providerId: string;
|
|
167
|
+
modelId: string;
|
|
153
168
|
providerOptions?: {
|
|
154
|
-
[x: string]:
|
|
169
|
+
[x: string]: {
|
|
170
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
171
|
+
};
|
|
155
172
|
} | undefined;
|
|
156
|
-
}
|
|
157
|
-
audioListening:
|
|
158
|
-
|
|
173
|
+
}[];
|
|
174
|
+
audioListening: {
|
|
175
|
+
providerId: string;
|
|
176
|
+
modelId: string;
|
|
159
177
|
providerOptions?: {
|
|
160
|
-
[x: string]:
|
|
178
|
+
[x: string]: {
|
|
179
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
180
|
+
};
|
|
161
181
|
} | undefined;
|
|
162
|
-
}
|
|
182
|
+
}[];
|
|
163
183
|
voice: {
|
|
164
|
-
sts:
|
|
165
|
-
|
|
166
|
-
|
|
184
|
+
sts: {
|
|
185
|
+
providerId: string;
|
|
186
|
+
modelId: string;
|
|
187
|
+
providerOptions?: {
|
|
188
|
+
[x: string]: {
|
|
189
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
190
|
+
};
|
|
191
|
+
} | undefined;
|
|
192
|
+
}[];
|
|
193
|
+
tts: {
|
|
194
|
+
providerId: string;
|
|
195
|
+
modelId: string;
|
|
196
|
+
providerOptions?: {
|
|
197
|
+
[x: string]: {
|
|
198
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
199
|
+
};
|
|
200
|
+
} | undefined;
|
|
201
|
+
}[];
|
|
202
|
+
stt: {
|
|
203
|
+
providerId: string;
|
|
204
|
+
modelId: string;
|
|
205
|
+
providerOptions?: {
|
|
206
|
+
[x: string]: {
|
|
207
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
208
|
+
};
|
|
209
|
+
} | undefined;
|
|
210
|
+
}[];
|
|
167
211
|
};
|
|
168
212
|
};
|
|
169
213
|
outputFormat: "json";
|
|
@@ -173,6 +217,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
173
217
|
output: {
|
|
174
218
|
error: string;
|
|
175
219
|
code: string;
|
|
220
|
+
remediation?: string | undefined;
|
|
176
221
|
};
|
|
177
222
|
outputFormat: "json";
|
|
178
223
|
status: 500;
|
|
@@ -183,40 +228,79 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
183
228
|
"/v1/settings/model-selection": {
|
|
184
229
|
$patch: {
|
|
185
230
|
output: {
|
|
186
|
-
chat:
|
|
187
|
-
|
|
231
|
+
chat: {
|
|
232
|
+
providerId: string;
|
|
233
|
+
modelId: string;
|
|
188
234
|
providerOptions?: {
|
|
189
|
-
[x: string]:
|
|
235
|
+
[x: string]: {
|
|
236
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
237
|
+
};
|
|
190
238
|
} | undefined;
|
|
191
|
-
}
|
|
192
|
-
compaction:
|
|
193
|
-
|
|
239
|
+
}[];
|
|
240
|
+
compaction: {
|
|
241
|
+
providerId: string;
|
|
242
|
+
modelId: string;
|
|
194
243
|
providerOptions?: {
|
|
195
|
-
[x: string]:
|
|
244
|
+
[x: string]: {
|
|
245
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
246
|
+
};
|
|
196
247
|
} | undefined;
|
|
197
|
-
}
|
|
198
|
-
memory:
|
|
199
|
-
|
|
248
|
+
}[];
|
|
249
|
+
memory: {
|
|
250
|
+
providerId: string;
|
|
251
|
+
modelId: string;
|
|
200
252
|
providerOptions?: {
|
|
201
|
-
[x: string]:
|
|
253
|
+
[x: string]: {
|
|
254
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
255
|
+
};
|
|
202
256
|
} | undefined;
|
|
203
|
-
}
|
|
204
|
-
imageVision:
|
|
205
|
-
|
|
257
|
+
}[];
|
|
258
|
+
imageVision: {
|
|
259
|
+
providerId: string;
|
|
260
|
+
modelId: string;
|
|
206
261
|
providerOptions?: {
|
|
207
|
-
[x: string]:
|
|
262
|
+
[x: string]: {
|
|
263
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
264
|
+
};
|
|
208
265
|
} | undefined;
|
|
209
|
-
}
|
|
210
|
-
audioListening:
|
|
211
|
-
|
|
266
|
+
}[];
|
|
267
|
+
audioListening: {
|
|
268
|
+
providerId: string;
|
|
269
|
+
modelId: string;
|
|
212
270
|
providerOptions?: {
|
|
213
|
-
[x: string]:
|
|
271
|
+
[x: string]: {
|
|
272
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
273
|
+
};
|
|
214
274
|
} | undefined;
|
|
215
|
-
}
|
|
275
|
+
}[];
|
|
216
276
|
voice: {
|
|
217
|
-
sts:
|
|
218
|
-
|
|
219
|
-
|
|
277
|
+
sts: {
|
|
278
|
+
providerId: string;
|
|
279
|
+
modelId: string;
|
|
280
|
+
providerOptions?: {
|
|
281
|
+
[x: string]: {
|
|
282
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
283
|
+
};
|
|
284
|
+
} | undefined;
|
|
285
|
+
}[];
|
|
286
|
+
tts: {
|
|
287
|
+
providerId: string;
|
|
288
|
+
modelId: string;
|
|
289
|
+
providerOptions?: {
|
|
290
|
+
[x: string]: {
|
|
291
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
292
|
+
};
|
|
293
|
+
} | undefined;
|
|
294
|
+
}[];
|
|
295
|
+
stt: {
|
|
296
|
+
providerId: string;
|
|
297
|
+
modelId: string;
|
|
298
|
+
providerOptions?: {
|
|
299
|
+
[x: string]: {
|
|
300
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
301
|
+
};
|
|
302
|
+
} | undefined;
|
|
303
|
+
}[];
|
|
220
304
|
};
|
|
221
305
|
warnings: {
|
|
222
306
|
modelId: string;
|
|
@@ -227,15 +311,47 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
227
311
|
status: 200;
|
|
228
312
|
input: {
|
|
229
313
|
json: {
|
|
230
|
-
chat?:
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
314
|
+
chat?: {
|
|
315
|
+
providerId: string;
|
|
316
|
+
modelId: string;
|
|
317
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
318
|
+
}[] | undefined;
|
|
319
|
+
compaction?: {
|
|
320
|
+
providerId: string;
|
|
321
|
+
modelId: string;
|
|
322
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
323
|
+
}[] | undefined;
|
|
324
|
+
memory?: {
|
|
325
|
+
providerId: string;
|
|
326
|
+
modelId: string;
|
|
327
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
328
|
+
}[] | undefined;
|
|
329
|
+
imageVision?: {
|
|
330
|
+
providerId: string;
|
|
331
|
+
modelId: string;
|
|
332
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
333
|
+
}[] | undefined;
|
|
334
|
+
audioListening?: {
|
|
335
|
+
providerId: string;
|
|
336
|
+
modelId: string;
|
|
337
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
338
|
+
}[] | undefined;
|
|
235
339
|
voice?: {
|
|
236
|
-
sts:
|
|
237
|
-
|
|
238
|
-
|
|
340
|
+
sts: {
|
|
341
|
+
providerId: string;
|
|
342
|
+
modelId: string;
|
|
343
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
344
|
+
}[];
|
|
345
|
+
tts: {
|
|
346
|
+
providerId: string;
|
|
347
|
+
modelId: string;
|
|
348
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
349
|
+
}[];
|
|
350
|
+
stt: {
|
|
351
|
+
providerId: string;
|
|
352
|
+
modelId: string;
|
|
353
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
354
|
+
}[];
|
|
239
355
|
} | undefined;
|
|
240
356
|
};
|
|
241
357
|
};
|
|
@@ -243,20 +359,53 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
243
359
|
output: {
|
|
244
360
|
error: string;
|
|
245
361
|
code: string;
|
|
362
|
+
remediation?: string | undefined;
|
|
246
363
|
};
|
|
247
364
|
outputFormat: "json";
|
|
248
365
|
status: 400;
|
|
249
366
|
input: {
|
|
250
367
|
json: {
|
|
251
|
-
chat?:
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
368
|
+
chat?: {
|
|
369
|
+
providerId: string;
|
|
370
|
+
modelId: string;
|
|
371
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
372
|
+
}[] | undefined;
|
|
373
|
+
compaction?: {
|
|
374
|
+
providerId: string;
|
|
375
|
+
modelId: string;
|
|
376
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
377
|
+
}[] | undefined;
|
|
378
|
+
memory?: {
|
|
379
|
+
providerId: string;
|
|
380
|
+
modelId: string;
|
|
381
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
382
|
+
}[] | undefined;
|
|
383
|
+
imageVision?: {
|
|
384
|
+
providerId: string;
|
|
385
|
+
modelId: string;
|
|
386
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
387
|
+
}[] | undefined;
|
|
388
|
+
audioListening?: {
|
|
389
|
+
providerId: string;
|
|
390
|
+
modelId: string;
|
|
391
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
392
|
+
}[] | undefined;
|
|
256
393
|
voice?: {
|
|
257
|
-
sts:
|
|
258
|
-
|
|
259
|
-
|
|
394
|
+
sts: {
|
|
395
|
+
providerId: string;
|
|
396
|
+
modelId: string;
|
|
397
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
398
|
+
}[];
|
|
399
|
+
tts: {
|
|
400
|
+
providerId: string;
|
|
401
|
+
modelId: string;
|
|
402
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
403
|
+
}[];
|
|
404
|
+
stt: {
|
|
405
|
+
providerId: string;
|
|
406
|
+
modelId: string;
|
|
407
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
408
|
+
}[];
|
|
260
409
|
} | undefined;
|
|
261
410
|
};
|
|
262
411
|
};
|
|
@@ -264,20 +413,53 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
264
413
|
output: {
|
|
265
414
|
error: string;
|
|
266
415
|
code: string;
|
|
416
|
+
remediation?: string | undefined;
|
|
267
417
|
};
|
|
268
418
|
outputFormat: "json";
|
|
269
419
|
status: 500;
|
|
270
420
|
input: {
|
|
271
421
|
json: {
|
|
272
|
-
chat?:
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
422
|
+
chat?: {
|
|
423
|
+
providerId: string;
|
|
424
|
+
modelId: string;
|
|
425
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
426
|
+
}[] | undefined;
|
|
427
|
+
compaction?: {
|
|
428
|
+
providerId: string;
|
|
429
|
+
modelId: string;
|
|
430
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
431
|
+
}[] | undefined;
|
|
432
|
+
memory?: {
|
|
433
|
+
providerId: string;
|
|
434
|
+
modelId: string;
|
|
435
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
436
|
+
}[] | undefined;
|
|
437
|
+
imageVision?: {
|
|
438
|
+
providerId: string;
|
|
439
|
+
modelId: string;
|
|
440
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
441
|
+
}[] | undefined;
|
|
442
|
+
audioListening?: {
|
|
443
|
+
providerId: string;
|
|
444
|
+
modelId: string;
|
|
445
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
446
|
+
}[] | undefined;
|
|
277
447
|
voice?: {
|
|
278
|
-
sts:
|
|
279
|
-
|
|
280
|
-
|
|
448
|
+
sts: {
|
|
449
|
+
providerId: string;
|
|
450
|
+
modelId: string;
|
|
451
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
452
|
+
}[];
|
|
453
|
+
tts: {
|
|
454
|
+
providerId: string;
|
|
455
|
+
modelId: string;
|
|
456
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
457
|
+
}[];
|
|
458
|
+
stt: {
|
|
459
|
+
providerId: string;
|
|
460
|
+
modelId: string;
|
|
461
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
462
|
+
}[];
|
|
281
463
|
} | undefined;
|
|
282
464
|
};
|
|
283
465
|
};
|
|
@@ -296,6 +478,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
296
478
|
output: {
|
|
297
479
|
error: string;
|
|
298
480
|
code: string;
|
|
481
|
+
remediation?: string | undefined;
|
|
299
482
|
};
|
|
300
483
|
outputFormat: "json";
|
|
301
484
|
status: 500;
|
|
@@ -319,6 +502,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
319
502
|
output: {
|
|
320
503
|
error: string;
|
|
321
504
|
code: string;
|
|
505
|
+
remediation?: string | undefined;
|
|
322
506
|
};
|
|
323
507
|
outputFormat: "json";
|
|
324
508
|
status: 400;
|
|
@@ -331,6 +515,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
331
515
|
output: {
|
|
332
516
|
error: string;
|
|
333
517
|
code: string;
|
|
518
|
+
remediation?: string | undefined;
|
|
334
519
|
};
|
|
335
520
|
outputFormat: "json";
|
|
336
521
|
status: 500;
|
|
@@ -362,6 +547,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
362
547
|
output: {
|
|
363
548
|
error: string;
|
|
364
549
|
code: string;
|
|
550
|
+
remediation?: string | undefined;
|
|
365
551
|
};
|
|
366
552
|
outputFormat: "json";
|
|
367
553
|
status: 500;
|
|
@@ -379,6 +565,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
379
565
|
supportsPushNotifications: boolean;
|
|
380
566
|
supportsRealtimeMedia: boolean;
|
|
381
567
|
transport: "http" | "stdio";
|
|
568
|
+
headerNames: string[];
|
|
382
569
|
usesInteractiveOAuth: boolean;
|
|
383
570
|
authorization: {
|
|
384
571
|
id: string;
|
|
@@ -400,6 +587,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
400
587
|
output: {
|
|
401
588
|
error: string;
|
|
402
589
|
code: string;
|
|
590
|
+
remediation?: string | undefined;
|
|
403
591
|
};
|
|
404
592
|
outputFormat: "json";
|
|
405
593
|
status: 500;
|
|
@@ -417,6 +605,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
417
605
|
supportsPushNotifications: boolean;
|
|
418
606
|
supportsRealtimeMedia: boolean;
|
|
419
607
|
transport: "http" | "stdio";
|
|
608
|
+
headerNames: string[];
|
|
420
609
|
usesInteractiveOAuth: boolean;
|
|
421
610
|
authorization: {
|
|
422
611
|
id: string;
|
|
@@ -442,6 +631,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
442
631
|
output: {
|
|
443
632
|
error: string;
|
|
444
633
|
code: string;
|
|
634
|
+
remediation?: string | undefined;
|
|
445
635
|
};
|
|
446
636
|
outputFormat: "json";
|
|
447
637
|
status: 404;
|
|
@@ -454,6 +644,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
454
644
|
output: {
|
|
455
645
|
error: string;
|
|
456
646
|
code: string;
|
|
647
|
+
remediation?: string | undefined;
|
|
457
648
|
};
|
|
458
649
|
outputFormat: "json";
|
|
459
650
|
status: 500;
|
|
@@ -475,6 +666,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
475
666
|
supportsPushNotifications: boolean;
|
|
476
667
|
supportsRealtimeMedia: boolean;
|
|
477
668
|
transport: "http" | "stdio";
|
|
669
|
+
headerNames: string[];
|
|
478
670
|
usesInteractiveOAuth: boolean;
|
|
479
671
|
authorization: {
|
|
480
672
|
id: string;
|
|
@@ -515,6 +707,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
515
707
|
output: {
|
|
516
708
|
error: string;
|
|
517
709
|
code: string;
|
|
710
|
+
remediation?: string | undefined;
|
|
518
711
|
};
|
|
519
712
|
outputFormat: "json";
|
|
520
713
|
status: 400;
|
|
@@ -542,6 +735,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
542
735
|
output: {
|
|
543
736
|
error: string;
|
|
544
737
|
code: string;
|
|
738
|
+
remediation?: string | undefined;
|
|
545
739
|
};
|
|
546
740
|
outputFormat: "json";
|
|
547
741
|
status: 409;
|
|
@@ -569,6 +763,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
569
763
|
output: {
|
|
570
764
|
error: string;
|
|
571
765
|
code: string;
|
|
766
|
+
remediation?: string | undefined;
|
|
572
767
|
};
|
|
573
768
|
outputFormat: "json";
|
|
574
769
|
status: 500;
|
|
@@ -605,6 +800,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
605
800
|
supportsPushNotifications: boolean;
|
|
606
801
|
supportsRealtimeMedia: boolean;
|
|
607
802
|
transport: "http" | "stdio";
|
|
803
|
+
headerNames: string[];
|
|
608
804
|
usesInteractiveOAuth: boolean;
|
|
609
805
|
authorization: {
|
|
610
806
|
id: string;
|
|
@@ -636,8 +832,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
636
832
|
} | undefined;
|
|
637
833
|
} | {
|
|
638
834
|
type?: "http" | "streamable-http" | undefined;
|
|
639
|
-
url
|
|
640
|
-
|
|
835
|
+
url?: string | undefined;
|
|
836
|
+
headerUpdates?: Record<string, string | null> | undefined;
|
|
641
837
|
versionNegotiation?: "auto" | "legacy" | {
|
|
642
838
|
pin: string;
|
|
643
839
|
} | undefined;
|
|
@@ -647,6 +843,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
647
843
|
output: {
|
|
648
844
|
error: string;
|
|
649
845
|
code: string;
|
|
846
|
+
remediation?: string | undefined;
|
|
650
847
|
};
|
|
651
848
|
outputFormat: "json";
|
|
652
849
|
status: 400;
|
|
@@ -665,8 +862,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
665
862
|
} | undefined;
|
|
666
863
|
} | {
|
|
667
864
|
type?: "http" | "streamable-http" | undefined;
|
|
668
|
-
url
|
|
669
|
-
|
|
865
|
+
url?: string | undefined;
|
|
866
|
+
headerUpdates?: Record<string, string | null> | undefined;
|
|
670
867
|
versionNegotiation?: "auto" | "legacy" | {
|
|
671
868
|
pin: string;
|
|
672
869
|
} | undefined;
|
|
@@ -676,6 +873,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
676
873
|
output: {
|
|
677
874
|
error: string;
|
|
678
875
|
code: string;
|
|
876
|
+
remediation?: string | undefined;
|
|
679
877
|
};
|
|
680
878
|
outputFormat: "json";
|
|
681
879
|
status: 404;
|
|
@@ -694,8 +892,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
694
892
|
} | undefined;
|
|
695
893
|
} | {
|
|
696
894
|
type?: "http" | "streamable-http" | undefined;
|
|
697
|
-
url
|
|
698
|
-
|
|
895
|
+
url?: string | undefined;
|
|
896
|
+
headerUpdates?: Record<string, string | null> | undefined;
|
|
699
897
|
versionNegotiation?: "auto" | "legacy" | {
|
|
700
898
|
pin: string;
|
|
701
899
|
} | undefined;
|
|
@@ -705,6 +903,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
705
903
|
output: {
|
|
706
904
|
error: string;
|
|
707
905
|
code: string;
|
|
906
|
+
remediation?: string | undefined;
|
|
708
907
|
};
|
|
709
908
|
outputFormat: "json";
|
|
710
909
|
status: 500;
|
|
@@ -723,8 +922,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
723
922
|
} | undefined;
|
|
724
923
|
} | {
|
|
725
924
|
type?: "http" | "streamable-http" | undefined;
|
|
726
|
-
url
|
|
727
|
-
|
|
925
|
+
url?: string | undefined;
|
|
926
|
+
headerUpdates?: Record<string, string | null> | undefined;
|
|
728
927
|
versionNegotiation?: "auto" | "legacy" | {
|
|
729
928
|
pin: string;
|
|
730
929
|
} | undefined;
|
|
@@ -743,6 +942,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
743
942
|
supportsPushNotifications: boolean;
|
|
744
943
|
supportsRealtimeMedia: boolean;
|
|
745
944
|
transport: "http" | "stdio";
|
|
945
|
+
headerNames: string[];
|
|
746
946
|
usesInteractiveOAuth: boolean;
|
|
747
947
|
authorization: {
|
|
748
948
|
id: string;
|
|
@@ -768,6 +968,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
768
968
|
output: {
|
|
769
969
|
error: string;
|
|
770
970
|
code: string;
|
|
971
|
+
remediation?: string | undefined;
|
|
771
972
|
};
|
|
772
973
|
outputFormat: "json";
|
|
773
974
|
status: 404;
|
|
@@ -780,6 +981,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
780
981
|
output: {
|
|
781
982
|
error: string;
|
|
782
983
|
code: string;
|
|
984
|
+
remediation?: string | undefined;
|
|
783
985
|
};
|
|
784
986
|
outputFormat: "json";
|
|
785
987
|
status: 500;
|
|
@@ -819,6 +1021,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
819
1021
|
output: {
|
|
820
1022
|
error: string;
|
|
821
1023
|
code: string;
|
|
1024
|
+
remediation?: string | undefined;
|
|
822
1025
|
};
|
|
823
1026
|
outputFormat: "json";
|
|
824
1027
|
status: 500;
|
|
@@ -851,6 +1054,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
851
1054
|
output: {
|
|
852
1055
|
error: string;
|
|
853
1056
|
code: string;
|
|
1057
|
+
remediation?: string | undefined;
|
|
854
1058
|
};
|
|
855
1059
|
outputFormat: "json";
|
|
856
1060
|
status: 404;
|
|
@@ -863,6 +1067,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
863
1067
|
output: {
|
|
864
1068
|
error: string;
|
|
865
1069
|
code: string;
|
|
1070
|
+
remediation?: string | undefined;
|
|
866
1071
|
};
|
|
867
1072
|
outputFormat: "json";
|
|
868
1073
|
status: 409;
|
|
@@ -875,6 +1080,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
875
1080
|
output: {
|
|
876
1081
|
error: string;
|
|
877
1082
|
code: string;
|
|
1083
|
+
remediation?: string | undefined;
|
|
878
1084
|
};
|
|
879
1085
|
outputFormat: "json";
|
|
880
1086
|
status: 503;
|
|
@@ -887,6 +1093,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
887
1093
|
output: {
|
|
888
1094
|
error: string;
|
|
889
1095
|
code: string;
|
|
1096
|
+
remediation?: string | undefined;
|
|
890
1097
|
};
|
|
891
1098
|
outputFormat: "json";
|
|
892
1099
|
status: 504;
|
|
@@ -912,6 +1119,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
912
1119
|
output: {
|
|
913
1120
|
error: string;
|
|
914
1121
|
code: string;
|
|
1122
|
+
remediation?: string | undefined;
|
|
915
1123
|
};
|
|
916
1124
|
outputFormat: "json";
|
|
917
1125
|
status: 404;
|
|
@@ -942,6 +1150,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
942
1150
|
output: {
|
|
943
1151
|
error: string;
|
|
944
1152
|
code: string;
|
|
1153
|
+
remediation?: string | undefined;
|
|
945
1154
|
};
|
|
946
1155
|
outputFormat: "json";
|
|
947
1156
|
status: 400;
|
|
@@ -957,6 +1166,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
957
1166
|
output: {
|
|
958
1167
|
error: string;
|
|
959
1168
|
code: string;
|
|
1169
|
+
remediation?: string | undefined;
|
|
960
1170
|
};
|
|
961
1171
|
outputFormat: "json";
|
|
962
1172
|
status: 404;
|
|
@@ -1014,6 +1224,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1014
1224
|
output: {
|
|
1015
1225
|
error: string;
|
|
1016
1226
|
code: string;
|
|
1227
|
+
remediation?: string | undefined;
|
|
1017
1228
|
};
|
|
1018
1229
|
outputFormat: "json";
|
|
1019
1230
|
status: 400;
|
|
@@ -1053,6 +1264,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1053
1264
|
output: {
|
|
1054
1265
|
error: string;
|
|
1055
1266
|
code: string;
|
|
1267
|
+
remediation?: string | undefined;
|
|
1056
1268
|
};
|
|
1057
1269
|
outputFormat: "json";
|
|
1058
1270
|
status: 409;
|
|
@@ -1092,6 +1304,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1092
1304
|
output: {
|
|
1093
1305
|
error: string;
|
|
1094
1306
|
code: string;
|
|
1307
|
+
remediation?: string | undefined;
|
|
1095
1308
|
};
|
|
1096
1309
|
outputFormat: "json";
|
|
1097
1310
|
status: 500;
|
|
@@ -1131,6 +1344,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1131
1344
|
output: {
|
|
1132
1345
|
error: string;
|
|
1133
1346
|
code: string;
|
|
1347
|
+
remediation?: string | undefined;
|
|
1134
1348
|
};
|
|
1135
1349
|
outputFormat: "json";
|
|
1136
1350
|
status: 503;
|
|
@@ -1224,6 +1438,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1224
1438
|
output: {
|
|
1225
1439
|
error: string;
|
|
1226
1440
|
code: string;
|
|
1441
|
+
remediation?: string | undefined;
|
|
1227
1442
|
};
|
|
1228
1443
|
outputFormat: "json";
|
|
1229
1444
|
status: 404;
|
|
@@ -1256,6 +1471,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1256
1471
|
output: {
|
|
1257
1472
|
error: string;
|
|
1258
1473
|
code: string;
|
|
1474
|
+
remediation?: string | undefined;
|
|
1259
1475
|
};
|
|
1260
1476
|
outputFormat: "json";
|
|
1261
1477
|
status: 400;
|
|
@@ -1269,6 +1485,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1269
1485
|
output: {
|
|
1270
1486
|
error: string;
|
|
1271
1487
|
code: string;
|
|
1488
|
+
remediation?: string | undefined;
|
|
1272
1489
|
};
|
|
1273
1490
|
outputFormat: "json";
|
|
1274
1491
|
status: 500;
|
|
@@ -1293,6 +1510,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1293
1510
|
output: {
|
|
1294
1511
|
error: string;
|
|
1295
1512
|
code: string;
|
|
1513
|
+
remediation?: string | undefined;
|
|
1296
1514
|
};
|
|
1297
1515
|
outputFormat: "json";
|
|
1298
1516
|
status: 404;
|
|
@@ -1301,6 +1519,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1301
1519
|
output: {
|
|
1302
1520
|
error: string;
|
|
1303
1521
|
code: string;
|
|
1522
|
+
remediation?: string | undefined;
|
|
1304
1523
|
};
|
|
1305
1524
|
outputFormat: "json";
|
|
1306
1525
|
status: 409;
|
|
@@ -1309,6 +1528,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1309
1528
|
output: {
|
|
1310
1529
|
error: string;
|
|
1311
1530
|
code: string;
|
|
1531
|
+
remediation?: string | undefined;
|
|
1312
1532
|
};
|
|
1313
1533
|
outputFormat: "json";
|
|
1314
1534
|
status: 500;
|
|
@@ -1332,6 +1552,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1332
1552
|
errorCount: number;
|
|
1333
1553
|
id: string | null;
|
|
1334
1554
|
sessionId: string | null;
|
|
1555
|
+
providerType: string | null;
|
|
1335
1556
|
providerId: string | null;
|
|
1336
1557
|
endpointId: string | null;
|
|
1337
1558
|
modelId: string | null;
|
|
@@ -1358,6 +1579,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1358
1579
|
output: {
|
|
1359
1580
|
error: string;
|
|
1360
1581
|
code: string;
|
|
1582
|
+
remediation?: string | undefined;
|
|
1361
1583
|
};
|
|
1362
1584
|
outputFormat: "json";
|
|
1363
1585
|
status: 400;
|
|
@@ -1374,6 +1596,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1374
1596
|
output: {
|
|
1375
1597
|
error: string;
|
|
1376
1598
|
code: string;
|
|
1599
|
+
remediation?: string | undefined;
|
|
1377
1600
|
};
|
|
1378
1601
|
outputFormat: "json";
|
|
1379
1602
|
status: 500;
|
|
@@ -1389,786 +1612,537 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1389
1612
|
};
|
|
1390
1613
|
};
|
|
1391
1614
|
} & {
|
|
1392
|
-
"/v1/
|
|
1615
|
+
"/v1/provider-types": {
|
|
1393
1616
|
$get: {
|
|
1394
1617
|
output: {
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1618
|
+
providerTypes: {
|
|
1619
|
+
displayName: string;
|
|
1620
|
+
description: string;
|
|
1621
|
+
logoSvg?: string | undefined;
|
|
1622
|
+
documentationUrl?: string | undefined;
|
|
1623
|
+
capabilities: {
|
|
1624
|
+
modelDiscovery: boolean;
|
|
1625
|
+
connectivityTest: boolean;
|
|
1626
|
+
customModels: boolean;
|
|
1403
1627
|
};
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
[x: string]: {
|
|
1408
|
-
url: string;
|
|
1409
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1410
|
-
auth: {
|
|
1411
|
-
apiKey?: string | undefined;
|
|
1412
|
-
headers?: {
|
|
1413
|
-
[x: string]: string;
|
|
1414
|
-
} | undefined;
|
|
1415
|
-
};
|
|
1416
|
-
};
|
|
1628
|
+
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";
|
|
1629
|
+
settingsSchema: {
|
|
1630
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1417
1631
|
};
|
|
1418
|
-
}
|
|
1632
|
+
}[];
|
|
1419
1633
|
};
|
|
1420
1634
|
outputFormat: "json";
|
|
1421
1635
|
status: 200;
|
|
1422
1636
|
input: {};
|
|
1423
|
-
} | {
|
|
1424
|
-
output: {
|
|
1425
|
-
error: string;
|
|
1426
|
-
code: string;
|
|
1427
|
-
};
|
|
1428
|
-
outputFormat: "json";
|
|
1429
|
-
status: 500;
|
|
1430
|
-
input: {};
|
|
1431
1637
|
};
|
|
1432
1638
|
};
|
|
1433
1639
|
} & {
|
|
1434
|
-
"/v1/
|
|
1640
|
+
"/v1/provider-types/:type/can-add": {
|
|
1435
1641
|
$post: {
|
|
1436
1642
|
output: {
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
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
|
-
} | {
|
|
1485
|
-
output: {
|
|
1486
|
-
error: string;
|
|
1487
|
-
code: string;
|
|
1488
|
-
};
|
|
1489
|
-
outputFormat: "json";
|
|
1490
|
-
status: 400;
|
|
1491
|
-
input: {
|
|
1492
|
-
json: {
|
|
1493
|
-
name: string;
|
|
1494
|
-
preset: "anthropic" | "google" | "openai";
|
|
1495
|
-
auth: {
|
|
1496
|
-
apiKey?: string | undefined;
|
|
1497
|
-
headers?: Record<string, string> | undefined;
|
|
1498
|
-
};
|
|
1499
|
-
} | {
|
|
1500
|
-
name: string;
|
|
1501
|
-
endpoints: Record<string, {
|
|
1502
|
-
url: string;
|
|
1503
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1504
|
-
auth: {
|
|
1505
|
-
apiKey?: string | undefined;
|
|
1506
|
-
headers?: Record<string, string> | undefined;
|
|
1643
|
+
ok: boolean;
|
|
1644
|
+
code?: string | undefined;
|
|
1645
|
+
message?: string | undefined;
|
|
1646
|
+
provider?: {
|
|
1647
|
+
id: string;
|
|
1648
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
1649
|
+
metadata: {
|
|
1650
|
+
displayName: string;
|
|
1651
|
+
description: string;
|
|
1652
|
+
logoSvg?: string | undefined;
|
|
1653
|
+
documentationUrl?: string | undefined;
|
|
1654
|
+
capabilities: {
|
|
1655
|
+
modelDiscovery: boolean;
|
|
1656
|
+
connectivityTest: boolean;
|
|
1657
|
+
customModels: boolean;
|
|
1507
1658
|
};
|
|
1508
|
-
}>;
|
|
1509
|
-
};
|
|
1510
|
-
};
|
|
1511
|
-
} | {
|
|
1512
|
-
output: {
|
|
1513
|
-
error: string;
|
|
1514
|
-
code: string;
|
|
1515
|
-
};
|
|
1516
|
-
outputFormat: "json";
|
|
1517
|
-
status: 409;
|
|
1518
|
-
input: {
|
|
1519
|
-
json: {
|
|
1520
|
-
name: string;
|
|
1521
|
-
preset: "anthropic" | "google" | "openai";
|
|
1522
|
-
auth: {
|
|
1523
|
-
apiKey?: string | undefined;
|
|
1524
|
-
headers?: Record<string, string> | undefined;
|
|
1525
1659
|
};
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
endpoints: Record<string, {
|
|
1529
|
-
url: string;
|
|
1530
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1531
|
-
auth: {
|
|
1532
|
-
apiKey?: string | undefined;
|
|
1533
|
-
headers?: Record<string, string> | undefined;
|
|
1534
|
-
};
|
|
1535
|
-
}>;
|
|
1536
|
-
};
|
|
1537
|
-
};
|
|
1538
|
-
} | {
|
|
1539
|
-
output: {
|
|
1540
|
-
error: string;
|
|
1541
|
-
code: string;
|
|
1542
|
-
};
|
|
1543
|
-
outputFormat: "json";
|
|
1544
|
-
status: 500;
|
|
1545
|
-
input: {
|
|
1546
|
-
json: {
|
|
1547
|
-
name: string;
|
|
1548
|
-
preset: "anthropic" | "google" | "openai";
|
|
1549
|
-
auth: {
|
|
1550
|
-
apiKey?: string | undefined;
|
|
1551
|
-
headers?: Record<string, string> | undefined;
|
|
1660
|
+
settings: {
|
|
1661
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1552
1662
|
};
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
apiKey?: string | undefined;
|
|
1560
|
-
headers?: Record<string, string> | undefined;
|
|
1663
|
+
operations: {
|
|
1664
|
+
update: {
|
|
1665
|
+
available: boolean;
|
|
1666
|
+
code?: string | undefined;
|
|
1667
|
+
message?: string | undefined;
|
|
1668
|
+
remediation?: string | undefined;
|
|
1561
1669
|
};
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
} & {
|
|
1568
|
-
"/v1/providers/:name": {
|
|
1569
|
-
$patch: {
|
|
1570
|
-
output: {
|
|
1571
|
-
providers: ({
|
|
1572
|
-
name: string;
|
|
1573
|
-
preset: "anthropic" | "google" | "openai";
|
|
1574
|
-
auth: {
|
|
1575
|
-
apiKey?: string | undefined;
|
|
1576
|
-
headers?: {
|
|
1577
|
-
[x: string]: string;
|
|
1578
|
-
} | undefined;
|
|
1579
|
-
};
|
|
1580
|
-
} | {
|
|
1581
|
-
name: string;
|
|
1582
|
-
endpoints: {
|
|
1583
|
-
[x: string]: {
|
|
1584
|
-
url: string;
|
|
1585
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1586
|
-
auth: {
|
|
1587
|
-
apiKey?: string | undefined;
|
|
1588
|
-
headers?: {
|
|
1589
|
-
[x: string]: string;
|
|
1590
|
-
} | undefined;
|
|
1591
|
-
};
|
|
1670
|
+
remove: {
|
|
1671
|
+
available: boolean;
|
|
1672
|
+
code?: string | undefined;
|
|
1673
|
+
message?: string | undefined;
|
|
1674
|
+
remediation?: string | undefined;
|
|
1592
1675
|
};
|
|
1593
1676
|
};
|
|
1594
|
-
}
|
|
1677
|
+
} | undefined;
|
|
1595
1678
|
};
|
|
1596
1679
|
outputFormat: "json";
|
|
1597
1680
|
status: 200;
|
|
1598
1681
|
input: {
|
|
1599
1682
|
param: {
|
|
1600
|
-
|
|
1683
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
1601
1684
|
};
|
|
1602
1685
|
} & {
|
|
1603
1686
|
json: {
|
|
1604
|
-
|
|
1605
|
-
auth?: {
|
|
1606
|
-
apiKey?: string | undefined;
|
|
1607
|
-
headers?: Record<string, string> | undefined;
|
|
1608
|
-
} | undefined;
|
|
1609
|
-
endpoints?: Record<string, {
|
|
1610
|
-
url: string;
|
|
1611
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1612
|
-
auth: {
|
|
1613
|
-
apiKey?: string | undefined;
|
|
1614
|
-
headers?: Record<string, string> | undefined;
|
|
1615
|
-
};
|
|
1616
|
-
}> | undefined;
|
|
1687
|
+
settings: Record<string, unknown>;
|
|
1617
1688
|
};
|
|
1618
1689
|
};
|
|
1619
1690
|
} | {
|
|
1620
1691
|
output: {
|
|
1621
1692
|
error: string;
|
|
1622
1693
|
code: string;
|
|
1694
|
+
remediation?: string | undefined;
|
|
1623
1695
|
};
|
|
1624
1696
|
outputFormat: "json";
|
|
1625
1697
|
status: 400;
|
|
1626
1698
|
input: {
|
|
1627
1699
|
param: {
|
|
1628
|
-
|
|
1700
|
+
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";
|
|
1629
1701
|
};
|
|
1630
1702
|
} & {
|
|
1631
1703
|
json: {
|
|
1632
|
-
|
|
1633
|
-
auth?: {
|
|
1634
|
-
apiKey?: string | undefined;
|
|
1635
|
-
headers?: Record<string, string> | undefined;
|
|
1636
|
-
} | undefined;
|
|
1637
|
-
endpoints?: Record<string, {
|
|
1638
|
-
url: string;
|
|
1639
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1640
|
-
auth: {
|
|
1641
|
-
apiKey?: string | undefined;
|
|
1642
|
-
headers?: Record<string, string> | undefined;
|
|
1643
|
-
};
|
|
1644
|
-
}> | undefined;
|
|
1645
|
-
};
|
|
1646
|
-
};
|
|
1647
|
-
} | {
|
|
1648
|
-
output: {
|
|
1649
|
-
error: string;
|
|
1650
|
-
code: string;
|
|
1651
|
-
};
|
|
1652
|
-
outputFormat: "json";
|
|
1653
|
-
status: 404;
|
|
1654
|
-
input: {
|
|
1655
|
-
param: {
|
|
1656
|
-
name: string;
|
|
1657
|
-
};
|
|
1658
|
-
} & {
|
|
1659
|
-
json: {
|
|
1660
|
-
preset?: "anthropic" | "google" | "openai" | undefined;
|
|
1661
|
-
auth?: {
|
|
1662
|
-
apiKey?: string | undefined;
|
|
1663
|
-
headers?: Record<string, string> | undefined;
|
|
1664
|
-
} | undefined;
|
|
1665
|
-
endpoints?: Record<string, {
|
|
1666
|
-
url: string;
|
|
1667
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1668
|
-
auth: {
|
|
1669
|
-
apiKey?: string | undefined;
|
|
1670
|
-
headers?: Record<string, string> | undefined;
|
|
1671
|
-
};
|
|
1672
|
-
}> | undefined;
|
|
1704
|
+
settings: Record<string, unknown>;
|
|
1673
1705
|
};
|
|
1674
1706
|
};
|
|
1675
1707
|
} | {
|
|
1676
1708
|
output: {
|
|
1677
1709
|
error: string;
|
|
1678
1710
|
code: string;
|
|
1711
|
+
remediation?: string | undefined;
|
|
1679
1712
|
};
|
|
1680
1713
|
outputFormat: "json";
|
|
1681
1714
|
status: 500;
|
|
1682
1715
|
input: {
|
|
1683
1716
|
param: {
|
|
1684
|
-
|
|
1717
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
1685
1718
|
};
|
|
1686
1719
|
} & {
|
|
1687
1720
|
json: {
|
|
1688
|
-
|
|
1689
|
-
auth?: {
|
|
1690
|
-
apiKey?: string | undefined;
|
|
1691
|
-
headers?: Record<string, string> | undefined;
|
|
1692
|
-
} | undefined;
|
|
1693
|
-
endpoints?: Record<string, {
|
|
1694
|
-
url: string;
|
|
1695
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1696
|
-
auth: {
|
|
1697
|
-
apiKey?: string | undefined;
|
|
1698
|
-
headers?: Record<string, string> | undefined;
|
|
1699
|
-
};
|
|
1700
|
-
}> | undefined;
|
|
1721
|
+
settings: Record<string, unknown>;
|
|
1701
1722
|
};
|
|
1702
1723
|
};
|
|
1703
1724
|
};
|
|
1704
1725
|
};
|
|
1705
1726
|
} & {
|
|
1706
|
-
"/v1/providers
|
|
1707
|
-
$
|
|
1727
|
+
"/v1/providers": {
|
|
1728
|
+
$get: {
|
|
1708
1729
|
output: {
|
|
1709
|
-
providers:
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1730
|
+
providers: {
|
|
1731
|
+
id: string;
|
|
1732
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
1733
|
+
metadata: {
|
|
1734
|
+
displayName: string;
|
|
1735
|
+
description: string;
|
|
1736
|
+
logoSvg?: string | undefined;
|
|
1737
|
+
documentationUrl?: string | undefined;
|
|
1738
|
+
capabilities: {
|
|
1739
|
+
modelDiscovery: boolean;
|
|
1740
|
+
connectivityTest: boolean;
|
|
1741
|
+
customModels: boolean;
|
|
1742
|
+
};
|
|
1717
1743
|
};
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1744
|
+
settings: {
|
|
1745
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1746
|
+
};
|
|
1747
|
+
operations: {
|
|
1748
|
+
update: {
|
|
1749
|
+
available: boolean;
|
|
1750
|
+
code?: string | undefined;
|
|
1751
|
+
message?: string | undefined;
|
|
1752
|
+
remediation?: string | undefined;
|
|
1753
|
+
};
|
|
1754
|
+
remove: {
|
|
1755
|
+
available: boolean;
|
|
1756
|
+
code?: string | undefined;
|
|
1757
|
+
message?: string | undefined;
|
|
1758
|
+
remediation?: string | undefined;
|
|
1730
1759
|
};
|
|
1731
1760
|
};
|
|
1732
|
-
}
|
|
1761
|
+
}[];
|
|
1733
1762
|
};
|
|
1734
1763
|
outputFormat: "json";
|
|
1735
1764
|
status: 200;
|
|
1736
|
-
input: {
|
|
1737
|
-
param: {
|
|
1738
|
-
name: string;
|
|
1739
|
-
};
|
|
1740
|
-
};
|
|
1741
|
-
} | {
|
|
1742
|
-
output: {
|
|
1743
|
-
error: string;
|
|
1744
|
-
code: string;
|
|
1745
|
-
};
|
|
1746
|
-
outputFormat: "json";
|
|
1747
|
-
status: 400;
|
|
1748
|
-
input: {
|
|
1749
|
-
param: {
|
|
1750
|
-
name: string;
|
|
1751
|
-
};
|
|
1752
|
-
};
|
|
1753
|
-
} | {
|
|
1754
|
-
output: {
|
|
1755
|
-
error: string;
|
|
1756
|
-
code: string;
|
|
1757
|
-
};
|
|
1758
|
-
outputFormat: "json";
|
|
1759
|
-
status: 404;
|
|
1760
|
-
input: {
|
|
1761
|
-
param: {
|
|
1762
|
-
name: string;
|
|
1763
|
-
};
|
|
1764
|
-
};
|
|
1765
|
-
} | {
|
|
1766
|
-
output: {
|
|
1767
|
-
error: string;
|
|
1768
|
-
code: string;
|
|
1769
|
-
};
|
|
1770
|
-
outputFormat: "json";
|
|
1771
|
-
status: 409;
|
|
1772
|
-
input: {
|
|
1773
|
-
param: {
|
|
1774
|
-
name: string;
|
|
1775
|
-
};
|
|
1776
|
-
};
|
|
1777
|
-
} | {
|
|
1778
|
-
output: {
|
|
1779
|
-
error: string;
|
|
1780
|
-
code: string;
|
|
1781
|
-
};
|
|
1782
|
-
outputFormat: "json";
|
|
1783
|
-
status: 500;
|
|
1784
|
-
input: {
|
|
1785
|
-
param: {
|
|
1786
|
-
name: string;
|
|
1787
|
-
};
|
|
1788
|
-
};
|
|
1765
|
+
input: {};
|
|
1789
1766
|
};
|
|
1790
1767
|
};
|
|
1791
1768
|
} & {
|
|
1792
|
-
"/v1/providers
|
|
1793
|
-
$
|
|
1769
|
+
"/v1/providers": {
|
|
1770
|
+
$post: {
|
|
1794
1771
|
output: {
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1772
|
+
ok: boolean;
|
|
1773
|
+
code?: string | undefined;
|
|
1774
|
+
message?: string | undefined;
|
|
1775
|
+
provider?: {
|
|
1776
|
+
id: string;
|
|
1777
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
1778
|
+
metadata: {
|
|
1779
|
+
displayName: string;
|
|
1780
|
+
description: string;
|
|
1781
|
+
logoSvg?: string | undefined;
|
|
1782
|
+
documentationUrl?: string | undefined;
|
|
1783
|
+
capabilities: {
|
|
1784
|
+
modelDiscovery: boolean;
|
|
1785
|
+
connectivityTest: boolean;
|
|
1786
|
+
customModels: boolean;
|
|
1787
|
+
};
|
|
1804
1788
|
};
|
|
1805
|
-
|
|
1789
|
+
settings: {
|
|
1790
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1791
|
+
};
|
|
1792
|
+
operations: {
|
|
1793
|
+
update: {
|
|
1794
|
+
available: boolean;
|
|
1795
|
+
code?: string | undefined;
|
|
1796
|
+
message?: string | undefined;
|
|
1797
|
+
remediation?: string | undefined;
|
|
1798
|
+
};
|
|
1799
|
+
remove: {
|
|
1800
|
+
available: boolean;
|
|
1801
|
+
code?: string | undefined;
|
|
1802
|
+
message?: string | undefined;
|
|
1803
|
+
remediation?: string | undefined;
|
|
1804
|
+
};
|
|
1805
|
+
};
|
|
1806
|
+
} | undefined;
|
|
1806
1807
|
};
|
|
1807
1808
|
outputFormat: "json";
|
|
1808
|
-
status:
|
|
1809
|
+
status: 201;
|
|
1809
1810
|
input: {
|
|
1810
|
-
|
|
1811
|
-
|
|
1811
|
+
json: {
|
|
1812
|
+
id: string;
|
|
1813
|
+
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";
|
|
1814
|
+
settings: Record<string, unknown>;
|
|
1812
1815
|
};
|
|
1813
1816
|
};
|
|
1814
1817
|
} | {
|
|
1815
1818
|
output: {
|
|
1816
1819
|
error: string;
|
|
1817
1820
|
code: string;
|
|
1821
|
+
remediation?: string | undefined;
|
|
1818
1822
|
};
|
|
1819
1823
|
outputFormat: "json";
|
|
1820
1824
|
status: 400;
|
|
1821
1825
|
input: {
|
|
1822
|
-
|
|
1823
|
-
|
|
1826
|
+
json: {
|
|
1827
|
+
id: string;
|
|
1828
|
+
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";
|
|
1829
|
+
settings: Record<string, unknown>;
|
|
1824
1830
|
};
|
|
1825
1831
|
};
|
|
1826
1832
|
} | {
|
|
1827
1833
|
output: {
|
|
1828
1834
|
error: string;
|
|
1829
1835
|
code: string;
|
|
1836
|
+
remediation?: string | undefined;
|
|
1830
1837
|
};
|
|
1831
1838
|
outputFormat: "json";
|
|
1832
|
-
status:
|
|
1839
|
+
status: 409;
|
|
1833
1840
|
input: {
|
|
1834
|
-
|
|
1835
|
-
|
|
1841
|
+
json: {
|
|
1842
|
+
id: string;
|
|
1843
|
+
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";
|
|
1844
|
+
settings: Record<string, unknown>;
|
|
1836
1845
|
};
|
|
1837
1846
|
};
|
|
1838
1847
|
} | {
|
|
1839
1848
|
output: {
|
|
1840
1849
|
error: string;
|
|
1841
1850
|
code: string;
|
|
1851
|
+
remediation?: string | undefined;
|
|
1842
1852
|
};
|
|
1843
1853
|
outputFormat: "json";
|
|
1844
1854
|
status: 500;
|
|
1845
1855
|
input: {
|
|
1846
|
-
|
|
1847
|
-
|
|
1856
|
+
json: {
|
|
1857
|
+
id: string;
|
|
1858
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
1859
|
+
settings: Record<string, unknown>;
|
|
1848
1860
|
};
|
|
1849
1861
|
};
|
|
1850
1862
|
};
|
|
1851
1863
|
};
|
|
1852
1864
|
} & {
|
|
1853
|
-
"/v1/providers/:
|
|
1854
|
-
$
|
|
1865
|
+
"/v1/providers/:id": {
|
|
1866
|
+
$patch: {
|
|
1855
1867
|
output: {
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1868
|
+
ok: boolean;
|
|
1869
|
+
code?: string | undefined;
|
|
1870
|
+
message?: string | undefined;
|
|
1871
|
+
provider?: {
|
|
1872
|
+
id: string;
|
|
1873
|
+
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";
|
|
1874
|
+
metadata: {
|
|
1875
|
+
displayName: string;
|
|
1876
|
+
description: string;
|
|
1877
|
+
logoSvg?: string | undefined;
|
|
1878
|
+
documentationUrl?: string | undefined;
|
|
1879
|
+
capabilities: {
|
|
1880
|
+
modelDiscovery: boolean;
|
|
1881
|
+
connectivityTest: boolean;
|
|
1882
|
+
customModels: boolean;
|
|
1883
|
+
};
|
|
1865
1884
|
};
|
|
1866
|
-
|
|
1885
|
+
settings: {
|
|
1886
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1887
|
+
};
|
|
1888
|
+
operations: {
|
|
1889
|
+
update: {
|
|
1890
|
+
available: boolean;
|
|
1891
|
+
code?: string | undefined;
|
|
1892
|
+
message?: string | undefined;
|
|
1893
|
+
remediation?: string | undefined;
|
|
1894
|
+
};
|
|
1895
|
+
remove: {
|
|
1896
|
+
available: boolean;
|
|
1897
|
+
code?: string | undefined;
|
|
1898
|
+
message?: string | undefined;
|
|
1899
|
+
remediation?: string | undefined;
|
|
1900
|
+
};
|
|
1901
|
+
};
|
|
1902
|
+
} | undefined;
|
|
1867
1903
|
};
|
|
1868
1904
|
outputFormat: "json";
|
|
1869
|
-
status:
|
|
1905
|
+
status: 200;
|
|
1870
1906
|
input: {
|
|
1871
1907
|
param: {
|
|
1872
|
-
|
|
1908
|
+
id: string;
|
|
1873
1909
|
};
|
|
1874
1910
|
} & {
|
|
1875
1911
|
json: {
|
|
1876
|
-
|
|
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
|
-
};
|
|
1912
|
+
settings?: Record<string, unknown> | undefined;
|
|
1883
1913
|
};
|
|
1884
1914
|
};
|
|
1885
1915
|
} | {
|
|
1886
1916
|
output: {
|
|
1887
1917
|
error: string;
|
|
1888
1918
|
code: string;
|
|
1919
|
+
remediation?: string | undefined;
|
|
1889
1920
|
};
|
|
1890
1921
|
outputFormat: "json";
|
|
1891
1922
|
status: 400;
|
|
1892
1923
|
input: {
|
|
1893
1924
|
param: {
|
|
1894
|
-
|
|
1925
|
+
id: string;
|
|
1895
1926
|
};
|
|
1896
1927
|
} & {
|
|
1897
1928
|
json: {
|
|
1898
|
-
|
|
1899
|
-
url: string;
|
|
1900
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1901
|
-
auth: {
|
|
1902
|
-
apiKey?: string | undefined;
|
|
1903
|
-
headers?: Record<string, string> | undefined;
|
|
1904
|
-
};
|
|
1929
|
+
settings?: Record<string, unknown> | undefined;
|
|
1905
1930
|
};
|
|
1906
1931
|
};
|
|
1907
1932
|
} | {
|
|
1908
1933
|
output: {
|
|
1909
1934
|
error: string;
|
|
1910
1935
|
code: string;
|
|
1936
|
+
remediation?: string | undefined;
|
|
1911
1937
|
};
|
|
1912
1938
|
outputFormat: "json";
|
|
1913
1939
|
status: 404;
|
|
1914
1940
|
input: {
|
|
1915
1941
|
param: {
|
|
1916
|
-
|
|
1917
|
-
};
|
|
1918
|
-
} & {
|
|
1919
|
-
json: {
|
|
1920
|
-
name: string;
|
|
1921
|
-
url: string;
|
|
1922
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1923
|
-
auth: {
|
|
1924
|
-
apiKey?: string | undefined;
|
|
1925
|
-
headers?: Record<string, string> | undefined;
|
|
1926
|
-
};
|
|
1927
|
-
};
|
|
1928
|
-
};
|
|
1929
|
-
} | {
|
|
1930
|
-
output: {
|
|
1931
|
-
error: string;
|
|
1932
|
-
code: string;
|
|
1933
|
-
};
|
|
1934
|
-
outputFormat: "json";
|
|
1935
|
-
status: 409;
|
|
1936
|
-
input: {
|
|
1937
|
-
param: {
|
|
1938
|
-
name: string;
|
|
1942
|
+
id: string;
|
|
1939
1943
|
};
|
|
1940
1944
|
} & {
|
|
1941
1945
|
json: {
|
|
1942
|
-
|
|
1943
|
-
url: string;
|
|
1944
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1945
|
-
auth: {
|
|
1946
|
-
apiKey?: string | undefined;
|
|
1947
|
-
headers?: Record<string, string> | undefined;
|
|
1948
|
-
};
|
|
1946
|
+
settings?: Record<string, unknown> | undefined;
|
|
1949
1947
|
};
|
|
1950
1948
|
};
|
|
1951
1949
|
} | {
|
|
1952
1950
|
output: {
|
|
1953
1951
|
error: string;
|
|
1954
1952
|
code: string;
|
|
1953
|
+
remediation?: string | undefined;
|
|
1955
1954
|
};
|
|
1956
1955
|
outputFormat: "json";
|
|
1957
1956
|
status: 500;
|
|
1958
1957
|
input: {
|
|
1959
1958
|
param: {
|
|
1960
|
-
|
|
1959
|
+
id: string;
|
|
1961
1960
|
};
|
|
1962
1961
|
} & {
|
|
1963
1962
|
json: {
|
|
1964
|
-
|
|
1965
|
-
url: string;
|
|
1966
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
1967
|
-
auth: {
|
|
1968
|
-
apiKey?: string | undefined;
|
|
1969
|
-
headers?: Record<string, string> | undefined;
|
|
1970
|
-
};
|
|
1963
|
+
settings?: Record<string, unknown> | undefined;
|
|
1971
1964
|
};
|
|
1972
1965
|
};
|
|
1973
1966
|
};
|
|
1974
1967
|
};
|
|
1975
1968
|
} & {
|
|
1976
|
-
"/v1/providers/:
|
|
1977
|
-
$
|
|
1969
|
+
"/v1/providers/:id": {
|
|
1970
|
+
$delete: {
|
|
1978
1971
|
output: {
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1972
|
+
ok: boolean;
|
|
1973
|
+
code?: string | undefined;
|
|
1974
|
+
message?: string | undefined;
|
|
1975
|
+
provider?: {
|
|
1976
|
+
id: string;
|
|
1977
|
+
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";
|
|
1978
|
+
metadata: {
|
|
1979
|
+
displayName: string;
|
|
1980
|
+
description: string;
|
|
1981
|
+
logoSvg?: string | undefined;
|
|
1982
|
+
documentationUrl?: string | undefined;
|
|
1983
|
+
capabilities: {
|
|
1984
|
+
modelDiscovery: boolean;
|
|
1985
|
+
connectivityTest: boolean;
|
|
1986
|
+
customModels: boolean;
|
|
1987
|
+
};
|
|
1988
1988
|
};
|
|
1989
|
-
|
|
1989
|
+
settings: {
|
|
1990
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1991
|
+
};
|
|
1992
|
+
operations: {
|
|
1993
|
+
update: {
|
|
1994
|
+
available: boolean;
|
|
1995
|
+
code?: string | undefined;
|
|
1996
|
+
message?: string | undefined;
|
|
1997
|
+
remediation?: string | undefined;
|
|
1998
|
+
};
|
|
1999
|
+
remove: {
|
|
2000
|
+
available: boolean;
|
|
2001
|
+
code?: string | undefined;
|
|
2002
|
+
message?: string | undefined;
|
|
2003
|
+
remediation?: string | undefined;
|
|
2004
|
+
};
|
|
2005
|
+
};
|
|
2006
|
+
} | undefined;
|
|
1990
2007
|
};
|
|
1991
2008
|
outputFormat: "json";
|
|
1992
2009
|
status: 200;
|
|
1993
2010
|
input: {
|
|
1994
2011
|
param: {
|
|
1995
|
-
|
|
1996
|
-
endpointName: string;
|
|
1997
|
-
};
|
|
1998
|
-
} & {
|
|
1999
|
-
json: {
|
|
2000
|
-
url?: string | undefined;
|
|
2001
|
-
format?: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions" | undefined;
|
|
2002
|
-
auth?: {
|
|
2003
|
-
apiKey?: string | undefined;
|
|
2004
|
-
headers?: Record<string, string> | undefined;
|
|
2005
|
-
} | undefined;
|
|
2012
|
+
id: string;
|
|
2006
2013
|
};
|
|
2007
2014
|
};
|
|
2008
2015
|
} | {
|
|
2009
2016
|
output: {
|
|
2010
2017
|
error: string;
|
|
2011
2018
|
code: string;
|
|
2019
|
+
remediation?: string | undefined;
|
|
2012
2020
|
};
|
|
2013
2021
|
outputFormat: "json";
|
|
2014
2022
|
status: 400;
|
|
2015
2023
|
input: {
|
|
2016
2024
|
param: {
|
|
2017
|
-
|
|
2018
|
-
endpointName: string;
|
|
2019
|
-
};
|
|
2020
|
-
} & {
|
|
2021
|
-
json: {
|
|
2022
|
-
url?: string | undefined;
|
|
2023
|
-
format?: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions" | undefined;
|
|
2024
|
-
auth?: {
|
|
2025
|
-
apiKey?: string | undefined;
|
|
2026
|
-
headers?: Record<string, string> | undefined;
|
|
2027
|
-
} | undefined;
|
|
2025
|
+
id: string;
|
|
2028
2026
|
};
|
|
2029
2027
|
};
|
|
2030
2028
|
} | {
|
|
2031
2029
|
output: {
|
|
2032
2030
|
error: string;
|
|
2033
2031
|
code: string;
|
|
2032
|
+
remediation?: string | undefined;
|
|
2034
2033
|
};
|
|
2035
2034
|
outputFormat: "json";
|
|
2036
2035
|
status: 404;
|
|
2037
2036
|
input: {
|
|
2038
2037
|
param: {
|
|
2039
|
-
|
|
2040
|
-
endpointName: string;
|
|
2038
|
+
id: string;
|
|
2041
2039
|
};
|
|
2042
|
-
}
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2040
|
+
};
|
|
2041
|
+
} | {
|
|
2042
|
+
output: {
|
|
2043
|
+
error: string;
|
|
2044
|
+
code: string;
|
|
2045
|
+
remediation?: string | undefined;
|
|
2046
|
+
};
|
|
2047
|
+
outputFormat: "json";
|
|
2048
|
+
status: 409;
|
|
2049
|
+
input: {
|
|
2050
|
+
param: {
|
|
2051
|
+
id: string;
|
|
2050
2052
|
};
|
|
2051
2053
|
};
|
|
2052
2054
|
} | {
|
|
2053
2055
|
output: {
|
|
2054
2056
|
error: string;
|
|
2055
2057
|
code: string;
|
|
2058
|
+
remediation?: string | undefined;
|
|
2056
2059
|
};
|
|
2057
2060
|
outputFormat: "json";
|
|
2058
2061
|
status: 500;
|
|
2059
2062
|
input: {
|
|
2060
2063
|
param: {
|
|
2061
|
-
|
|
2062
|
-
endpointName: string;
|
|
2063
|
-
};
|
|
2064
|
-
} & {
|
|
2065
|
-
json: {
|
|
2066
|
-
url?: string | undefined;
|
|
2067
|
-
format?: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions" | undefined;
|
|
2068
|
-
auth?: {
|
|
2069
|
-
apiKey?: string | undefined;
|
|
2070
|
-
headers?: Record<string, string> | undefined;
|
|
2071
|
-
} | undefined;
|
|
2064
|
+
id: string;
|
|
2072
2065
|
};
|
|
2073
2066
|
};
|
|
2074
2067
|
};
|
|
2075
2068
|
};
|
|
2076
2069
|
} & {
|
|
2077
|
-
"/v1/providers/:
|
|
2078
|
-
$
|
|
2070
|
+
"/v1/providers/:id/test": {
|
|
2071
|
+
$post: {
|
|
2079
2072
|
output: {
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
url: string;
|
|
2083
|
-
format: "anthropic" | "chat-completions" | "google" | "messages" | "open-responses" | "openai" | "realtime" | "speech" | "transcriptions";
|
|
2084
|
-
auth: {
|
|
2085
|
-
apiKey?: string | undefined;
|
|
2086
|
-
headers?: {
|
|
2087
|
-
[x: string]: string;
|
|
2088
|
-
} | undefined;
|
|
2089
|
-
};
|
|
2090
|
-
}[];
|
|
2073
|
+
latencyMs: number;
|
|
2074
|
+
target?: string | undefined;
|
|
2091
2075
|
};
|
|
2092
2076
|
outputFormat: "json";
|
|
2093
2077
|
status: 200;
|
|
2094
2078
|
input: {
|
|
2095
2079
|
param: {
|
|
2096
|
-
|
|
2097
|
-
endpointName: string;
|
|
2080
|
+
id: string;
|
|
2098
2081
|
};
|
|
2099
2082
|
};
|
|
2100
2083
|
} | {
|
|
2101
2084
|
output: {
|
|
2102
2085
|
error: string;
|
|
2103
2086
|
code: string;
|
|
2087
|
+
remediation?: string | undefined;
|
|
2104
2088
|
};
|
|
2105
2089
|
outputFormat: "json";
|
|
2106
2090
|
status: 400;
|
|
2107
2091
|
input: {
|
|
2108
2092
|
param: {
|
|
2109
|
-
|
|
2110
|
-
endpointName: string;
|
|
2093
|
+
id: string;
|
|
2111
2094
|
};
|
|
2112
2095
|
};
|
|
2113
2096
|
} | {
|
|
2114
2097
|
output: {
|
|
2115
2098
|
error: string;
|
|
2116
2099
|
code: string;
|
|
2100
|
+
remediation?: string | undefined;
|
|
2117
2101
|
};
|
|
2118
2102
|
outputFormat: "json";
|
|
2119
2103
|
status: 404;
|
|
2120
2104
|
input: {
|
|
2121
2105
|
param: {
|
|
2122
|
-
|
|
2123
|
-
endpointName: string;
|
|
2124
|
-
};
|
|
2125
|
-
};
|
|
2126
|
-
} | {
|
|
2127
|
-
output: {
|
|
2128
|
-
error: string;
|
|
2129
|
-
code: string;
|
|
2130
|
-
};
|
|
2131
|
-
outputFormat: "json";
|
|
2132
|
-
status: 409;
|
|
2133
|
-
input: {
|
|
2134
|
-
param: {
|
|
2135
|
-
name: string;
|
|
2136
|
-
endpointName: string;
|
|
2106
|
+
id: string;
|
|
2137
2107
|
};
|
|
2138
2108
|
};
|
|
2139
2109
|
} | {
|
|
2140
2110
|
output: {
|
|
2141
2111
|
error: string;
|
|
2142
2112
|
code: string;
|
|
2113
|
+
remediation?: string | undefined;
|
|
2143
2114
|
};
|
|
2144
2115
|
outputFormat: "json";
|
|
2145
2116
|
status: 500;
|
|
2146
2117
|
input: {
|
|
2147
2118
|
param: {
|
|
2148
|
-
|
|
2149
|
-
endpointName: string;
|
|
2119
|
+
id: string;
|
|
2150
2120
|
};
|
|
2151
2121
|
};
|
|
2152
2122
|
};
|
|
2153
2123
|
};
|
|
2154
2124
|
} & {
|
|
2155
|
-
"/v1/providers/:
|
|
2125
|
+
"/v1/providers/:id/models": {
|
|
2156
2126
|
$get: {
|
|
2157
2127
|
output: {
|
|
2158
2128
|
models: {
|
|
2159
2129
|
modelId: string;
|
|
2160
|
-
|
|
2130
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2161
2131
|
displayName?: string | undefined;
|
|
2162
2132
|
contextSize?: number | undefined;
|
|
2163
2133
|
capabilities?: {
|
|
2164
2134
|
input?: {
|
|
2165
2135
|
image?: {
|
|
2166
|
-
mediaTypes
|
|
2167
|
-
maxBytes
|
|
2136
|
+
mediaTypes?: string[] | undefined;
|
|
2137
|
+
maxBytes?: number | undefined;
|
|
2138
|
+
maxWidth?: number | undefined;
|
|
2139
|
+
maxHeight?: number | undefined;
|
|
2140
|
+
maxTotalPixels?: number | undefined;
|
|
2168
2141
|
} | undefined;
|
|
2169
2142
|
audio?: {
|
|
2170
|
-
mediaTypes
|
|
2171
|
-
maxBytes
|
|
2143
|
+
mediaTypes?: string[] | undefined;
|
|
2144
|
+
maxBytes?: number | undefined;
|
|
2145
|
+
maxLengthSeconds?: number | undefined;
|
|
2172
2146
|
} | undefined;
|
|
2173
2147
|
} | undefined;
|
|
2174
2148
|
voice?: {
|
|
@@ -2176,88 +2150,103 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2176
2150
|
tts?: boolean | undefined;
|
|
2177
2151
|
stt?: boolean | undefined;
|
|
2178
2152
|
} | undefined;
|
|
2153
|
+
tools?: boolean | undefined;
|
|
2154
|
+
reasoning?: boolean | undefined;
|
|
2179
2155
|
} | undefined;
|
|
2156
|
+
source: "discovered" | "manual" | "merged";
|
|
2157
|
+
provenance?: {
|
|
2158
|
+
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|
|
2159
|
+
documentationUrl?: string | undefined;
|
|
2160
|
+
reviewedAt?: string | undefined;
|
|
2161
|
+
}[] | undefined;
|
|
2180
2162
|
}[];
|
|
2181
2163
|
};
|
|
2182
2164
|
outputFormat: "json";
|
|
2183
2165
|
status: 200;
|
|
2184
2166
|
input: {
|
|
2185
2167
|
param: {
|
|
2186
|
-
|
|
2168
|
+
id: string;
|
|
2187
2169
|
};
|
|
2188
2170
|
} & {
|
|
2189
2171
|
query: {
|
|
2190
|
-
|
|
2172
|
+
refresh?: "false" | "true" | undefined;
|
|
2191
2173
|
};
|
|
2192
2174
|
};
|
|
2193
2175
|
} | {
|
|
2194
2176
|
output: {
|
|
2195
2177
|
error: string;
|
|
2196
2178
|
code: string;
|
|
2179
|
+
remediation?: string | undefined;
|
|
2197
2180
|
};
|
|
2198
2181
|
outputFormat: "json";
|
|
2199
2182
|
status: 400;
|
|
2200
2183
|
input: {
|
|
2201
2184
|
param: {
|
|
2202
|
-
|
|
2185
|
+
id: string;
|
|
2203
2186
|
};
|
|
2204
2187
|
} & {
|
|
2205
2188
|
query: {
|
|
2206
|
-
|
|
2189
|
+
refresh?: "false" | "true" | undefined;
|
|
2207
2190
|
};
|
|
2208
2191
|
};
|
|
2209
2192
|
} | {
|
|
2210
2193
|
output: {
|
|
2211
2194
|
error: string;
|
|
2212
2195
|
code: string;
|
|
2196
|
+
remediation?: string | undefined;
|
|
2213
2197
|
};
|
|
2214
2198
|
outputFormat: "json";
|
|
2215
2199
|
status: 404;
|
|
2216
2200
|
input: {
|
|
2217
2201
|
param: {
|
|
2218
|
-
|
|
2202
|
+
id: string;
|
|
2219
2203
|
};
|
|
2220
2204
|
} & {
|
|
2221
2205
|
query: {
|
|
2222
|
-
|
|
2206
|
+
refresh?: "false" | "true" | undefined;
|
|
2223
2207
|
};
|
|
2224
2208
|
};
|
|
2225
2209
|
} | {
|
|
2226
2210
|
output: {
|
|
2227
2211
|
error: string;
|
|
2228
2212
|
code: string;
|
|
2213
|
+
remediation?: string | undefined;
|
|
2229
2214
|
};
|
|
2230
2215
|
outputFormat: "json";
|
|
2231
2216
|
status: 500;
|
|
2232
2217
|
input: {
|
|
2233
2218
|
param: {
|
|
2234
|
-
|
|
2219
|
+
id: string;
|
|
2235
2220
|
};
|
|
2236
2221
|
} & {
|
|
2237
2222
|
query: {
|
|
2238
|
-
|
|
2223
|
+
refresh?: "false" | "true" | undefined;
|
|
2239
2224
|
};
|
|
2240
2225
|
};
|
|
2241
2226
|
};
|
|
2242
2227
|
};
|
|
2243
2228
|
} & {
|
|
2244
|
-
"/v1/providers/:
|
|
2229
|
+
"/v1/providers/:id/models": {
|
|
2245
2230
|
$post: {
|
|
2246
2231
|
output: {
|
|
2247
2232
|
models: {
|
|
2248
2233
|
modelId: string;
|
|
2249
|
-
|
|
2234
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2250
2235
|
displayName?: string | undefined;
|
|
2251
2236
|
contextSize?: number | undefined;
|
|
2252
2237
|
capabilities?: {
|
|
2253
2238
|
input?: {
|
|
2254
2239
|
image?: {
|
|
2255
|
-
mediaTypes
|
|
2256
|
-
maxBytes
|
|
2240
|
+
mediaTypes?: string[] | undefined;
|
|
2241
|
+
maxBytes?: number | undefined;
|
|
2242
|
+
maxWidth?: number | undefined;
|
|
2243
|
+
maxHeight?: number | undefined;
|
|
2244
|
+
maxTotalPixels?: number | undefined;
|
|
2257
2245
|
} | undefined;
|
|
2258
2246
|
audio?: {
|
|
2259
|
-
mediaTypes
|
|
2260
|
-
maxBytes
|
|
2247
|
+
mediaTypes?: string[] | undefined;
|
|
2248
|
+
maxBytes?: number | undefined;
|
|
2249
|
+
maxLengthSeconds?: number | undefined;
|
|
2261
2250
|
} | undefined;
|
|
2262
2251
|
} | undefined;
|
|
2263
2252
|
voice?: {
|
|
@@ -2265,30 +2254,42 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2265
2254
|
tts?: boolean | undefined;
|
|
2266
2255
|
stt?: boolean | undefined;
|
|
2267
2256
|
} | undefined;
|
|
2257
|
+
tools?: boolean | undefined;
|
|
2258
|
+
reasoning?: boolean | undefined;
|
|
2268
2259
|
} | undefined;
|
|
2260
|
+
source: "discovered" | "manual" | "merged";
|
|
2261
|
+
provenance?: {
|
|
2262
|
+
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|
|
2263
|
+
documentationUrl?: string | undefined;
|
|
2264
|
+
reviewedAt?: string | undefined;
|
|
2265
|
+
}[] | undefined;
|
|
2269
2266
|
}[];
|
|
2270
2267
|
};
|
|
2271
2268
|
outputFormat: "json";
|
|
2272
|
-
status:
|
|
2269
|
+
status: 200;
|
|
2273
2270
|
input: {
|
|
2274
2271
|
param: {
|
|
2275
|
-
|
|
2272
|
+
id: string;
|
|
2276
2273
|
};
|
|
2277
2274
|
} & {
|
|
2278
2275
|
json: {
|
|
2279
2276
|
modelId: string;
|
|
2280
|
-
|
|
2277
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2281
2278
|
displayName?: string | undefined;
|
|
2282
2279
|
contextSize?: number | undefined;
|
|
2283
2280
|
capabilities?: {
|
|
2284
2281
|
input?: {
|
|
2285
2282
|
image?: {
|
|
2286
|
-
mediaTypes
|
|
2287
|
-
maxBytes
|
|
2283
|
+
mediaTypes?: string[] | undefined;
|
|
2284
|
+
maxBytes?: number | undefined;
|
|
2285
|
+
maxWidth?: number | undefined;
|
|
2286
|
+
maxHeight?: number | undefined;
|
|
2287
|
+
maxTotalPixels?: number | undefined;
|
|
2288
2288
|
} | undefined;
|
|
2289
2289
|
audio?: {
|
|
2290
|
-
mediaTypes
|
|
2291
|
-
maxBytes
|
|
2290
|
+
mediaTypes?: string[] | undefined;
|
|
2291
|
+
maxBytes?: number | undefined;
|
|
2292
|
+
maxLengthSeconds?: number | undefined;
|
|
2292
2293
|
} | undefined;
|
|
2293
2294
|
} | undefined;
|
|
2294
2295
|
voice?: {
|
|
@@ -2296,6 +2297,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2296
2297
|
tts?: boolean | undefined;
|
|
2297
2298
|
stt?: boolean | undefined;
|
|
2298
2299
|
} | undefined;
|
|
2300
|
+
tools?: boolean | undefined;
|
|
2301
|
+
reasoning?: boolean | undefined;
|
|
2299
2302
|
} | undefined;
|
|
2300
2303
|
};
|
|
2301
2304
|
};
|
|
@@ -2303,28 +2306,33 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2303
2306
|
output: {
|
|
2304
2307
|
error: string;
|
|
2305
2308
|
code: string;
|
|
2309
|
+
remediation?: string | undefined;
|
|
2306
2310
|
};
|
|
2307
2311
|
outputFormat: "json";
|
|
2308
2312
|
status: 400;
|
|
2309
2313
|
input: {
|
|
2310
2314
|
param: {
|
|
2311
|
-
|
|
2315
|
+
id: string;
|
|
2312
2316
|
};
|
|
2313
2317
|
} & {
|
|
2314
2318
|
json: {
|
|
2315
2319
|
modelId: string;
|
|
2316
|
-
|
|
2320
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2317
2321
|
displayName?: string | undefined;
|
|
2318
2322
|
contextSize?: number | undefined;
|
|
2319
2323
|
capabilities?: {
|
|
2320
2324
|
input?: {
|
|
2321
2325
|
image?: {
|
|
2322
|
-
mediaTypes
|
|
2323
|
-
maxBytes
|
|
2326
|
+
mediaTypes?: string[] | undefined;
|
|
2327
|
+
maxBytes?: number | undefined;
|
|
2328
|
+
maxWidth?: number | undefined;
|
|
2329
|
+
maxHeight?: number | undefined;
|
|
2330
|
+
maxTotalPixels?: number | undefined;
|
|
2324
2331
|
} | undefined;
|
|
2325
2332
|
audio?: {
|
|
2326
|
-
mediaTypes
|
|
2327
|
-
maxBytes
|
|
2333
|
+
mediaTypes?: string[] | undefined;
|
|
2334
|
+
maxBytes?: number | undefined;
|
|
2335
|
+
maxLengthSeconds?: number | undefined;
|
|
2328
2336
|
} | undefined;
|
|
2329
2337
|
} | undefined;
|
|
2330
2338
|
voice?: {
|
|
@@ -2332,6 +2340,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2332
2340
|
tts?: boolean | undefined;
|
|
2333
2341
|
stt?: boolean | undefined;
|
|
2334
2342
|
} | undefined;
|
|
2343
|
+
tools?: boolean | undefined;
|
|
2344
|
+
reasoning?: boolean | undefined;
|
|
2335
2345
|
} | undefined;
|
|
2336
2346
|
};
|
|
2337
2347
|
};
|
|
@@ -2339,28 +2349,33 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2339
2349
|
output: {
|
|
2340
2350
|
error: string;
|
|
2341
2351
|
code: string;
|
|
2352
|
+
remediation?: string | undefined;
|
|
2342
2353
|
};
|
|
2343
2354
|
outputFormat: "json";
|
|
2344
2355
|
status: 404;
|
|
2345
2356
|
input: {
|
|
2346
2357
|
param: {
|
|
2347
|
-
|
|
2358
|
+
id: string;
|
|
2348
2359
|
};
|
|
2349
2360
|
} & {
|
|
2350
2361
|
json: {
|
|
2351
2362
|
modelId: string;
|
|
2352
|
-
|
|
2363
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2353
2364
|
displayName?: string | undefined;
|
|
2354
2365
|
contextSize?: number | undefined;
|
|
2355
2366
|
capabilities?: {
|
|
2356
2367
|
input?: {
|
|
2357
2368
|
image?: {
|
|
2358
|
-
mediaTypes
|
|
2359
|
-
maxBytes
|
|
2369
|
+
mediaTypes?: string[] | undefined;
|
|
2370
|
+
maxBytes?: number | undefined;
|
|
2371
|
+
maxWidth?: number | undefined;
|
|
2372
|
+
maxHeight?: number | undefined;
|
|
2373
|
+
maxTotalPixels?: number | undefined;
|
|
2360
2374
|
} | undefined;
|
|
2361
2375
|
audio?: {
|
|
2362
|
-
mediaTypes
|
|
2363
|
-
maxBytes
|
|
2376
|
+
mediaTypes?: string[] | undefined;
|
|
2377
|
+
maxBytes?: number | undefined;
|
|
2378
|
+
maxLengthSeconds?: number | undefined;
|
|
2364
2379
|
} | undefined;
|
|
2365
2380
|
} | undefined;
|
|
2366
2381
|
voice?: {
|
|
@@ -2368,6 +2383,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2368
2383
|
tts?: boolean | undefined;
|
|
2369
2384
|
stt?: boolean | undefined;
|
|
2370
2385
|
} | undefined;
|
|
2386
|
+
tools?: boolean | undefined;
|
|
2387
|
+
reasoning?: boolean | undefined;
|
|
2371
2388
|
} | undefined;
|
|
2372
2389
|
};
|
|
2373
2390
|
};
|
|
@@ -2375,28 +2392,33 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2375
2392
|
output: {
|
|
2376
2393
|
error: string;
|
|
2377
2394
|
code: string;
|
|
2395
|
+
remediation?: string | undefined;
|
|
2378
2396
|
};
|
|
2379
2397
|
outputFormat: "json";
|
|
2380
2398
|
status: 409;
|
|
2381
2399
|
input: {
|
|
2382
2400
|
param: {
|
|
2383
|
-
|
|
2401
|
+
id: string;
|
|
2384
2402
|
};
|
|
2385
2403
|
} & {
|
|
2386
2404
|
json: {
|
|
2387
2405
|
modelId: string;
|
|
2388
|
-
|
|
2406
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2389
2407
|
displayName?: string | undefined;
|
|
2390
2408
|
contextSize?: number | undefined;
|
|
2391
2409
|
capabilities?: {
|
|
2392
2410
|
input?: {
|
|
2393
2411
|
image?: {
|
|
2394
|
-
mediaTypes
|
|
2395
|
-
maxBytes
|
|
2412
|
+
mediaTypes?: string[] | undefined;
|
|
2413
|
+
maxBytes?: number | undefined;
|
|
2414
|
+
maxWidth?: number | undefined;
|
|
2415
|
+
maxHeight?: number | undefined;
|
|
2416
|
+
maxTotalPixels?: number | undefined;
|
|
2396
2417
|
} | undefined;
|
|
2397
2418
|
audio?: {
|
|
2398
|
-
mediaTypes
|
|
2399
|
-
maxBytes
|
|
2419
|
+
mediaTypes?: string[] | undefined;
|
|
2420
|
+
maxBytes?: number | undefined;
|
|
2421
|
+
maxLengthSeconds?: number | undefined;
|
|
2400
2422
|
} | undefined;
|
|
2401
2423
|
} | undefined;
|
|
2402
2424
|
voice?: {
|
|
@@ -2404,6 +2426,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2404
2426
|
tts?: boolean | undefined;
|
|
2405
2427
|
stt?: boolean | undefined;
|
|
2406
2428
|
} | undefined;
|
|
2429
|
+
tools?: boolean | undefined;
|
|
2430
|
+
reasoning?: boolean | undefined;
|
|
2407
2431
|
} | undefined;
|
|
2408
2432
|
};
|
|
2409
2433
|
};
|
|
@@ -2411,28 +2435,33 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2411
2435
|
output: {
|
|
2412
2436
|
error: string;
|
|
2413
2437
|
code: string;
|
|
2438
|
+
remediation?: string | undefined;
|
|
2414
2439
|
};
|
|
2415
2440
|
outputFormat: "json";
|
|
2416
2441
|
status: 500;
|
|
2417
2442
|
input: {
|
|
2418
2443
|
param: {
|
|
2419
|
-
|
|
2444
|
+
id: string;
|
|
2420
2445
|
};
|
|
2421
2446
|
} & {
|
|
2422
2447
|
json: {
|
|
2423
2448
|
modelId: string;
|
|
2424
|
-
|
|
2449
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2425
2450
|
displayName?: string | undefined;
|
|
2426
2451
|
contextSize?: number | undefined;
|
|
2427
2452
|
capabilities?: {
|
|
2428
2453
|
input?: {
|
|
2429
2454
|
image?: {
|
|
2430
|
-
mediaTypes
|
|
2431
|
-
maxBytes
|
|
2455
|
+
mediaTypes?: string[] | undefined;
|
|
2456
|
+
maxBytes?: number | undefined;
|
|
2457
|
+
maxWidth?: number | undefined;
|
|
2458
|
+
maxHeight?: number | undefined;
|
|
2459
|
+
maxTotalPixels?: number | undefined;
|
|
2432
2460
|
} | undefined;
|
|
2433
2461
|
audio?: {
|
|
2434
|
-
mediaTypes
|
|
2435
|
-
maxBytes
|
|
2462
|
+
mediaTypes?: string[] | undefined;
|
|
2463
|
+
maxBytes?: number | undefined;
|
|
2464
|
+
maxLengthSeconds?: number | undefined;
|
|
2436
2465
|
} | undefined;
|
|
2437
2466
|
} | undefined;
|
|
2438
2467
|
voice?: {
|
|
@@ -2440,29 +2469,35 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2440
2469
|
tts?: boolean | undefined;
|
|
2441
2470
|
stt?: boolean | undefined;
|
|
2442
2471
|
} | undefined;
|
|
2472
|
+
tools?: boolean | undefined;
|
|
2473
|
+
reasoning?: boolean | undefined;
|
|
2443
2474
|
} | undefined;
|
|
2444
2475
|
};
|
|
2445
2476
|
};
|
|
2446
2477
|
};
|
|
2447
2478
|
};
|
|
2448
2479
|
} & {
|
|
2449
|
-
"/v1/providers/:
|
|
2480
|
+
"/v1/providers/:id/models/:modelId": {
|
|
2450
2481
|
$patch: {
|
|
2451
2482
|
output: {
|
|
2452
2483
|
models: {
|
|
2453
2484
|
modelId: string;
|
|
2454
|
-
|
|
2485
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2455
2486
|
displayName?: string | undefined;
|
|
2456
2487
|
contextSize?: number | undefined;
|
|
2457
2488
|
capabilities?: {
|
|
2458
2489
|
input?: {
|
|
2459
2490
|
image?: {
|
|
2460
|
-
mediaTypes
|
|
2461
|
-
maxBytes
|
|
2491
|
+
mediaTypes?: string[] | undefined;
|
|
2492
|
+
maxBytes?: number | undefined;
|
|
2493
|
+
maxWidth?: number | undefined;
|
|
2494
|
+
maxHeight?: number | undefined;
|
|
2495
|
+
maxTotalPixels?: number | undefined;
|
|
2462
2496
|
} | undefined;
|
|
2463
2497
|
audio?: {
|
|
2464
|
-
mediaTypes
|
|
2465
|
-
maxBytes
|
|
2498
|
+
mediaTypes?: string[] | undefined;
|
|
2499
|
+
maxBytes?: number | undefined;
|
|
2500
|
+
maxLengthSeconds?: number | undefined;
|
|
2466
2501
|
} | undefined;
|
|
2467
2502
|
} | undefined;
|
|
2468
2503
|
voice?: {
|
|
@@ -2470,33 +2505,42 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2470
2505
|
tts?: boolean | undefined;
|
|
2471
2506
|
stt?: boolean | undefined;
|
|
2472
2507
|
} | undefined;
|
|
2508
|
+
tools?: boolean | undefined;
|
|
2509
|
+
reasoning?: boolean | undefined;
|
|
2473
2510
|
} | undefined;
|
|
2511
|
+
source: "discovered" | "manual" | "merged";
|
|
2512
|
+
provenance?: {
|
|
2513
|
+
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|
|
2514
|
+
documentationUrl?: string | undefined;
|
|
2515
|
+
reviewedAt?: string | undefined;
|
|
2516
|
+
}[] | undefined;
|
|
2474
2517
|
}[];
|
|
2475
2518
|
};
|
|
2476
2519
|
outputFormat: "json";
|
|
2477
2520
|
status: 200;
|
|
2478
2521
|
input: {
|
|
2479
2522
|
param: {
|
|
2480
|
-
|
|
2523
|
+
id: string;
|
|
2481
2524
|
modelId: string;
|
|
2482
2525
|
};
|
|
2483
|
-
} & {
|
|
2484
|
-
query: {
|
|
2485
|
-
endpointName?: string | undefined;
|
|
2486
|
-
};
|
|
2487
2526
|
} & {
|
|
2488
2527
|
json: {
|
|
2528
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2489
2529
|
displayName?: string | undefined;
|
|
2490
2530
|
contextSize?: number | undefined;
|
|
2491
2531
|
capabilities?: {
|
|
2492
2532
|
input?: {
|
|
2493
2533
|
image?: {
|
|
2494
|
-
mediaTypes
|
|
2495
|
-
maxBytes
|
|
2534
|
+
mediaTypes?: string[] | undefined;
|
|
2535
|
+
maxBytes?: number | undefined;
|
|
2536
|
+
maxWidth?: number | undefined;
|
|
2537
|
+
maxHeight?: number | undefined;
|
|
2538
|
+
maxTotalPixels?: number | undefined;
|
|
2496
2539
|
} | undefined;
|
|
2497
2540
|
audio?: {
|
|
2498
|
-
mediaTypes
|
|
2499
|
-
maxBytes
|
|
2541
|
+
mediaTypes?: string[] | undefined;
|
|
2542
|
+
maxBytes?: number | undefined;
|
|
2543
|
+
maxLengthSeconds?: number | undefined;
|
|
2500
2544
|
} | undefined;
|
|
2501
2545
|
} | undefined;
|
|
2502
2546
|
voice?: {
|
|
@@ -2504,6 +2548,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2504
2548
|
tts?: boolean | undefined;
|
|
2505
2549
|
stt?: boolean | undefined;
|
|
2506
2550
|
} | undefined;
|
|
2551
|
+
tools?: boolean | undefined;
|
|
2552
|
+
reasoning?: boolean | undefined;
|
|
2507
2553
|
} | undefined;
|
|
2508
2554
|
};
|
|
2509
2555
|
};
|
|
@@ -2511,31 +2557,33 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2511
2557
|
output: {
|
|
2512
2558
|
error: string;
|
|
2513
2559
|
code: string;
|
|
2560
|
+
remediation?: string | undefined;
|
|
2514
2561
|
};
|
|
2515
2562
|
outputFormat: "json";
|
|
2516
2563
|
status: 400;
|
|
2517
2564
|
input: {
|
|
2518
2565
|
param: {
|
|
2519
|
-
|
|
2566
|
+
id: string;
|
|
2520
2567
|
modelId: string;
|
|
2521
2568
|
};
|
|
2522
|
-
} & {
|
|
2523
|
-
query: {
|
|
2524
|
-
endpointName?: string | undefined;
|
|
2525
|
-
};
|
|
2526
2569
|
} & {
|
|
2527
2570
|
json: {
|
|
2571
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2528
2572
|
displayName?: string | undefined;
|
|
2529
2573
|
contextSize?: number | undefined;
|
|
2530
2574
|
capabilities?: {
|
|
2531
2575
|
input?: {
|
|
2532
2576
|
image?: {
|
|
2533
|
-
mediaTypes
|
|
2534
|
-
maxBytes
|
|
2577
|
+
mediaTypes?: string[] | undefined;
|
|
2578
|
+
maxBytes?: number | undefined;
|
|
2579
|
+
maxWidth?: number | undefined;
|
|
2580
|
+
maxHeight?: number | undefined;
|
|
2581
|
+
maxTotalPixels?: number | undefined;
|
|
2535
2582
|
} | undefined;
|
|
2536
2583
|
audio?: {
|
|
2537
|
-
mediaTypes
|
|
2538
|
-
maxBytes
|
|
2584
|
+
mediaTypes?: string[] | undefined;
|
|
2585
|
+
maxBytes?: number | undefined;
|
|
2586
|
+
maxLengthSeconds?: number | undefined;
|
|
2539
2587
|
} | undefined;
|
|
2540
2588
|
} | undefined;
|
|
2541
2589
|
voice?: {
|
|
@@ -2543,6 +2591,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2543
2591
|
tts?: boolean | undefined;
|
|
2544
2592
|
stt?: boolean | undefined;
|
|
2545
2593
|
} | undefined;
|
|
2594
|
+
tools?: boolean | undefined;
|
|
2595
|
+
reasoning?: boolean | undefined;
|
|
2546
2596
|
} | undefined;
|
|
2547
2597
|
};
|
|
2548
2598
|
};
|
|
@@ -2550,31 +2600,33 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2550
2600
|
output: {
|
|
2551
2601
|
error: string;
|
|
2552
2602
|
code: string;
|
|
2603
|
+
remediation?: string | undefined;
|
|
2553
2604
|
};
|
|
2554
2605
|
outputFormat: "json";
|
|
2555
2606
|
status: 404;
|
|
2556
2607
|
input: {
|
|
2557
2608
|
param: {
|
|
2558
|
-
|
|
2609
|
+
id: string;
|
|
2559
2610
|
modelId: string;
|
|
2560
2611
|
};
|
|
2561
|
-
} & {
|
|
2562
|
-
query: {
|
|
2563
|
-
endpointName?: string | undefined;
|
|
2564
|
-
};
|
|
2565
2612
|
} & {
|
|
2566
2613
|
json: {
|
|
2614
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2567
2615
|
displayName?: string | undefined;
|
|
2568
2616
|
contextSize?: number | undefined;
|
|
2569
2617
|
capabilities?: {
|
|
2570
2618
|
input?: {
|
|
2571
2619
|
image?: {
|
|
2572
|
-
mediaTypes
|
|
2573
|
-
maxBytes
|
|
2620
|
+
mediaTypes?: string[] | undefined;
|
|
2621
|
+
maxBytes?: number | undefined;
|
|
2622
|
+
maxWidth?: number | undefined;
|
|
2623
|
+
maxHeight?: number | undefined;
|
|
2624
|
+
maxTotalPixels?: number | undefined;
|
|
2574
2625
|
} | undefined;
|
|
2575
2626
|
audio?: {
|
|
2576
|
-
mediaTypes
|
|
2577
|
-
maxBytes
|
|
2627
|
+
mediaTypes?: string[] | undefined;
|
|
2628
|
+
maxBytes?: number | undefined;
|
|
2629
|
+
maxLengthSeconds?: number | undefined;
|
|
2578
2630
|
} | undefined;
|
|
2579
2631
|
} | undefined;
|
|
2580
2632
|
voice?: {
|
|
@@ -2582,6 +2634,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2582
2634
|
tts?: boolean | undefined;
|
|
2583
2635
|
stt?: boolean | undefined;
|
|
2584
2636
|
} | undefined;
|
|
2637
|
+
tools?: boolean | undefined;
|
|
2638
|
+
reasoning?: boolean | undefined;
|
|
2585
2639
|
} | undefined;
|
|
2586
2640
|
};
|
|
2587
2641
|
};
|
|
@@ -2589,31 +2643,33 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2589
2643
|
output: {
|
|
2590
2644
|
error: string;
|
|
2591
2645
|
code: string;
|
|
2646
|
+
remediation?: string | undefined;
|
|
2592
2647
|
};
|
|
2593
2648
|
outputFormat: "json";
|
|
2594
2649
|
status: 500;
|
|
2595
2650
|
input: {
|
|
2596
2651
|
param: {
|
|
2597
|
-
|
|
2652
|
+
id: string;
|
|
2598
2653
|
modelId: string;
|
|
2599
2654
|
};
|
|
2600
|
-
} & {
|
|
2601
|
-
query: {
|
|
2602
|
-
endpointName?: string | undefined;
|
|
2603
|
-
};
|
|
2604
2655
|
} & {
|
|
2605
2656
|
json: {
|
|
2657
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2606
2658
|
displayName?: string | undefined;
|
|
2607
2659
|
contextSize?: number | undefined;
|
|
2608
2660
|
capabilities?: {
|
|
2609
2661
|
input?: {
|
|
2610
2662
|
image?: {
|
|
2611
|
-
mediaTypes
|
|
2612
|
-
maxBytes
|
|
2663
|
+
mediaTypes?: string[] | undefined;
|
|
2664
|
+
maxBytes?: number | undefined;
|
|
2665
|
+
maxWidth?: number | undefined;
|
|
2666
|
+
maxHeight?: number | undefined;
|
|
2667
|
+
maxTotalPixels?: number | undefined;
|
|
2613
2668
|
} | undefined;
|
|
2614
2669
|
audio?: {
|
|
2615
|
-
mediaTypes
|
|
2616
|
-
maxBytes
|
|
2670
|
+
mediaTypes?: string[] | undefined;
|
|
2671
|
+
maxBytes?: number | undefined;
|
|
2672
|
+
maxLengthSeconds?: number | undefined;
|
|
2617
2673
|
} | undefined;
|
|
2618
2674
|
} | undefined;
|
|
2619
2675
|
voice?: {
|
|
@@ -2621,29 +2677,35 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2621
2677
|
tts?: boolean | undefined;
|
|
2622
2678
|
stt?: boolean | undefined;
|
|
2623
2679
|
} | undefined;
|
|
2680
|
+
tools?: boolean | undefined;
|
|
2681
|
+
reasoning?: boolean | undefined;
|
|
2624
2682
|
} | undefined;
|
|
2625
2683
|
};
|
|
2626
2684
|
};
|
|
2627
2685
|
};
|
|
2628
2686
|
};
|
|
2629
2687
|
} & {
|
|
2630
|
-
"/v1/providers/:
|
|
2688
|
+
"/v1/providers/:id/models/:modelId": {
|
|
2631
2689
|
$delete: {
|
|
2632
2690
|
output: {
|
|
2633
2691
|
models: {
|
|
2634
2692
|
modelId: string;
|
|
2635
|
-
|
|
2693
|
+
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2636
2694
|
displayName?: string | undefined;
|
|
2637
2695
|
contextSize?: number | undefined;
|
|
2638
2696
|
capabilities?: {
|
|
2639
2697
|
input?: {
|
|
2640
2698
|
image?: {
|
|
2641
|
-
mediaTypes
|
|
2642
|
-
maxBytes
|
|
2699
|
+
mediaTypes?: string[] | undefined;
|
|
2700
|
+
maxBytes?: number | undefined;
|
|
2701
|
+
maxWidth?: number | undefined;
|
|
2702
|
+
maxHeight?: number | undefined;
|
|
2703
|
+
maxTotalPixels?: number | undefined;
|
|
2643
2704
|
} | undefined;
|
|
2644
2705
|
audio?: {
|
|
2645
|
-
mediaTypes
|
|
2646
|
-
maxBytes
|
|
2706
|
+
mediaTypes?: string[] | undefined;
|
|
2707
|
+
maxBytes?: number | undefined;
|
|
2708
|
+
maxLengthSeconds?: number | undefined;
|
|
2647
2709
|
} | undefined;
|
|
2648
2710
|
} | undefined;
|
|
2649
2711
|
voice?: {
|
|
@@ -2651,71 +2713,80 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2651
2713
|
tts?: boolean | undefined;
|
|
2652
2714
|
stt?: boolean | undefined;
|
|
2653
2715
|
} | undefined;
|
|
2716
|
+
tools?: boolean | undefined;
|
|
2717
|
+
reasoning?: boolean | undefined;
|
|
2654
2718
|
} | undefined;
|
|
2719
|
+
source: "discovered" | "manual" | "merged";
|
|
2720
|
+
provenance?: {
|
|
2721
|
+
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|
|
2722
|
+
documentationUrl?: string | undefined;
|
|
2723
|
+
reviewedAt?: string | undefined;
|
|
2724
|
+
}[] | undefined;
|
|
2655
2725
|
}[];
|
|
2656
2726
|
};
|
|
2657
2727
|
outputFormat: "json";
|
|
2658
2728
|
status: 200;
|
|
2659
2729
|
input: {
|
|
2660
2730
|
param: {
|
|
2661
|
-
|
|
2731
|
+
id: string;
|
|
2662
2732
|
modelId: string;
|
|
2663
2733
|
};
|
|
2664
|
-
} & {
|
|
2665
|
-
query: {
|
|
2666
|
-
endpointName?: string | undefined;
|
|
2667
|
-
};
|
|
2668
2734
|
};
|
|
2669
2735
|
} | {
|
|
2670
2736
|
output: {
|
|
2671
2737
|
error: string;
|
|
2672
2738
|
code: string;
|
|
2739
|
+
remediation?: string | undefined;
|
|
2673
2740
|
};
|
|
2674
2741
|
outputFormat: "json";
|
|
2675
2742
|
status: 400;
|
|
2676
2743
|
input: {
|
|
2677
2744
|
param: {
|
|
2678
|
-
|
|
2745
|
+
id: string;
|
|
2679
2746
|
modelId: string;
|
|
2680
2747
|
};
|
|
2681
|
-
} & {
|
|
2682
|
-
query: {
|
|
2683
|
-
endpointName?: string | undefined;
|
|
2684
|
-
};
|
|
2685
2748
|
};
|
|
2686
2749
|
} | {
|
|
2687
2750
|
output: {
|
|
2688
2751
|
error: string;
|
|
2689
2752
|
code: string;
|
|
2753
|
+
remediation?: string | undefined;
|
|
2690
2754
|
};
|
|
2691
2755
|
outputFormat: "json";
|
|
2692
2756
|
status: 404;
|
|
2693
2757
|
input: {
|
|
2694
2758
|
param: {
|
|
2695
|
-
|
|
2759
|
+
id: string;
|
|
2696
2760
|
modelId: string;
|
|
2697
2761
|
};
|
|
2698
|
-
}
|
|
2699
|
-
|
|
2700
|
-
|
|
2762
|
+
};
|
|
2763
|
+
} | {
|
|
2764
|
+
output: {
|
|
2765
|
+
error: string;
|
|
2766
|
+
code: string;
|
|
2767
|
+
remediation?: string | undefined;
|
|
2768
|
+
};
|
|
2769
|
+
outputFormat: "json";
|
|
2770
|
+
status: 409;
|
|
2771
|
+
input: {
|
|
2772
|
+
param: {
|
|
2773
|
+
id: string;
|
|
2774
|
+
modelId: string;
|
|
2701
2775
|
};
|
|
2702
2776
|
};
|
|
2703
2777
|
} | {
|
|
2704
2778
|
output: {
|
|
2705
2779
|
error: string;
|
|
2706
2780
|
code: string;
|
|
2781
|
+
remediation?: string | undefined;
|
|
2707
2782
|
};
|
|
2708
2783
|
outputFormat: "json";
|
|
2709
2784
|
status: 500;
|
|
2710
2785
|
input: {
|
|
2711
2786
|
param: {
|
|
2712
|
-
|
|
2787
|
+
id: string;
|
|
2713
2788
|
modelId: string;
|
|
2714
2789
|
};
|
|
2715
|
-
} & {
|
|
2716
|
-
query: {
|
|
2717
|
-
endpointName?: string | undefined;
|
|
2718
|
-
};
|
|
2719
2790
|
};
|
|
2720
2791
|
};
|
|
2721
2792
|
};
|
|
@@ -2744,6 +2815,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2744
2815
|
output: {
|
|
2745
2816
|
error: string;
|
|
2746
2817
|
code: string;
|
|
2818
|
+
remediation?: string | undefined;
|
|
2747
2819
|
};
|
|
2748
2820
|
outputFormat: "json";
|
|
2749
2821
|
status: 400;
|
|
@@ -2756,6 +2828,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2756
2828
|
output: {
|
|
2757
2829
|
error: string;
|
|
2758
2830
|
code: string;
|
|
2831
|
+
remediation?: string | undefined;
|
|
2759
2832
|
};
|
|
2760
2833
|
outputFormat: "json";
|
|
2761
2834
|
status: 404;
|
|
@@ -2768,6 +2841,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2768
2841
|
output: {
|
|
2769
2842
|
error: string;
|
|
2770
2843
|
code: string;
|
|
2844
|
+
remediation?: string | undefined;
|
|
2771
2845
|
};
|
|
2772
2846
|
outputFormat: "json";
|
|
2773
2847
|
status: 500;
|