@openrouter/sdk 0.12.79 → 0.13.7
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 +40 -0
- package/esm/funcs/betaAnalyticsGetAnalyticsMeta.d.ts +18 -0
- package/esm/funcs/betaAnalyticsGetAnalyticsMeta.js +96 -0
- package/esm/funcs/betaAnalyticsQueryAnalytics.d.ts +18 -0
- package/esm/funcs/betaAnalyticsQueryAnalytics.js +97 -0
- package/esm/funcs/betaResponsesSend.js +1 -1
- package/esm/funcs/chatSend.js +1 -1
- package/esm/funcs/datasetsGetAppRankings.d.ts +43 -0
- package/esm/funcs/datasetsGetAppRankings.js +161 -0
- package/esm/funcs/datasetsGetBenchmarksArtificialAnalysis.d.ts +19 -0
- package/esm/funcs/datasetsGetBenchmarksArtificialAnalysis.js +102 -0
- package/esm/funcs/datasetsGetBenchmarksDesignArena.d.ts +19 -0
- package/esm/funcs/datasetsGetBenchmarksDesignArena.js +104 -0
- package/esm/funcs/filesDelete.d.ts +19 -0
- package/esm/funcs/filesDelete.js +107 -0
- package/esm/funcs/filesDownload.d.ts +18 -0
- package/esm/funcs/filesDownload.js +107 -0
- package/esm/funcs/filesList.d.ts +21 -0
- package/esm/funcs/filesList.js +131 -0
- package/esm/funcs/filesRetrieve.d.ts +19 -0
- package/esm/funcs/filesRetrieve.js +107 -0
- package/esm/funcs/filesUpload.d.ts +19 -0
- package/esm/funcs/filesUpload.js +121 -0
- package/esm/funcs/modelsGet.d.ts +19 -0
- package/esm/funcs/modelsGet.js +107 -0
- package/esm/funcs/modelsList.js +12 -0
- package/esm/funcs/oAuthCreateAuthCode.d.ts +1 -1
- package/esm/funcs/oAuthCreateAuthCode.js +1 -1
- package/esm/funcs/presetsGet.d.ts +21 -0
- package/esm/funcs/presetsGet.js +105 -0
- package/esm/funcs/presetsGetVersion.d.ts +21 -0
- package/esm/funcs/presetsGetVersion.js +109 -0
- package/esm/funcs/presetsList.d.ts +23 -0
- package/esm/funcs/presetsList.js +136 -0
- package/esm/funcs/presetsListVersions.d.ts +23 -0
- package/esm/funcs/presetsListVersions.js +142 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/aabenchmarkentry.d.ts +24 -0
- package/esm/models/aabenchmarkentry.js +23 -0
- package/esm/models/advisornestedtool.d.ts +25 -0
- package/esm/models/advisornestedtool.js +23 -0
- package/esm/models/advisorreasoning.d.ts +41 -0
- package/esm/models/advisorreasoning.js +33 -0
- package/esm/models/advisorservertoolconfig.d.ts +65 -0
- package/esm/models/advisorservertoolconfig.js +31 -0
- package/esm/models/advisorservertoolopenrouter.d.ts +28 -0
- package/esm/models/advisorservertoolopenrouter.js +20 -0
- package/esm/models/apprankingsitem.d.ts +29 -0
- package/esm/models/apprankingsitem.js +26 -0
- package/esm/models/apprankingsresponse.d.ts +16 -0
- package/esm/models/apprankingsresponse.js +17 -0
- package/esm/models/bashservertool.d.ts +28 -0
- package/esm/models/bashservertool.js +20 -0
- package/esm/models/bashservertoolconfig.d.ts +30 -0
- package/esm/models/bashservertoolconfig.js +22 -0
- package/esm/models/bashservertoolengine.d.ts +17 -0
- package/esm/models/bashservertoolengine.js +16 -0
- package/esm/models/bashservertoolenvironment.d.ts +13 -0
- package/esm/models/bashservertoolenvironment.js +16 -0
- package/esm/models/benchmarkpricing.d.ts +20 -0
- package/esm/models/benchmarkpricing.js +15 -0
- package/esm/models/benchmarksaaitem.d.ts +34 -0
- package/esm/models/benchmarksaaitem.js +29 -0
- package/esm/models/benchmarksaameta.d.ts +70 -0
- package/esm/models/benchmarksaameta.js +50 -0
- package/esm/models/benchmarksaaresponse.d.ts +13 -0
- package/esm/models/benchmarksaaresponse.js +17 -0
- package/esm/models/benchmarksdaitem.d.ts +59 -0
- package/esm/models/benchmarksdaitem.js +50 -0
- package/esm/models/benchmarksdameta.d.ts +98 -0
- package/esm/models/benchmarksdameta.js +62 -0
- package/esm/models/benchmarksdaresponse.d.ts +13 -0
- package/esm/models/benchmarksdaresponse.js +17 -0
- package/esm/models/byokproviderslug.d.ts +2 -1
- package/esm/models/byokproviderslug.js +2 -1
- package/esm/models/chatfunctiontool.d.ts +5 -2
- package/esm/models/chatfunctiontool.js +6 -0
- package/esm/models/chatrequest.d.ts +42 -0
- package/esm/models/chatrequest.js +24 -0
- package/esm/models/chatwebsearchshorthand.d.ts +10 -5
- package/esm/models/chatwebsearchshorthand.js +2 -0
- package/esm/models/containerautoenvironment.d.ts +15 -0
- package/esm/models/containerautoenvironment.js +13 -0
- package/esm/models/containerreferenceenvironment.d.ts +20 -0
- package/esm/models/containerreferenceenvironment.js +19 -0
- package/esm/models/contentfilterbuiltinentry.d.ts +5 -0
- package/esm/models/contentfilterbuiltinentry.js +7 -0
- package/esm/models/contentfilterbuiltinentryinput.d.ts +6 -0
- package/esm/models/contentfilterbuiltinentryinput.js +7 -0
- package/esm/models/contentpartaudio.d.ts +24 -0
- package/esm/models/contentpartaudio.js +27 -0
- package/esm/models/contentpartimage.d.ts +2 -9
- package/esm/models/contentpartimage.js +1 -6
- package/esm/models/contentpartvideo.d.ts +24 -0
- package/esm/models/contentpartvideo.js +27 -0
- package/esm/models/createobservabilitydestinationrequest.d.ts +1 -1
- package/esm/models/dabenchmarkentry.d.ts +32 -0
- package/esm/models/dabenchmarkentry.js +23 -0
- package/esm/models/filedeleteresponse.d.ts +21 -0
- package/esm/models/filedeleteresponse.js +20 -0
- package/esm/models/filelistresponse.d.ts +21 -0
- package/esm/models/filelistresponse.js +26 -0
- package/esm/models/filemetadata.d.ts +26 -0
- package/esm/models/filemetadata.js +33 -0
- package/esm/models/fusionanalysisresult.d.ts +88 -0
- package/esm/models/fusionanalysisresult.js +109 -0
- package/esm/models/fusioncallanalysiscompletedevent.d.ts +21 -0
- package/esm/models/fusioncallanalysiscompletedevent.js +26 -0
- package/esm/models/fusioncallanalysisinprogressevent.d.ts +17 -0
- package/esm/models/fusioncallanalysisinprogressevent.js +26 -0
- package/esm/models/fusioncallcompletedevent.d.ts +16 -0
- package/esm/models/fusioncallcompletedevent.js +24 -0
- package/esm/models/fusioncallinprogressevent.d.ts +16 -0
- package/esm/models/fusioncallinprogressevent.js +24 -0
- package/esm/models/fusioncallpaneladdedevent.d.ts +17 -0
- package/esm/models/fusioncallpaneladdedevent.js +25 -0
- package/esm/models/fusioncallpanelcompletedevent.d.ts +18 -0
- package/esm/models/fusioncallpanelcompletedevent.js +26 -0
- package/esm/models/fusioncallpaneldeltaevent.d.ts +18 -0
- package/esm/models/fusioncallpaneldeltaevent.js +26 -0
- package/esm/models/fusioncallpanelfailedevent.d.ts +19 -0
- package/esm/models/fusioncallpanelfailedevent.js +28 -0
- package/esm/models/fusioncallpanelreasoningdeltaevent.d.ts +18 -0
- package/esm/models/fusioncallpanelreasoningdeltaevent.js +26 -0
- package/esm/models/fusionplugin.d.ts +46 -0
- package/esm/models/fusionplugin.js +20 -0
- package/esm/models/fusionservertoolconfig.d.ts +27 -0
- package/esm/models/fusionservertoolconfig.js +10 -0
- package/esm/models/generationresponse.d.ts +22 -0
- package/esm/models/generationresponse.js +14 -0
- package/esm/models/getpresetresponse.d.ts +17 -0
- package/esm/models/getpresetresponse.js +15 -0
- package/esm/models/getpresetversionresponse.d.ts +17 -0
- package/esm/models/getpresetversionresponse.js +15 -0
- package/esm/models/index.d.ts +60 -0
- package/esm/models/index.js +60 -0
- package/esm/models/inputreference.d.ts +14 -0
- package/esm/models/inputreference.js +18 -0
- package/esm/models/inputsunion.d.ts +7 -4
- package/esm/models/inputsunion.js +11 -2
- package/esm/models/legacywebsearchservertool.d.ts +2 -2
- package/esm/models/listpresetsresponse.d.ts +15 -0
- package/esm/models/listpresetsresponse.js +21 -0
- package/esm/models/listpresetversionsresponse.d.ts +15 -0
- package/esm/models/listpresetversionsresponse.js +21 -0
- package/esm/models/messagesfallbackparam.d.ts +19 -0
- package/esm/models/messagesfallbackparam.js +22 -0
- package/esm/models/messagesrequest.d.ts +11 -4
- package/esm/models/messagesrequest.js +6 -0
- package/esm/models/model.d.ts +5 -0
- package/esm/models/model.js +2 -0
- package/esm/models/modelbenchmarks.d.ts +22 -0
- package/esm/models/modelbenchmarks.js +23 -0
- package/esm/models/modelresponse.d.ts +17 -0
- package/esm/models/modelresponse.js +16 -0
- package/esm/models/observabilityarizedestination.d.ts +1 -1
- package/esm/models/observabilitybraintrustdestination.d.ts +1 -1
- package/esm/models/observabilityclickhousedestination.d.ts +1 -1
- package/esm/models/observabilitydatadogdestination.d.ts +1 -1
- package/esm/models/observabilitygrafanadestination.d.ts +1 -1
- package/esm/models/observabilitylangfusedestination.d.ts +1 -1
- package/esm/models/observabilitylangsmithdestination.d.ts +1 -1
- package/esm/models/observabilitynewrelicdestination.d.ts +1 -1
- package/esm/models/observabilityopikdestination.d.ts +1 -1
- package/esm/models/observabilityotelcollectordestination.d.ts +1 -1
- package/esm/models/observabilityposthogdestination.d.ts +1 -1
- package/esm/models/observabilityrampdestination.d.ts +1 -1
- package/esm/models/observabilitys3destination.d.ts +1 -1
- package/esm/models/observabilitysentrydestination.d.ts +1 -1
- package/esm/models/observabilitysnowflakedestination.d.ts +1 -1
- package/esm/models/observabilityweavedestination.d.ts +1 -1
- package/esm/models/observabilitywebhookdestination.d.ts +1 -1
- package/esm/models/operations/createauthkeyscode.d.ts +6 -1
- package/esm/models/operations/createauthkeyscode.js +2 -0
- package/esm/models/operations/creatererank.d.ts +44 -10
- package/esm/models/operations/creatererank.js +21 -6
- package/esm/models/operations/createresponses.d.ts +3 -3
- package/esm/models/operations/createresponses.js +2 -3
- package/esm/models/operations/deletefile.d.ts +60 -0
- package/esm/models/operations/deletefile.js +24 -0
- package/esm/models/operations/downloadfilecontent.d.ts +60 -0
- package/esm/models/operations/downloadfilecontent.js +24 -0
- package/esm/models/operations/getanalyticsmeta.d.ts +198 -0
- package/esm/models/operations/getanalyticsmeta.js +141 -0
- package/esm/models/operations/getapprankings.d.ts +152 -0
- package/esm/models/operations/getapprankings.js +85 -0
- package/esm/models/operations/getbenchmarksartificialanalysis.d.ts +58 -0
- package/esm/models/operations/getbenchmarksartificialanalysis.js +22 -0
- package/esm/models/operations/getbenchmarksdesignarena.d.ts +83 -0
- package/esm/models/operations/getbenchmarksdesignarena.js +36 -0
- package/esm/models/operations/getfilemetadata.d.ts +60 -0
- package/esm/models/operations/getfilemetadata.js +24 -0
- package/esm/models/operations/getmodel.d.ts +63 -0
- package/esm/models/operations/getmodel.js +22 -0
- package/esm/models/operations/getmodels.d.ts +121 -5
- package/esm/models/operations/getmodels.js +59 -4
- package/esm/models/operations/getpreset.d.ts +58 -0
- package/esm/models/operations/getpreset.js +21 -0
- package/esm/models/operations/getpresetversion.d.ts +63 -0
- package/esm/models/operations/getpresetversion.js +22 -0
- package/esm/models/operations/index.d.ts +15 -0
- package/esm/models/operations/index.js +15 -0
- package/esm/models/operations/listbyokkeys.d.ts +2 -1
- package/esm/models/operations/listbyokkeys.js +2 -1
- package/esm/models/operations/listfiles.d.ts +77 -0
- package/esm/models/operations/listfiles.js +37 -0
- package/esm/models/operations/listpresets.d.ts +72 -0
- package/esm/models/operations/listpresets.js +35 -0
- package/esm/models/operations/listpresetversions.d.ts +77 -0
- package/esm/models/operations/listpresetversions.js +36 -0
- package/esm/models/operations/queryanalytics.d.ts +195 -0
- package/esm/models/operations/queryanalytics.js +129 -0
- package/esm/models/operations/sendchatcompletionrequest.d.ts +3 -3
- package/esm/models/operations/sendchatcompletionrequest.js +2 -3
- package/esm/models/operations/uploadfile.d.ts +82 -0
- package/esm/models/operations/uploadfile.js +45 -0
- package/esm/models/outputadvisorservertoolitem.d.ts +59 -0
- package/esm/models/outputadvisorservertoolitem.js +52 -0
- package/esm/models/outputfusionservertoolitem.d.ts +44 -43
- package/esm/models/outputfusionservertoolitem.js +49 -51
- package/esm/models/outputitems.d.ts +13 -3
- package/esm/models/outputitems.js +9 -1
- package/esm/models/outputshellcallitem.d.ts +29 -0
- package/esm/models/outputshellcallitem.js +38 -0
- package/esm/models/outputshellcalloutputitem.d.ts +48 -0
- package/esm/models/outputshellcalloutputitem.js +67 -0
- package/esm/models/outputsubagentservertoolitem.d.ts +59 -0
- package/esm/models/outputsubagentservertoolitem.js +54 -0
- package/esm/models/outputwebsearchcallitem.d.ts +2 -2
- package/esm/models/outputwebsearchcallitem.js +2 -2
- package/esm/models/preset.d.ts +27 -0
- package/esm/models/preset.js +35 -0
- package/esm/models/presetstatus.d.ts +17 -0
- package/esm/models/presetstatus.js +16 -0
- package/esm/models/presetwithdesignatedversion.d.ts +9 -14
- package/esm/models/presetwithdesignatedversion.js +4 -11
- package/esm/models/preview20250311websearchservertool.d.ts +2 -2
- package/esm/models/previewwebsearchservertool.d.ts +2 -2
- package/esm/models/promptinjectionscanscope.d.ts +18 -0
- package/esm/models/promptinjectionscanscope.js +17 -0
- package/esm/models/providername.d.ts +2 -1
- package/esm/models/providername.js +2 -1
- package/esm/models/provideroptions.d.ts +12 -0
- package/esm/models/provideroptions.js +2 -0
- package/esm/models/providerresponse.d.ts +3 -1
- package/esm/models/providerresponse.js +4 -2
- package/esm/models/rankingsdailymeta.d.ts +4 -4
- package/esm/models/rankingsdailymeta.js +3 -3
- package/esm/models/responsesrequest.d.ts +36 -8
- package/esm/models/responsesrequest.js +12 -0
- package/esm/models/searchqualitylevel.d.ts +2 -2
- package/esm/models/searchqualitylevel.js +1 -1
- package/esm/models/shellcallstatus.d.ts +17 -0
- package/esm/models/shellcallstatus.js +16 -0
- package/esm/models/shellservertoolconfig.d.ts +30 -0
- package/esm/models/shellservertoolconfig.js +22 -0
- package/esm/models/shellservertoolengine.d.ts +16 -0
- package/esm/models/shellservertoolengine.js +15 -0
- package/esm/models/shellservertoolenvironment.d.ts +13 -0
- package/esm/models/shellservertoolenvironment.js +16 -0
- package/esm/models/shellservertoolopenrouter.d.ts +21 -0
- package/esm/models/shellservertoolopenrouter.js +15 -0
- package/esm/models/streamevents.d.ts +10 -1
- package/esm/models/streamevents.js +18 -0
- package/esm/models/subagentnestedtool.d.ts +25 -0
- package/esm/models/subagentnestedtool.js +23 -0
- package/esm/models/subagentreasoning.d.ts +41 -0
- package/esm/models/subagentreasoning.js +33 -0
- package/esm/models/subagentservertoolconfig.d.ts +50 -0
- package/esm/models/subagentservertoolconfig.js +27 -0
- package/esm/models/subagentservertoolopenrouter.d.ts +28 -0
- package/esm/models/subagentservertoolopenrouter.js +20 -0
- package/esm/models/updateobservabilitydestinationrequest.d.ts +1 -1
- package/esm/models/urlcitation.d.ts +2 -0
- package/esm/models/urlcitation.js +2 -0
- package/esm/models/videogenerationrequest.d.ts +16 -4
- package/esm/models/videogenerationrequest.js +4 -2
- package/esm/models/websearchconfig.d.ts +10 -5
- package/esm/models/websearchconfig.js +2 -0
- package/esm/models/websearchengine.d.ts +1 -0
- package/esm/models/websearchengine.js +1 -0
- package/esm/models/websearchengineenum.d.ts +4 -3
- package/esm/models/websearchengineenum.js +3 -2
- package/esm/models/websearchservertool.d.ts +2 -2
- package/esm/models/websearchservertoolconfig.d.ts +10 -5
- package/esm/models/websearchservertoolconfig.js +2 -0
- package/esm/sdk/beta.d.ts +3 -0
- package/esm/sdk/beta.js +4 -0
- package/esm/sdk/betaanalytics.d.ts +19 -0
- package/esm/sdk/betaanalytics.js +29 -0
- package/esm/sdk/datasets.d.ts +46 -0
- package/esm/sdk/datasets.js +53 -0
- package/esm/sdk/files.d.ts +44 -0
- package/esm/sdk/files.js +60 -0
- package/esm/sdk/models.d.ts +7 -0
- package/esm/sdk/models.js +10 -0
- package/esm/sdk/presets.d.ts +33 -0
- package/esm/sdk/presets.js +41 -0
- package/esm/sdk/sdk.d.ts +5 -2
- package/esm/sdk/sdk.js +7 -3
- package/jsr.json +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
export type GetModelGlobals = {
|
|
3
|
+
/**
|
|
4
|
+
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* This is used to track API usage per application.
|
|
8
|
+
*/
|
|
9
|
+
httpReferer?: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* The app display name allows you to customize how your app appears in OpenRouter's dashboard.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
*/
|
|
15
|
+
appTitle?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
*/
|
|
21
|
+
appCategories?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
export type GetModelRequest = {
|
|
24
|
+
/**
|
|
25
|
+
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* This is used to track API usage per application.
|
|
29
|
+
*/
|
|
30
|
+
httpReferer?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* The app display name allows you to customize how your app appears in OpenRouter's dashboard.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
*/
|
|
36
|
+
appTitle?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
*/
|
|
42
|
+
appCategories?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* The author/organization of the model
|
|
45
|
+
*/
|
|
46
|
+
author: string;
|
|
47
|
+
/**
|
|
48
|
+
* The model slug, optionally including a variant suffix (e.g. gpt-4 or gpt-4:free)
|
|
49
|
+
*/
|
|
50
|
+
slug: string;
|
|
51
|
+
};
|
|
52
|
+
/** @internal */
|
|
53
|
+
export type GetModelRequest$Outbound = {
|
|
54
|
+
"HTTP-Referer"?: string | undefined;
|
|
55
|
+
appTitle?: string | undefined;
|
|
56
|
+
appCategories?: string | undefined;
|
|
57
|
+
author: string;
|
|
58
|
+
slug: string;
|
|
59
|
+
};
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const GetModelRequest$outboundSchema: z.ZodType<GetModelRequest$Outbound, GetModelRequest>;
|
|
62
|
+
export declare function getModelRequestToJSON(getModelRequest: GetModelRequest): string;
|
|
63
|
+
//# sourceMappingURL=getmodel.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 2ffcb8988513
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const GetModelRequest$outboundSchema = z.object({
|
|
9
|
+
httpReferer: z.string().optional(),
|
|
10
|
+
appTitle: z.string().optional(),
|
|
11
|
+
appCategories: z.string().optional(),
|
|
12
|
+
author: z.string(),
|
|
13
|
+
slug: z.string(),
|
|
14
|
+
}).transform((v) => {
|
|
15
|
+
return remap$(v, {
|
|
16
|
+
httpReferer: "HTTP-Referer",
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
export function getModelRequestToJSON(getModelRequest) {
|
|
20
|
+
return JSON.stringify(GetModelRequest$outboundSchema.parse(getModelRequest));
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=getmodel.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
|
-
import { OpenEnum } from "../../types/enums.js";
|
|
2
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
3
3
|
export type GetModelsGlobals = {
|
|
4
4
|
/**
|
|
5
5
|
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
@@ -24,7 +24,7 @@ export type GetModelsGlobals = {
|
|
|
24
24
|
/**
|
|
25
25
|
* Filter models by use case category
|
|
26
26
|
*/
|
|
27
|
-
export declare const
|
|
27
|
+
export declare const GetModelsCategory: {
|
|
28
28
|
readonly Programming: "programming";
|
|
29
29
|
readonly Roleplay: "roleplay";
|
|
30
30
|
readonly Marketing: "marketing";
|
|
@@ -41,7 +41,55 @@ export declare const Category: {
|
|
|
41
41
|
/**
|
|
42
42
|
* Filter models by use case category
|
|
43
43
|
*/
|
|
44
|
-
export type
|
|
44
|
+
export type GetModelsCategory = OpenEnum<typeof GetModelsCategory>;
|
|
45
|
+
/**
|
|
46
|
+
* Sort the returned models server-side. Prefer this over fetching the full list and sorting client-side. Options: pricing-low-to-high, pricing-high-to-low (average prompt/completion price), context-high-to-low (context length), throughput-high-to-low, latency-low-to-high (recent median performance), most-popular, top-weekly (tokens processed in the last week), newest (creation date). When omitted, the existing default ordering is preserved.
|
|
47
|
+
*/
|
|
48
|
+
export declare const GetModelsSort: {
|
|
49
|
+
readonly MostPopular: "most-popular";
|
|
50
|
+
readonly Newest: "newest";
|
|
51
|
+
readonly TopWeekly: "top-weekly";
|
|
52
|
+
readonly PricingLowToHigh: "pricing-low-to-high";
|
|
53
|
+
readonly PricingHighToLow: "pricing-high-to-low";
|
|
54
|
+
readonly ContextHighToLow: "context-high-to-low";
|
|
55
|
+
readonly ThroughputHighToLow: "throughput-high-to-low";
|
|
56
|
+
readonly LatencyLowToHigh: "latency-low-to-high";
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Sort the returned models server-side. Prefer this over fetching the full list and sorting client-side. Options: pricing-low-to-high, pricing-high-to-low (average prompt/completion price), context-high-to-low (context length), throughput-high-to-low, latency-low-to-high (recent median performance), most-popular, top-weekly (tokens processed in the last week), newest (creation date). When omitted, the existing default ordering is preserved.
|
|
60
|
+
*/
|
|
61
|
+
export type GetModelsSort = OpenEnum<typeof GetModelsSort>;
|
|
62
|
+
/**
|
|
63
|
+
* Filter by distillation capability. "true" returns only distillable models, "false" excludes them.
|
|
64
|
+
*/
|
|
65
|
+
export declare const Distillable: {
|
|
66
|
+
readonly True: "true";
|
|
67
|
+
readonly False: "false";
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Filter by distillation capability. "true" returns only distillable models, "false" excludes them.
|
|
71
|
+
*/
|
|
72
|
+
export type Distillable = OpenEnum<typeof Distillable>;
|
|
73
|
+
/**
|
|
74
|
+
* When set to "true", return only models with zero data retention endpoints.
|
|
75
|
+
*/
|
|
76
|
+
export declare const Zdr: {
|
|
77
|
+
readonly True: "true";
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* When set to "true", return only models with zero data retention endpoints.
|
|
81
|
+
*/
|
|
82
|
+
export type Zdr = ClosedEnum<typeof Zdr>;
|
|
83
|
+
/**
|
|
84
|
+
* Filter to models with endpoints in the given data region. Currently only "eu" is supported.
|
|
85
|
+
*/
|
|
86
|
+
export declare const Region: {
|
|
87
|
+
readonly Eu: "eu";
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Filter to models with endpoints in the given data region. Currently only "eu" is supported.
|
|
91
|
+
*/
|
|
92
|
+
export type Region = ClosedEnum<typeof Region>;
|
|
45
93
|
export type GetModelsRequest = {
|
|
46
94
|
/**
|
|
47
95
|
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
@@ -65,7 +113,7 @@ export type GetModelsRequest = {
|
|
|
65
113
|
/**
|
|
66
114
|
* Filter models by use case category
|
|
67
115
|
*/
|
|
68
|
-
category?:
|
|
116
|
+
category?: GetModelsCategory | undefined;
|
|
69
117
|
/**
|
|
70
118
|
* Filter models by supported parameter (comma-separated)
|
|
71
119
|
*/
|
|
@@ -74,9 +122,65 @@ export type GetModelsRequest = {
|
|
|
74
122
|
* Filter models by output modality. Accepts a comma-separated list of modalities (text, image, audio, embeddings) or "all" to include all models. Defaults to "text".
|
|
75
123
|
*/
|
|
76
124
|
outputModalities?: string | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* Sort the returned models server-side. Prefer this over fetching the full list and sorting client-side. Options: pricing-low-to-high, pricing-high-to-low (average prompt/completion price), context-high-to-low (context length), throughput-high-to-low, latency-low-to-high (recent median performance), most-popular, top-weekly (tokens processed in the last week), newest (creation date). When omitted, the existing default ordering is preserved.
|
|
127
|
+
*/
|
|
128
|
+
sort?: GetModelsSort | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* Free-text search by model name or slug.
|
|
131
|
+
*/
|
|
132
|
+
q?: string | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* Filter models by input modality. Comma-separated list of: text, image, audio, file.
|
|
135
|
+
*/
|
|
136
|
+
inputModalities?: string | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* Minimum context length (tokens). Models with smaller context are excluded.
|
|
139
|
+
*/
|
|
140
|
+
context?: number | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* Minimum prompt price in $/M tokens.
|
|
143
|
+
*/
|
|
144
|
+
minPrice?: number | null | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* Maximum prompt price in $/M tokens.
|
|
147
|
+
*/
|
|
148
|
+
maxPrice?: number | null | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* Filter models by architecture/model family (e.g. GPT, Claude, Gemini, Llama).
|
|
151
|
+
*/
|
|
152
|
+
arch?: string | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* Filter models by the organization that created the model. Comma-separated list of author slugs.
|
|
155
|
+
*/
|
|
156
|
+
modelAuthors?: string | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* Filter models by hosting provider. Comma-separated list of provider names.
|
|
159
|
+
*/
|
|
160
|
+
providers?: string | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Filter by distillation capability. "true" returns only distillable models, "false" excludes them.
|
|
163
|
+
*/
|
|
164
|
+
distillable?: Distillable | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* When set to "true", return only models with zero data retention endpoints.
|
|
167
|
+
*/
|
|
168
|
+
zdr?: Zdr | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* Filter to models with endpoints in the given data region. Currently only "eu" is supported.
|
|
171
|
+
*/
|
|
172
|
+
region?: Region | undefined;
|
|
77
173
|
};
|
|
78
174
|
/** @internal */
|
|
79
|
-
export declare const
|
|
175
|
+
export declare const GetModelsCategory$outboundSchema: z.ZodType<string, GetModelsCategory>;
|
|
176
|
+
/** @internal */
|
|
177
|
+
export declare const GetModelsSort$outboundSchema: z.ZodType<string, GetModelsSort>;
|
|
178
|
+
/** @internal */
|
|
179
|
+
export declare const Distillable$outboundSchema: z.ZodType<string, Distillable>;
|
|
180
|
+
/** @internal */
|
|
181
|
+
export declare const Zdr$outboundSchema: z.ZodEnum<typeof Zdr>;
|
|
182
|
+
/** @internal */
|
|
183
|
+
export declare const Region$outboundSchema: z.ZodEnum<typeof Region>;
|
|
80
184
|
/** @internal */
|
|
81
185
|
export type GetModelsRequest$Outbound = {
|
|
82
186
|
"HTTP-Referer"?: string | undefined;
|
|
@@ -85,6 +189,18 @@ export type GetModelsRequest$Outbound = {
|
|
|
85
189
|
category?: string | undefined;
|
|
86
190
|
supported_parameters?: string | undefined;
|
|
87
191
|
output_modalities?: string | undefined;
|
|
192
|
+
sort?: string | undefined;
|
|
193
|
+
q?: string | undefined;
|
|
194
|
+
input_modalities?: string | undefined;
|
|
195
|
+
context?: number | undefined;
|
|
196
|
+
min_price?: number | null | undefined;
|
|
197
|
+
max_price?: number | null | undefined;
|
|
198
|
+
arch?: string | undefined;
|
|
199
|
+
model_authors?: string | undefined;
|
|
200
|
+
providers?: string | undefined;
|
|
201
|
+
distillable?: string | undefined;
|
|
202
|
+
zdr?: string | undefined;
|
|
203
|
+
region?: string | undefined;
|
|
88
204
|
};
|
|
89
205
|
/** @internal */
|
|
90
206
|
export declare const GetModelsRequest$outboundSchema: z.ZodType<GetModelsRequest$Outbound, GetModelsRequest>;
|
|
@@ -8,7 +8,7 @@ import * as openEnums from "../../types/enums.js";
|
|
|
8
8
|
/**
|
|
9
9
|
* Filter models by use case category
|
|
10
10
|
*/
|
|
11
|
-
export const
|
|
11
|
+
export const GetModelsCategory = {
|
|
12
12
|
Programming: "programming",
|
|
13
13
|
Roleplay: "roleplay",
|
|
14
14
|
Marketing: "marketing",
|
|
@@ -22,22 +22,77 @@ export const Category = {
|
|
|
22
22
|
Trivia: "trivia",
|
|
23
23
|
Academia: "academia",
|
|
24
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* Sort the returned models server-side. Prefer this over fetching the full list and sorting client-side. Options: pricing-low-to-high, pricing-high-to-low (average prompt/completion price), context-high-to-low (context length), throughput-high-to-low, latency-low-to-high (recent median performance), most-popular, top-weekly (tokens processed in the last week), newest (creation date). When omitted, the existing default ordering is preserved.
|
|
27
|
+
*/
|
|
28
|
+
export const GetModelsSort = {
|
|
29
|
+
MostPopular: "most-popular",
|
|
30
|
+
Newest: "newest",
|
|
31
|
+
TopWeekly: "top-weekly",
|
|
32
|
+
PricingLowToHigh: "pricing-low-to-high",
|
|
33
|
+
PricingHighToLow: "pricing-high-to-low",
|
|
34
|
+
ContextHighToLow: "context-high-to-low",
|
|
35
|
+
ThroughputHighToLow: "throughput-high-to-low",
|
|
36
|
+
LatencyLowToHigh: "latency-low-to-high",
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Filter by distillation capability. "true" returns only distillable models, "false" excludes them.
|
|
40
|
+
*/
|
|
41
|
+
export const Distillable = {
|
|
42
|
+
True: "true",
|
|
43
|
+
False: "false",
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* When set to "true", return only models with zero data retention endpoints.
|
|
47
|
+
*/
|
|
48
|
+
export const Zdr = {
|
|
49
|
+
True: "true",
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Filter to models with endpoints in the given data region. Currently only "eu" is supported.
|
|
53
|
+
*/
|
|
54
|
+
export const Region = {
|
|
55
|
+
Eu: "eu",
|
|
56
|
+
};
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const GetModelsCategory$outboundSchema = openEnums.outboundSchema(GetModelsCategory);
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const GetModelsSort$outboundSchema = openEnums.outboundSchema(GetModelsSort);
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const Distillable$outboundSchema = openEnums.outboundSchema(Distillable);
|
|
63
|
+
/** @internal */
|
|
64
|
+
export const Zdr$outboundSchema = z.enum(Zdr);
|
|
25
65
|
/** @internal */
|
|
26
|
-
export const
|
|
27
|
-
.outboundSchema(Category);
|
|
66
|
+
export const Region$outboundSchema = z.enum(Region);
|
|
28
67
|
/** @internal */
|
|
29
68
|
export const GetModelsRequest$outboundSchema = z.object({
|
|
30
69
|
httpReferer: z.string().optional(),
|
|
31
70
|
appTitle: z.string().optional(),
|
|
32
71
|
appCategories: z.string().optional(),
|
|
33
|
-
category:
|
|
72
|
+
category: GetModelsCategory$outboundSchema.optional(),
|
|
34
73
|
supportedParameters: z.string().optional(),
|
|
35
74
|
outputModalities: z.string().optional(),
|
|
75
|
+
sort: GetModelsSort$outboundSchema.optional(),
|
|
76
|
+
q: z.string().optional(),
|
|
77
|
+
inputModalities: z.string().optional(),
|
|
78
|
+
context: z.int().optional(),
|
|
79
|
+
minPrice: z.nullable(z.number()).optional(),
|
|
80
|
+
maxPrice: z.nullable(z.number()).optional(),
|
|
81
|
+
arch: z.string().optional(),
|
|
82
|
+
modelAuthors: z.string().optional(),
|
|
83
|
+
providers: z.string().optional(),
|
|
84
|
+
distillable: Distillable$outboundSchema.optional(),
|
|
85
|
+
zdr: Zdr$outboundSchema.optional(),
|
|
86
|
+
region: Region$outboundSchema.optional(),
|
|
36
87
|
}).transform((v) => {
|
|
37
88
|
return remap$(v, {
|
|
38
89
|
httpReferer: "HTTP-Referer",
|
|
39
90
|
supportedParameters: "supported_parameters",
|
|
40
91
|
outputModalities: "output_modalities",
|
|
92
|
+
inputModalities: "input_modalities",
|
|
93
|
+
minPrice: "min_price",
|
|
94
|
+
maxPrice: "max_price",
|
|
95
|
+
modelAuthors: "model_authors",
|
|
41
96
|
});
|
|
42
97
|
});
|
|
43
98
|
export function getModelsRequestToJSON(getModelsRequest) {
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
export type GetPresetGlobals = {
|
|
3
|
+
/**
|
|
4
|
+
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* This is used to track API usage per application.
|
|
8
|
+
*/
|
|
9
|
+
httpReferer?: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* The app display name allows you to customize how your app appears in OpenRouter's dashboard.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
*/
|
|
15
|
+
appTitle?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
*/
|
|
21
|
+
appCategories?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
export type GetPresetRequest = {
|
|
24
|
+
/**
|
|
25
|
+
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* This is used to track API usage per application.
|
|
29
|
+
*/
|
|
30
|
+
httpReferer?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* The app display name allows you to customize how your app appears in OpenRouter's dashboard.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
*/
|
|
36
|
+
appTitle?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
*/
|
|
42
|
+
appCategories?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* URL-safe slug identifying the preset.
|
|
45
|
+
*/
|
|
46
|
+
slug: string;
|
|
47
|
+
};
|
|
48
|
+
/** @internal */
|
|
49
|
+
export type GetPresetRequest$Outbound = {
|
|
50
|
+
"HTTP-Referer"?: string | undefined;
|
|
51
|
+
appTitle?: string | undefined;
|
|
52
|
+
appCategories?: string | undefined;
|
|
53
|
+
slug: string;
|
|
54
|
+
};
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const GetPresetRequest$outboundSchema: z.ZodType<GetPresetRequest$Outbound, GetPresetRequest>;
|
|
57
|
+
export declare function getPresetRequestToJSON(getPresetRequest: GetPresetRequest): string;
|
|
58
|
+
//# sourceMappingURL=getpreset.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: b3c05a058de0
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const GetPresetRequest$outboundSchema = z.object({
|
|
9
|
+
httpReferer: z.string().optional(),
|
|
10
|
+
appTitle: z.string().optional(),
|
|
11
|
+
appCategories: z.string().optional(),
|
|
12
|
+
slug: z.string(),
|
|
13
|
+
}).transform((v) => {
|
|
14
|
+
return remap$(v, {
|
|
15
|
+
httpReferer: "HTTP-Referer",
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
export function getPresetRequestToJSON(getPresetRequest) {
|
|
19
|
+
return JSON.stringify(GetPresetRequest$outboundSchema.parse(getPresetRequest));
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=getpreset.js.map
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
export type GetPresetVersionGlobals = {
|
|
3
|
+
/**
|
|
4
|
+
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* This is used to track API usage per application.
|
|
8
|
+
*/
|
|
9
|
+
httpReferer?: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* The app display name allows you to customize how your app appears in OpenRouter's dashboard.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
*/
|
|
15
|
+
appTitle?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
*/
|
|
21
|
+
appCategories?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
export type GetPresetVersionRequest = {
|
|
24
|
+
/**
|
|
25
|
+
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* This is used to track API usage per application.
|
|
29
|
+
*/
|
|
30
|
+
httpReferer?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* The app display name allows you to customize how your app appears in OpenRouter's dashboard.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
*/
|
|
36
|
+
appTitle?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
*/
|
|
42
|
+
appCategories?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* URL-safe slug identifying the preset.
|
|
45
|
+
*/
|
|
46
|
+
slug: string;
|
|
47
|
+
/**
|
|
48
|
+
* Version number of the preset.
|
|
49
|
+
*/
|
|
50
|
+
version: string;
|
|
51
|
+
};
|
|
52
|
+
/** @internal */
|
|
53
|
+
export type GetPresetVersionRequest$Outbound = {
|
|
54
|
+
"HTTP-Referer"?: string | undefined;
|
|
55
|
+
appTitle?: string | undefined;
|
|
56
|
+
appCategories?: string | undefined;
|
|
57
|
+
slug: string;
|
|
58
|
+
version: string;
|
|
59
|
+
};
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const GetPresetVersionRequest$outboundSchema: z.ZodType<GetPresetVersionRequest$Outbound, GetPresetVersionRequest>;
|
|
62
|
+
export declare function getPresetVersionRequestToJSON(getPresetVersionRequest: GetPresetVersionRequest): string;
|
|
63
|
+
//# sourceMappingURL=getpresetversion.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: e1b248af1f73
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const GetPresetVersionRequest$outboundSchema = z.object({
|
|
9
|
+
httpReferer: z.string().optional(),
|
|
10
|
+
appTitle: z.string().optional(),
|
|
11
|
+
appCategories: z.string().optional(),
|
|
12
|
+
slug: z.string(),
|
|
13
|
+
version: z.string(),
|
|
14
|
+
}).transform((v) => {
|
|
15
|
+
return remap$(v, {
|
|
16
|
+
httpReferer: "HTTP-Referer",
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
export function getPresetVersionRequestToJSON(getPresetVersionRequest) {
|
|
20
|
+
return JSON.stringify(GetPresetVersionRequest$outboundSchema.parse(getPresetVersionRequest));
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=getpresetversion.js.map
|
|
@@ -20,19 +20,29 @@ export * from "./createresponses.js";
|
|
|
20
20
|
export * from "./createvideos.js";
|
|
21
21
|
export * from "./createworkspace.js";
|
|
22
22
|
export * from "./deletebyokkey.js";
|
|
23
|
+
export * from "./deletefile.js";
|
|
23
24
|
export * from "./deleteguardrail.js";
|
|
24
25
|
export * from "./deletekeys.js";
|
|
25
26
|
export * from "./deleteobservabilitydestination.js";
|
|
26
27
|
export * from "./deleteworkspace.js";
|
|
28
|
+
export * from "./downloadfilecontent.js";
|
|
27
29
|
export * from "./exchangeauthcodeforapikey.js";
|
|
30
|
+
export * from "./getanalyticsmeta.js";
|
|
31
|
+
export * from "./getapprankings.js";
|
|
32
|
+
export * from "./getbenchmarksartificialanalysis.js";
|
|
33
|
+
export * from "./getbenchmarksdesignarena.js";
|
|
28
34
|
export * from "./getbyokkey.js";
|
|
29
35
|
export * from "./getcredits.js";
|
|
30
36
|
export * from "./getcurrentkey.js";
|
|
37
|
+
export * from "./getfilemetadata.js";
|
|
31
38
|
export * from "./getgeneration.js";
|
|
32
39
|
export * from "./getguardrail.js";
|
|
33
40
|
export * from "./getkey.js";
|
|
41
|
+
export * from "./getmodel.js";
|
|
34
42
|
export * from "./getmodels.js";
|
|
35
43
|
export * from "./getobservabilitydestination.js";
|
|
44
|
+
export * from "./getpreset.js";
|
|
45
|
+
export * from "./getpresetversion.js";
|
|
36
46
|
export * from "./getrankingsdaily.js";
|
|
37
47
|
export * from "./getuseractivity.js";
|
|
38
48
|
export * from "./getvideos.js";
|
|
@@ -42,6 +52,7 @@ export * from "./listbyokkeys.js";
|
|
|
42
52
|
export * from "./listembeddingsmodels.js";
|
|
43
53
|
export * from "./listendpoints.js";
|
|
44
54
|
export * from "./listendpointszdr.js";
|
|
55
|
+
export * from "./listfiles.js";
|
|
45
56
|
export * from "./listgenerationcontent.js";
|
|
46
57
|
export * from "./listguardrailkeyassignments.js";
|
|
47
58
|
export * from "./listguardrailmemberassignments.js";
|
|
@@ -52,14 +63,18 @@ export * from "./listmodelscount.js";
|
|
|
52
63
|
export * from "./listmodelsuser.js";
|
|
53
64
|
export * from "./listobservabilitydestinations.js";
|
|
54
65
|
export * from "./listorganizationmembers.js";
|
|
66
|
+
export * from "./listpresets.js";
|
|
67
|
+
export * from "./listpresetversions.js";
|
|
55
68
|
export * from "./listproviders.js";
|
|
56
69
|
export * from "./listvideoscontent.js";
|
|
57
70
|
export * from "./listvideosmodels.js";
|
|
58
71
|
export * from "./listworkspaces.js";
|
|
72
|
+
export * from "./queryanalytics.js";
|
|
59
73
|
export * from "./sendchatcompletionrequest.js";
|
|
60
74
|
export * from "./updatebyokkey.js";
|
|
61
75
|
export * from "./updateguardrail.js";
|
|
62
76
|
export * from "./updatekeys.js";
|
|
63
77
|
export * from "./updateobservabilitydestination.js";
|
|
64
78
|
export * from "./updateworkspace.js";
|
|
79
|
+
export * from "./uploadfile.js";
|
|
65
80
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -24,19 +24,29 @@ export * from "./createresponses.js";
|
|
|
24
24
|
export * from "./createvideos.js";
|
|
25
25
|
export * from "./createworkspace.js";
|
|
26
26
|
export * from "./deletebyokkey.js";
|
|
27
|
+
export * from "./deletefile.js";
|
|
27
28
|
export * from "./deleteguardrail.js";
|
|
28
29
|
export * from "./deletekeys.js";
|
|
29
30
|
export * from "./deleteobservabilitydestination.js";
|
|
30
31
|
export * from "./deleteworkspace.js";
|
|
32
|
+
export * from "./downloadfilecontent.js";
|
|
31
33
|
export * from "./exchangeauthcodeforapikey.js";
|
|
34
|
+
export * from "./getanalyticsmeta.js";
|
|
35
|
+
export * from "./getapprankings.js";
|
|
36
|
+
export * from "./getbenchmarksartificialanalysis.js";
|
|
37
|
+
export * from "./getbenchmarksdesignarena.js";
|
|
32
38
|
export * from "./getbyokkey.js";
|
|
33
39
|
export * from "./getcredits.js";
|
|
34
40
|
export * from "./getcurrentkey.js";
|
|
41
|
+
export * from "./getfilemetadata.js";
|
|
35
42
|
export * from "./getgeneration.js";
|
|
36
43
|
export * from "./getguardrail.js";
|
|
37
44
|
export * from "./getkey.js";
|
|
45
|
+
export * from "./getmodel.js";
|
|
38
46
|
export * from "./getmodels.js";
|
|
39
47
|
export * from "./getobservabilitydestination.js";
|
|
48
|
+
export * from "./getpreset.js";
|
|
49
|
+
export * from "./getpresetversion.js";
|
|
40
50
|
export * from "./getrankingsdaily.js";
|
|
41
51
|
export * from "./getuseractivity.js";
|
|
42
52
|
export * from "./getvideos.js";
|
|
@@ -46,6 +56,7 @@ export * from "./listbyokkeys.js";
|
|
|
46
56
|
export * from "./listembeddingsmodels.js";
|
|
47
57
|
export * from "./listendpoints.js";
|
|
48
58
|
export * from "./listendpointszdr.js";
|
|
59
|
+
export * from "./listfiles.js";
|
|
49
60
|
export * from "./listgenerationcontent.js";
|
|
50
61
|
export * from "./listguardrailkeyassignments.js";
|
|
51
62
|
export * from "./listguardrailmemberassignments.js";
|
|
@@ -56,14 +67,18 @@ export * from "./listmodelscount.js";
|
|
|
56
67
|
export * from "./listmodelsuser.js";
|
|
57
68
|
export * from "./listobservabilitydestinations.js";
|
|
58
69
|
export * from "./listorganizationmembers.js";
|
|
70
|
+
export * from "./listpresets.js";
|
|
71
|
+
export * from "./listpresetversions.js";
|
|
59
72
|
export * from "./listproviders.js";
|
|
60
73
|
export * from "./listvideoscontent.js";
|
|
61
74
|
export * from "./listvideosmodels.js";
|
|
62
75
|
export * from "./listworkspaces.js";
|
|
76
|
+
export * from "./queryanalytics.js";
|
|
63
77
|
export * from "./sendchatcompletionrequest.js";
|
|
64
78
|
export * from "./updatebyokkey.js";
|
|
65
79
|
export * from "./updateguardrail.js";
|
|
66
80
|
export * from "./updatekeys.js";
|
|
67
81
|
export * from "./updateobservabilitydestination.js";
|
|
68
82
|
export * from "./updateworkspace.js";
|
|
83
|
+
export * from "./uploadfile.js";
|
|
69
84
|
//# sourceMappingURL=index.js.map
|
|
@@ -52,6 +52,7 @@ export declare const Provider: {
|
|
|
52
52
|
readonly Cohere: "cohere";
|
|
53
53
|
readonly Crusoe: "crusoe";
|
|
54
54
|
readonly Darkbloom: "darkbloom";
|
|
55
|
+
readonly Decart: "decart";
|
|
55
56
|
readonly Deepinfra: "deepinfra";
|
|
56
57
|
readonly Deepseek: "deepseek";
|
|
57
58
|
readonly Dekallm: "dekallm";
|
|
@@ -63,7 +64,6 @@ export declare const Provider: {
|
|
|
63
64
|
readonly GoogleAiStudio: "google-ai-studio";
|
|
64
65
|
readonly GoogleVertex: "google-vertex";
|
|
65
66
|
readonly Groq: "groq";
|
|
66
|
-
readonly Hyperbolic: "hyperbolic";
|
|
67
67
|
readonly Inception: "inception";
|
|
68
68
|
readonly Inceptron: "inceptron";
|
|
69
69
|
readonly InferenceNet: "inference-net";
|
|
@@ -106,6 +106,7 @@ export declare const Provider: {
|
|
|
106
106
|
readonly Together: "together";
|
|
107
107
|
readonly Upstage: "upstage";
|
|
108
108
|
readonly Venice: "venice";
|
|
109
|
+
readonly Wafer: "wafer";
|
|
109
110
|
readonly Wandb: "wandb";
|
|
110
111
|
readonly Xai: "xai";
|
|
111
112
|
readonly Xiaomi: "xiaomi";
|
|
@@ -35,6 +35,7 @@ export const Provider = {
|
|
|
35
35
|
Cohere: "cohere",
|
|
36
36
|
Crusoe: "crusoe",
|
|
37
37
|
Darkbloom: "darkbloom",
|
|
38
|
+
Decart: "decart",
|
|
38
39
|
Deepinfra: "deepinfra",
|
|
39
40
|
Deepseek: "deepseek",
|
|
40
41
|
Dekallm: "dekallm",
|
|
@@ -46,7 +47,6 @@ export const Provider = {
|
|
|
46
47
|
GoogleAiStudio: "google-ai-studio",
|
|
47
48
|
GoogleVertex: "google-vertex",
|
|
48
49
|
Groq: "groq",
|
|
49
|
-
Hyperbolic: "hyperbolic",
|
|
50
50
|
Inception: "inception",
|
|
51
51
|
Inceptron: "inceptron",
|
|
52
52
|
InferenceNet: "inference-net",
|
|
@@ -89,6 +89,7 @@ export const Provider = {
|
|
|
89
89
|
Together: "together",
|
|
90
90
|
Upstage: "upstage",
|
|
91
91
|
Venice: "venice",
|
|
92
|
+
Wafer: "wafer",
|
|
92
93
|
Wandb: "wandb",
|
|
93
94
|
Xai: "xai",
|
|
94
95
|
Xiaomi: "xiaomi",
|