@bodhiapp/ts-client 0.1.12 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/openapi-typescript/openapi-schema.d.ts +493 -284
- package/dist/openapi-typescript/openapi-schema.ts +493 -284
- package/dist/types/types.gen.d.ts +439 -270
- package/dist/types/types.gen.ts +458 -276
- package/package.json +1 -1
|
@@ -668,7 +668,7 @@ export interface paths {
|
|
|
668
668
|
patch?: never;
|
|
669
669
|
trace?: never;
|
|
670
670
|
};
|
|
671
|
-
"/bodhi/v1/
|
|
671
|
+
"/bodhi/v1/toolset_types": {
|
|
672
672
|
parameters: {
|
|
673
673
|
query?: never;
|
|
674
674
|
header?: never;
|
|
@@ -676,10 +676,10 @@ export interface paths {
|
|
|
676
676
|
cookie?: never;
|
|
677
677
|
};
|
|
678
678
|
/**
|
|
679
|
-
*
|
|
680
|
-
* @description
|
|
679
|
+
* List all available toolset types with their tools
|
|
680
|
+
* @description For OAuth tokens, filters types by scope_toolset-* scopes in the token.
|
|
681
681
|
*/
|
|
682
|
-
get: operations["
|
|
682
|
+
get: operations["listToolsetTypes"];
|
|
683
683
|
put?: never;
|
|
684
684
|
post?: never;
|
|
685
685
|
delete?: never;
|
|
@@ -688,7 +688,7 @@ export interface paths {
|
|
|
688
688
|
patch?: never;
|
|
689
689
|
trace?: never;
|
|
690
690
|
};
|
|
691
|
-
"/bodhi/v1/
|
|
691
|
+
"/bodhi/v1/toolset_types/{type_id}/app-config": {
|
|
692
692
|
parameters: {
|
|
693
693
|
query?: never;
|
|
694
694
|
header?: never;
|
|
@@ -696,19 +696,17 @@ export interface paths {
|
|
|
696
696
|
cookie?: never;
|
|
697
697
|
};
|
|
698
698
|
get?: never;
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
post: operations["requestUserAccess"];
|
|
705
|
-
delete?: never;
|
|
699
|
+
/** Enable a toolset type at app level (admin only - enforced by auth middleware) */
|
|
700
|
+
put: operations["enableToolsetType"];
|
|
701
|
+
post?: never;
|
|
702
|
+
/** Disable a toolset type at app level (admin only - enforced by auth middleware) */
|
|
703
|
+
delete: operations["disableToolsetType"];
|
|
706
704
|
options?: never;
|
|
707
705
|
head?: never;
|
|
708
706
|
patch?: never;
|
|
709
707
|
trace?: never;
|
|
710
708
|
};
|
|
711
|
-
"/bodhi/v1/
|
|
709
|
+
"/bodhi/v1/toolsets": {
|
|
712
710
|
parameters: {
|
|
713
711
|
query?: never;
|
|
714
712
|
header?: never;
|
|
@@ -716,39 +714,39 @@ export interface paths {
|
|
|
716
714
|
cookie?: never;
|
|
717
715
|
};
|
|
718
716
|
/**
|
|
719
|
-
*
|
|
720
|
-
* @description
|
|
717
|
+
* List all toolsets for the authenticated user
|
|
718
|
+
* @description For OAuth tokens, filters toolsets by scope_toolset-* scopes in the token.
|
|
721
719
|
*/
|
|
722
|
-
get: operations["
|
|
720
|
+
get: operations["listToolsets"];
|
|
723
721
|
put?: never;
|
|
724
|
-
|
|
722
|
+
/** Create a new toolset */
|
|
723
|
+
post: operations["createToolset"];
|
|
725
724
|
delete?: never;
|
|
726
725
|
options?: never;
|
|
727
726
|
head?: never;
|
|
728
727
|
patch?: never;
|
|
729
728
|
trace?: never;
|
|
730
729
|
};
|
|
731
|
-
"/bodhi/v1/
|
|
730
|
+
"/bodhi/v1/toolsets/{id}": {
|
|
732
731
|
parameters: {
|
|
733
732
|
query?: never;
|
|
734
733
|
header?: never;
|
|
735
734
|
path?: never;
|
|
736
735
|
cookie?: never;
|
|
737
736
|
};
|
|
738
|
-
/**
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
get: operations["listUsers"];
|
|
743
|
-
put?: never;
|
|
737
|
+
/** Get a specific toolset by ID */
|
|
738
|
+
get: operations["getToolset"];
|
|
739
|
+
/** Update a toolset (full PUT semantics) */
|
|
740
|
+
put: operations["updateToolset"];
|
|
744
741
|
post?: never;
|
|
745
|
-
|
|
742
|
+
/** Delete a toolset */
|
|
743
|
+
delete: operations["deleteToolset"];
|
|
746
744
|
options?: never;
|
|
747
745
|
head?: never;
|
|
748
746
|
patch?: never;
|
|
749
747
|
trace?: never;
|
|
750
748
|
};
|
|
751
|
-
"/bodhi/v1/
|
|
749
|
+
"/bodhi/v1/toolsets/{id}/execute/{method}": {
|
|
752
750
|
parameters: {
|
|
753
751
|
query?: never;
|
|
754
752
|
header?: never;
|
|
@@ -757,18 +755,35 @@ export interface paths {
|
|
|
757
755
|
};
|
|
758
756
|
get?: never;
|
|
759
757
|
put?: never;
|
|
760
|
-
|
|
758
|
+
/** Execute a tool method on a toolset */
|
|
759
|
+
post: operations["executeToolset"];
|
|
760
|
+
delete?: never;
|
|
761
|
+
options?: never;
|
|
762
|
+
head?: never;
|
|
763
|
+
patch?: never;
|
|
764
|
+
trace?: never;
|
|
765
|
+
};
|
|
766
|
+
"/bodhi/v1/user": {
|
|
767
|
+
parameters: {
|
|
768
|
+
query?: never;
|
|
769
|
+
header?: never;
|
|
770
|
+
path?: never;
|
|
771
|
+
cookie?: never;
|
|
772
|
+
};
|
|
761
773
|
/**
|
|
762
|
-
*
|
|
763
|
-
* @description
|
|
774
|
+
* Get Current User Information
|
|
775
|
+
* @description Retrieves information about the currently authenticated user. This endpoint supports optional authentication - returns `logged_out` status if not authenticated, or user details with roles/scopes if authenticated via any method (session, API token, or OAuth exchange).
|
|
764
776
|
*/
|
|
765
|
-
|
|
777
|
+
get: operations["getCurrentUser"];
|
|
778
|
+
put?: never;
|
|
779
|
+
post?: never;
|
|
780
|
+
delete?: never;
|
|
766
781
|
options?: never;
|
|
767
782
|
head?: never;
|
|
768
783
|
patch?: never;
|
|
769
784
|
trace?: never;
|
|
770
785
|
};
|
|
771
|
-
"/bodhi/v1/
|
|
786
|
+
"/bodhi/v1/user/request-access": {
|
|
772
787
|
parameters: {
|
|
773
788
|
query?: never;
|
|
774
789
|
header?: never;
|
|
@@ -776,19 +791,19 @@ export interface paths {
|
|
|
776
791
|
cookie?: never;
|
|
777
792
|
};
|
|
778
793
|
get?: never;
|
|
794
|
+
put?: never;
|
|
779
795
|
/**
|
|
780
|
-
*
|
|
781
|
-
* @description
|
|
796
|
+
* Request User Access
|
|
797
|
+
* @description Authenticated users without roles can request access to the system. Only one pending request is allowed per user.
|
|
782
798
|
*/
|
|
783
|
-
|
|
784
|
-
post?: never;
|
|
799
|
+
post: operations["requestUserAccess"];
|
|
785
800
|
delete?: never;
|
|
786
801
|
options?: never;
|
|
787
802
|
head?: never;
|
|
788
803
|
patch?: never;
|
|
789
804
|
trace?: never;
|
|
790
805
|
};
|
|
791
|
-
"/
|
|
806
|
+
"/bodhi/v1/user/request-status": {
|
|
792
807
|
parameters: {
|
|
793
808
|
query?: never;
|
|
794
809
|
header?: never;
|
|
@@ -796,10 +811,10 @@ export interface paths {
|
|
|
796
811
|
cookie?: never;
|
|
797
812
|
};
|
|
798
813
|
/**
|
|
799
|
-
*
|
|
800
|
-
* @description
|
|
814
|
+
* Get Access Request Status
|
|
815
|
+
* @description Check the status of the current user's access request.
|
|
801
816
|
*/
|
|
802
|
-
get: operations["
|
|
817
|
+
get: operations["getUserAccessStatus"];
|
|
803
818
|
put?: never;
|
|
804
819
|
post?: never;
|
|
805
820
|
delete?: never;
|
|
@@ -808,7 +823,7 @@ export interface paths {
|
|
|
808
823
|
patch?: never;
|
|
809
824
|
trace?: never;
|
|
810
825
|
};
|
|
811
|
-
"/
|
|
826
|
+
"/bodhi/v1/users": {
|
|
812
827
|
parameters: {
|
|
813
828
|
query?: never;
|
|
814
829
|
header?: never;
|
|
@@ -816,10 +831,10 @@ export interface paths {
|
|
|
816
831
|
cookie?: never;
|
|
817
832
|
};
|
|
818
833
|
/**
|
|
819
|
-
*
|
|
820
|
-
* @description
|
|
834
|
+
* List users
|
|
835
|
+
* @description List all users with roles and status information. Available to managers and admins.
|
|
821
836
|
*/
|
|
822
|
-
get: operations["
|
|
837
|
+
get: operations["listUsers"];
|
|
823
838
|
put?: never;
|
|
824
839
|
post?: never;
|
|
825
840
|
delete?: never;
|
|
@@ -828,28 +843,27 @@ export interface paths {
|
|
|
828
843
|
patch?: never;
|
|
829
844
|
trace?: never;
|
|
830
845
|
};
|
|
831
|
-
"/
|
|
846
|
+
"/bodhi/v1/users/{user_id}": {
|
|
832
847
|
parameters: {
|
|
833
848
|
query?: never;
|
|
834
849
|
header?: never;
|
|
835
850
|
path?: never;
|
|
836
851
|
cookie?: never;
|
|
837
852
|
};
|
|
838
|
-
|
|
839
|
-
* List all available toolset definitions with app-enabled status (for UI)
|
|
840
|
-
* @description For OAuth tokens, filters toolsets based on scope_toolset-* scopes in the token.
|
|
841
|
-
* For session auth, returns all toolsets.
|
|
842
|
-
*/
|
|
843
|
-
get: operations["list_all_toolsets_handler"];
|
|
853
|
+
get?: never;
|
|
844
854
|
put?: never;
|
|
845
855
|
post?: never;
|
|
846
|
-
|
|
856
|
+
/**
|
|
857
|
+
* Remove user access
|
|
858
|
+
* @description Remove a user's access to the application. Only admins can remove users.
|
|
859
|
+
*/
|
|
860
|
+
delete: operations["removeUser"];
|
|
847
861
|
options?: never;
|
|
848
862
|
head?: never;
|
|
849
863
|
patch?: never;
|
|
850
864
|
trace?: never;
|
|
851
865
|
};
|
|
852
|
-
"/
|
|
866
|
+
"/bodhi/v1/users/{user_id}/role": {
|
|
853
867
|
parameters: {
|
|
854
868
|
query?: never;
|
|
855
869
|
header?: never;
|
|
@@ -857,46 +871,52 @@ export interface paths {
|
|
|
857
871
|
cookie?: never;
|
|
858
872
|
};
|
|
859
873
|
get?: never;
|
|
860
|
-
/**
|
|
861
|
-
|
|
874
|
+
/**
|
|
875
|
+
* Change user role
|
|
876
|
+
* @description Assign a new role to a user. Admins can assign any role, managers can assign user/power_user/manager roles.
|
|
877
|
+
*/
|
|
878
|
+
put: operations["changeUserRole"];
|
|
862
879
|
post?: never;
|
|
863
|
-
|
|
864
|
-
delete: operations["disable_app_toolset_handler"];
|
|
880
|
+
delete?: never;
|
|
865
881
|
options?: never;
|
|
866
882
|
head?: never;
|
|
867
883
|
patch?: never;
|
|
868
884
|
trace?: never;
|
|
869
885
|
};
|
|
870
|
-
"/
|
|
886
|
+
"/health": {
|
|
871
887
|
parameters: {
|
|
872
888
|
query?: never;
|
|
873
889
|
header?: never;
|
|
874
890
|
path?: never;
|
|
875
891
|
cookie?: never;
|
|
876
892
|
};
|
|
877
|
-
/**
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
893
|
+
/**
|
|
894
|
+
* Health Check
|
|
895
|
+
* @description Comprehensive health check to verify all application components are operational
|
|
896
|
+
*/
|
|
897
|
+
get: operations["healthCheck"];
|
|
898
|
+
put?: never;
|
|
881
899
|
post?: never;
|
|
882
|
-
|
|
883
|
-
delete: operations["delete_toolset_config_handler"];
|
|
900
|
+
delete?: never;
|
|
884
901
|
options?: never;
|
|
885
902
|
head?: never;
|
|
886
903
|
patch?: never;
|
|
887
904
|
trace?: never;
|
|
888
905
|
};
|
|
889
|
-
"/
|
|
906
|
+
"/ping": {
|
|
890
907
|
parameters: {
|
|
891
908
|
query?: never;
|
|
892
909
|
header?: never;
|
|
893
910
|
path?: never;
|
|
894
911
|
cookie?: never;
|
|
895
912
|
};
|
|
896
|
-
|
|
913
|
+
/**
|
|
914
|
+
* Ping Server
|
|
915
|
+
* @description Simple connectivity check to verify the server is responding
|
|
916
|
+
*/
|
|
917
|
+
get: operations["pingServer"];
|
|
897
918
|
put?: never;
|
|
898
|
-
|
|
899
|
-
post: operations["execute_toolset_handler"];
|
|
919
|
+
post?: never;
|
|
900
920
|
delete?: never;
|
|
901
921
|
options?: never;
|
|
902
922
|
head?: never;
|
|
@@ -1060,6 +1080,16 @@ export interface components {
|
|
|
1060
1080
|
/** @enum {string} */
|
|
1061
1081
|
action: "set";
|
|
1062
1082
|
};
|
|
1083
|
+
/** @description API key update enum (mirrors services::db::ApiKeyUpdate) */
|
|
1084
|
+
ApiKeyUpdateDto: {
|
|
1085
|
+
/** @enum {string} */
|
|
1086
|
+
action: "Keep";
|
|
1087
|
+
} | {
|
|
1088
|
+
/** @description Set a new API key (or clear if None) */
|
|
1089
|
+
value: string | null;
|
|
1090
|
+
/** @enum {string} */
|
|
1091
|
+
action: "Set";
|
|
1092
|
+
};
|
|
1063
1093
|
/**
|
|
1064
1094
|
* @description Response containing API model configuration
|
|
1065
1095
|
* @example {
|
|
@@ -1130,7 +1160,7 @@ export interface components {
|
|
|
1130
1160
|
/** @description List of toolsets the app-client is configured to access */
|
|
1131
1161
|
toolsets?: components["schemas"]["AppClientToolset"][];
|
|
1132
1162
|
/** @description Version of app-client's toolset configuration on auth server */
|
|
1133
|
-
app_client_config_version
|
|
1163
|
+
app_client_config_version?: string | null;
|
|
1134
1164
|
};
|
|
1135
1165
|
/** @description Toolset configuration from app-client registration */
|
|
1136
1166
|
AppClientToolset: {
|
|
@@ -1932,6 +1962,19 @@ export interface components {
|
|
|
1932
1962
|
/** @description The usage information for the request. */
|
|
1933
1963
|
usage: components["schemas"]["EmbeddingUsage"];
|
|
1934
1964
|
};
|
|
1965
|
+
/** @description Request to create a toolset */
|
|
1966
|
+
CreateToolsetRequest: {
|
|
1967
|
+
/** @description Toolset type identifier (e.g., "builtin-exa-web-search") */
|
|
1968
|
+
toolset_type: string;
|
|
1969
|
+
/** @description User-defined name for this toolset (2-24 chars, alphanumeric + spaces/dash/underscore) */
|
|
1970
|
+
name: string;
|
|
1971
|
+
/** @description Optional description for this toolset */
|
|
1972
|
+
description?: string | null;
|
|
1973
|
+
/** @description Whether this toolset is enabled */
|
|
1974
|
+
enabled?: boolean;
|
|
1975
|
+
/** @description API key for the toolset */
|
|
1976
|
+
api_key: string;
|
|
1977
|
+
};
|
|
1935
1978
|
CustomGrammarFormatParam: {
|
|
1936
1979
|
/** @description The grammar definition. */
|
|
1937
1980
|
definition: string;
|
|
@@ -2024,15 +2067,6 @@ export interface components {
|
|
|
2024
2067
|
};
|
|
2025
2068
|
/** @enum {string} */
|
|
2026
2069
|
EncodingFormat: "float" | "base64";
|
|
2027
|
-
/** @description Enhanced toolset config response with app-level status */
|
|
2028
|
-
EnhancedToolsetConfigResponse: {
|
|
2029
|
-
/** @description Toolset identifier */
|
|
2030
|
-
toolset_id: string;
|
|
2031
|
-
/** @description Whether the toolset is enabled at app level */
|
|
2032
|
-
app_enabled: boolean;
|
|
2033
|
-
/** @description User's configuration */
|
|
2034
|
-
config: components["schemas"]["UserToolsetConfig"];
|
|
2035
|
-
};
|
|
2036
2070
|
/** @example {
|
|
2037
2071
|
* "code": "validation_error",
|
|
2038
2072
|
* "message": "Validation failed: name is required",
|
|
@@ -2063,8 +2097,6 @@ export interface components {
|
|
|
2063
2097
|
};
|
|
2064
2098
|
/** @description Request to execute a toolset */
|
|
2065
2099
|
ExecuteToolsetRequest: {
|
|
2066
|
-
/** @description Tool call ID from LLM */
|
|
2067
|
-
tool_call_id: string;
|
|
2068
2100
|
/** @description Function parameters as JSON */
|
|
2069
2101
|
params: unknown;
|
|
2070
2102
|
};
|
|
@@ -2173,9 +2205,13 @@ export interface components {
|
|
|
2173
2205
|
object: string;
|
|
2174
2206
|
data: components["schemas"]["Model"][];
|
|
2175
2207
|
};
|
|
2176
|
-
/** @description
|
|
2208
|
+
/** @description List of toolset types */
|
|
2209
|
+
ListToolsetTypesResponse: {
|
|
2210
|
+
types: components["schemas"]["ToolsetTypeResponse"][];
|
|
2211
|
+
};
|
|
2212
|
+
/** @description List of toolsets */
|
|
2177
2213
|
ListToolsetsResponse: {
|
|
2178
|
-
toolsets: components["schemas"]["
|
|
2214
|
+
toolsets: components["schemas"]["ToolsetResponse"][];
|
|
2179
2215
|
};
|
|
2180
2216
|
/** @description List users query parameters */
|
|
2181
2217
|
ListUsersParams: {
|
|
@@ -2745,16 +2781,83 @@ export interface components {
|
|
|
2745
2781
|
/** @description Function definition details */
|
|
2746
2782
|
function: components["schemas"]["FunctionDefinition"];
|
|
2747
2783
|
};
|
|
2784
|
+
/** @description User-owned toolset instance with UUID identification */
|
|
2785
|
+
Toolset: {
|
|
2786
|
+
/** @description Unique instance identifier (UUID) */
|
|
2787
|
+
id: string;
|
|
2788
|
+
/** @description User-defined name for this instance */
|
|
2789
|
+
name: string;
|
|
2790
|
+
/** @description Toolset type identifier (e.g., "builtin-exa-web-search") */
|
|
2791
|
+
toolset_type: string;
|
|
2792
|
+
/** @description Optional description for this instance */
|
|
2793
|
+
description?: string | null;
|
|
2794
|
+
/** @description Whether this instance is enabled */
|
|
2795
|
+
enabled: boolean;
|
|
2796
|
+
/** @description Whether this instance has an API key configured */
|
|
2797
|
+
has_api_key: boolean;
|
|
2798
|
+
/**
|
|
2799
|
+
* Format: date-time
|
|
2800
|
+
* @description When this instance was created
|
|
2801
|
+
* @example 2024-11-10T04:52:06.786Z
|
|
2802
|
+
*/
|
|
2803
|
+
created_at: string;
|
|
2804
|
+
/**
|
|
2805
|
+
* Format: date-time
|
|
2806
|
+
* @description When this instance was last updated
|
|
2807
|
+
* @example 2024-11-10T04:52:06.786Z
|
|
2808
|
+
*/
|
|
2809
|
+
updated_at: string;
|
|
2810
|
+
};
|
|
2748
2811
|
/** @description Response from toolset tool execution (to send back to LLM) */
|
|
2749
2812
|
ToolsetExecutionResponse: {
|
|
2750
|
-
/** @description Tool call ID this response is for */
|
|
2751
|
-
tool_call_id: string;
|
|
2752
2813
|
/** @description Successful result (JSON), if any */
|
|
2753
2814
|
result?: unknown;
|
|
2754
2815
|
/** @description Error message, if execution failed */
|
|
2755
2816
|
error?: string | null;
|
|
2756
2817
|
};
|
|
2757
|
-
/** @description Toolset
|
|
2818
|
+
/** @description Toolset response */
|
|
2819
|
+
ToolsetResponse: {
|
|
2820
|
+
/** @description Unique instance identifier (UUID) */
|
|
2821
|
+
id: string;
|
|
2822
|
+
/** @description User-defined name for this toolset */
|
|
2823
|
+
name: string;
|
|
2824
|
+
/** @description Toolset type identifier (e.g., "builtin-exa-web-search") */
|
|
2825
|
+
toolset_type: string;
|
|
2826
|
+
/** @description Optional description for this toolset */
|
|
2827
|
+
description?: string | null;
|
|
2828
|
+
/** @description Whether this toolset is enabled */
|
|
2829
|
+
enabled: boolean;
|
|
2830
|
+
/** @description Whether this toolset has an API key configured */
|
|
2831
|
+
has_api_key: boolean;
|
|
2832
|
+
/** @description Whether the toolset type is enabled at app level */
|
|
2833
|
+
app_enabled: boolean;
|
|
2834
|
+
/** @description Tools provided by this toolset type */
|
|
2835
|
+
tools: components["schemas"]["ToolDefinition"][];
|
|
2836
|
+
/**
|
|
2837
|
+
* Format: date-time
|
|
2838
|
+
* @description When this toolset was created
|
|
2839
|
+
*/
|
|
2840
|
+
created_at: string;
|
|
2841
|
+
/**
|
|
2842
|
+
* Format: date-time
|
|
2843
|
+
* @description When this toolset was last updated
|
|
2844
|
+
*/
|
|
2845
|
+
updated_at: string;
|
|
2846
|
+
};
|
|
2847
|
+
/** @description Toolset type response (for admin listing) */
|
|
2848
|
+
ToolsetTypeResponse: {
|
|
2849
|
+
/** @description Unique toolset type identifier (e.g., "builtin-exa-web-search") */
|
|
2850
|
+
toolset_id: string;
|
|
2851
|
+
/** @description Human-readable name (e.g., "Exa Web Search") */
|
|
2852
|
+
name: string;
|
|
2853
|
+
/** @description Description of the toolset */
|
|
2854
|
+
description: string;
|
|
2855
|
+
/** @description Whether the toolset is enabled at app level (admin-controlled) */
|
|
2856
|
+
app_enabled: boolean;
|
|
2857
|
+
/** @description Tools provided by this toolset */
|
|
2858
|
+
tools: components["schemas"]["ToolDefinition"][];
|
|
2859
|
+
};
|
|
2860
|
+
/** @description Toolset with app-level configuration status (API response model) */
|
|
2758
2861
|
ToolsetWithTools: {
|
|
2759
2862
|
/** @description Unique toolset identifier (e.g., "builtin-exa-web-search") */
|
|
2760
2863
|
toolset_id: string;
|
|
@@ -2764,7 +2867,6 @@ export interface components {
|
|
|
2764
2867
|
description: string;
|
|
2765
2868
|
/** @description Whether the toolset is enabled at app level (admin-controlled) */
|
|
2766
2869
|
app_enabled: boolean;
|
|
2767
|
-
user_config?: null | components["schemas"]["UserToolsetConfigSummary"];
|
|
2768
2870
|
/** @description Tools provided by this toolset */
|
|
2769
2871
|
tools: components["schemas"]["ToolDefinition"][];
|
|
2770
2872
|
};
|
|
@@ -2841,12 +2943,16 @@ export interface components {
|
|
|
2841
2943
|
/** @description New value for the setting (type depends on setting metadata) */
|
|
2842
2944
|
value: unknown;
|
|
2843
2945
|
};
|
|
2844
|
-
/** @description Request to update a
|
|
2845
|
-
|
|
2846
|
-
/** @description
|
|
2946
|
+
/** @description Request to update a toolset (full PUT - all fields required except api_key) */
|
|
2947
|
+
UpdateToolsetRequest: {
|
|
2948
|
+
/** @description User-defined name for this toolset */
|
|
2949
|
+
name: string;
|
|
2950
|
+
/** @description Optional description for this toolset */
|
|
2951
|
+
description?: string | null;
|
|
2952
|
+
/** @description Whether this toolset is enabled */
|
|
2847
2953
|
enabled: boolean;
|
|
2848
|
-
/** @description
|
|
2849
|
-
api_key?:
|
|
2954
|
+
/** @description API key update action (Keep or Set) */
|
|
2955
|
+
api_key?: components["schemas"]["ApiKeyUpdateDto"];
|
|
2850
2956
|
};
|
|
2851
2957
|
UrlCitation: {
|
|
2852
2958
|
/**
|
|
@@ -2996,33 +3102,6 @@ export interface components {
|
|
|
2996
3102
|
});
|
|
2997
3103
|
/** @enum {string} */
|
|
2998
3104
|
UserScope: "scope_user_user" | "scope_user_power_user" | "scope_user_manager" | "scope_user_admin";
|
|
2999
|
-
/** @description User's configuration for a specific toolset (API model - no sensitive data).
|
|
3000
|
-
* API key is stored at toolset level (one key for all tools in toolset). */
|
|
3001
|
-
UserToolsetConfig: {
|
|
3002
|
-
/** @description Toolset identifier (e.g., "builtin-exa-web-search") */
|
|
3003
|
-
toolset_id: string;
|
|
3004
|
-
/** @description Whether the toolset is enabled for this user */
|
|
3005
|
-
enabled: boolean;
|
|
3006
|
-
/**
|
|
3007
|
-
* Format: date-time
|
|
3008
|
-
* @description When this configuration was created
|
|
3009
|
-
* @example 2024-11-10T04:52:06.786Z
|
|
3010
|
-
*/
|
|
3011
|
-
created_at: string;
|
|
3012
|
-
/**
|
|
3013
|
-
* Format: date-time
|
|
3014
|
-
* @description When this configuration was last updated
|
|
3015
|
-
* @example 2024-11-10T04:52:06.786Z
|
|
3016
|
-
*/
|
|
3017
|
-
updated_at: string;
|
|
3018
|
-
};
|
|
3019
|
-
/** @description Summary of user's toolset configuration (for list responses) */
|
|
3020
|
-
UserToolsetConfigSummary: {
|
|
3021
|
-
/** @description Whether the user has enabled this toolset */
|
|
3022
|
-
enabled: boolean;
|
|
3023
|
-
/** @description Whether the user has configured an API key */
|
|
3024
|
-
has_api_key: boolean;
|
|
3025
|
-
};
|
|
3026
3105
|
/**
|
|
3027
3106
|
* @description Constrains the verbosity of the model's response. Lower values will result in more concise responses, while higher values will result in more verbose responses. Currently supported values are `low`, `medium`, and `high`.
|
|
3028
3107
|
* @enum {string}
|
|
@@ -6076,7 +6155,7 @@ export interface operations {
|
|
|
6076
6155
|
};
|
|
6077
6156
|
};
|
|
6078
6157
|
};
|
|
6079
|
-
|
|
6158
|
+
listToolsetTypes: {
|
|
6080
6159
|
parameters: {
|
|
6081
6160
|
query?: never;
|
|
6082
6161
|
header?: never;
|
|
@@ -6085,13 +6164,13 @@ export interface operations {
|
|
|
6085
6164
|
};
|
|
6086
6165
|
requestBody?: never;
|
|
6087
6166
|
responses: {
|
|
6088
|
-
/** @description
|
|
6167
|
+
/** @description List of all toolset types */
|
|
6089
6168
|
200: {
|
|
6090
6169
|
headers: {
|
|
6091
6170
|
[name: string]: unknown;
|
|
6092
6171
|
};
|
|
6093
6172
|
content: {
|
|
6094
|
-
"application/json": components["schemas"]["
|
|
6173
|
+
"application/json": components["schemas"]["ListToolsetTypesResponse"];
|
|
6095
6174
|
};
|
|
6096
6175
|
};
|
|
6097
6176
|
/** @description Invalid request parameters */
|
|
@@ -6132,21 +6211,26 @@ export interface operations {
|
|
|
6132
6211
|
};
|
|
6133
6212
|
};
|
|
6134
6213
|
};
|
|
6135
|
-
|
|
6214
|
+
enableToolsetType: {
|
|
6136
6215
|
parameters: {
|
|
6137
6216
|
query?: never;
|
|
6138
6217
|
header?: never;
|
|
6139
|
-
path
|
|
6218
|
+
path: {
|
|
6219
|
+
/** @description Toolset type identifier */
|
|
6220
|
+
type_id: string;
|
|
6221
|
+
};
|
|
6140
6222
|
cookie?: never;
|
|
6141
6223
|
};
|
|
6142
6224
|
requestBody?: never;
|
|
6143
6225
|
responses: {
|
|
6144
|
-
/** @description
|
|
6145
|
-
|
|
6226
|
+
/** @description Toolset type enabled */
|
|
6227
|
+
200: {
|
|
6146
6228
|
headers: {
|
|
6147
6229
|
[name: string]: unknown;
|
|
6148
6230
|
};
|
|
6149
|
-
content
|
|
6231
|
+
content: {
|
|
6232
|
+
"application/json": components["schemas"]["AppToolsetConfigResponse"];
|
|
6233
|
+
};
|
|
6150
6234
|
};
|
|
6151
6235
|
/** @description Invalid request parameters */
|
|
6152
6236
|
400: {
|
|
@@ -6175,23 +6259,12 @@ export interface operations {
|
|
|
6175
6259
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6176
6260
|
};
|
|
6177
6261
|
};
|
|
6178
|
-
/** @description
|
|
6179
|
-
|
|
6180
|
-
headers: {
|
|
6181
|
-
[name: string]: unknown;
|
|
6182
|
-
};
|
|
6183
|
-
content: {
|
|
6184
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6185
|
-
};
|
|
6186
|
-
};
|
|
6187
|
-
/** @description User already has role */
|
|
6188
|
-
422: {
|
|
6262
|
+
/** @description Toolset type not found */
|
|
6263
|
+
404: {
|
|
6189
6264
|
headers: {
|
|
6190
6265
|
[name: string]: unknown;
|
|
6191
6266
|
};
|
|
6192
|
-
content
|
|
6193
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6194
|
-
};
|
|
6267
|
+
content?: never;
|
|
6195
6268
|
};
|
|
6196
6269
|
/** @description Internal server error */
|
|
6197
6270
|
500: {
|
|
@@ -6204,22 +6277,25 @@ export interface operations {
|
|
|
6204
6277
|
};
|
|
6205
6278
|
};
|
|
6206
6279
|
};
|
|
6207
|
-
|
|
6280
|
+
disableToolsetType: {
|
|
6208
6281
|
parameters: {
|
|
6209
6282
|
query?: never;
|
|
6210
6283
|
header?: never;
|
|
6211
|
-
path
|
|
6284
|
+
path: {
|
|
6285
|
+
/** @description Toolset type identifier */
|
|
6286
|
+
type_id: string;
|
|
6287
|
+
};
|
|
6212
6288
|
cookie?: never;
|
|
6213
6289
|
};
|
|
6214
6290
|
requestBody?: never;
|
|
6215
6291
|
responses: {
|
|
6216
|
-
/** @description
|
|
6292
|
+
/** @description Toolset type disabled */
|
|
6217
6293
|
200: {
|
|
6218
6294
|
headers: {
|
|
6219
6295
|
[name: string]: unknown;
|
|
6220
6296
|
};
|
|
6221
6297
|
content: {
|
|
6222
|
-
"application/json": components["schemas"]["
|
|
6298
|
+
"application/json": components["schemas"]["AppToolsetConfigResponse"];
|
|
6223
6299
|
};
|
|
6224
6300
|
};
|
|
6225
6301
|
/** @description Invalid request parameters */
|
|
@@ -6249,14 +6325,12 @@ export interface operations {
|
|
|
6249
6325
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6250
6326
|
};
|
|
6251
6327
|
};
|
|
6252
|
-
/** @description
|
|
6328
|
+
/** @description Toolset type not found */
|
|
6253
6329
|
404: {
|
|
6254
6330
|
headers: {
|
|
6255
6331
|
[name: string]: unknown;
|
|
6256
6332
|
};
|
|
6257
|
-
content
|
|
6258
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6259
|
-
};
|
|
6333
|
+
content?: never;
|
|
6260
6334
|
};
|
|
6261
6335
|
/** @description Internal server error */
|
|
6262
6336
|
500: {
|
|
@@ -6269,33 +6343,22 @@ export interface operations {
|
|
|
6269
6343
|
};
|
|
6270
6344
|
};
|
|
6271
6345
|
};
|
|
6272
|
-
|
|
6346
|
+
listToolsets: {
|
|
6273
6347
|
parameters: {
|
|
6274
|
-
query?:
|
|
6275
|
-
/**
|
|
6276
|
-
* @description Page number (1-based)
|
|
6277
|
-
* @example 1
|
|
6278
|
-
*/
|
|
6279
|
-
page?: number;
|
|
6280
|
-
/**
|
|
6281
|
-
* @description Number of users per page
|
|
6282
|
-
* @example 10
|
|
6283
|
-
*/
|
|
6284
|
-
page_size?: number;
|
|
6285
|
-
};
|
|
6348
|
+
query?: never;
|
|
6286
6349
|
header?: never;
|
|
6287
6350
|
path?: never;
|
|
6288
6351
|
cookie?: never;
|
|
6289
6352
|
};
|
|
6290
6353
|
requestBody?: never;
|
|
6291
6354
|
responses: {
|
|
6292
|
-
/** @description
|
|
6355
|
+
/** @description List of user's toolsets */
|
|
6293
6356
|
200: {
|
|
6294
6357
|
headers: {
|
|
6295
6358
|
[name: string]: unknown;
|
|
6296
6359
|
};
|
|
6297
6360
|
content: {
|
|
6298
|
-
"application/json": components["schemas"]["
|
|
6361
|
+
"application/json": components["schemas"]["ListToolsetsResponse"];
|
|
6299
6362
|
};
|
|
6300
6363
|
};
|
|
6301
6364
|
/** @description Invalid request parameters */
|
|
@@ -6336,24 +6399,27 @@ export interface operations {
|
|
|
6336
6399
|
};
|
|
6337
6400
|
};
|
|
6338
6401
|
};
|
|
6339
|
-
|
|
6402
|
+
createToolset: {
|
|
6340
6403
|
parameters: {
|
|
6341
6404
|
query?: never;
|
|
6342
6405
|
header?: never;
|
|
6343
|
-
path
|
|
6344
|
-
/** @description User ID to remove */
|
|
6345
|
-
user_id: string;
|
|
6346
|
-
};
|
|
6406
|
+
path?: never;
|
|
6347
6407
|
cookie?: never;
|
|
6348
6408
|
};
|
|
6349
|
-
requestBody
|
|
6409
|
+
requestBody: {
|
|
6410
|
+
content: {
|
|
6411
|
+
"application/json": components["schemas"]["CreateToolsetRequest"];
|
|
6412
|
+
};
|
|
6413
|
+
};
|
|
6350
6414
|
responses: {
|
|
6351
|
-
/** @description
|
|
6352
|
-
|
|
6415
|
+
/** @description Toolset created */
|
|
6416
|
+
201: {
|
|
6353
6417
|
headers: {
|
|
6354
6418
|
[name: string]: unknown;
|
|
6355
6419
|
};
|
|
6356
|
-
content
|
|
6420
|
+
content: {
|
|
6421
|
+
"application/json": components["schemas"]["ToolsetResponse"];
|
|
6422
|
+
};
|
|
6357
6423
|
};
|
|
6358
6424
|
/** @description Invalid request parameters */
|
|
6359
6425
|
400: {
|
|
@@ -6382,8 +6448,65 @@ export interface operations {
|
|
|
6382
6448
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6383
6449
|
};
|
|
6384
6450
|
};
|
|
6385
|
-
/** @description
|
|
6386
|
-
|
|
6451
|
+
/** @description Name already exists */
|
|
6452
|
+
409: {
|
|
6453
|
+
headers: {
|
|
6454
|
+
[name: string]: unknown;
|
|
6455
|
+
};
|
|
6456
|
+
content?: never;
|
|
6457
|
+
};
|
|
6458
|
+
/** @description Internal server error */
|
|
6459
|
+
500: {
|
|
6460
|
+
headers: {
|
|
6461
|
+
[name: string]: unknown;
|
|
6462
|
+
};
|
|
6463
|
+
content: {
|
|
6464
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6465
|
+
};
|
|
6466
|
+
};
|
|
6467
|
+
};
|
|
6468
|
+
};
|
|
6469
|
+
getToolset: {
|
|
6470
|
+
parameters: {
|
|
6471
|
+
query?: never;
|
|
6472
|
+
header?: never;
|
|
6473
|
+
path: {
|
|
6474
|
+
/** @description Toolset instance UUID */
|
|
6475
|
+
id: string;
|
|
6476
|
+
};
|
|
6477
|
+
cookie?: never;
|
|
6478
|
+
};
|
|
6479
|
+
requestBody?: never;
|
|
6480
|
+
responses: {
|
|
6481
|
+
/** @description Toolset */
|
|
6482
|
+
200: {
|
|
6483
|
+
headers: {
|
|
6484
|
+
[name: string]: unknown;
|
|
6485
|
+
};
|
|
6486
|
+
content: {
|
|
6487
|
+
"application/json": components["schemas"]["ToolsetResponse"];
|
|
6488
|
+
};
|
|
6489
|
+
};
|
|
6490
|
+
/** @description Invalid request parameters */
|
|
6491
|
+
400: {
|
|
6492
|
+
headers: {
|
|
6493
|
+
[name: string]: unknown;
|
|
6494
|
+
};
|
|
6495
|
+
content: {
|
|
6496
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6497
|
+
};
|
|
6498
|
+
};
|
|
6499
|
+
/** @description Not authenticated */
|
|
6500
|
+
401: {
|
|
6501
|
+
headers: {
|
|
6502
|
+
[name: string]: unknown;
|
|
6503
|
+
};
|
|
6504
|
+
content: {
|
|
6505
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6506
|
+
};
|
|
6507
|
+
};
|
|
6508
|
+
/** @description Insufficient permissions */
|
|
6509
|
+
403: {
|
|
6387
6510
|
headers: {
|
|
6388
6511
|
[name: string]: unknown;
|
|
6389
6512
|
};
|
|
@@ -6391,6 +6514,13 @@ export interface operations {
|
|
|
6391
6514
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6392
6515
|
};
|
|
6393
6516
|
};
|
|
6517
|
+
/** @description Toolset not found or not owned */
|
|
6518
|
+
404: {
|
|
6519
|
+
headers: {
|
|
6520
|
+
[name: string]: unknown;
|
|
6521
|
+
};
|
|
6522
|
+
content?: never;
|
|
6523
|
+
};
|
|
6394
6524
|
/** @description Internal server error */
|
|
6395
6525
|
500: {
|
|
6396
6526
|
headers: {
|
|
@@ -6402,28 +6532,30 @@ export interface operations {
|
|
|
6402
6532
|
};
|
|
6403
6533
|
};
|
|
6404
6534
|
};
|
|
6405
|
-
|
|
6535
|
+
updateToolset: {
|
|
6406
6536
|
parameters: {
|
|
6407
6537
|
query?: never;
|
|
6408
6538
|
header?: never;
|
|
6409
6539
|
path: {
|
|
6410
|
-
/** @description
|
|
6411
|
-
|
|
6540
|
+
/** @description Toolset instance UUID */
|
|
6541
|
+
id: string;
|
|
6412
6542
|
};
|
|
6413
6543
|
cookie?: never;
|
|
6414
6544
|
};
|
|
6415
6545
|
requestBody: {
|
|
6416
6546
|
content: {
|
|
6417
|
-
"application/json": components["schemas"]["
|
|
6547
|
+
"application/json": components["schemas"]["UpdateToolsetRequest"];
|
|
6418
6548
|
};
|
|
6419
6549
|
};
|
|
6420
6550
|
responses: {
|
|
6421
|
-
/** @description
|
|
6551
|
+
/** @description Toolset updated */
|
|
6422
6552
|
200: {
|
|
6423
6553
|
headers: {
|
|
6424
6554
|
[name: string]: unknown;
|
|
6425
6555
|
};
|
|
6426
|
-
content
|
|
6556
|
+
content: {
|
|
6557
|
+
"application/json": components["schemas"]["ToolsetResponse"];
|
|
6558
|
+
};
|
|
6427
6559
|
};
|
|
6428
6560
|
/** @description Invalid request parameters */
|
|
6429
6561
|
400: {
|
|
@@ -6452,14 +6584,19 @@ export interface operations {
|
|
|
6452
6584
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6453
6585
|
};
|
|
6454
6586
|
};
|
|
6455
|
-
/** @description
|
|
6587
|
+
/** @description Toolset not found or not owned */
|
|
6456
6588
|
404: {
|
|
6457
6589
|
headers: {
|
|
6458
6590
|
[name: string]: unknown;
|
|
6459
6591
|
};
|
|
6460
|
-
content
|
|
6461
|
-
|
|
6592
|
+
content?: never;
|
|
6593
|
+
};
|
|
6594
|
+
/** @description Name already exists */
|
|
6595
|
+
409: {
|
|
6596
|
+
headers: {
|
|
6597
|
+
[name: string]: unknown;
|
|
6462
6598
|
};
|
|
6599
|
+
content?: never;
|
|
6463
6600
|
};
|
|
6464
6601
|
/** @description Internal server error */
|
|
6465
6602
|
500: {
|
|
@@ -6472,26 +6609,24 @@ export interface operations {
|
|
|
6472
6609
|
};
|
|
6473
6610
|
};
|
|
6474
6611
|
};
|
|
6475
|
-
|
|
6612
|
+
deleteToolset: {
|
|
6476
6613
|
parameters: {
|
|
6477
6614
|
query?: never;
|
|
6478
6615
|
header?: never;
|
|
6479
|
-
path
|
|
6616
|
+
path: {
|
|
6617
|
+
/** @description Toolset instance UUID */
|
|
6618
|
+
id: string;
|
|
6619
|
+
};
|
|
6480
6620
|
cookie?: never;
|
|
6481
6621
|
};
|
|
6482
6622
|
requestBody?: never;
|
|
6483
6623
|
responses: {
|
|
6484
|
-
/** @description
|
|
6485
|
-
|
|
6624
|
+
/** @description Toolset deleted */
|
|
6625
|
+
204: {
|
|
6486
6626
|
headers: {
|
|
6487
6627
|
[name: string]: unknown;
|
|
6488
6628
|
};
|
|
6489
|
-
content
|
|
6490
|
-
/** @example {
|
|
6491
|
-
* "message": "pong"
|
|
6492
|
-
* } */
|
|
6493
|
-
"application/json": components["schemas"]["PingResponse"];
|
|
6494
|
-
};
|
|
6629
|
+
content?: never;
|
|
6495
6630
|
};
|
|
6496
6631
|
/** @description Invalid request parameters */
|
|
6497
6632
|
400: {
|
|
@@ -6502,6 +6637,31 @@ export interface operations {
|
|
|
6502
6637
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6503
6638
|
};
|
|
6504
6639
|
};
|
|
6640
|
+
/** @description Not authenticated */
|
|
6641
|
+
401: {
|
|
6642
|
+
headers: {
|
|
6643
|
+
[name: string]: unknown;
|
|
6644
|
+
};
|
|
6645
|
+
content: {
|
|
6646
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6647
|
+
};
|
|
6648
|
+
};
|
|
6649
|
+
/** @description Insufficient permissions */
|
|
6650
|
+
403: {
|
|
6651
|
+
headers: {
|
|
6652
|
+
[name: string]: unknown;
|
|
6653
|
+
};
|
|
6654
|
+
content: {
|
|
6655
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6656
|
+
};
|
|
6657
|
+
};
|
|
6658
|
+
/** @description Toolset not found or not owned */
|
|
6659
|
+
404: {
|
|
6660
|
+
headers: {
|
|
6661
|
+
[name: string]: unknown;
|
|
6662
|
+
};
|
|
6663
|
+
content?: never;
|
|
6664
|
+
};
|
|
6505
6665
|
/** @description Internal server error */
|
|
6506
6666
|
500: {
|
|
6507
6667
|
headers: {
|
|
@@ -6513,25 +6673,31 @@ export interface operations {
|
|
|
6513
6673
|
};
|
|
6514
6674
|
};
|
|
6515
6675
|
};
|
|
6516
|
-
|
|
6676
|
+
executeToolset: {
|
|
6517
6677
|
parameters: {
|
|
6518
6678
|
query?: never;
|
|
6519
6679
|
header?: never;
|
|
6520
|
-
path
|
|
6680
|
+
path: {
|
|
6681
|
+
/** @description Toolset instance UUID */
|
|
6682
|
+
id: string;
|
|
6683
|
+
/** @description Tool method name */
|
|
6684
|
+
method: string;
|
|
6685
|
+
};
|
|
6521
6686
|
cookie?: never;
|
|
6522
6687
|
};
|
|
6523
|
-
requestBody
|
|
6688
|
+
requestBody: {
|
|
6689
|
+
content: {
|
|
6690
|
+
"application/json": components["schemas"]["ExecuteToolsetRequest"];
|
|
6691
|
+
};
|
|
6692
|
+
};
|
|
6524
6693
|
responses: {
|
|
6525
|
-
/** @description
|
|
6694
|
+
/** @description Tool execution result */
|
|
6526
6695
|
200: {
|
|
6527
6696
|
headers: {
|
|
6528
6697
|
[name: string]: unknown;
|
|
6529
6698
|
};
|
|
6530
6699
|
content: {
|
|
6531
|
-
|
|
6532
|
-
* "message": "pong"
|
|
6533
|
-
* } */
|
|
6534
|
-
"application/json": components["schemas"]["PingResponse"];
|
|
6700
|
+
"application/json": components["schemas"]["ToolsetExecutionResponse"];
|
|
6535
6701
|
};
|
|
6536
6702
|
};
|
|
6537
6703
|
/** @description Invalid request parameters */
|
|
@@ -6543,6 +6709,31 @@ export interface operations {
|
|
|
6543
6709
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6544
6710
|
};
|
|
6545
6711
|
};
|
|
6712
|
+
/** @description Not authenticated */
|
|
6713
|
+
401: {
|
|
6714
|
+
headers: {
|
|
6715
|
+
[name: string]: unknown;
|
|
6716
|
+
};
|
|
6717
|
+
content: {
|
|
6718
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6719
|
+
};
|
|
6720
|
+
};
|
|
6721
|
+
/** @description Insufficient permissions */
|
|
6722
|
+
403: {
|
|
6723
|
+
headers: {
|
|
6724
|
+
[name: string]: unknown;
|
|
6725
|
+
};
|
|
6726
|
+
content: {
|
|
6727
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6728
|
+
};
|
|
6729
|
+
};
|
|
6730
|
+
/** @description Toolset or method not found */
|
|
6731
|
+
404: {
|
|
6732
|
+
headers: {
|
|
6733
|
+
[name: string]: unknown;
|
|
6734
|
+
};
|
|
6735
|
+
content?: never;
|
|
6736
|
+
};
|
|
6546
6737
|
/** @description Internal server error */
|
|
6547
6738
|
500: {
|
|
6548
6739
|
headers: {
|
|
@@ -6554,7 +6745,7 @@ export interface operations {
|
|
|
6554
6745
|
};
|
|
6555
6746
|
};
|
|
6556
6747
|
};
|
|
6557
|
-
|
|
6748
|
+
getCurrentUser: {
|
|
6558
6749
|
parameters: {
|
|
6559
6750
|
query?: never;
|
|
6560
6751
|
header?: never;
|
|
@@ -6563,13 +6754,13 @@ export interface operations {
|
|
|
6563
6754
|
};
|
|
6564
6755
|
requestBody?: never;
|
|
6565
6756
|
responses: {
|
|
6566
|
-
/** @description
|
|
6757
|
+
/** @description User information (authenticated or not) */
|
|
6567
6758
|
200: {
|
|
6568
6759
|
headers: {
|
|
6569
6760
|
[name: string]: unknown;
|
|
6570
6761
|
};
|
|
6571
6762
|
content: {
|
|
6572
|
-
"application/json": components["schemas"]["
|
|
6763
|
+
"application/json": components["schemas"]["UserResponse"];
|
|
6573
6764
|
};
|
|
6574
6765
|
};
|
|
6575
6766
|
/** @description Invalid request parameters */
|
|
@@ -6610,26 +6801,21 @@ export interface operations {
|
|
|
6610
6801
|
};
|
|
6611
6802
|
};
|
|
6612
6803
|
};
|
|
6613
|
-
|
|
6804
|
+
requestUserAccess: {
|
|
6614
6805
|
parameters: {
|
|
6615
6806
|
query?: never;
|
|
6616
6807
|
header?: never;
|
|
6617
|
-
path
|
|
6618
|
-
/** @description Toolset identifier */
|
|
6619
|
-
toolset_id: string;
|
|
6620
|
-
};
|
|
6808
|
+
path?: never;
|
|
6621
6809
|
cookie?: never;
|
|
6622
6810
|
};
|
|
6623
6811
|
requestBody?: never;
|
|
6624
6812
|
responses: {
|
|
6625
|
-
/** @description
|
|
6626
|
-
|
|
6813
|
+
/** @description Access request created successfully */
|
|
6814
|
+
201: {
|
|
6627
6815
|
headers: {
|
|
6628
6816
|
[name: string]: unknown;
|
|
6629
6817
|
};
|
|
6630
|
-
content
|
|
6631
|
-
"application/json": components["schemas"]["AppToolsetConfigResponse"];
|
|
6632
|
-
};
|
|
6818
|
+
content?: never;
|
|
6633
6819
|
};
|
|
6634
6820
|
/** @description Invalid request parameters */
|
|
6635
6821
|
400: {
|
|
@@ -6658,12 +6844,23 @@ export interface operations {
|
|
|
6658
6844
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6659
6845
|
};
|
|
6660
6846
|
};
|
|
6661
|
-
/** @description
|
|
6662
|
-
|
|
6847
|
+
/** @description Pending request already exists */
|
|
6848
|
+
409: {
|
|
6663
6849
|
headers: {
|
|
6664
6850
|
[name: string]: unknown;
|
|
6665
6851
|
};
|
|
6666
|
-
content
|
|
6852
|
+
content: {
|
|
6853
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6854
|
+
};
|
|
6855
|
+
};
|
|
6856
|
+
/** @description User already has role */
|
|
6857
|
+
422: {
|
|
6858
|
+
headers: {
|
|
6859
|
+
[name: string]: unknown;
|
|
6860
|
+
};
|
|
6861
|
+
content: {
|
|
6862
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6863
|
+
};
|
|
6667
6864
|
};
|
|
6668
6865
|
/** @description Internal server error */
|
|
6669
6866
|
500: {
|
|
@@ -6676,25 +6873,22 @@ export interface operations {
|
|
|
6676
6873
|
};
|
|
6677
6874
|
};
|
|
6678
6875
|
};
|
|
6679
|
-
|
|
6876
|
+
getUserAccessStatus: {
|
|
6680
6877
|
parameters: {
|
|
6681
6878
|
query?: never;
|
|
6682
6879
|
header?: never;
|
|
6683
|
-
path
|
|
6684
|
-
/** @description Toolset identifier */
|
|
6685
|
-
toolset_id: string;
|
|
6686
|
-
};
|
|
6880
|
+
path?: never;
|
|
6687
6881
|
cookie?: never;
|
|
6688
6882
|
};
|
|
6689
6883
|
requestBody?: never;
|
|
6690
6884
|
responses: {
|
|
6691
|
-
/** @description
|
|
6885
|
+
/** @description Request status retrieved */
|
|
6692
6886
|
200: {
|
|
6693
6887
|
headers: {
|
|
6694
6888
|
[name: string]: unknown;
|
|
6695
6889
|
};
|
|
6696
6890
|
content: {
|
|
6697
|
-
"application/json": components["schemas"]["
|
|
6891
|
+
"application/json": components["schemas"]["UserAccessStatusResponse"];
|
|
6698
6892
|
};
|
|
6699
6893
|
};
|
|
6700
6894
|
/** @description Invalid request parameters */
|
|
@@ -6724,12 +6918,14 @@ export interface operations {
|
|
|
6724
6918
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6725
6919
|
};
|
|
6726
6920
|
};
|
|
6727
|
-
/** @description
|
|
6921
|
+
/** @description Request not found */
|
|
6728
6922
|
404: {
|
|
6729
6923
|
headers: {
|
|
6730
6924
|
[name: string]: unknown;
|
|
6731
6925
|
};
|
|
6732
|
-
content
|
|
6926
|
+
content: {
|
|
6927
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6928
|
+
};
|
|
6733
6929
|
};
|
|
6734
6930
|
/** @description Internal server error */
|
|
6735
6931
|
500: {
|
|
@@ -6742,25 +6938,33 @@ export interface operations {
|
|
|
6742
6938
|
};
|
|
6743
6939
|
};
|
|
6744
6940
|
};
|
|
6745
|
-
|
|
6941
|
+
listUsers: {
|
|
6746
6942
|
parameters: {
|
|
6747
|
-
query?:
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6943
|
+
query?: {
|
|
6944
|
+
/**
|
|
6945
|
+
* @description Page number (1-based)
|
|
6946
|
+
* @example 1
|
|
6947
|
+
*/
|
|
6948
|
+
page?: number;
|
|
6949
|
+
/**
|
|
6950
|
+
* @description Number of users per page
|
|
6951
|
+
* @example 10
|
|
6952
|
+
*/
|
|
6953
|
+
page_size?: number;
|
|
6752
6954
|
};
|
|
6955
|
+
header?: never;
|
|
6956
|
+
path?: never;
|
|
6753
6957
|
cookie?: never;
|
|
6754
6958
|
};
|
|
6755
6959
|
requestBody?: never;
|
|
6756
6960
|
responses: {
|
|
6757
|
-
/** @description
|
|
6961
|
+
/** @description Users retrieved successfully */
|
|
6758
6962
|
200: {
|
|
6759
6963
|
headers: {
|
|
6760
6964
|
[name: string]: unknown;
|
|
6761
6965
|
};
|
|
6762
6966
|
content: {
|
|
6763
|
-
"application/json": components["schemas"]["
|
|
6967
|
+
"application/json": components["schemas"]["UserListResponse"];
|
|
6764
6968
|
};
|
|
6765
6969
|
};
|
|
6766
6970
|
/** @description Invalid request parameters */
|
|
@@ -6790,13 +6994,6 @@ export interface operations {
|
|
|
6790
6994
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6791
6995
|
};
|
|
6792
6996
|
};
|
|
6793
|
-
/** @description Toolset not found */
|
|
6794
|
-
404: {
|
|
6795
|
-
headers: {
|
|
6796
|
-
[name: string]: unknown;
|
|
6797
|
-
};
|
|
6798
|
-
content?: never;
|
|
6799
|
-
};
|
|
6800
6997
|
/** @description Internal server error */
|
|
6801
6998
|
500: {
|
|
6802
6999
|
headers: {
|
|
@@ -6808,30 +7005,24 @@ export interface operations {
|
|
|
6808
7005
|
};
|
|
6809
7006
|
};
|
|
6810
7007
|
};
|
|
6811
|
-
|
|
7008
|
+
removeUser: {
|
|
6812
7009
|
parameters: {
|
|
6813
7010
|
query?: never;
|
|
6814
7011
|
header?: never;
|
|
6815
7012
|
path: {
|
|
6816
|
-
/** @description
|
|
6817
|
-
|
|
7013
|
+
/** @description User ID to remove */
|
|
7014
|
+
user_id: string;
|
|
6818
7015
|
};
|
|
6819
7016
|
cookie?: never;
|
|
6820
7017
|
};
|
|
6821
|
-
requestBody
|
|
6822
|
-
content: {
|
|
6823
|
-
"application/json": components["schemas"]["UpdateToolsetConfigRequest"];
|
|
6824
|
-
};
|
|
6825
|
-
};
|
|
7018
|
+
requestBody?: never;
|
|
6826
7019
|
responses: {
|
|
6827
|
-
/** @description
|
|
7020
|
+
/** @description User removed successfully */
|
|
6828
7021
|
200: {
|
|
6829
7022
|
headers: {
|
|
6830
7023
|
[name: string]: unknown;
|
|
6831
7024
|
};
|
|
6832
|
-
content
|
|
6833
|
-
"application/json": components["schemas"]["EnhancedToolsetConfigResponse"];
|
|
6834
|
-
};
|
|
7025
|
+
content?: never;
|
|
6835
7026
|
};
|
|
6836
7027
|
/** @description Invalid request parameters */
|
|
6837
7028
|
400: {
|
|
@@ -6860,12 +7051,14 @@ export interface operations {
|
|
|
6860
7051
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6861
7052
|
};
|
|
6862
7053
|
};
|
|
6863
|
-
/** @description
|
|
7054
|
+
/** @description User not found */
|
|
6864
7055
|
404: {
|
|
6865
7056
|
headers: {
|
|
6866
7057
|
[name: string]: unknown;
|
|
6867
7058
|
};
|
|
6868
|
-
content
|
|
7059
|
+
content: {
|
|
7060
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7061
|
+
};
|
|
6869
7062
|
};
|
|
6870
7063
|
/** @description Internal server error */
|
|
6871
7064
|
500: {
|
|
@@ -6878,20 +7071,24 @@ export interface operations {
|
|
|
6878
7071
|
};
|
|
6879
7072
|
};
|
|
6880
7073
|
};
|
|
6881
|
-
|
|
7074
|
+
changeUserRole: {
|
|
6882
7075
|
parameters: {
|
|
6883
7076
|
query?: never;
|
|
6884
7077
|
header?: never;
|
|
6885
7078
|
path: {
|
|
6886
|
-
/** @description
|
|
6887
|
-
|
|
7079
|
+
/** @description User ID to change role for */
|
|
7080
|
+
user_id: string;
|
|
6888
7081
|
};
|
|
6889
7082
|
cookie?: never;
|
|
6890
7083
|
};
|
|
6891
|
-
requestBody
|
|
7084
|
+
requestBody: {
|
|
7085
|
+
content: {
|
|
7086
|
+
"application/json": components["schemas"]["ChangeRoleRequest"];
|
|
7087
|
+
};
|
|
7088
|
+
};
|
|
6892
7089
|
responses: {
|
|
6893
|
-
/** @description
|
|
6894
|
-
|
|
7090
|
+
/** @description Role changed successfully */
|
|
7091
|
+
200: {
|
|
6895
7092
|
headers: {
|
|
6896
7093
|
[name: string]: unknown;
|
|
6897
7094
|
};
|
|
@@ -6924,12 +7121,14 @@ export interface operations {
|
|
|
6924
7121
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6925
7122
|
};
|
|
6926
7123
|
};
|
|
6927
|
-
/** @description
|
|
7124
|
+
/** @description User not found */
|
|
6928
7125
|
404: {
|
|
6929
7126
|
headers: {
|
|
6930
7127
|
[name: string]: unknown;
|
|
6931
7128
|
};
|
|
6932
|
-
content
|
|
7129
|
+
content: {
|
|
7130
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7131
|
+
};
|
|
6933
7132
|
};
|
|
6934
7133
|
/** @description Internal server error */
|
|
6935
7134
|
500: {
|
|
@@ -6942,31 +7141,25 @@ export interface operations {
|
|
|
6942
7141
|
};
|
|
6943
7142
|
};
|
|
6944
7143
|
};
|
|
6945
|
-
|
|
7144
|
+
healthCheck: {
|
|
6946
7145
|
parameters: {
|
|
6947
7146
|
query?: never;
|
|
6948
7147
|
header?: never;
|
|
6949
|
-
path
|
|
6950
|
-
/** @description Toolset identifier */
|
|
6951
|
-
toolset_id: string;
|
|
6952
|
-
/** @description Tool method name (e.g., search, findSimilar, contents, answer) */
|
|
6953
|
-
method: string;
|
|
6954
|
-
};
|
|
7148
|
+
path?: never;
|
|
6955
7149
|
cookie?: never;
|
|
6956
7150
|
};
|
|
6957
|
-
requestBody
|
|
6958
|
-
content: {
|
|
6959
|
-
"application/json": components["schemas"]["ExecuteToolsetRequest"];
|
|
6960
|
-
};
|
|
6961
|
-
};
|
|
7151
|
+
requestBody?: never;
|
|
6962
7152
|
responses: {
|
|
6963
|
-
/** @description
|
|
7153
|
+
/** @description Application is healthy and fully operational */
|
|
6964
7154
|
200: {
|
|
6965
7155
|
headers: {
|
|
6966
7156
|
[name: string]: unknown;
|
|
6967
7157
|
};
|
|
6968
7158
|
content: {
|
|
6969
|
-
|
|
7159
|
+
/** @example {
|
|
7160
|
+
* "message": "pong"
|
|
7161
|
+
* } */
|
|
7162
|
+
"application/json": components["schemas"]["PingResponse"];
|
|
6970
7163
|
};
|
|
6971
7164
|
};
|
|
6972
7165
|
/** @description Invalid request parameters */
|
|
@@ -6978,8 +7171,8 @@ export interface operations {
|
|
|
6978
7171
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6979
7172
|
};
|
|
6980
7173
|
};
|
|
6981
|
-
/** @description
|
|
6982
|
-
|
|
7174
|
+
/** @description Internal server error */
|
|
7175
|
+
500: {
|
|
6983
7176
|
headers: {
|
|
6984
7177
|
[name: string]: unknown;
|
|
6985
7178
|
};
|
|
@@ -6987,21 +7180,37 @@ export interface operations {
|
|
|
6987
7180
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6988
7181
|
};
|
|
6989
7182
|
};
|
|
6990
|
-
|
|
6991
|
-
|
|
7183
|
+
};
|
|
7184
|
+
};
|
|
7185
|
+
pingServer: {
|
|
7186
|
+
parameters: {
|
|
7187
|
+
query?: never;
|
|
7188
|
+
header?: never;
|
|
7189
|
+
path?: never;
|
|
7190
|
+
cookie?: never;
|
|
7191
|
+
};
|
|
7192
|
+
requestBody?: never;
|
|
7193
|
+
responses: {
|
|
7194
|
+
/** @description Server is responding normally */
|
|
7195
|
+
200: {
|
|
6992
7196
|
headers: {
|
|
6993
7197
|
[name: string]: unknown;
|
|
6994
7198
|
};
|
|
6995
7199
|
content: {
|
|
6996
|
-
|
|
7200
|
+
/** @example {
|
|
7201
|
+
* "message": "pong"
|
|
7202
|
+
* } */
|
|
7203
|
+
"application/json": components["schemas"]["PingResponse"];
|
|
6997
7204
|
};
|
|
6998
7205
|
};
|
|
6999
|
-
/** @description
|
|
7000
|
-
|
|
7206
|
+
/** @description Invalid request parameters */
|
|
7207
|
+
400: {
|
|
7001
7208
|
headers: {
|
|
7002
7209
|
[name: string]: unknown;
|
|
7003
7210
|
};
|
|
7004
|
-
content
|
|
7211
|
+
content: {
|
|
7212
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7213
|
+
};
|
|
7005
7214
|
};
|
|
7006
7215
|
/** @description Internal server error */
|
|
7007
7216
|
500: {
|