@bodhiapp/ts-client 0.1.12 → 0.1.13
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 -280
- package/dist/openapi-typescript/openapi-schema.ts +493 -280
- package/dist/types/types.gen.d.ts +439 -262
- package/dist/types/types.gen.ts +458 -268
- 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",
|
|
@@ -2173,9 +2207,13 @@ export interface components {
|
|
|
2173
2207
|
object: string;
|
|
2174
2208
|
data: components["schemas"]["Model"][];
|
|
2175
2209
|
};
|
|
2176
|
-
/** @description
|
|
2210
|
+
/** @description List of toolset types */
|
|
2211
|
+
ListToolsetTypesResponse: {
|
|
2212
|
+
types: components["schemas"]["ToolsetTypeResponse"][];
|
|
2213
|
+
};
|
|
2214
|
+
/** @description List of toolsets */
|
|
2177
2215
|
ListToolsetsResponse: {
|
|
2178
|
-
toolsets: components["schemas"]["
|
|
2216
|
+
toolsets: components["schemas"]["ToolsetResponse"][];
|
|
2179
2217
|
};
|
|
2180
2218
|
/** @description List users query parameters */
|
|
2181
2219
|
ListUsersParams: {
|
|
@@ -2745,6 +2783,33 @@ export interface components {
|
|
|
2745
2783
|
/** @description Function definition details */
|
|
2746
2784
|
function: components["schemas"]["FunctionDefinition"];
|
|
2747
2785
|
};
|
|
2786
|
+
/** @description User-owned toolset instance with UUID identification */
|
|
2787
|
+
Toolset: {
|
|
2788
|
+
/** @description Unique instance identifier (UUID) */
|
|
2789
|
+
id: string;
|
|
2790
|
+
/** @description User-defined name for this instance */
|
|
2791
|
+
name: string;
|
|
2792
|
+
/** @description Toolset type identifier (e.g., "builtin-exa-web-search") */
|
|
2793
|
+
toolset_type: string;
|
|
2794
|
+
/** @description Optional description for this instance */
|
|
2795
|
+
description?: string | null;
|
|
2796
|
+
/** @description Whether this instance is enabled */
|
|
2797
|
+
enabled: boolean;
|
|
2798
|
+
/** @description Whether this instance has an API key configured */
|
|
2799
|
+
has_api_key: boolean;
|
|
2800
|
+
/**
|
|
2801
|
+
* Format: date-time
|
|
2802
|
+
* @description When this instance was created
|
|
2803
|
+
* @example 2024-11-10T04:52:06.786Z
|
|
2804
|
+
*/
|
|
2805
|
+
created_at: string;
|
|
2806
|
+
/**
|
|
2807
|
+
* Format: date-time
|
|
2808
|
+
* @description When this instance was last updated
|
|
2809
|
+
* @example 2024-11-10T04:52:06.786Z
|
|
2810
|
+
*/
|
|
2811
|
+
updated_at: string;
|
|
2812
|
+
};
|
|
2748
2813
|
/** @description Response from toolset tool execution (to send back to LLM) */
|
|
2749
2814
|
ToolsetExecutionResponse: {
|
|
2750
2815
|
/** @description Tool call ID this response is for */
|
|
@@ -2754,7 +2819,49 @@ export interface components {
|
|
|
2754
2819
|
/** @description Error message, if execution failed */
|
|
2755
2820
|
error?: string | null;
|
|
2756
2821
|
};
|
|
2757
|
-
/** @description Toolset
|
|
2822
|
+
/** @description Toolset response */
|
|
2823
|
+
ToolsetResponse: {
|
|
2824
|
+
/** @description Unique instance identifier (UUID) */
|
|
2825
|
+
id: string;
|
|
2826
|
+
/** @description User-defined name for this toolset */
|
|
2827
|
+
name: string;
|
|
2828
|
+
/** @description Toolset type identifier (e.g., "builtin-exa-web-search") */
|
|
2829
|
+
toolset_type: string;
|
|
2830
|
+
/** @description Optional description for this toolset */
|
|
2831
|
+
description?: string | null;
|
|
2832
|
+
/** @description Whether this toolset is enabled */
|
|
2833
|
+
enabled: boolean;
|
|
2834
|
+
/** @description Whether this toolset has an API key configured */
|
|
2835
|
+
has_api_key: boolean;
|
|
2836
|
+
/** @description Whether the toolset type is enabled at app level */
|
|
2837
|
+
app_enabled: boolean;
|
|
2838
|
+
/** @description Tools provided by this toolset type */
|
|
2839
|
+
tools: components["schemas"]["ToolDefinition"][];
|
|
2840
|
+
/**
|
|
2841
|
+
* Format: date-time
|
|
2842
|
+
* @description When this toolset was created
|
|
2843
|
+
*/
|
|
2844
|
+
created_at: string;
|
|
2845
|
+
/**
|
|
2846
|
+
* Format: date-time
|
|
2847
|
+
* @description When this toolset was last updated
|
|
2848
|
+
*/
|
|
2849
|
+
updated_at: string;
|
|
2850
|
+
};
|
|
2851
|
+
/** @description Toolset type response (for admin listing) */
|
|
2852
|
+
ToolsetTypeResponse: {
|
|
2853
|
+
/** @description Unique toolset type identifier (e.g., "builtin-exa-web-search") */
|
|
2854
|
+
toolset_id: string;
|
|
2855
|
+
/** @description Human-readable name (e.g., "Exa Web Search") */
|
|
2856
|
+
name: string;
|
|
2857
|
+
/** @description Description of the toolset */
|
|
2858
|
+
description: string;
|
|
2859
|
+
/** @description Whether the toolset is enabled at app level (admin-controlled) */
|
|
2860
|
+
app_enabled: boolean;
|
|
2861
|
+
/** @description Tools provided by this toolset */
|
|
2862
|
+
tools: components["schemas"]["ToolDefinition"][];
|
|
2863
|
+
};
|
|
2864
|
+
/** @description Toolset with app-level configuration status (API response model) */
|
|
2758
2865
|
ToolsetWithTools: {
|
|
2759
2866
|
/** @description Unique toolset identifier (e.g., "builtin-exa-web-search") */
|
|
2760
2867
|
toolset_id: string;
|
|
@@ -2764,7 +2871,6 @@ export interface components {
|
|
|
2764
2871
|
description: string;
|
|
2765
2872
|
/** @description Whether the toolset is enabled at app level (admin-controlled) */
|
|
2766
2873
|
app_enabled: boolean;
|
|
2767
|
-
user_config?: null | components["schemas"]["UserToolsetConfigSummary"];
|
|
2768
2874
|
/** @description Tools provided by this toolset */
|
|
2769
2875
|
tools: components["schemas"]["ToolDefinition"][];
|
|
2770
2876
|
};
|
|
@@ -2841,12 +2947,16 @@ export interface components {
|
|
|
2841
2947
|
/** @description New value for the setting (type depends on setting metadata) */
|
|
2842
2948
|
value: unknown;
|
|
2843
2949
|
};
|
|
2844
|
-
/** @description Request to update a
|
|
2845
|
-
|
|
2846
|
-
/** @description
|
|
2950
|
+
/** @description Request to update a toolset (full PUT - all fields required except api_key) */
|
|
2951
|
+
UpdateToolsetRequest: {
|
|
2952
|
+
/** @description User-defined name for this toolset */
|
|
2953
|
+
name: string;
|
|
2954
|
+
/** @description Optional description for this toolset */
|
|
2955
|
+
description?: string | null;
|
|
2956
|
+
/** @description Whether this toolset is enabled */
|
|
2847
2957
|
enabled: boolean;
|
|
2848
|
-
/** @description
|
|
2849
|
-
api_key?:
|
|
2958
|
+
/** @description API key update action (Keep or Set) */
|
|
2959
|
+
api_key?: components["schemas"]["ApiKeyUpdateDto"];
|
|
2850
2960
|
};
|
|
2851
2961
|
UrlCitation: {
|
|
2852
2962
|
/**
|
|
@@ -2996,33 +3106,6 @@ export interface components {
|
|
|
2996
3106
|
});
|
|
2997
3107
|
/** @enum {string} */
|
|
2998
3108
|
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
3109
|
/**
|
|
3027
3110
|
* @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
3111
|
* @enum {string}
|
|
@@ -6076,7 +6159,7 @@ export interface operations {
|
|
|
6076
6159
|
};
|
|
6077
6160
|
};
|
|
6078
6161
|
};
|
|
6079
|
-
|
|
6162
|
+
listToolsetTypes: {
|
|
6080
6163
|
parameters: {
|
|
6081
6164
|
query?: never;
|
|
6082
6165
|
header?: never;
|
|
@@ -6085,13 +6168,13 @@ export interface operations {
|
|
|
6085
6168
|
};
|
|
6086
6169
|
requestBody?: never;
|
|
6087
6170
|
responses: {
|
|
6088
|
-
/** @description
|
|
6171
|
+
/** @description List of all toolset types */
|
|
6089
6172
|
200: {
|
|
6090
6173
|
headers: {
|
|
6091
6174
|
[name: string]: unknown;
|
|
6092
6175
|
};
|
|
6093
6176
|
content: {
|
|
6094
|
-
"application/json": components["schemas"]["
|
|
6177
|
+
"application/json": components["schemas"]["ListToolsetTypesResponse"];
|
|
6095
6178
|
};
|
|
6096
6179
|
};
|
|
6097
6180
|
/** @description Invalid request parameters */
|
|
@@ -6132,21 +6215,26 @@ export interface operations {
|
|
|
6132
6215
|
};
|
|
6133
6216
|
};
|
|
6134
6217
|
};
|
|
6135
|
-
|
|
6218
|
+
enableToolsetType: {
|
|
6136
6219
|
parameters: {
|
|
6137
6220
|
query?: never;
|
|
6138
6221
|
header?: never;
|
|
6139
|
-
path
|
|
6222
|
+
path: {
|
|
6223
|
+
/** @description Toolset type identifier */
|
|
6224
|
+
type_id: string;
|
|
6225
|
+
};
|
|
6140
6226
|
cookie?: never;
|
|
6141
6227
|
};
|
|
6142
6228
|
requestBody?: never;
|
|
6143
6229
|
responses: {
|
|
6144
|
-
/** @description
|
|
6145
|
-
|
|
6230
|
+
/** @description Toolset type enabled */
|
|
6231
|
+
200: {
|
|
6146
6232
|
headers: {
|
|
6147
6233
|
[name: string]: unknown;
|
|
6148
6234
|
};
|
|
6149
|
-
content
|
|
6235
|
+
content: {
|
|
6236
|
+
"application/json": components["schemas"]["AppToolsetConfigResponse"];
|
|
6237
|
+
};
|
|
6150
6238
|
};
|
|
6151
6239
|
/** @description Invalid request parameters */
|
|
6152
6240
|
400: {
|
|
@@ -6175,23 +6263,12 @@ export interface operations {
|
|
|
6175
6263
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6176
6264
|
};
|
|
6177
6265
|
};
|
|
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: {
|
|
6266
|
+
/** @description Toolset type not found */
|
|
6267
|
+
404: {
|
|
6189
6268
|
headers: {
|
|
6190
6269
|
[name: string]: unknown;
|
|
6191
6270
|
};
|
|
6192
|
-
content
|
|
6193
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6194
|
-
};
|
|
6271
|
+
content?: never;
|
|
6195
6272
|
};
|
|
6196
6273
|
/** @description Internal server error */
|
|
6197
6274
|
500: {
|
|
@@ -6204,22 +6281,25 @@ export interface operations {
|
|
|
6204
6281
|
};
|
|
6205
6282
|
};
|
|
6206
6283
|
};
|
|
6207
|
-
|
|
6284
|
+
disableToolsetType: {
|
|
6208
6285
|
parameters: {
|
|
6209
6286
|
query?: never;
|
|
6210
6287
|
header?: never;
|
|
6211
|
-
path
|
|
6288
|
+
path: {
|
|
6289
|
+
/** @description Toolset type identifier */
|
|
6290
|
+
type_id: string;
|
|
6291
|
+
};
|
|
6212
6292
|
cookie?: never;
|
|
6213
6293
|
};
|
|
6214
6294
|
requestBody?: never;
|
|
6215
6295
|
responses: {
|
|
6216
|
-
/** @description
|
|
6296
|
+
/** @description Toolset type disabled */
|
|
6217
6297
|
200: {
|
|
6218
6298
|
headers: {
|
|
6219
6299
|
[name: string]: unknown;
|
|
6220
6300
|
};
|
|
6221
6301
|
content: {
|
|
6222
|
-
"application/json": components["schemas"]["
|
|
6302
|
+
"application/json": components["schemas"]["AppToolsetConfigResponse"];
|
|
6223
6303
|
};
|
|
6224
6304
|
};
|
|
6225
6305
|
/** @description Invalid request parameters */
|
|
@@ -6249,14 +6329,12 @@ export interface operations {
|
|
|
6249
6329
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6250
6330
|
};
|
|
6251
6331
|
};
|
|
6252
|
-
/** @description
|
|
6332
|
+
/** @description Toolset type not found */
|
|
6253
6333
|
404: {
|
|
6254
6334
|
headers: {
|
|
6255
6335
|
[name: string]: unknown;
|
|
6256
6336
|
};
|
|
6257
|
-
content
|
|
6258
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6259
|
-
};
|
|
6337
|
+
content?: never;
|
|
6260
6338
|
};
|
|
6261
6339
|
/** @description Internal server error */
|
|
6262
6340
|
500: {
|
|
@@ -6269,33 +6347,22 @@ export interface operations {
|
|
|
6269
6347
|
};
|
|
6270
6348
|
};
|
|
6271
6349
|
};
|
|
6272
|
-
|
|
6350
|
+
listToolsets: {
|
|
6273
6351
|
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
|
-
};
|
|
6352
|
+
query?: never;
|
|
6286
6353
|
header?: never;
|
|
6287
6354
|
path?: never;
|
|
6288
6355
|
cookie?: never;
|
|
6289
6356
|
};
|
|
6290
6357
|
requestBody?: never;
|
|
6291
6358
|
responses: {
|
|
6292
|
-
/** @description
|
|
6359
|
+
/** @description List of user's toolsets */
|
|
6293
6360
|
200: {
|
|
6294
6361
|
headers: {
|
|
6295
6362
|
[name: string]: unknown;
|
|
6296
6363
|
};
|
|
6297
6364
|
content: {
|
|
6298
|
-
"application/json": components["schemas"]["
|
|
6365
|
+
"application/json": components["schemas"]["ListToolsetsResponse"];
|
|
6299
6366
|
};
|
|
6300
6367
|
};
|
|
6301
6368
|
/** @description Invalid request parameters */
|
|
@@ -6336,24 +6403,27 @@ export interface operations {
|
|
|
6336
6403
|
};
|
|
6337
6404
|
};
|
|
6338
6405
|
};
|
|
6339
|
-
|
|
6406
|
+
createToolset: {
|
|
6340
6407
|
parameters: {
|
|
6341
6408
|
query?: never;
|
|
6342
6409
|
header?: never;
|
|
6343
|
-
path
|
|
6344
|
-
/** @description User ID to remove */
|
|
6345
|
-
user_id: string;
|
|
6346
|
-
};
|
|
6410
|
+
path?: never;
|
|
6347
6411
|
cookie?: never;
|
|
6348
6412
|
};
|
|
6349
|
-
requestBody
|
|
6413
|
+
requestBody: {
|
|
6414
|
+
content: {
|
|
6415
|
+
"application/json": components["schemas"]["CreateToolsetRequest"];
|
|
6416
|
+
};
|
|
6417
|
+
};
|
|
6350
6418
|
responses: {
|
|
6351
|
-
/** @description
|
|
6352
|
-
|
|
6419
|
+
/** @description Toolset created */
|
|
6420
|
+
201: {
|
|
6353
6421
|
headers: {
|
|
6354
6422
|
[name: string]: unknown;
|
|
6355
6423
|
};
|
|
6356
|
-
content
|
|
6424
|
+
content: {
|
|
6425
|
+
"application/json": components["schemas"]["ToolsetResponse"];
|
|
6426
|
+
};
|
|
6357
6427
|
};
|
|
6358
6428
|
/** @description Invalid request parameters */
|
|
6359
6429
|
400: {
|
|
@@ -6382,8 +6452,15 @@ export interface operations {
|
|
|
6382
6452
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6383
6453
|
};
|
|
6384
6454
|
};
|
|
6385
|
-
/** @description
|
|
6386
|
-
|
|
6455
|
+
/** @description Name already exists */
|
|
6456
|
+
409: {
|
|
6457
|
+
headers: {
|
|
6458
|
+
[name: string]: unknown;
|
|
6459
|
+
};
|
|
6460
|
+
content?: never;
|
|
6461
|
+
};
|
|
6462
|
+
/** @description Internal server error */
|
|
6463
|
+
500: {
|
|
6387
6464
|
headers: {
|
|
6388
6465
|
[name: string]: unknown;
|
|
6389
6466
|
};
|
|
@@ -6391,6 +6468,63 @@ export interface operations {
|
|
|
6391
6468
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6392
6469
|
};
|
|
6393
6470
|
};
|
|
6471
|
+
};
|
|
6472
|
+
};
|
|
6473
|
+
getToolset: {
|
|
6474
|
+
parameters: {
|
|
6475
|
+
query?: never;
|
|
6476
|
+
header?: never;
|
|
6477
|
+
path: {
|
|
6478
|
+
/** @description Toolset instance UUID */
|
|
6479
|
+
id: string;
|
|
6480
|
+
};
|
|
6481
|
+
cookie?: never;
|
|
6482
|
+
};
|
|
6483
|
+
requestBody?: never;
|
|
6484
|
+
responses: {
|
|
6485
|
+
/** @description Toolset */
|
|
6486
|
+
200: {
|
|
6487
|
+
headers: {
|
|
6488
|
+
[name: string]: unknown;
|
|
6489
|
+
};
|
|
6490
|
+
content: {
|
|
6491
|
+
"application/json": components["schemas"]["ToolsetResponse"];
|
|
6492
|
+
};
|
|
6493
|
+
};
|
|
6494
|
+
/** @description Invalid request parameters */
|
|
6495
|
+
400: {
|
|
6496
|
+
headers: {
|
|
6497
|
+
[name: string]: unknown;
|
|
6498
|
+
};
|
|
6499
|
+
content: {
|
|
6500
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6501
|
+
};
|
|
6502
|
+
};
|
|
6503
|
+
/** @description Not authenticated */
|
|
6504
|
+
401: {
|
|
6505
|
+
headers: {
|
|
6506
|
+
[name: string]: unknown;
|
|
6507
|
+
};
|
|
6508
|
+
content: {
|
|
6509
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6510
|
+
};
|
|
6511
|
+
};
|
|
6512
|
+
/** @description Insufficient permissions */
|
|
6513
|
+
403: {
|
|
6514
|
+
headers: {
|
|
6515
|
+
[name: string]: unknown;
|
|
6516
|
+
};
|
|
6517
|
+
content: {
|
|
6518
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6519
|
+
};
|
|
6520
|
+
};
|
|
6521
|
+
/** @description Toolset not found or not owned */
|
|
6522
|
+
404: {
|
|
6523
|
+
headers: {
|
|
6524
|
+
[name: string]: unknown;
|
|
6525
|
+
};
|
|
6526
|
+
content?: never;
|
|
6527
|
+
};
|
|
6394
6528
|
/** @description Internal server error */
|
|
6395
6529
|
500: {
|
|
6396
6530
|
headers: {
|
|
@@ -6402,28 +6536,30 @@ export interface operations {
|
|
|
6402
6536
|
};
|
|
6403
6537
|
};
|
|
6404
6538
|
};
|
|
6405
|
-
|
|
6539
|
+
updateToolset: {
|
|
6406
6540
|
parameters: {
|
|
6407
6541
|
query?: never;
|
|
6408
6542
|
header?: never;
|
|
6409
6543
|
path: {
|
|
6410
|
-
/** @description
|
|
6411
|
-
|
|
6544
|
+
/** @description Toolset instance UUID */
|
|
6545
|
+
id: string;
|
|
6412
6546
|
};
|
|
6413
6547
|
cookie?: never;
|
|
6414
6548
|
};
|
|
6415
6549
|
requestBody: {
|
|
6416
6550
|
content: {
|
|
6417
|
-
"application/json": components["schemas"]["
|
|
6551
|
+
"application/json": components["schemas"]["UpdateToolsetRequest"];
|
|
6418
6552
|
};
|
|
6419
6553
|
};
|
|
6420
6554
|
responses: {
|
|
6421
|
-
/** @description
|
|
6555
|
+
/** @description Toolset updated */
|
|
6422
6556
|
200: {
|
|
6423
6557
|
headers: {
|
|
6424
6558
|
[name: string]: unknown;
|
|
6425
6559
|
};
|
|
6426
|
-
content
|
|
6560
|
+
content: {
|
|
6561
|
+
"application/json": components["schemas"]["ToolsetResponse"];
|
|
6562
|
+
};
|
|
6427
6563
|
};
|
|
6428
6564
|
/** @description Invalid request parameters */
|
|
6429
6565
|
400: {
|
|
@@ -6452,14 +6588,19 @@ export interface operations {
|
|
|
6452
6588
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6453
6589
|
};
|
|
6454
6590
|
};
|
|
6455
|
-
/** @description
|
|
6591
|
+
/** @description Toolset not found or not owned */
|
|
6456
6592
|
404: {
|
|
6457
6593
|
headers: {
|
|
6458
6594
|
[name: string]: unknown;
|
|
6459
6595
|
};
|
|
6460
|
-
content
|
|
6461
|
-
|
|
6596
|
+
content?: never;
|
|
6597
|
+
};
|
|
6598
|
+
/** @description Name already exists */
|
|
6599
|
+
409: {
|
|
6600
|
+
headers: {
|
|
6601
|
+
[name: string]: unknown;
|
|
6462
6602
|
};
|
|
6603
|
+
content?: never;
|
|
6463
6604
|
};
|
|
6464
6605
|
/** @description Internal server error */
|
|
6465
6606
|
500: {
|
|
@@ -6472,26 +6613,24 @@ export interface operations {
|
|
|
6472
6613
|
};
|
|
6473
6614
|
};
|
|
6474
6615
|
};
|
|
6475
|
-
|
|
6616
|
+
deleteToolset: {
|
|
6476
6617
|
parameters: {
|
|
6477
6618
|
query?: never;
|
|
6478
6619
|
header?: never;
|
|
6479
|
-
path
|
|
6620
|
+
path: {
|
|
6621
|
+
/** @description Toolset instance UUID */
|
|
6622
|
+
id: string;
|
|
6623
|
+
};
|
|
6480
6624
|
cookie?: never;
|
|
6481
6625
|
};
|
|
6482
6626
|
requestBody?: never;
|
|
6483
6627
|
responses: {
|
|
6484
|
-
/** @description
|
|
6485
|
-
|
|
6628
|
+
/** @description Toolset deleted */
|
|
6629
|
+
204: {
|
|
6486
6630
|
headers: {
|
|
6487
6631
|
[name: string]: unknown;
|
|
6488
6632
|
};
|
|
6489
|
-
content
|
|
6490
|
-
/** @example {
|
|
6491
|
-
* "message": "pong"
|
|
6492
|
-
* } */
|
|
6493
|
-
"application/json": components["schemas"]["PingResponse"];
|
|
6494
|
-
};
|
|
6633
|
+
content?: never;
|
|
6495
6634
|
};
|
|
6496
6635
|
/** @description Invalid request parameters */
|
|
6497
6636
|
400: {
|
|
@@ -6502,6 +6641,31 @@ export interface operations {
|
|
|
6502
6641
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6503
6642
|
};
|
|
6504
6643
|
};
|
|
6644
|
+
/** @description Not authenticated */
|
|
6645
|
+
401: {
|
|
6646
|
+
headers: {
|
|
6647
|
+
[name: string]: unknown;
|
|
6648
|
+
};
|
|
6649
|
+
content: {
|
|
6650
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6651
|
+
};
|
|
6652
|
+
};
|
|
6653
|
+
/** @description Insufficient permissions */
|
|
6654
|
+
403: {
|
|
6655
|
+
headers: {
|
|
6656
|
+
[name: string]: unknown;
|
|
6657
|
+
};
|
|
6658
|
+
content: {
|
|
6659
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6660
|
+
};
|
|
6661
|
+
};
|
|
6662
|
+
/** @description Toolset not found or not owned */
|
|
6663
|
+
404: {
|
|
6664
|
+
headers: {
|
|
6665
|
+
[name: string]: unknown;
|
|
6666
|
+
};
|
|
6667
|
+
content?: never;
|
|
6668
|
+
};
|
|
6505
6669
|
/** @description Internal server error */
|
|
6506
6670
|
500: {
|
|
6507
6671
|
headers: {
|
|
@@ -6513,25 +6677,31 @@ export interface operations {
|
|
|
6513
6677
|
};
|
|
6514
6678
|
};
|
|
6515
6679
|
};
|
|
6516
|
-
|
|
6680
|
+
executeToolset: {
|
|
6517
6681
|
parameters: {
|
|
6518
6682
|
query?: never;
|
|
6519
6683
|
header?: never;
|
|
6520
|
-
path
|
|
6684
|
+
path: {
|
|
6685
|
+
/** @description Toolset instance UUID */
|
|
6686
|
+
id: string;
|
|
6687
|
+
/** @description Tool method name */
|
|
6688
|
+
method: string;
|
|
6689
|
+
};
|
|
6521
6690
|
cookie?: never;
|
|
6522
6691
|
};
|
|
6523
|
-
requestBody
|
|
6692
|
+
requestBody: {
|
|
6693
|
+
content: {
|
|
6694
|
+
"application/json": components["schemas"]["ExecuteToolsetRequest"];
|
|
6695
|
+
};
|
|
6696
|
+
};
|
|
6524
6697
|
responses: {
|
|
6525
|
-
/** @description
|
|
6698
|
+
/** @description Tool execution result */
|
|
6526
6699
|
200: {
|
|
6527
6700
|
headers: {
|
|
6528
6701
|
[name: string]: unknown;
|
|
6529
6702
|
};
|
|
6530
6703
|
content: {
|
|
6531
|
-
|
|
6532
|
-
* "message": "pong"
|
|
6533
|
-
* } */
|
|
6534
|
-
"application/json": components["schemas"]["PingResponse"];
|
|
6704
|
+
"application/json": components["schemas"]["ToolsetExecutionResponse"];
|
|
6535
6705
|
};
|
|
6536
6706
|
};
|
|
6537
6707
|
/** @description Invalid request parameters */
|
|
@@ -6543,6 +6713,31 @@ export interface operations {
|
|
|
6543
6713
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6544
6714
|
};
|
|
6545
6715
|
};
|
|
6716
|
+
/** @description Not authenticated */
|
|
6717
|
+
401: {
|
|
6718
|
+
headers: {
|
|
6719
|
+
[name: string]: unknown;
|
|
6720
|
+
};
|
|
6721
|
+
content: {
|
|
6722
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6723
|
+
};
|
|
6724
|
+
};
|
|
6725
|
+
/** @description Insufficient permissions */
|
|
6726
|
+
403: {
|
|
6727
|
+
headers: {
|
|
6728
|
+
[name: string]: unknown;
|
|
6729
|
+
};
|
|
6730
|
+
content: {
|
|
6731
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6732
|
+
};
|
|
6733
|
+
};
|
|
6734
|
+
/** @description Toolset or method not found */
|
|
6735
|
+
404: {
|
|
6736
|
+
headers: {
|
|
6737
|
+
[name: string]: unknown;
|
|
6738
|
+
};
|
|
6739
|
+
content?: never;
|
|
6740
|
+
};
|
|
6546
6741
|
/** @description Internal server error */
|
|
6547
6742
|
500: {
|
|
6548
6743
|
headers: {
|
|
@@ -6554,7 +6749,7 @@ export interface operations {
|
|
|
6554
6749
|
};
|
|
6555
6750
|
};
|
|
6556
6751
|
};
|
|
6557
|
-
|
|
6752
|
+
getCurrentUser: {
|
|
6558
6753
|
parameters: {
|
|
6559
6754
|
query?: never;
|
|
6560
6755
|
header?: never;
|
|
@@ -6563,13 +6758,13 @@ export interface operations {
|
|
|
6563
6758
|
};
|
|
6564
6759
|
requestBody?: never;
|
|
6565
6760
|
responses: {
|
|
6566
|
-
/** @description
|
|
6761
|
+
/** @description User information (authenticated or not) */
|
|
6567
6762
|
200: {
|
|
6568
6763
|
headers: {
|
|
6569
6764
|
[name: string]: unknown;
|
|
6570
6765
|
};
|
|
6571
6766
|
content: {
|
|
6572
|
-
"application/json": components["schemas"]["
|
|
6767
|
+
"application/json": components["schemas"]["UserResponse"];
|
|
6573
6768
|
};
|
|
6574
6769
|
};
|
|
6575
6770
|
/** @description Invalid request parameters */
|
|
@@ -6610,26 +6805,21 @@ export interface operations {
|
|
|
6610
6805
|
};
|
|
6611
6806
|
};
|
|
6612
6807
|
};
|
|
6613
|
-
|
|
6808
|
+
requestUserAccess: {
|
|
6614
6809
|
parameters: {
|
|
6615
6810
|
query?: never;
|
|
6616
6811
|
header?: never;
|
|
6617
|
-
path
|
|
6618
|
-
/** @description Toolset identifier */
|
|
6619
|
-
toolset_id: string;
|
|
6620
|
-
};
|
|
6812
|
+
path?: never;
|
|
6621
6813
|
cookie?: never;
|
|
6622
6814
|
};
|
|
6623
6815
|
requestBody?: never;
|
|
6624
6816
|
responses: {
|
|
6625
|
-
/** @description
|
|
6626
|
-
|
|
6817
|
+
/** @description Access request created successfully */
|
|
6818
|
+
201: {
|
|
6627
6819
|
headers: {
|
|
6628
6820
|
[name: string]: unknown;
|
|
6629
6821
|
};
|
|
6630
|
-
content
|
|
6631
|
-
"application/json": components["schemas"]["AppToolsetConfigResponse"];
|
|
6632
|
-
};
|
|
6822
|
+
content?: never;
|
|
6633
6823
|
};
|
|
6634
6824
|
/** @description Invalid request parameters */
|
|
6635
6825
|
400: {
|
|
@@ -6658,12 +6848,23 @@ export interface operations {
|
|
|
6658
6848
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6659
6849
|
};
|
|
6660
6850
|
};
|
|
6661
|
-
/** @description
|
|
6662
|
-
|
|
6851
|
+
/** @description Pending request already exists */
|
|
6852
|
+
409: {
|
|
6663
6853
|
headers: {
|
|
6664
6854
|
[name: string]: unknown;
|
|
6665
6855
|
};
|
|
6666
|
-
content
|
|
6856
|
+
content: {
|
|
6857
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6858
|
+
};
|
|
6859
|
+
};
|
|
6860
|
+
/** @description User already has role */
|
|
6861
|
+
422: {
|
|
6862
|
+
headers: {
|
|
6863
|
+
[name: string]: unknown;
|
|
6864
|
+
};
|
|
6865
|
+
content: {
|
|
6866
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6867
|
+
};
|
|
6667
6868
|
};
|
|
6668
6869
|
/** @description Internal server error */
|
|
6669
6870
|
500: {
|
|
@@ -6676,25 +6877,22 @@ export interface operations {
|
|
|
6676
6877
|
};
|
|
6677
6878
|
};
|
|
6678
6879
|
};
|
|
6679
|
-
|
|
6880
|
+
getUserAccessStatus: {
|
|
6680
6881
|
parameters: {
|
|
6681
6882
|
query?: never;
|
|
6682
6883
|
header?: never;
|
|
6683
|
-
path
|
|
6684
|
-
/** @description Toolset identifier */
|
|
6685
|
-
toolset_id: string;
|
|
6686
|
-
};
|
|
6884
|
+
path?: never;
|
|
6687
6885
|
cookie?: never;
|
|
6688
6886
|
};
|
|
6689
6887
|
requestBody?: never;
|
|
6690
6888
|
responses: {
|
|
6691
|
-
/** @description
|
|
6889
|
+
/** @description Request status retrieved */
|
|
6692
6890
|
200: {
|
|
6693
6891
|
headers: {
|
|
6694
6892
|
[name: string]: unknown;
|
|
6695
6893
|
};
|
|
6696
6894
|
content: {
|
|
6697
|
-
"application/json": components["schemas"]["
|
|
6895
|
+
"application/json": components["schemas"]["UserAccessStatusResponse"];
|
|
6698
6896
|
};
|
|
6699
6897
|
};
|
|
6700
6898
|
/** @description Invalid request parameters */
|
|
@@ -6724,12 +6922,14 @@ export interface operations {
|
|
|
6724
6922
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6725
6923
|
};
|
|
6726
6924
|
};
|
|
6727
|
-
/** @description
|
|
6925
|
+
/** @description Request not found */
|
|
6728
6926
|
404: {
|
|
6729
6927
|
headers: {
|
|
6730
6928
|
[name: string]: unknown;
|
|
6731
6929
|
};
|
|
6732
|
-
content
|
|
6930
|
+
content: {
|
|
6931
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6932
|
+
};
|
|
6733
6933
|
};
|
|
6734
6934
|
/** @description Internal server error */
|
|
6735
6935
|
500: {
|
|
@@ -6742,25 +6942,33 @@ export interface operations {
|
|
|
6742
6942
|
};
|
|
6743
6943
|
};
|
|
6744
6944
|
};
|
|
6745
|
-
|
|
6945
|
+
listUsers: {
|
|
6746
6946
|
parameters: {
|
|
6747
|
-
query?:
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6947
|
+
query?: {
|
|
6948
|
+
/**
|
|
6949
|
+
* @description Page number (1-based)
|
|
6950
|
+
* @example 1
|
|
6951
|
+
*/
|
|
6952
|
+
page?: number;
|
|
6953
|
+
/**
|
|
6954
|
+
* @description Number of users per page
|
|
6955
|
+
* @example 10
|
|
6956
|
+
*/
|
|
6957
|
+
page_size?: number;
|
|
6752
6958
|
};
|
|
6959
|
+
header?: never;
|
|
6960
|
+
path?: never;
|
|
6753
6961
|
cookie?: never;
|
|
6754
6962
|
};
|
|
6755
6963
|
requestBody?: never;
|
|
6756
6964
|
responses: {
|
|
6757
|
-
/** @description
|
|
6965
|
+
/** @description Users retrieved successfully */
|
|
6758
6966
|
200: {
|
|
6759
6967
|
headers: {
|
|
6760
6968
|
[name: string]: unknown;
|
|
6761
6969
|
};
|
|
6762
6970
|
content: {
|
|
6763
|
-
"application/json": components["schemas"]["
|
|
6971
|
+
"application/json": components["schemas"]["UserListResponse"];
|
|
6764
6972
|
};
|
|
6765
6973
|
};
|
|
6766
6974
|
/** @description Invalid request parameters */
|
|
@@ -6790,13 +6998,6 @@ export interface operations {
|
|
|
6790
6998
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6791
6999
|
};
|
|
6792
7000
|
};
|
|
6793
|
-
/** @description Toolset not found */
|
|
6794
|
-
404: {
|
|
6795
|
-
headers: {
|
|
6796
|
-
[name: string]: unknown;
|
|
6797
|
-
};
|
|
6798
|
-
content?: never;
|
|
6799
|
-
};
|
|
6800
7001
|
/** @description Internal server error */
|
|
6801
7002
|
500: {
|
|
6802
7003
|
headers: {
|
|
@@ -6808,30 +7009,24 @@ export interface operations {
|
|
|
6808
7009
|
};
|
|
6809
7010
|
};
|
|
6810
7011
|
};
|
|
6811
|
-
|
|
7012
|
+
removeUser: {
|
|
6812
7013
|
parameters: {
|
|
6813
7014
|
query?: never;
|
|
6814
7015
|
header?: never;
|
|
6815
7016
|
path: {
|
|
6816
|
-
/** @description
|
|
6817
|
-
|
|
7017
|
+
/** @description User ID to remove */
|
|
7018
|
+
user_id: string;
|
|
6818
7019
|
};
|
|
6819
7020
|
cookie?: never;
|
|
6820
7021
|
};
|
|
6821
|
-
requestBody
|
|
6822
|
-
content: {
|
|
6823
|
-
"application/json": components["schemas"]["UpdateToolsetConfigRequest"];
|
|
6824
|
-
};
|
|
6825
|
-
};
|
|
7022
|
+
requestBody?: never;
|
|
6826
7023
|
responses: {
|
|
6827
|
-
/** @description
|
|
7024
|
+
/** @description User removed successfully */
|
|
6828
7025
|
200: {
|
|
6829
7026
|
headers: {
|
|
6830
7027
|
[name: string]: unknown;
|
|
6831
7028
|
};
|
|
6832
|
-
content
|
|
6833
|
-
"application/json": components["schemas"]["EnhancedToolsetConfigResponse"];
|
|
6834
|
-
};
|
|
7029
|
+
content?: never;
|
|
6835
7030
|
};
|
|
6836
7031
|
/** @description Invalid request parameters */
|
|
6837
7032
|
400: {
|
|
@@ -6860,12 +7055,14 @@ export interface operations {
|
|
|
6860
7055
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6861
7056
|
};
|
|
6862
7057
|
};
|
|
6863
|
-
/** @description
|
|
7058
|
+
/** @description User not found */
|
|
6864
7059
|
404: {
|
|
6865
7060
|
headers: {
|
|
6866
7061
|
[name: string]: unknown;
|
|
6867
7062
|
};
|
|
6868
|
-
content
|
|
7063
|
+
content: {
|
|
7064
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7065
|
+
};
|
|
6869
7066
|
};
|
|
6870
7067
|
/** @description Internal server error */
|
|
6871
7068
|
500: {
|
|
@@ -6878,20 +7075,24 @@ export interface operations {
|
|
|
6878
7075
|
};
|
|
6879
7076
|
};
|
|
6880
7077
|
};
|
|
6881
|
-
|
|
7078
|
+
changeUserRole: {
|
|
6882
7079
|
parameters: {
|
|
6883
7080
|
query?: never;
|
|
6884
7081
|
header?: never;
|
|
6885
7082
|
path: {
|
|
6886
|
-
/** @description
|
|
6887
|
-
|
|
7083
|
+
/** @description User ID to change role for */
|
|
7084
|
+
user_id: string;
|
|
6888
7085
|
};
|
|
6889
7086
|
cookie?: never;
|
|
6890
7087
|
};
|
|
6891
|
-
requestBody
|
|
7088
|
+
requestBody: {
|
|
7089
|
+
content: {
|
|
7090
|
+
"application/json": components["schemas"]["ChangeRoleRequest"];
|
|
7091
|
+
};
|
|
7092
|
+
};
|
|
6892
7093
|
responses: {
|
|
6893
|
-
/** @description
|
|
6894
|
-
|
|
7094
|
+
/** @description Role changed successfully */
|
|
7095
|
+
200: {
|
|
6895
7096
|
headers: {
|
|
6896
7097
|
[name: string]: unknown;
|
|
6897
7098
|
};
|
|
@@ -6924,12 +7125,14 @@ export interface operations {
|
|
|
6924
7125
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6925
7126
|
};
|
|
6926
7127
|
};
|
|
6927
|
-
/** @description
|
|
7128
|
+
/** @description User not found */
|
|
6928
7129
|
404: {
|
|
6929
7130
|
headers: {
|
|
6930
7131
|
[name: string]: unknown;
|
|
6931
7132
|
};
|
|
6932
|
-
content
|
|
7133
|
+
content: {
|
|
7134
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7135
|
+
};
|
|
6933
7136
|
};
|
|
6934
7137
|
/** @description Internal server error */
|
|
6935
7138
|
500: {
|
|
@@ -6942,31 +7145,25 @@ export interface operations {
|
|
|
6942
7145
|
};
|
|
6943
7146
|
};
|
|
6944
7147
|
};
|
|
6945
|
-
|
|
7148
|
+
healthCheck: {
|
|
6946
7149
|
parameters: {
|
|
6947
7150
|
query?: never;
|
|
6948
7151
|
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
|
-
};
|
|
7152
|
+
path?: never;
|
|
6955
7153
|
cookie?: never;
|
|
6956
7154
|
};
|
|
6957
|
-
requestBody
|
|
6958
|
-
content: {
|
|
6959
|
-
"application/json": components["schemas"]["ExecuteToolsetRequest"];
|
|
6960
|
-
};
|
|
6961
|
-
};
|
|
7155
|
+
requestBody?: never;
|
|
6962
7156
|
responses: {
|
|
6963
|
-
/** @description
|
|
7157
|
+
/** @description Application is healthy and fully operational */
|
|
6964
7158
|
200: {
|
|
6965
7159
|
headers: {
|
|
6966
7160
|
[name: string]: unknown;
|
|
6967
7161
|
};
|
|
6968
7162
|
content: {
|
|
6969
|
-
|
|
7163
|
+
/** @example {
|
|
7164
|
+
* "message": "pong"
|
|
7165
|
+
* } */
|
|
7166
|
+
"application/json": components["schemas"]["PingResponse"];
|
|
6970
7167
|
};
|
|
6971
7168
|
};
|
|
6972
7169
|
/** @description Invalid request parameters */
|
|
@@ -6978,8 +7175,8 @@ export interface operations {
|
|
|
6978
7175
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6979
7176
|
};
|
|
6980
7177
|
};
|
|
6981
|
-
/** @description
|
|
6982
|
-
|
|
7178
|
+
/** @description Internal server error */
|
|
7179
|
+
500: {
|
|
6983
7180
|
headers: {
|
|
6984
7181
|
[name: string]: unknown;
|
|
6985
7182
|
};
|
|
@@ -6987,21 +7184,37 @@ export interface operations {
|
|
|
6987
7184
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6988
7185
|
};
|
|
6989
7186
|
};
|
|
6990
|
-
|
|
6991
|
-
|
|
7187
|
+
};
|
|
7188
|
+
};
|
|
7189
|
+
pingServer: {
|
|
7190
|
+
parameters: {
|
|
7191
|
+
query?: never;
|
|
7192
|
+
header?: never;
|
|
7193
|
+
path?: never;
|
|
7194
|
+
cookie?: never;
|
|
7195
|
+
};
|
|
7196
|
+
requestBody?: never;
|
|
7197
|
+
responses: {
|
|
7198
|
+
/** @description Server is responding normally */
|
|
7199
|
+
200: {
|
|
6992
7200
|
headers: {
|
|
6993
7201
|
[name: string]: unknown;
|
|
6994
7202
|
};
|
|
6995
7203
|
content: {
|
|
6996
|
-
|
|
7204
|
+
/** @example {
|
|
7205
|
+
* "message": "pong"
|
|
7206
|
+
* } */
|
|
7207
|
+
"application/json": components["schemas"]["PingResponse"];
|
|
6997
7208
|
};
|
|
6998
7209
|
};
|
|
6999
|
-
/** @description
|
|
7000
|
-
|
|
7210
|
+
/** @description Invalid request parameters */
|
|
7211
|
+
400: {
|
|
7001
7212
|
headers: {
|
|
7002
7213
|
[name: string]: unknown;
|
|
7003
7214
|
};
|
|
7004
|
-
content
|
|
7215
|
+
content: {
|
|
7216
|
+
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7217
|
+
};
|
|
7005
7218
|
};
|
|
7006
7219
|
/** @description Internal server error */
|
|
7007
7220
|
500: {
|