@breign/client 1.0.129 → 1.0.131
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/apis/AdminApi.d.ts +103 -0
- package/dist/apis/AdminApi.js +267 -0
- package/dist/apis/AiGatewayApi.d.ts +26 -1
- package/dist/apis/AiGatewayApi.js +47 -1
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AiGatewayUsageBreakdownItemUio.d.ts +62 -0
- package/dist/models/AiGatewayUsageBreakdownItemUio.js +70 -0
- package/dist/models/AiGatewayUsagePointUio.d.ts +56 -0
- package/dist/models/AiGatewayUsagePointUio.js +66 -0
- package/dist/models/AiGatewayUsageTotalUio.d.ts +62 -0
- package/dist/models/AiGatewayUsageTotalUio.js +70 -0
- package/dist/models/AiGatewayUsageUio.d.ts +59 -0
- package/dist/models/AiGatewayUsageUio.js +69 -0
- package/dist/models/ToolPresetCreateRequestUio.d.ts +118 -0
- package/dist/models/ToolPresetCreateRequestUio.js +86 -0
- package/dist/models/ToolPresetDeleteAllResponseUio.d.ts +32 -0
- package/dist/models/ToolPresetDeleteAllResponseUio.js +50 -0
- package/dist/models/ToolPresetImportItemUio.d.ts +136 -0
- package/dist/models/ToolPresetImportItemUio.js +92 -0
- package/dist/models/ToolPresetImportRequestUio.d.ts +33 -0
- package/dist/models/ToolPresetImportRequestUio.js +51 -0
- package/dist/models/ToolPresetImportResponseUio.d.ts +38 -0
- package/dist/models/ToolPresetImportResponseUio.js +54 -0
- package/dist/models/ToolPresetOAuthRegistrationUio.d.ts +26 -0
- package/dist/models/ToolPresetOAuthRegistrationUio.js +52 -0
- package/dist/models/ToolPresetPageUio.d.ts +63 -0
- package/dist/models/ToolPresetPageUio.js +71 -0
- package/dist/models/ToolPresetTransportUio.d.ts +25 -0
- package/dist/models/ToolPresetTransportUio.js +51 -0
- package/dist/models/ToolPresetUio.d.ts +136 -0
- package/dist/models/ToolPresetUio.js +112 -0
- package/dist/models/ToolPresetUpdateRequestUio.d.ts +118 -0
- package/dist/models/ToolPresetUpdateRequestUio.js +78 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/openapi.json +1771 -965
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -78,6 +78,9 @@
|
|
|
78
78
|
}, {
|
|
79
79
|
"description" : "OpenAI-compatible inference gateway endpoints",
|
|
80
80
|
"name" : "ai-gateway"
|
|
81
|
+
}, {
|
|
82
|
+
"description" : "Super-admin only endpoints",
|
|
83
|
+
"name" : "admin"
|
|
81
84
|
} ],
|
|
82
85
|
"paths" : {
|
|
83
86
|
"/health" : {
|
|
@@ -12669,6 +12672,80 @@
|
|
|
12669
12672
|
"tags" : [ "ai-gateway" ]
|
|
12670
12673
|
}
|
|
12671
12674
|
},
|
|
12675
|
+
"/organizations/{organizationId}/ai-gateway/metrics" : {
|
|
12676
|
+
"get" : {
|
|
12677
|
+
"description" : "Usage de la passerelle pour l'organisation sur une période : totaux, série temporelle et répartitions par modèle, par provider et par utilisateur. Réservé aux administrateurs de l'organisation.",
|
|
12678
|
+
"operationId" : "getAiGatewayMetrics",
|
|
12679
|
+
"parameters" : [ {
|
|
12680
|
+
"description" : "ID of the organization",
|
|
12681
|
+
"in" : "path",
|
|
12682
|
+
"name" : "organizationId",
|
|
12683
|
+
"required" : true,
|
|
12684
|
+
"schema" : {
|
|
12685
|
+
"type" : "string"
|
|
12686
|
+
}
|
|
12687
|
+
}, {
|
|
12688
|
+
"description" : "Début de la période ; par défaut le premier jour du mois courant",
|
|
12689
|
+
"in" : "query",
|
|
12690
|
+
"name" : "startDate",
|
|
12691
|
+
"schema" : {
|
|
12692
|
+
"format" : "date-time",
|
|
12693
|
+
"type" : "string"
|
|
12694
|
+
}
|
|
12695
|
+
}, {
|
|
12696
|
+
"description" : "Fin de la période ; par défaut le dernier jour du mois courant",
|
|
12697
|
+
"in" : "query",
|
|
12698
|
+
"name" : "endDate",
|
|
12699
|
+
"schema" : {
|
|
12700
|
+
"format" : "date-time",
|
|
12701
|
+
"type" : "string"
|
|
12702
|
+
}
|
|
12703
|
+
}, {
|
|
12704
|
+
"description" : "Pas de regroupement de la série temporelle",
|
|
12705
|
+
"in" : "query",
|
|
12706
|
+
"name" : "granularity",
|
|
12707
|
+
"schema" : {
|
|
12708
|
+
"default" : "day",
|
|
12709
|
+
"enum" : [ "hour", "day", "week" ],
|
|
12710
|
+
"type" : "string"
|
|
12711
|
+
}
|
|
12712
|
+
} ],
|
|
12713
|
+
"responses" : {
|
|
12714
|
+
"200" : {
|
|
12715
|
+
"content" : {
|
|
12716
|
+
"application/json" : {
|
|
12717
|
+
"schema" : {
|
|
12718
|
+
"$ref" : "#/components/schemas/AiGatewayUsage"
|
|
12719
|
+
}
|
|
12720
|
+
}
|
|
12721
|
+
},
|
|
12722
|
+
"description" : "Usage metrics retrieved successfully"
|
|
12723
|
+
},
|
|
12724
|
+
"401" : {
|
|
12725
|
+
"content" : {
|
|
12726
|
+
"application/json" : {
|
|
12727
|
+
"schema" : {
|
|
12728
|
+
"$ref" : "#/components/schemas/AiGatewayError"
|
|
12729
|
+
}
|
|
12730
|
+
}
|
|
12731
|
+
},
|
|
12732
|
+
"description" : "Unauthenticated — no caller identity could be established"
|
|
12733
|
+
},
|
|
12734
|
+
"403" : {
|
|
12735
|
+
"content" : {
|
|
12736
|
+
"application/json" : {
|
|
12737
|
+
"schema" : {
|
|
12738
|
+
"$ref" : "#/components/schemas/AiGatewayError"
|
|
12739
|
+
}
|
|
12740
|
+
}
|
|
12741
|
+
},
|
|
12742
|
+
"description" : "Forbidden — the caller is not an admin of the organization"
|
|
12743
|
+
}
|
|
12744
|
+
},
|
|
12745
|
+
"summary" : "Get AI gateway usage metrics",
|
|
12746
|
+
"tags" : [ "ai-gateway" ]
|
|
12747
|
+
}
|
|
12748
|
+
},
|
|
12672
12749
|
"/organizations/{organizationId}/openai/chat/completions" : {
|
|
12673
12750
|
"post" : {
|
|
12674
12751
|
"description" : "OpenAI-compatible chat completion. Contrairement à `/ai-gateway/chat/completions`, la réponse OpenAI native est relayée sans transformation, `stream_options` est accepté, et la consommation de tokens est enregistrée dans les métriques de l'organisation.\n\nToutes les erreurs utilisent l'enveloppe OpenAI `{ error: { message } }`.",
|
|
@@ -12763,134 +12840,407 @@
|
|
|
12763
12840
|
"summary" : "Create a chat completion using the native OpenAI client",
|
|
12764
12841
|
"tags" : [ "ai-gateway" ]
|
|
12765
12842
|
}
|
|
12766
|
-
}
|
|
12767
|
-
|
|
12768
|
-
|
|
12769
|
-
|
|
12770
|
-
|
|
12771
|
-
"
|
|
12772
|
-
|
|
12773
|
-
|
|
12774
|
-
|
|
12775
|
-
|
|
12776
|
-
|
|
12777
|
-
|
|
12778
|
-
|
|
12779
|
-
|
|
12780
|
-
|
|
12781
|
-
|
|
12782
|
-
|
|
12783
|
-
|
|
12784
|
-
|
|
12785
|
-
|
|
12786
|
-
|
|
12787
|
-
|
|
12788
|
-
}
|
|
12789
|
-
|
|
12790
|
-
|
|
12791
|
-
"description" : "Start date for metrics (ISO format)",
|
|
12792
|
-
"in" : "query",
|
|
12793
|
-
"name" : "startDate",
|
|
12794
|
-
"schema" : {
|
|
12795
|
-
"type" : "string"
|
|
12796
|
-
}
|
|
12797
|
-
},
|
|
12798
|
-
"endDate" : {
|
|
12799
|
-
"description" : "End date for metrics (ISO format)",
|
|
12800
|
-
"in" : "query",
|
|
12801
|
-
"name" : "endDate",
|
|
12802
|
-
"schema" : {
|
|
12803
|
-
"type" : "string"
|
|
12804
|
-
}
|
|
12805
|
-
},
|
|
12806
|
-
"flowIdPath" : {
|
|
12807
|
-
"description" : "ID of the flow to retrieve",
|
|
12808
|
-
"in" : "path",
|
|
12809
|
-
"name" : "flowId",
|
|
12810
|
-
"required" : true,
|
|
12811
|
-
"schema" : {
|
|
12812
|
-
"format" : "uuid",
|
|
12813
|
-
"type" : "string"
|
|
12814
|
-
}
|
|
12815
|
-
},
|
|
12816
|
-
"language" : {
|
|
12817
|
-
"description" : "Language code for transcription (optional)",
|
|
12818
|
-
"in" : "query",
|
|
12819
|
-
"name" : "language",
|
|
12820
|
-
"schema" : {
|
|
12821
|
-
"type" : "string"
|
|
12822
|
-
}
|
|
12823
|
-
},
|
|
12824
|
-
"dry" : {
|
|
12825
|
-
"description" : "If true, returns a mock transcription without processing the file",
|
|
12826
|
-
"in" : "query",
|
|
12827
|
-
"name" : "dry",
|
|
12828
|
-
"schema" : {
|
|
12829
|
-
"type" : "boolean"
|
|
12830
|
-
}
|
|
12831
|
-
},
|
|
12832
|
-
"page" : {
|
|
12833
|
-
"description" : "Page number",
|
|
12834
|
-
"in" : "query",
|
|
12835
|
-
"name" : "page",
|
|
12836
|
-
"schema" : {
|
|
12837
|
-
"type" : "integer"
|
|
12838
|
-
}
|
|
12839
|
-
},
|
|
12840
|
-
"search" : {
|
|
12841
|
-
"description" : "Search by custom user id or user email",
|
|
12842
|
-
"in" : "query",
|
|
12843
|
-
"name" : "search",
|
|
12844
|
-
"schema" : {
|
|
12845
|
-
"type" : "string"
|
|
12846
|
-
}
|
|
12847
|
-
},
|
|
12848
|
-
"messageSearch" : {
|
|
12849
|
-
"description" : "Search conversations by message content",
|
|
12850
|
-
"in" : "query",
|
|
12851
|
-
"name" : "messageSearch",
|
|
12852
|
-
"schema" : {
|
|
12853
|
-
"type" : "string"
|
|
12854
|
-
}
|
|
12855
|
-
},
|
|
12856
|
-
"conversationId" : {
|
|
12857
|
-
"description" : "Filter by conversation id (exact or partial match)",
|
|
12858
|
-
"in" : "query",
|
|
12859
|
-
"name" : "conversationId",
|
|
12860
|
-
"schema" : {
|
|
12861
|
-
"type" : "string"
|
|
12862
|
-
}
|
|
12863
|
-
},
|
|
12864
|
-
"messageId" : {
|
|
12865
|
-
"description" : "Filter conversations containing a message with this id (exact or partial match)",
|
|
12866
|
-
"in" : "query",
|
|
12867
|
-
"name" : "messageId",
|
|
12868
|
-
"schema" : {
|
|
12869
|
-
"type" : "string"
|
|
12870
|
-
}
|
|
12871
|
-
},
|
|
12872
|
-
"appId" : {
|
|
12873
|
-
"description" : "App id",
|
|
12874
|
-
"in" : "query",
|
|
12875
|
-
"name" : "appId",
|
|
12876
|
-
"schema" : {
|
|
12877
|
-
"type" : "string"
|
|
12878
|
-
}
|
|
12843
|
+
},
|
|
12844
|
+
"/admin/tool-presets" : {
|
|
12845
|
+
"delete" : {
|
|
12846
|
+
"description" : "Clears the shared tool library",
|
|
12847
|
+
"operationId" : "deleteAllAdminToolPresets",
|
|
12848
|
+
"responses" : {
|
|
12849
|
+
"200" : {
|
|
12850
|
+
"content" : {
|
|
12851
|
+
"application/json" : {
|
|
12852
|
+
"schema" : {
|
|
12853
|
+
"$ref" : "#/components/schemas/ToolPresetDeleteAllResponse"
|
|
12854
|
+
}
|
|
12855
|
+
}
|
|
12856
|
+
},
|
|
12857
|
+
"description" : "Tool library cleared"
|
|
12858
|
+
},
|
|
12859
|
+
"401" : {
|
|
12860
|
+
"description" : "Unauthorized"
|
|
12861
|
+
},
|
|
12862
|
+
"403" : {
|
|
12863
|
+
"description" : "Forbidden"
|
|
12864
|
+
}
|
|
12865
|
+
},
|
|
12866
|
+
"summary" : "Delete every tool preset",
|
|
12867
|
+
"tags" : [ "admin" ]
|
|
12879
12868
|
},
|
|
12880
|
-
"
|
|
12881
|
-
"description" : "
|
|
12882
|
-
"
|
|
12883
|
-
"
|
|
12884
|
-
|
|
12885
|
-
"
|
|
12886
|
-
|
|
12869
|
+
"get" : {
|
|
12870
|
+
"description" : "Returns a page of the shared tool library, including inactive presets. Use /admin/tool-presets/export to retrieve the whole library at once.",
|
|
12871
|
+
"operationId" : "getAdminToolPresets",
|
|
12872
|
+
"parameters" : [ {
|
|
12873
|
+
"description" : "Page number, starting at 1",
|
|
12874
|
+
"in" : "query",
|
|
12875
|
+
"name" : "page",
|
|
12876
|
+
"schema" : {
|
|
12877
|
+
"default" : 1,
|
|
12878
|
+
"minimum" : 1,
|
|
12879
|
+
"type" : "integer"
|
|
12880
|
+
}
|
|
12881
|
+
}, {
|
|
12882
|
+
"description" : "Maximum number of tool presets to return",
|
|
12883
|
+
"in" : "query",
|
|
12884
|
+
"name" : "limit",
|
|
12885
|
+
"schema" : {
|
|
12886
|
+
"default" : 25,
|
|
12887
|
+
"maximum" : 100,
|
|
12888
|
+
"minimum" : 1,
|
|
12889
|
+
"type" : "integer"
|
|
12890
|
+
}
|
|
12891
|
+
}, {
|
|
12892
|
+
"description" : "Search tool presets by name, slug, url or description",
|
|
12893
|
+
"in" : "query",
|
|
12894
|
+
"name" : "search",
|
|
12895
|
+
"schema" : {
|
|
12896
|
+
"type" : "string"
|
|
12897
|
+
}
|
|
12898
|
+
}, {
|
|
12899
|
+
"description" : "Filter tool presets by category",
|
|
12900
|
+
"in" : "query",
|
|
12901
|
+
"name" : "category",
|
|
12902
|
+
"schema" : {
|
|
12903
|
+
"type" : "string"
|
|
12904
|
+
}
|
|
12905
|
+
} ],
|
|
12906
|
+
"responses" : {
|
|
12907
|
+
"200" : {
|
|
12908
|
+
"content" : {
|
|
12909
|
+
"application/json" : {
|
|
12910
|
+
"schema" : {
|
|
12911
|
+
"$ref" : "#/components/schemas/ToolPresetPage"
|
|
12912
|
+
}
|
|
12913
|
+
}
|
|
12914
|
+
},
|
|
12915
|
+
"description" : "Tool presets retrieved successfully"
|
|
12916
|
+
},
|
|
12917
|
+
"401" : {
|
|
12918
|
+
"description" : "Unauthorized"
|
|
12919
|
+
},
|
|
12920
|
+
"403" : {
|
|
12921
|
+
"description" : "Forbidden"
|
|
12922
|
+
}
|
|
12923
|
+
},
|
|
12924
|
+
"summary" : "List tool presets",
|
|
12925
|
+
"tags" : [ "admin" ]
|
|
12887
12926
|
},
|
|
12888
|
-
"
|
|
12889
|
-
"
|
|
12890
|
-
"
|
|
12891
|
-
|
|
12892
|
-
|
|
12893
|
-
|
|
12927
|
+
"post" : {
|
|
12928
|
+
"operationId" : "createAdminToolPreset",
|
|
12929
|
+
"requestBody" : {
|
|
12930
|
+
"content" : {
|
|
12931
|
+
"application/json" : {
|
|
12932
|
+
"schema" : {
|
|
12933
|
+
"$ref" : "#/components/schemas/ToolPresetCreateRequest"
|
|
12934
|
+
}
|
|
12935
|
+
}
|
|
12936
|
+
},
|
|
12937
|
+
"required" : true
|
|
12938
|
+
},
|
|
12939
|
+
"responses" : {
|
|
12940
|
+
"201" : {
|
|
12941
|
+
"content" : {
|
|
12942
|
+
"application/json" : {
|
|
12943
|
+
"schema" : {
|
|
12944
|
+
"$ref" : "#/components/schemas/ToolPreset"
|
|
12945
|
+
}
|
|
12946
|
+
}
|
|
12947
|
+
},
|
|
12948
|
+
"description" : "Tool preset created"
|
|
12949
|
+
},
|
|
12950
|
+
"400" : {
|
|
12951
|
+
"description" : "Invalid payload"
|
|
12952
|
+
},
|
|
12953
|
+
"401" : {
|
|
12954
|
+
"description" : "Unauthorized"
|
|
12955
|
+
},
|
|
12956
|
+
"403" : {
|
|
12957
|
+
"description" : "Forbidden"
|
|
12958
|
+
},
|
|
12959
|
+
"409" : {
|
|
12960
|
+
"description" : "TOOL_PRESET_SLUG_ALREADY_EXISTS"
|
|
12961
|
+
}
|
|
12962
|
+
},
|
|
12963
|
+
"summary" : "Create a tool preset",
|
|
12964
|
+
"tags" : [ "admin" ]
|
|
12965
|
+
}
|
|
12966
|
+
},
|
|
12967
|
+
"/admin/tool-presets/export" : {
|
|
12968
|
+
"get" : {
|
|
12969
|
+
"description" : "Returns the whole shared tool library at once, without pagination. The payload can be fed back as-is to /admin/tool-presets/import.",
|
|
12970
|
+
"operationId" : "exportAdminToolPresets",
|
|
12971
|
+
"responses" : {
|
|
12972
|
+
"200" : {
|
|
12973
|
+
"content" : {
|
|
12974
|
+
"application/json" : {
|
|
12975
|
+
"schema" : {
|
|
12976
|
+
"items" : {
|
|
12977
|
+
"$ref" : "#/components/schemas/ToolPreset"
|
|
12978
|
+
},
|
|
12979
|
+
"type" : "array"
|
|
12980
|
+
}
|
|
12981
|
+
}
|
|
12982
|
+
},
|
|
12983
|
+
"description" : "Tool library exported successfully"
|
|
12984
|
+
},
|
|
12985
|
+
"401" : {
|
|
12986
|
+
"description" : "Unauthorized"
|
|
12987
|
+
},
|
|
12988
|
+
"403" : {
|
|
12989
|
+
"description" : "Forbidden"
|
|
12990
|
+
}
|
|
12991
|
+
},
|
|
12992
|
+
"summary" : "Export every tool preset",
|
|
12993
|
+
"tags" : [ "admin" ]
|
|
12994
|
+
}
|
|
12995
|
+
},
|
|
12996
|
+
"/admin/tool-presets/import" : {
|
|
12997
|
+
"post" : {
|
|
12998
|
+
"description" : "Replaces the presets that already exist (matched on their slug) and adds the new ones. Presets absent from the payload are left untouched.",
|
|
12999
|
+
"operationId" : "importAdminToolPresets",
|
|
13000
|
+
"requestBody" : {
|
|
13001
|
+
"content" : {
|
|
13002
|
+
"application/json" : {
|
|
13003
|
+
"schema" : {
|
|
13004
|
+
"$ref" : "#/components/schemas/ToolPresetImportRequest"
|
|
13005
|
+
}
|
|
13006
|
+
}
|
|
13007
|
+
},
|
|
13008
|
+
"required" : true
|
|
13009
|
+
},
|
|
13010
|
+
"responses" : {
|
|
13011
|
+
"200" : {
|
|
13012
|
+
"content" : {
|
|
13013
|
+
"application/json" : {
|
|
13014
|
+
"schema" : {
|
|
13015
|
+
"$ref" : "#/components/schemas/ToolPresetImportResponse"
|
|
13016
|
+
}
|
|
13017
|
+
}
|
|
13018
|
+
},
|
|
13019
|
+
"description" : "Import completed"
|
|
13020
|
+
},
|
|
13021
|
+
"400" : {
|
|
13022
|
+
"description" : "Invalid payload or duplicated slug"
|
|
13023
|
+
},
|
|
13024
|
+
"401" : {
|
|
13025
|
+
"description" : "Unauthorized"
|
|
13026
|
+
},
|
|
13027
|
+
"403" : {
|
|
13028
|
+
"description" : "Forbidden"
|
|
13029
|
+
}
|
|
13030
|
+
},
|
|
13031
|
+
"summary" : "Import tool presets",
|
|
13032
|
+
"tags" : [ "admin" ]
|
|
13033
|
+
}
|
|
13034
|
+
},
|
|
13035
|
+
"/admin/tool-presets/{toolPresetId}" : {
|
|
13036
|
+
"delete" : {
|
|
13037
|
+
"operationId" : "deleteAdminToolPreset",
|
|
13038
|
+
"parameters" : [ {
|
|
13039
|
+
"description" : "Tool preset identifier",
|
|
13040
|
+
"in" : "path",
|
|
13041
|
+
"name" : "toolPresetId",
|
|
13042
|
+
"required" : true,
|
|
13043
|
+
"schema" : {
|
|
13044
|
+
"type" : "string"
|
|
13045
|
+
}
|
|
13046
|
+
} ],
|
|
13047
|
+
"responses" : {
|
|
13048
|
+
"204" : {
|
|
13049
|
+
"description" : "Deleted"
|
|
13050
|
+
},
|
|
13051
|
+
"401" : {
|
|
13052
|
+
"description" : "Unauthorized"
|
|
13053
|
+
},
|
|
13054
|
+
"403" : {
|
|
13055
|
+
"description" : "Forbidden"
|
|
13056
|
+
},
|
|
13057
|
+
"404" : {
|
|
13058
|
+
"description" : "TOOL_PRESET_NOT_FOUND"
|
|
13059
|
+
}
|
|
13060
|
+
},
|
|
13061
|
+
"summary" : "Delete a tool preset",
|
|
13062
|
+
"tags" : [ "admin" ]
|
|
13063
|
+
},
|
|
13064
|
+
"put" : {
|
|
13065
|
+
"description" : "Partial update — only the provided properties are modified",
|
|
13066
|
+
"operationId" : "updateAdminToolPreset",
|
|
13067
|
+
"parameters" : [ {
|
|
13068
|
+
"description" : "Tool preset identifier",
|
|
13069
|
+
"in" : "path",
|
|
13070
|
+
"name" : "toolPresetId",
|
|
13071
|
+
"required" : true,
|
|
13072
|
+
"schema" : {
|
|
13073
|
+
"type" : "string"
|
|
13074
|
+
}
|
|
13075
|
+
} ],
|
|
13076
|
+
"requestBody" : {
|
|
13077
|
+
"content" : {
|
|
13078
|
+
"application/json" : {
|
|
13079
|
+
"schema" : {
|
|
13080
|
+
"$ref" : "#/components/schemas/ToolPresetUpdateRequest"
|
|
13081
|
+
}
|
|
13082
|
+
}
|
|
13083
|
+
},
|
|
13084
|
+
"required" : true
|
|
13085
|
+
},
|
|
13086
|
+
"responses" : {
|
|
13087
|
+
"200" : {
|
|
13088
|
+
"content" : {
|
|
13089
|
+
"application/json" : {
|
|
13090
|
+
"schema" : {
|
|
13091
|
+
"$ref" : "#/components/schemas/ToolPreset"
|
|
13092
|
+
}
|
|
13093
|
+
}
|
|
13094
|
+
},
|
|
13095
|
+
"description" : "Tool preset updated"
|
|
13096
|
+
},
|
|
13097
|
+
"400" : {
|
|
13098
|
+
"description" : "Invalid payload"
|
|
13099
|
+
},
|
|
13100
|
+
"401" : {
|
|
13101
|
+
"description" : "Unauthorized"
|
|
13102
|
+
},
|
|
13103
|
+
"403" : {
|
|
13104
|
+
"description" : "Forbidden"
|
|
13105
|
+
},
|
|
13106
|
+
"404" : {
|
|
13107
|
+
"description" : "TOOL_PRESET_NOT_FOUND"
|
|
13108
|
+
},
|
|
13109
|
+
"409" : {
|
|
13110
|
+
"description" : "TOOL_PRESET_SLUG_ALREADY_EXISTS"
|
|
13111
|
+
}
|
|
13112
|
+
},
|
|
13113
|
+
"summary" : "Update a tool preset",
|
|
13114
|
+
"tags" : [ "admin" ]
|
|
13115
|
+
}
|
|
13116
|
+
}
|
|
13117
|
+
},
|
|
13118
|
+
"components" : {
|
|
13119
|
+
"parameters" : {
|
|
13120
|
+
"providerSource" : {
|
|
13121
|
+
"description" : "Filter by provider source.",
|
|
13122
|
+
"in" : "query",
|
|
13123
|
+
"name" : "providerSource",
|
|
13124
|
+
"required" : false,
|
|
13125
|
+
"schema" : {
|
|
13126
|
+
"enum" : [ "EXTERNAL", "INTERNAL" ],
|
|
13127
|
+
"type" : "string"
|
|
13128
|
+
}
|
|
13129
|
+
},
|
|
13130
|
+
"agentIdPath" : {
|
|
13131
|
+
"description" : "ID of the agent",
|
|
13132
|
+
"in" : "path",
|
|
13133
|
+
"name" : "agentId",
|
|
13134
|
+
"required" : true,
|
|
13135
|
+
"schema" : {
|
|
13136
|
+
"format" : "uuid",
|
|
13137
|
+
"type" : "string"
|
|
13138
|
+
}
|
|
13139
|
+
},
|
|
13140
|
+
"startDate" : {
|
|
13141
|
+
"description" : "Start date for metrics (ISO format)",
|
|
13142
|
+
"in" : "query",
|
|
13143
|
+
"name" : "startDate",
|
|
13144
|
+
"schema" : {
|
|
13145
|
+
"type" : "string"
|
|
13146
|
+
}
|
|
13147
|
+
},
|
|
13148
|
+
"endDate" : {
|
|
13149
|
+
"description" : "End date for metrics (ISO format)",
|
|
13150
|
+
"in" : "query",
|
|
13151
|
+
"name" : "endDate",
|
|
13152
|
+
"schema" : {
|
|
13153
|
+
"type" : "string"
|
|
13154
|
+
}
|
|
13155
|
+
},
|
|
13156
|
+
"flowIdPath" : {
|
|
13157
|
+
"description" : "ID of the flow to retrieve",
|
|
13158
|
+
"in" : "path",
|
|
13159
|
+
"name" : "flowId",
|
|
13160
|
+
"required" : true,
|
|
13161
|
+
"schema" : {
|
|
13162
|
+
"format" : "uuid",
|
|
13163
|
+
"type" : "string"
|
|
13164
|
+
}
|
|
13165
|
+
},
|
|
13166
|
+
"language" : {
|
|
13167
|
+
"description" : "Language code for transcription (optional)",
|
|
13168
|
+
"in" : "query",
|
|
13169
|
+
"name" : "language",
|
|
13170
|
+
"schema" : {
|
|
13171
|
+
"type" : "string"
|
|
13172
|
+
}
|
|
13173
|
+
},
|
|
13174
|
+
"dry" : {
|
|
13175
|
+
"description" : "If true, returns a mock transcription without processing the file",
|
|
13176
|
+
"in" : "query",
|
|
13177
|
+
"name" : "dry",
|
|
13178
|
+
"schema" : {
|
|
13179
|
+
"type" : "boolean"
|
|
13180
|
+
}
|
|
13181
|
+
},
|
|
13182
|
+
"page" : {
|
|
13183
|
+
"description" : "Page number",
|
|
13184
|
+
"in" : "query",
|
|
13185
|
+
"name" : "page",
|
|
13186
|
+
"schema" : {
|
|
13187
|
+
"type" : "integer"
|
|
13188
|
+
}
|
|
13189
|
+
},
|
|
13190
|
+
"search" : {
|
|
13191
|
+
"description" : "Search by custom user id or user email",
|
|
13192
|
+
"in" : "query",
|
|
13193
|
+
"name" : "search",
|
|
13194
|
+
"schema" : {
|
|
13195
|
+
"type" : "string"
|
|
13196
|
+
}
|
|
13197
|
+
},
|
|
13198
|
+
"messageSearch" : {
|
|
13199
|
+
"description" : "Search conversations by message content",
|
|
13200
|
+
"in" : "query",
|
|
13201
|
+
"name" : "messageSearch",
|
|
13202
|
+
"schema" : {
|
|
13203
|
+
"type" : "string"
|
|
13204
|
+
}
|
|
13205
|
+
},
|
|
13206
|
+
"conversationId" : {
|
|
13207
|
+
"description" : "Filter by conversation id (exact or partial match)",
|
|
13208
|
+
"in" : "query",
|
|
13209
|
+
"name" : "conversationId",
|
|
13210
|
+
"schema" : {
|
|
13211
|
+
"type" : "string"
|
|
13212
|
+
}
|
|
13213
|
+
},
|
|
13214
|
+
"messageId" : {
|
|
13215
|
+
"description" : "Filter conversations containing a message with this id (exact or partial match)",
|
|
13216
|
+
"in" : "query",
|
|
13217
|
+
"name" : "messageId",
|
|
13218
|
+
"schema" : {
|
|
13219
|
+
"type" : "string"
|
|
13220
|
+
}
|
|
13221
|
+
},
|
|
13222
|
+
"appId" : {
|
|
13223
|
+
"description" : "App id",
|
|
13224
|
+
"in" : "query",
|
|
13225
|
+
"name" : "appId",
|
|
13226
|
+
"schema" : {
|
|
13227
|
+
"type" : "string"
|
|
13228
|
+
}
|
|
13229
|
+
},
|
|
13230
|
+
"instanceId" : {
|
|
13231
|
+
"description" : "Instance id",
|
|
13232
|
+
"in" : "query",
|
|
13233
|
+
"name" : "instanceId",
|
|
13234
|
+
"schema" : {
|
|
13235
|
+
"type" : "string"
|
|
13236
|
+
}
|
|
13237
|
+
},
|
|
13238
|
+
"lastMessageFrom" : {
|
|
13239
|
+
"description" : "Filter conversations whose last message timestamp is after this value",
|
|
13240
|
+
"in" : "query",
|
|
13241
|
+
"name" : "lastMessageFrom",
|
|
13242
|
+
"schema" : {
|
|
13243
|
+
"format" : "date-time",
|
|
12894
13244
|
"type" : "string"
|
|
12895
13245
|
}
|
|
12896
13246
|
},
|
|
@@ -13322,6 +13672,15 @@
|
|
|
13322
13672
|
"schema" : {
|
|
13323
13673
|
"type" : "string"
|
|
13324
13674
|
}
|
|
13675
|
+
},
|
|
13676
|
+
"toolPresetIdPath" : {
|
|
13677
|
+
"description" : "Tool preset identifier",
|
|
13678
|
+
"in" : "path",
|
|
13679
|
+
"name" : "toolPresetId",
|
|
13680
|
+
"required" : true,
|
|
13681
|
+
"schema" : {
|
|
13682
|
+
"type" : "string"
|
|
13683
|
+
}
|
|
13325
13684
|
}
|
|
13326
13685
|
},
|
|
13327
13686
|
"schemas" : {
|
|
@@ -17928,431 +18287,756 @@
|
|
|
17928
18287
|
"nullable" : true,
|
|
17929
18288
|
"type" : "number"
|
|
17930
18289
|
},
|
|
17931
|
-
"embeddingProviderId" : {
|
|
17932
|
-
"nullable" : true,
|
|
18290
|
+
"embeddingProviderId" : {
|
|
18291
|
+
"nullable" : true,
|
|
18292
|
+
"type" : "string"
|
|
18293
|
+
},
|
|
18294
|
+
"embeddingModelId" : {
|
|
18295
|
+
"nullable" : true,
|
|
18296
|
+
"type" : "string"
|
|
18297
|
+
},
|
|
18298
|
+
"embeddingDimensions" : {
|
|
18299
|
+
"nullable" : true,
|
|
18300
|
+
"type" : "number"
|
|
18301
|
+
}
|
|
18302
|
+
},
|
|
18303
|
+
"type" : "object"
|
|
18304
|
+
},
|
|
18305
|
+
"KnowledgeBaseConfigurationUpdateRequest" : {
|
|
18306
|
+
"additionalProperties" : false,
|
|
18307
|
+
"properties" : {
|
|
18308
|
+
"indexName" : {
|
|
18309
|
+
"type" : "string"
|
|
18310
|
+
},
|
|
18311
|
+
"host" : {
|
|
18312
|
+
"nullable" : true,
|
|
18313
|
+
"type" : "string"
|
|
18314
|
+
},
|
|
18315
|
+
"scheme" : {
|
|
18316
|
+
"enum" : [ "http", "https" ],
|
|
18317
|
+
"nullable" : true,
|
|
18318
|
+
"type" : "string"
|
|
18319
|
+
},
|
|
18320
|
+
"authentication" : {
|
|
18321
|
+
"$ref" : "#/components/schemas/KnowledgeBaseConfigurationUpdateRequest_authentication"
|
|
18322
|
+
},
|
|
18323
|
+
"emptyKnowledgeResult" : {
|
|
18324
|
+
"nullable" : true,
|
|
18325
|
+
"type" : "string"
|
|
18326
|
+
},
|
|
18327
|
+
"additionalInstructions" : {
|
|
18328
|
+
"nullable" : true,
|
|
18329
|
+
"type" : "string"
|
|
18330
|
+
},
|
|
18331
|
+
"fusionType" : {
|
|
18332
|
+
"enum" : [ "rankedFusion", "relativeScoreFusion" ],
|
|
18333
|
+
"nullable" : true,
|
|
18334
|
+
"type" : "string"
|
|
18335
|
+
},
|
|
18336
|
+
"scoreThreshold" : {
|
|
18337
|
+
"nullable" : true,
|
|
18338
|
+
"type" : "number"
|
|
18339
|
+
},
|
|
18340
|
+
"maxDocuments" : {
|
|
18341
|
+
"minimum" : 0,
|
|
18342
|
+
"nullable" : true,
|
|
18343
|
+
"type" : "number"
|
|
18344
|
+
},
|
|
18345
|
+
"maxRetrievalLength" : {
|
|
18346
|
+
"minimum" : 0,
|
|
18347
|
+
"nullable" : true,
|
|
18348
|
+
"type" : "number"
|
|
18349
|
+
},
|
|
18350
|
+
"isChunkingEnriched" : {
|
|
18351
|
+
"nullable" : true,
|
|
18352
|
+
"type" : "boolean"
|
|
18353
|
+
},
|
|
18354
|
+
"boostScore" : {
|
|
18355
|
+
"minimum" : 0,
|
|
18356
|
+
"nullable" : true,
|
|
18357
|
+
"type" : "number"
|
|
18358
|
+
},
|
|
18359
|
+
"toolDescription" : {
|
|
18360
|
+
"maxLength" : 500,
|
|
18361
|
+
"nullable" : true,
|
|
18362
|
+
"type" : "string"
|
|
18363
|
+
},
|
|
18364
|
+
"toolParametersQueryDescription" : {
|
|
18365
|
+
"maxLength" : 500,
|
|
18366
|
+
"nullable" : true,
|
|
18367
|
+
"type" : "string"
|
|
18368
|
+
},
|
|
18369
|
+
"vectorizerModel" : {
|
|
18370
|
+
"maxLength" : 100,
|
|
18371
|
+
"nullable" : true,
|
|
18372
|
+
"type" : "string"
|
|
18373
|
+
},
|
|
18374
|
+
"vectorizerModelDimensions" : {
|
|
18375
|
+
"nullable" : true,
|
|
18376
|
+
"type" : "number"
|
|
18377
|
+
},
|
|
18378
|
+
"embeddingProviderId" : {
|
|
18379
|
+
"maxLength" : 100,
|
|
18380
|
+
"nullable" : true,
|
|
18381
|
+
"type" : "string"
|
|
18382
|
+
},
|
|
18383
|
+
"embeddingModelId" : {
|
|
18384
|
+
"maxLength" : 100,
|
|
18385
|
+
"nullable" : true,
|
|
18386
|
+
"type" : "string"
|
|
18387
|
+
},
|
|
18388
|
+
"embeddingDimensions" : {
|
|
18389
|
+
"nullable" : true,
|
|
18390
|
+
"type" : "number"
|
|
18391
|
+
}
|
|
18392
|
+
},
|
|
18393
|
+
"required" : [ "indexName" ],
|
|
18394
|
+
"type" : "object"
|
|
18395
|
+
},
|
|
18396
|
+
"KnowledgeFile" : {
|
|
18397
|
+
"allOf" : [ {
|
|
18398
|
+
"$ref" : "#/components/schemas/File"
|
|
18399
|
+
} ]
|
|
18400
|
+
},
|
|
18401
|
+
"KnowledgeSitePage" : {
|
|
18402
|
+
"properties" : {
|
|
18403
|
+
"id" : {
|
|
18404
|
+
"type" : "string"
|
|
18405
|
+
},
|
|
18406
|
+
"knowledgeBaseId" : {
|
|
18407
|
+
"type" : "string"
|
|
18408
|
+
},
|
|
18409
|
+
"key" : {
|
|
18410
|
+
"type" : "string"
|
|
18411
|
+
},
|
|
18412
|
+
"name" : {
|
|
18413
|
+
"type" : "string"
|
|
18414
|
+
},
|
|
18415
|
+
"url" : {
|
|
18416
|
+
"type" : "string"
|
|
18417
|
+
},
|
|
18418
|
+
"siteId" : {
|
|
18419
|
+
"type" : "string"
|
|
18420
|
+
},
|
|
18421
|
+
"uploadId" : {
|
|
18422
|
+
"type" : "string"
|
|
18423
|
+
},
|
|
18424
|
+
"postURL" : {
|
|
18425
|
+
"type" : "string"
|
|
18426
|
+
},
|
|
18427
|
+
"formData" : {
|
|
18428
|
+
"type" : "string"
|
|
18429
|
+
},
|
|
18430
|
+
"contentType" : {
|
|
18431
|
+
"type" : "string"
|
|
18432
|
+
},
|
|
18433
|
+
"ext" : {
|
|
18434
|
+
"type" : "string"
|
|
18435
|
+
},
|
|
18436
|
+
"size" : {
|
|
18437
|
+
"type" : "number"
|
|
18438
|
+
},
|
|
18439
|
+
"hash" : {
|
|
18440
|
+
"type" : "string"
|
|
18441
|
+
},
|
|
18442
|
+
"status" : {
|
|
18443
|
+
"$ref" : "#/components/schemas/FileStatus"
|
|
18444
|
+
},
|
|
18445
|
+
"createdAt" : {
|
|
18446
|
+
"type" : "string"
|
|
18447
|
+
},
|
|
18448
|
+
"updatedAt" : {
|
|
18449
|
+
"type" : "string"
|
|
18450
|
+
},
|
|
18451
|
+
"isActive" : {
|
|
18452
|
+
"type" : "boolean"
|
|
18453
|
+
}
|
|
18454
|
+
},
|
|
18455
|
+
"required" : [ "createdAt", "id", "isActive", "key", "knowledgeBaseId", "name", "siteId", "status", "updatedAt", "url" ],
|
|
18456
|
+
"type" : "object"
|
|
18457
|
+
},
|
|
18458
|
+
"KnowledgeFilesByIdsRequest" : {
|
|
18459
|
+
"properties" : {
|
|
18460
|
+
"ids" : {
|
|
18461
|
+
"items" : {
|
|
18462
|
+
"type" : "string"
|
|
18463
|
+
},
|
|
18464
|
+
"minItems" : 1,
|
|
18465
|
+
"type" : "array"
|
|
18466
|
+
}
|
|
18467
|
+
},
|
|
18468
|
+
"required" : [ "ids" ],
|
|
18469
|
+
"type" : "object"
|
|
18470
|
+
},
|
|
18471
|
+
"ToolCreateRequest" : {
|
|
18472
|
+
"additionalProperties" : false,
|
|
18473
|
+
"properties" : {
|
|
18474
|
+
"name" : {
|
|
18475
|
+
"maxLength" : 150,
|
|
18476
|
+
"minLength" : 2,
|
|
18477
|
+
"type" : "string"
|
|
18478
|
+
},
|
|
18479
|
+
"orgId" : {
|
|
18480
|
+
"type" : "string"
|
|
18481
|
+
},
|
|
18482
|
+
"description" : {
|
|
18483
|
+
"maxLength" : 1000,
|
|
18484
|
+
"minLength" : 0,
|
|
18485
|
+
"nullable" : true,
|
|
18486
|
+
"type" : "string"
|
|
18487
|
+
},
|
|
18488
|
+
"type" : {
|
|
18489
|
+
"description" : "e.g. tool_api | mcp",
|
|
18490
|
+
"type" : "string"
|
|
18491
|
+
},
|
|
18492
|
+
"scope" : {
|
|
18493
|
+
"description" : "Credentials scope. organization = one shared connection; user = each user connects their own account. Immutable after creation.",
|
|
18494
|
+
"enum" : [ "organization", "user" ],
|
|
18495
|
+
"type" : "string"
|
|
18496
|
+
},
|
|
18497
|
+
"configuration" : {
|
|
18498
|
+
"additionalProperties" : true,
|
|
18499
|
+
"type" : "object"
|
|
18500
|
+
},
|
|
18501
|
+
"manifest" : {
|
|
18502
|
+
"additionalProperties" : true,
|
|
18503
|
+
"type" : "object"
|
|
18504
|
+
},
|
|
18505
|
+
"mcp" : {
|
|
18506
|
+
"additionalProperties" : true,
|
|
18507
|
+
"type" : "object"
|
|
18508
|
+
}
|
|
18509
|
+
},
|
|
18510
|
+
"required" : [ "configuration", "name", "orgId", "type" ],
|
|
18511
|
+
"title" : "ToolCreateRequest",
|
|
18512
|
+
"type" : "object"
|
|
18513
|
+
},
|
|
18514
|
+
"TTSRequest" : {
|
|
18515
|
+
"properties" : {
|
|
18516
|
+
"text" : {
|
|
18517
|
+
"type" : "string"
|
|
18518
|
+
},
|
|
18519
|
+
"provider" : {
|
|
18520
|
+
"$ref" : "#/components/schemas/TextToSpeechProvider"
|
|
18521
|
+
},
|
|
18522
|
+
"voiceId" : {
|
|
17933
18523
|
"type" : "string"
|
|
18524
|
+
}
|
|
18525
|
+
},
|
|
18526
|
+
"required" : [ "provider", "text" ],
|
|
18527
|
+
"type" : "object"
|
|
18528
|
+
},
|
|
18529
|
+
"TTSResponse" : {
|
|
18530
|
+
"properties" : {
|
|
18531
|
+
"type" : {
|
|
18532
|
+
"$ref" : "#/components/schemas/AudioFileType"
|
|
17934
18533
|
},
|
|
17935
|
-
"
|
|
17936
|
-
"nullable" : true,
|
|
18534
|
+
"src" : {
|
|
17937
18535
|
"type" : "string"
|
|
17938
18536
|
},
|
|
17939
|
-
"
|
|
17940
|
-
"
|
|
17941
|
-
"type" : "number"
|
|
18537
|
+
"id" : {
|
|
18538
|
+
"type" : "string"
|
|
17942
18539
|
}
|
|
17943
18540
|
},
|
|
18541
|
+
"required" : [ "id", "src" ],
|
|
17944
18542
|
"type" : "object"
|
|
17945
18543
|
},
|
|
17946
|
-
"
|
|
17947
|
-
"additionalProperties" :
|
|
18544
|
+
"ToolSecure" : {
|
|
18545
|
+
"additionalProperties" : true,
|
|
17948
18546
|
"properties" : {
|
|
17949
|
-
"
|
|
18547
|
+
"_id" : {
|
|
17950
18548
|
"type" : "string"
|
|
17951
18549
|
},
|
|
17952
|
-
"
|
|
17953
|
-
"nullable" : true,
|
|
18550
|
+
"orgId" : {
|
|
17954
18551
|
"type" : "string"
|
|
17955
18552
|
},
|
|
17956
|
-
"
|
|
17957
|
-
"enum" : [ "http", "https" ],
|
|
17958
|
-
"nullable" : true,
|
|
18553
|
+
"name" : {
|
|
17959
18554
|
"type" : "string"
|
|
17960
18555
|
},
|
|
17961
|
-
"
|
|
17962
|
-
"$ref" : "#/components/schemas/KnowledgeBaseConfigurationUpdateRequest_authentication"
|
|
17963
|
-
},
|
|
17964
|
-
"emptyKnowledgeResult" : {
|
|
18556
|
+
"description" : {
|
|
17965
18557
|
"nullable" : true,
|
|
17966
18558
|
"type" : "string"
|
|
17967
18559
|
},
|
|
17968
|
-
"
|
|
17969
|
-
"
|
|
18560
|
+
"type" : {
|
|
18561
|
+
"description" : "tool_api | mcp",
|
|
18562
|
+
"enum" : [ "tool_api", "mcp" ],
|
|
17970
18563
|
"type" : "string"
|
|
17971
18564
|
},
|
|
17972
|
-
"
|
|
17973
|
-
"
|
|
17974
|
-
"
|
|
18565
|
+
"scope" : {
|
|
18566
|
+
"description" : "Credentials scope. Defaults to organization for legacy tools.",
|
|
18567
|
+
"enum" : [ "organization", "user" ],
|
|
17975
18568
|
"type" : "string"
|
|
17976
18569
|
},
|
|
17977
|
-
"
|
|
17978
|
-
"
|
|
17979
|
-
"type" : "number"
|
|
18570
|
+
"configuration" : {
|
|
18571
|
+
"$ref" : "#/components/schemas/ToolSecure_configuration"
|
|
17980
18572
|
},
|
|
17981
|
-
"
|
|
17982
|
-
"
|
|
17983
|
-
"nullable" : true,
|
|
17984
|
-
"type" : "number"
|
|
18573
|
+
"manifest" : {
|
|
18574
|
+
"$ref" : "#/components/schemas/ToolSecure_manifest"
|
|
17985
18575
|
},
|
|
17986
|
-
"
|
|
17987
|
-
"
|
|
17988
|
-
"nullable" : true,
|
|
17989
|
-
"type" : "number"
|
|
18576
|
+
"mcp" : {
|
|
18577
|
+
"$ref" : "#/components/schemas/ToolSecure_mcp"
|
|
17990
18578
|
},
|
|
17991
|
-
"
|
|
17992
|
-
"
|
|
18579
|
+
"isSetup" : {
|
|
18580
|
+
"description" : "Indicates if the tool has completed its setup (for oauth2 tools).",
|
|
17993
18581
|
"type" : "boolean"
|
|
17994
|
-
}
|
|
17995
|
-
|
|
17996
|
-
|
|
17997
|
-
|
|
17998
|
-
|
|
17999
|
-
|
|
18000
|
-
|
|
18001
|
-
|
|
18002
|
-
|
|
18582
|
+
}
|
|
18583
|
+
},
|
|
18584
|
+
"required" : [ "_id", "configuration", "name", "orgId", "type" ],
|
|
18585
|
+
"title" : "ToolSecure",
|
|
18586
|
+
"type" : "object"
|
|
18587
|
+
},
|
|
18588
|
+
"ToolUpdateRequest" : {
|
|
18589
|
+
"additionalProperties" : false,
|
|
18590
|
+
"properties" : {
|
|
18591
|
+
"name" : {
|
|
18592
|
+
"maxLength" : 150,
|
|
18593
|
+
"minLength" : 2,
|
|
18003
18594
|
"type" : "string"
|
|
18004
18595
|
},
|
|
18005
|
-
"
|
|
18006
|
-
"maxLength" :
|
|
18596
|
+
"description" : {
|
|
18597
|
+
"maxLength" : 1000,
|
|
18598
|
+
"minLength" : 0,
|
|
18007
18599
|
"nullable" : true,
|
|
18008
18600
|
"type" : "string"
|
|
18009
18601
|
},
|
|
18010
|
-
"
|
|
18011
|
-
"
|
|
18012
|
-
"
|
|
18013
|
-
"type" : "string"
|
|
18602
|
+
"configuration" : {
|
|
18603
|
+
"additionalProperties" : true,
|
|
18604
|
+
"type" : "object"
|
|
18014
18605
|
},
|
|
18015
|
-
"
|
|
18606
|
+
"manifest" : {
|
|
18607
|
+
"additionalProperties" : true,
|
|
18016
18608
|
"nullable" : true,
|
|
18017
|
-
"type" : "
|
|
18609
|
+
"type" : "object"
|
|
18018
18610
|
},
|
|
18019
|
-
"
|
|
18020
|
-
"
|
|
18611
|
+
"mcp" : {
|
|
18612
|
+
"additionalProperties" : true,
|
|
18021
18613
|
"nullable" : true,
|
|
18614
|
+
"type" : "object"
|
|
18615
|
+
}
|
|
18616
|
+
},
|
|
18617
|
+
"title" : "ToolUpdateRequest",
|
|
18618
|
+
"type" : "object"
|
|
18619
|
+
},
|
|
18620
|
+
"SetTokenRequest" : {
|
|
18621
|
+
"additionalProperties" : false,
|
|
18622
|
+
"properties" : {
|
|
18623
|
+
"token" : {
|
|
18624
|
+
"description" : "New raw secret token to store",
|
|
18625
|
+
"minLength" : 1,
|
|
18022
18626
|
"type" : "string"
|
|
18023
|
-
}
|
|
18024
|
-
|
|
18025
|
-
|
|
18026
|
-
|
|
18627
|
+
}
|
|
18628
|
+
},
|
|
18629
|
+
"required" : [ "token" ],
|
|
18630
|
+
"title" : "SetTokenRequest",
|
|
18631
|
+
"type" : "object"
|
|
18632
|
+
},
|
|
18633
|
+
"RevealTokenRequest" : {
|
|
18634
|
+
"additionalProperties" : false,
|
|
18635
|
+
"properties" : {
|
|
18636
|
+
"confirm" : {
|
|
18637
|
+
"description" : "Must be true to reveal the stored token",
|
|
18638
|
+
"type" : "boolean"
|
|
18639
|
+
}
|
|
18640
|
+
},
|
|
18641
|
+
"required" : [ "confirm" ],
|
|
18642
|
+
"title" : "RevealTokenRequest",
|
|
18643
|
+
"type" : "object"
|
|
18644
|
+
},
|
|
18645
|
+
"RevealTokenResponse" : {
|
|
18646
|
+
"additionalProperties" : false,
|
|
18647
|
+
"properties" : {
|
|
18648
|
+
"token" : {
|
|
18649
|
+
"description" : "Raw secret token",
|
|
18027
18650
|
"type" : "string"
|
|
18028
|
-
},
|
|
18029
|
-
"embeddingDimensions" : {
|
|
18030
|
-
"nullable" : true,
|
|
18031
|
-
"type" : "number"
|
|
18032
18651
|
}
|
|
18033
18652
|
},
|
|
18034
|
-
"required" : [ "
|
|
18653
|
+
"required" : [ "token" ],
|
|
18654
|
+
"title" : "RevealTokenResponse",
|
|
18035
18655
|
"type" : "object"
|
|
18036
18656
|
},
|
|
18037
|
-
"
|
|
18038
|
-
"
|
|
18039
|
-
|
|
18040
|
-
|
|
18657
|
+
"ToolAllowedToolsRequest" : {
|
|
18658
|
+
"additionalProperties" : false,
|
|
18659
|
+
"properties" : {
|
|
18660
|
+
"allowedTools" : {
|
|
18661
|
+
"items" : {
|
|
18662
|
+
"type" : "string"
|
|
18663
|
+
},
|
|
18664
|
+
"type" : "array",
|
|
18665
|
+
"uniqueItems" : true
|
|
18666
|
+
}
|
|
18667
|
+
},
|
|
18668
|
+
"required" : [ "allowedTools" ],
|
|
18669
|
+
"title" : "ToolAllowedToolsRequest",
|
|
18670
|
+
"type" : "object"
|
|
18041
18671
|
},
|
|
18042
|
-
"
|
|
18672
|
+
"ToolAllowedToolsResponse" : {
|
|
18673
|
+
"additionalProperties" : false,
|
|
18043
18674
|
"properties" : {
|
|
18044
|
-
"
|
|
18675
|
+
"allowedTools" : {
|
|
18676
|
+
"items" : {
|
|
18677
|
+
"type" : "string"
|
|
18678
|
+
},
|
|
18679
|
+
"type" : "array"
|
|
18680
|
+
}
|
|
18681
|
+
},
|
|
18682
|
+
"required" : [ "allowedTools" ],
|
|
18683
|
+
"title" : "ToolAllowedToolsResponse",
|
|
18684
|
+
"type" : "object"
|
|
18685
|
+
},
|
|
18686
|
+
"ToolConnectionStatusResponse" : {
|
|
18687
|
+
"additionalProperties" : false,
|
|
18688
|
+
"properties" : {
|
|
18689
|
+
"scope" : {
|
|
18690
|
+
"enum" : [ "organization", "user" ],
|
|
18045
18691
|
"type" : "string"
|
|
18046
18692
|
},
|
|
18047
|
-
"
|
|
18693
|
+
"connected" : {
|
|
18694
|
+
"type" : "boolean"
|
|
18695
|
+
}
|
|
18696
|
+
},
|
|
18697
|
+
"required" : [ "connected", "scope" ],
|
|
18698
|
+
"title" : "ToolConnectionStatusResponse",
|
|
18699
|
+
"type" : "object"
|
|
18700
|
+
},
|
|
18701
|
+
"Skill" : {
|
|
18702
|
+
"properties" : {
|
|
18703
|
+
"id" : {
|
|
18704
|
+
"format" : "uuid",
|
|
18048
18705
|
"type" : "string"
|
|
18049
18706
|
},
|
|
18050
|
-
"
|
|
18707
|
+
"orgId" : {
|
|
18708
|
+
"format" : "uuid",
|
|
18051
18709
|
"type" : "string"
|
|
18052
18710
|
},
|
|
18053
18711
|
"name" : {
|
|
18054
18712
|
"type" : "string"
|
|
18055
18713
|
},
|
|
18056
|
-
"
|
|
18714
|
+
"slug" : {
|
|
18057
18715
|
"type" : "string"
|
|
18058
18716
|
},
|
|
18059
|
-
"
|
|
18717
|
+
"description" : {
|
|
18060
18718
|
"type" : "string"
|
|
18061
18719
|
},
|
|
18062
|
-
"
|
|
18720
|
+
"content" : {
|
|
18063
18721
|
"type" : "string"
|
|
18064
18722
|
},
|
|
18065
|
-
"
|
|
18066
|
-
"type" : "
|
|
18723
|
+
"isActive" : {
|
|
18724
|
+
"type" : "boolean"
|
|
18067
18725
|
},
|
|
18068
|
-
"
|
|
18726
|
+
"createdBy" : {
|
|
18727
|
+
"format" : "uuid",
|
|
18728
|
+
"nullable" : true,
|
|
18069
18729
|
"type" : "string"
|
|
18070
18730
|
},
|
|
18071
|
-
"
|
|
18731
|
+
"createdAt" : {
|
|
18732
|
+
"format" : "date-time",
|
|
18072
18733
|
"type" : "string"
|
|
18073
18734
|
},
|
|
18074
|
-
"
|
|
18735
|
+
"updatedAt" : {
|
|
18736
|
+
"format" : "date-time",
|
|
18075
18737
|
"type" : "string"
|
|
18076
18738
|
},
|
|
18077
|
-
"
|
|
18078
|
-
"
|
|
18739
|
+
"librarySlug" : {
|
|
18740
|
+
"nullable" : true,
|
|
18741
|
+
"type" : "string"
|
|
18079
18742
|
},
|
|
18080
|
-
"
|
|
18743
|
+
"libraryVersionId" : {
|
|
18744
|
+
"format" : "uuid",
|
|
18745
|
+
"nullable" : true,
|
|
18746
|
+
"type" : "string"
|
|
18747
|
+
}
|
|
18748
|
+
},
|
|
18749
|
+
"required" : [ "content", "description", "id", "isActive", "name", "orgId", "slug" ],
|
|
18750
|
+
"type" : "object"
|
|
18751
|
+
},
|
|
18752
|
+
"SkillCreateRequest" : {
|
|
18753
|
+
"additionalProperties" : false,
|
|
18754
|
+
"properties" : {
|
|
18755
|
+
"orgId" : {
|
|
18756
|
+
"format" : "uuid",
|
|
18081
18757
|
"type" : "string"
|
|
18082
18758
|
},
|
|
18083
|
-
"
|
|
18084
|
-
"
|
|
18759
|
+
"name" : {
|
|
18760
|
+
"maxLength" : 255,
|
|
18761
|
+
"minLength" : 1,
|
|
18762
|
+
"type" : "string"
|
|
18085
18763
|
},
|
|
18086
|
-
"
|
|
18764
|
+
"slug" : {
|
|
18765
|
+
"maxLength" : 64,
|
|
18766
|
+
"minLength" : 1,
|
|
18767
|
+
"pattern" : "^[a-z0-9]+(?:-[a-z0-9]+)*$",
|
|
18087
18768
|
"type" : "string"
|
|
18088
18769
|
},
|
|
18089
|
-
"
|
|
18770
|
+
"description" : {
|
|
18771
|
+
"maxLength" : 1024,
|
|
18772
|
+
"minLength" : 1,
|
|
18090
18773
|
"type" : "string"
|
|
18091
18774
|
},
|
|
18092
|
-
"
|
|
18093
|
-
"
|
|
18094
|
-
|
|
18095
|
-
},
|
|
18096
|
-
"required" : [ "createdAt", "id", "isActive", "key", "knowledgeBaseId", "name", "siteId", "status", "updatedAt", "url" ],
|
|
18097
|
-
"type" : "object"
|
|
18098
|
-
},
|
|
18099
|
-
"KnowledgeFilesByIdsRequest" : {
|
|
18100
|
-
"properties" : {
|
|
18101
|
-
"ids" : {
|
|
18102
|
-
"items" : {
|
|
18103
|
-
"type" : "string"
|
|
18104
|
-
},
|
|
18105
|
-
"minItems" : 1,
|
|
18106
|
-
"type" : "array"
|
|
18775
|
+
"content" : {
|
|
18776
|
+
"minLength" : 1,
|
|
18777
|
+
"type" : "string"
|
|
18107
18778
|
}
|
|
18108
18779
|
},
|
|
18109
|
-
"required" : [ "
|
|
18780
|
+
"required" : [ "content", "description", "name", "orgId", "slug" ],
|
|
18110
18781
|
"type" : "object"
|
|
18111
18782
|
},
|
|
18112
|
-
"
|
|
18783
|
+
"SkillUpdateRequest" : {
|
|
18113
18784
|
"additionalProperties" : false,
|
|
18785
|
+
"minProperties" : 1,
|
|
18114
18786
|
"properties" : {
|
|
18115
18787
|
"name" : {
|
|
18116
|
-
"maxLength" :
|
|
18117
|
-
"minLength" :
|
|
18118
|
-
"type" : "string"
|
|
18119
|
-
},
|
|
18120
|
-
"orgId" : {
|
|
18788
|
+
"maxLength" : 255,
|
|
18789
|
+
"minLength" : 1,
|
|
18121
18790
|
"type" : "string"
|
|
18122
18791
|
},
|
|
18123
18792
|
"description" : {
|
|
18124
|
-
"maxLength" :
|
|
18125
|
-
"minLength" :
|
|
18126
|
-
"nullable" : true,
|
|
18127
|
-
"type" : "string"
|
|
18128
|
-
},
|
|
18129
|
-
"type" : {
|
|
18130
|
-
"description" : "e.g. tool_api | mcp",
|
|
18793
|
+
"maxLength" : 1024,
|
|
18794
|
+
"minLength" : 1,
|
|
18131
18795
|
"type" : "string"
|
|
18132
18796
|
},
|
|
18133
|
-
"
|
|
18134
|
-
"
|
|
18135
|
-
"enum" : [ "organization", "user" ],
|
|
18797
|
+
"content" : {
|
|
18798
|
+
"minLength" : 1,
|
|
18136
18799
|
"type" : "string"
|
|
18137
18800
|
},
|
|
18138
|
-
"
|
|
18139
|
-
"
|
|
18140
|
-
"type" : "object"
|
|
18801
|
+
"isActive" : {
|
|
18802
|
+
"type" : "boolean"
|
|
18141
18803
|
},
|
|
18142
|
-
"
|
|
18143
|
-
"
|
|
18144
|
-
"type" : "
|
|
18804
|
+
"librarySlug" : {
|
|
18805
|
+
"nullable" : true,
|
|
18806
|
+
"type" : "string"
|
|
18145
18807
|
},
|
|
18146
|
-
"
|
|
18147
|
-
"
|
|
18148
|
-
"
|
|
18808
|
+
"libraryVersionId" : {
|
|
18809
|
+
"format" : "uuid",
|
|
18810
|
+
"nullable" : true,
|
|
18811
|
+
"type" : "string"
|
|
18149
18812
|
}
|
|
18150
18813
|
},
|
|
18151
|
-
"required" : [ "configuration", "name", "orgId", "type" ],
|
|
18152
|
-
"title" : "ToolCreateRequest",
|
|
18153
18814
|
"type" : "object"
|
|
18154
18815
|
},
|
|
18155
|
-
"
|
|
18816
|
+
"SkillFileSummary" : {
|
|
18156
18817
|
"properties" : {
|
|
18157
|
-
"
|
|
18818
|
+
"id" : {
|
|
18819
|
+
"format" : "uuid",
|
|
18158
18820
|
"type" : "string"
|
|
18159
18821
|
},
|
|
18160
|
-
"
|
|
18161
|
-
"
|
|
18822
|
+
"skillId" : {
|
|
18823
|
+
"format" : "uuid",
|
|
18824
|
+
"type" : "string"
|
|
18162
18825
|
},
|
|
18163
|
-
"
|
|
18826
|
+
"filename" : {
|
|
18827
|
+
"type" : "string"
|
|
18828
|
+
},
|
|
18829
|
+
"mimeType" : {
|
|
18830
|
+
"type" : "string"
|
|
18831
|
+
},
|
|
18832
|
+
"createdAt" : {
|
|
18833
|
+
"format" : "date-time",
|
|
18834
|
+
"type" : "string"
|
|
18835
|
+
},
|
|
18836
|
+
"updatedAt" : {
|
|
18837
|
+
"format" : "date-time",
|
|
18164
18838
|
"type" : "string"
|
|
18165
18839
|
}
|
|
18166
18840
|
},
|
|
18167
|
-
"required" : [ "
|
|
18841
|
+
"required" : [ "createdAt", "filename", "id", "mimeType", "skillId", "updatedAt" ],
|
|
18168
18842
|
"type" : "object"
|
|
18169
18843
|
},
|
|
18170
|
-
"
|
|
18844
|
+
"SkillFileCreateRequest" : {
|
|
18845
|
+
"additionalProperties" : false,
|
|
18171
18846
|
"properties" : {
|
|
18172
|
-
"
|
|
18173
|
-
"
|
|
18847
|
+
"filename" : {
|
|
18848
|
+
"maxLength" : 255,
|
|
18849
|
+
"minLength" : 1,
|
|
18850
|
+
"pattern" : "^[a-zA-Z0-9._\\-/]+$",
|
|
18851
|
+
"type" : "string"
|
|
18174
18852
|
},
|
|
18175
|
-
"
|
|
18853
|
+
"content" : {
|
|
18854
|
+
"minLength" : 1,
|
|
18176
18855
|
"type" : "string"
|
|
18177
18856
|
},
|
|
18178
|
-
"
|
|
18857
|
+
"mimeType" : {
|
|
18179
18858
|
"type" : "string"
|
|
18180
18859
|
}
|
|
18181
18860
|
},
|
|
18182
|
-
"required" : [ "
|
|
18861
|
+
"required" : [ "content", "filename" ],
|
|
18183
18862
|
"type" : "object"
|
|
18184
18863
|
},
|
|
18185
|
-
"
|
|
18186
|
-
"additionalProperties" : true,
|
|
18864
|
+
"SkillFile" : {
|
|
18187
18865
|
"properties" : {
|
|
18188
|
-
"
|
|
18866
|
+
"id" : {
|
|
18867
|
+
"format" : "uuid",
|
|
18189
18868
|
"type" : "string"
|
|
18190
18869
|
},
|
|
18191
|
-
"
|
|
18870
|
+
"skillId" : {
|
|
18871
|
+
"format" : "uuid",
|
|
18192
18872
|
"type" : "string"
|
|
18193
18873
|
},
|
|
18194
|
-
"
|
|
18874
|
+
"filename" : {
|
|
18875
|
+
"maxLength" : 255,
|
|
18195
18876
|
"type" : "string"
|
|
18196
18877
|
},
|
|
18197
|
-
"
|
|
18198
|
-
"
|
|
18878
|
+
"mimeType" : {
|
|
18879
|
+
"maxLength" : 100,
|
|
18199
18880
|
"type" : "string"
|
|
18200
18881
|
},
|
|
18201
|
-
"
|
|
18202
|
-
"description" : "tool_api | mcp",
|
|
18203
|
-
"enum" : [ "tool_api", "mcp" ],
|
|
18882
|
+
"content" : {
|
|
18204
18883
|
"type" : "string"
|
|
18205
18884
|
},
|
|
18206
|
-
"
|
|
18207
|
-
"
|
|
18208
|
-
"enum" : [ "organization", "user" ],
|
|
18885
|
+
"createdAt" : {
|
|
18886
|
+
"format" : "date-time",
|
|
18209
18887
|
"type" : "string"
|
|
18210
18888
|
},
|
|
18211
|
-
"
|
|
18212
|
-
"
|
|
18213
|
-
|
|
18214
|
-
"manifest" : {
|
|
18215
|
-
"$ref" : "#/components/schemas/ToolSecure_manifest"
|
|
18216
|
-
},
|
|
18217
|
-
"mcp" : {
|
|
18218
|
-
"$ref" : "#/components/schemas/ToolSecure_mcp"
|
|
18219
|
-
},
|
|
18220
|
-
"isSetup" : {
|
|
18221
|
-
"description" : "Indicates if the tool has completed its setup (for oauth2 tools).",
|
|
18222
|
-
"type" : "boolean"
|
|
18889
|
+
"updatedAt" : {
|
|
18890
|
+
"format" : "date-time",
|
|
18891
|
+
"type" : "string"
|
|
18223
18892
|
}
|
|
18224
18893
|
},
|
|
18225
|
-
"required" : [ "
|
|
18226
|
-
"title" : "ToolSecure",
|
|
18894
|
+
"required" : [ "content", "createdAt", "filename", "id", "mimeType", "skillId", "updatedAt" ],
|
|
18227
18895
|
"type" : "object"
|
|
18228
18896
|
},
|
|
18229
|
-
"
|
|
18897
|
+
"SkillFileUpdateRequest" : {
|
|
18230
18898
|
"additionalProperties" : false,
|
|
18899
|
+
"minProperties" : 1,
|
|
18231
18900
|
"properties" : {
|
|
18232
|
-
"
|
|
18233
|
-
"maxLength" :
|
|
18234
|
-
"minLength" :
|
|
18901
|
+
"filename" : {
|
|
18902
|
+
"maxLength" : 255,
|
|
18903
|
+
"minLength" : 1,
|
|
18235
18904
|
"type" : "string"
|
|
18236
18905
|
},
|
|
18237
|
-
"
|
|
18238
|
-
"
|
|
18239
|
-
"minLength" : 0,
|
|
18240
|
-
"nullable" : true,
|
|
18906
|
+
"content" : {
|
|
18907
|
+
"minLength" : 1,
|
|
18241
18908
|
"type" : "string"
|
|
18242
|
-
},
|
|
18243
|
-
"configuration" : {
|
|
18244
|
-
"additionalProperties" : true,
|
|
18245
|
-
"type" : "object"
|
|
18246
|
-
},
|
|
18247
|
-
"manifest" : {
|
|
18248
|
-
"additionalProperties" : true,
|
|
18249
|
-
"nullable" : true,
|
|
18250
|
-
"type" : "object"
|
|
18251
|
-
},
|
|
18252
|
-
"mcp" : {
|
|
18253
|
-
"additionalProperties" : true,
|
|
18254
|
-
"nullable" : true,
|
|
18255
|
-
"type" : "object"
|
|
18256
18909
|
}
|
|
18257
18910
|
},
|
|
18258
|
-
"title" : "ToolUpdateRequest",
|
|
18259
18911
|
"type" : "object"
|
|
18260
18912
|
},
|
|
18261
|
-
"
|
|
18262
|
-
"additionalProperties" : false,
|
|
18913
|
+
"AgentRef" : {
|
|
18263
18914
|
"properties" : {
|
|
18264
|
-
"
|
|
18265
|
-
"
|
|
18266
|
-
|
|
18915
|
+
"id" : {
|
|
18916
|
+
"type" : "string"
|
|
18917
|
+
},
|
|
18918
|
+
"name" : {
|
|
18267
18919
|
"type" : "string"
|
|
18268
18920
|
}
|
|
18269
18921
|
},
|
|
18270
|
-
"required" : [ "
|
|
18271
|
-
"title" : "SetTokenRequest",
|
|
18922
|
+
"required" : [ "id", "name" ],
|
|
18272
18923
|
"type" : "object"
|
|
18273
18924
|
},
|
|
18274
|
-
"
|
|
18925
|
+
"SkillAssignRequest" : {
|
|
18275
18926
|
"additionalProperties" : false,
|
|
18276
18927
|
"properties" : {
|
|
18277
|
-
"
|
|
18278
|
-
"
|
|
18279
|
-
"type" : "
|
|
18928
|
+
"skillId" : {
|
|
18929
|
+
"format" : "uuid",
|
|
18930
|
+
"type" : "string"
|
|
18280
18931
|
}
|
|
18281
18932
|
},
|
|
18282
|
-
"required" : [ "
|
|
18283
|
-
"title" : "RevealTokenRequest",
|
|
18933
|
+
"required" : [ "skillId" ],
|
|
18284
18934
|
"type" : "object"
|
|
18285
18935
|
},
|
|
18286
|
-
"
|
|
18287
|
-
"additionalProperties" : false,
|
|
18936
|
+
"AvailableCommand" : {
|
|
18288
18937
|
"properties" : {
|
|
18289
|
-
"
|
|
18290
|
-
"
|
|
18938
|
+
"slug" : {
|
|
18939
|
+
"type" : "string"
|
|
18940
|
+
},
|
|
18941
|
+
"description" : {
|
|
18942
|
+
"type" : "string"
|
|
18943
|
+
},
|
|
18944
|
+
"source" : {
|
|
18945
|
+
"enum" : [ "predefined", "skill" ],
|
|
18291
18946
|
"type" : "string"
|
|
18292
18947
|
}
|
|
18293
18948
|
},
|
|
18294
|
-
"required" : [ "
|
|
18295
|
-
"title" : "RevealTokenResponse",
|
|
18949
|
+
"required" : [ "description", "slug", "source" ],
|
|
18296
18950
|
"type" : "object"
|
|
18297
18951
|
},
|
|
18298
|
-
"
|
|
18299
|
-
"additionalProperties" : false,
|
|
18952
|
+
"LibrarySkillsPage" : {
|
|
18300
18953
|
"properties" : {
|
|
18301
|
-
"
|
|
18954
|
+
"data" : {
|
|
18955
|
+
"items" : {
|
|
18956
|
+
"$ref" : "#/components/schemas/LibrarySkillEntry"
|
|
18957
|
+
},
|
|
18958
|
+
"type" : "array"
|
|
18959
|
+
},
|
|
18960
|
+
"total" : {
|
|
18961
|
+
"type" : "integer"
|
|
18962
|
+
},
|
|
18963
|
+
"page" : {
|
|
18964
|
+
"type" : "integer"
|
|
18965
|
+
},
|
|
18966
|
+
"limit" : {
|
|
18967
|
+
"type" : "integer"
|
|
18968
|
+
},
|
|
18969
|
+
"totalPages" : {
|
|
18970
|
+
"type" : "integer"
|
|
18971
|
+
},
|
|
18972
|
+
"allCategories" : {
|
|
18302
18973
|
"items" : {
|
|
18303
18974
|
"type" : "string"
|
|
18304
18975
|
},
|
|
18305
|
-
"type" : "array"
|
|
18306
|
-
"uniqueItems" : true
|
|
18976
|
+
"type" : "array"
|
|
18307
18977
|
}
|
|
18308
18978
|
},
|
|
18309
|
-
"required" : [ "
|
|
18310
|
-
"title" : "ToolAllowedToolsRequest",
|
|
18979
|
+
"required" : [ "allCategories", "data", "limit", "page", "total", "totalPages" ],
|
|
18311
18980
|
"type" : "object"
|
|
18312
18981
|
},
|
|
18313
|
-
"
|
|
18314
|
-
"additionalProperties" : false,
|
|
18982
|
+
"LibrarySkillEntry" : {
|
|
18315
18983
|
"properties" : {
|
|
18316
|
-
"
|
|
18984
|
+
"id" : {
|
|
18985
|
+
"type" : "string"
|
|
18986
|
+
},
|
|
18987
|
+
"slug" : {
|
|
18988
|
+
"type" : "string"
|
|
18989
|
+
},
|
|
18990
|
+
"name" : {
|
|
18991
|
+
"type" : "string"
|
|
18992
|
+
},
|
|
18993
|
+
"description" : {
|
|
18994
|
+
"type" : "string"
|
|
18995
|
+
},
|
|
18996
|
+
"sourceSkillId" : {
|
|
18997
|
+
"format" : "uuid",
|
|
18998
|
+
"nullable" : true,
|
|
18999
|
+
"type" : "string"
|
|
19000
|
+
},
|
|
19001
|
+
"latestVersionId" : {
|
|
19002
|
+
"format" : "uuid",
|
|
19003
|
+
"nullable" : true,
|
|
19004
|
+
"type" : "string"
|
|
19005
|
+
},
|
|
19006
|
+
"createdAt" : {
|
|
19007
|
+
"format" : "date-time",
|
|
19008
|
+
"type" : "string"
|
|
19009
|
+
},
|
|
19010
|
+
"updatedAt" : {
|
|
19011
|
+
"format" : "date-time",
|
|
19012
|
+
"type" : "string"
|
|
19013
|
+
},
|
|
19014
|
+
"versions" : {
|
|
18317
19015
|
"items" : {
|
|
18318
|
-
"
|
|
19016
|
+
"$ref" : "#/components/schemas/LibrarySkillVersion"
|
|
18319
19017
|
},
|
|
18320
19018
|
"type" : "array"
|
|
18321
|
-
}
|
|
18322
|
-
},
|
|
18323
|
-
"required" : [ "allowedTools" ],
|
|
18324
|
-
"title" : "ToolAllowedToolsResponse",
|
|
18325
|
-
"type" : "object"
|
|
18326
|
-
},
|
|
18327
|
-
"ToolConnectionStatusResponse" : {
|
|
18328
|
-
"additionalProperties" : false,
|
|
18329
|
-
"properties" : {
|
|
18330
|
-
"scope" : {
|
|
18331
|
-
"enum" : [ "organization", "user" ],
|
|
18332
|
-
"type" : "string"
|
|
18333
19019
|
},
|
|
18334
|
-
"
|
|
18335
|
-
"
|
|
19020
|
+
"latestVersion" : {
|
|
19021
|
+
"$ref" : "#/components/schemas/LibrarySkillVersion"
|
|
18336
19022
|
}
|
|
18337
19023
|
},
|
|
18338
|
-
"required" : [ "
|
|
18339
|
-
"title" : "ToolConnectionStatusResponse",
|
|
19024
|
+
"required" : [ "createdAt", "description", "id", "latestVersionId", "name", "slug", "updatedAt", "versions" ],
|
|
18340
19025
|
"type" : "object"
|
|
18341
19026
|
},
|
|
18342
|
-
"
|
|
19027
|
+
"LibrarySkillVersion" : {
|
|
18343
19028
|
"properties" : {
|
|
18344
19029
|
"id" : {
|
|
18345
19030
|
"format" : "uuid",
|
|
18346
19031
|
"type" : "string"
|
|
18347
19032
|
},
|
|
18348
|
-
"
|
|
18349
|
-
"format" : "uuid",
|
|
19033
|
+
"slug" : {
|
|
18350
19034
|
"type" : "string"
|
|
18351
19035
|
},
|
|
18352
|
-
"
|
|
19036
|
+
"version" : {
|
|
18353
19037
|
"type" : "string"
|
|
18354
19038
|
},
|
|
18355
|
-
"
|
|
19039
|
+
"name" : {
|
|
18356
19040
|
"type" : "string"
|
|
18357
19041
|
},
|
|
18358
19042
|
"description" : {
|
|
@@ -18361,197 +19045,358 @@
|
|
|
18361
19045
|
"content" : {
|
|
18362
19046
|
"type" : "string"
|
|
18363
19047
|
},
|
|
18364
|
-
"
|
|
19048
|
+
"isLatest" : {
|
|
18365
19049
|
"type" : "boolean"
|
|
18366
19050
|
},
|
|
18367
|
-
"
|
|
19051
|
+
"sourceSkillId" : {
|
|
18368
19052
|
"format" : "uuid",
|
|
18369
19053
|
"nullable" : true,
|
|
18370
19054
|
"type" : "string"
|
|
18371
19055
|
},
|
|
18372
|
-
"
|
|
19056
|
+
"publishedAt" : {
|
|
18373
19057
|
"format" : "date-time",
|
|
18374
19058
|
"type" : "string"
|
|
18375
19059
|
},
|
|
18376
|
-
"
|
|
18377
|
-
"format" : "
|
|
19060
|
+
"publishedBy" : {
|
|
19061
|
+
"format" : "uuid",
|
|
19062
|
+
"nullable" : true,
|
|
18378
19063
|
"type" : "string"
|
|
18379
19064
|
},
|
|
18380
|
-
"
|
|
19065
|
+
"publishedByName" : {
|
|
18381
19066
|
"nullable" : true,
|
|
18382
19067
|
"type" : "string"
|
|
18383
19068
|
},
|
|
18384
|
-
"
|
|
18385
|
-
"format" : "uuid",
|
|
19069
|
+
"category" : {
|
|
18386
19070
|
"nullable" : true,
|
|
18387
19071
|
"type" : "string"
|
|
19072
|
+
},
|
|
19073
|
+
"files" : {
|
|
19074
|
+
"items" : {
|
|
19075
|
+
"$ref" : "#/components/schemas/LibrarySkillVersion_files_inner"
|
|
19076
|
+
},
|
|
19077
|
+
"type" : "array"
|
|
18388
19078
|
}
|
|
18389
19079
|
},
|
|
18390
|
-
"required" : [ "content", "description", "id", "
|
|
19080
|
+
"required" : [ "content", "description", "id", "isLatest", "name", "publishedAt", "slug", "version" ],
|
|
18391
19081
|
"type" : "object"
|
|
18392
19082
|
},
|
|
18393
|
-
"
|
|
19083
|
+
"LibrarySkillInstallRequest" : {
|
|
18394
19084
|
"additionalProperties" : false,
|
|
18395
19085
|
"properties" : {
|
|
18396
|
-
"
|
|
19086
|
+
"organizationId" : {
|
|
18397
19087
|
"format" : "uuid",
|
|
18398
19088
|
"type" : "string"
|
|
18399
19089
|
},
|
|
18400
|
-
"
|
|
18401
|
-
"
|
|
18402
|
-
"
|
|
19090
|
+
"versionId" : {
|
|
19091
|
+
"format" : "uuid",
|
|
19092
|
+
"type" : "string"
|
|
19093
|
+
}
|
|
19094
|
+
},
|
|
19095
|
+
"required" : [ "organizationId" ],
|
|
19096
|
+
"type" : "object"
|
|
19097
|
+
},
|
|
19098
|
+
"LibrarySkillSyncRequest" : {
|
|
19099
|
+
"additionalProperties" : false,
|
|
19100
|
+
"properties" : {
|
|
19101
|
+
"versionId" : {
|
|
19102
|
+
"format" : "uuid",
|
|
18403
19103
|
"type" : "string"
|
|
19104
|
+
}
|
|
19105
|
+
},
|
|
19106
|
+
"type" : "object"
|
|
19107
|
+
},
|
|
19108
|
+
"PinRequest" : {
|
|
19109
|
+
"additionalProperties" : false,
|
|
19110
|
+
"properties" : {
|
|
19111
|
+
"user" : {
|
|
19112
|
+
"$ref" : "#/components/schemas/UserIdentifierRequest"
|
|
18404
19113
|
},
|
|
18405
|
-
"
|
|
18406
|
-
"maxLength" :
|
|
18407
|
-
"minLength" :
|
|
18408
|
-
"
|
|
19114
|
+
"pin" : {
|
|
19115
|
+
"maxLength" : 4,
|
|
19116
|
+
"minLength" : 4,
|
|
19117
|
+
"type" : "string"
|
|
19118
|
+
}
|
|
19119
|
+
},
|
|
19120
|
+
"required" : [ "pin", "user" ],
|
|
19121
|
+
"type" : "object"
|
|
19122
|
+
},
|
|
19123
|
+
"PromptFlowCreateResponse" : {
|
|
19124
|
+
"properties" : {
|
|
19125
|
+
"conversationId" : {
|
|
18409
19126
|
"type" : "string"
|
|
18410
19127
|
},
|
|
18411
|
-
"
|
|
18412
|
-
"maxLength" : 1024,
|
|
18413
|
-
"minLength" : 1,
|
|
19128
|
+
"messageId" : {
|
|
18414
19129
|
"type" : "string"
|
|
18415
19130
|
},
|
|
18416
|
-
"
|
|
18417
|
-
"minLength" : 1,
|
|
19131
|
+
"text" : {
|
|
18418
19132
|
"type" : "string"
|
|
19133
|
+
},
|
|
19134
|
+
"suggestions" : {
|
|
19135
|
+
"items" : {
|
|
19136
|
+
"$ref" : "#/components/schemas/Suggestion"
|
|
19137
|
+
},
|
|
19138
|
+
"type" : "array"
|
|
18419
19139
|
}
|
|
18420
19140
|
},
|
|
18421
|
-
"required" : [ "
|
|
19141
|
+
"required" : [ "conversationId", "messageId", "text" ],
|
|
18422
19142
|
"type" : "object"
|
|
18423
19143
|
},
|
|
18424
|
-
"
|
|
18425
|
-
"
|
|
18426
|
-
|
|
19144
|
+
"PromptCreateRequest" : {
|
|
19145
|
+
"allOf" : [ {
|
|
19146
|
+
"$ref" : "#/components/schemas/PromptFlowCreateRequest"
|
|
19147
|
+
}, {
|
|
19148
|
+
"properties" : {
|
|
19149
|
+
"message" : {
|
|
19150
|
+
"type" : "string"
|
|
19151
|
+
},
|
|
19152
|
+
"stream" : {
|
|
19153
|
+
"description" : "Whether to activate incremental generation of the response",
|
|
19154
|
+
"type" : "boolean"
|
|
19155
|
+
}
|
|
19156
|
+
},
|
|
19157
|
+
"required" : [ "message" ],
|
|
19158
|
+
"type" : "object"
|
|
19159
|
+
} ]
|
|
19160
|
+
},
|
|
19161
|
+
"PromptCreateResponse" : {
|
|
18427
19162
|
"properties" : {
|
|
18428
|
-
"
|
|
18429
|
-
"maxLength" : 255,
|
|
18430
|
-
"minLength" : 1,
|
|
19163
|
+
"conversationId" : {
|
|
18431
19164
|
"type" : "string"
|
|
18432
19165
|
},
|
|
18433
|
-
"
|
|
18434
|
-
"maxLength" : 1024,
|
|
18435
|
-
"minLength" : 1,
|
|
19166
|
+
"messageId" : {
|
|
18436
19167
|
"type" : "string"
|
|
18437
19168
|
},
|
|
18438
|
-
"
|
|
18439
|
-
"minLength" : 1,
|
|
19169
|
+
"text" : {
|
|
18440
19170
|
"type" : "string"
|
|
18441
19171
|
},
|
|
18442
|
-
"
|
|
19172
|
+
"suggestions" : {
|
|
19173
|
+
"items" : {
|
|
19174
|
+
"$ref" : "#/components/schemas/Suggestion"
|
|
19175
|
+
},
|
|
19176
|
+
"type" : "array"
|
|
19177
|
+
},
|
|
19178
|
+
"input" : {
|
|
19179
|
+
"$ref" : "#/components/schemas/Input"
|
|
19180
|
+
},
|
|
19181
|
+
"toolsUsed" : {
|
|
19182
|
+
"items" : {
|
|
19183
|
+
"$ref" : "#/components/schemas/ToolUsed"
|
|
19184
|
+
},
|
|
19185
|
+
"nullable" : true,
|
|
19186
|
+
"type" : "array"
|
|
19187
|
+
},
|
|
19188
|
+
"agent" : {
|
|
19189
|
+
"type" : "object"
|
|
19190
|
+
}
|
|
19191
|
+
},
|
|
19192
|
+
"required" : [ "conversationId", "input", "messageId", "text" ],
|
|
19193
|
+
"type" : "object"
|
|
19194
|
+
},
|
|
19195
|
+
"Input" : {
|
|
19196
|
+
"properties" : {
|
|
19197
|
+
"id" : {
|
|
19198
|
+
"type" : "string"
|
|
19199
|
+
},
|
|
19200
|
+
"message" : {
|
|
19201
|
+
"type" : "string"
|
|
19202
|
+
}
|
|
19203
|
+
},
|
|
19204
|
+
"required" : [ "id", "message" ],
|
|
19205
|
+
"type" : "object"
|
|
19206
|
+
},
|
|
19207
|
+
"ToolUsed" : {
|
|
19208
|
+
"properties" : {
|
|
19209
|
+
"name" : {
|
|
19210
|
+
"type" : "string"
|
|
19211
|
+
},
|
|
19212
|
+
"params" : {
|
|
19213
|
+
"additionalProperties" : true,
|
|
19214
|
+
"nullable" : true,
|
|
19215
|
+
"type" : "object"
|
|
19216
|
+
},
|
|
19217
|
+
"askConfirmation" : {
|
|
19218
|
+
"nullable" : true,
|
|
18443
19219
|
"type" : "boolean"
|
|
18444
19220
|
},
|
|
18445
|
-
"
|
|
19221
|
+
"confirmationLink" : {
|
|
19222
|
+
"nullable" : true,
|
|
19223
|
+
"type" : "string"
|
|
19224
|
+
}
|
|
19225
|
+
},
|
|
19226
|
+
"required" : [ "name" ],
|
|
19227
|
+
"type" : "object"
|
|
19228
|
+
},
|
|
19229
|
+
"ConversationDetail" : {
|
|
19230
|
+
"properties" : {
|
|
19231
|
+
"id" : {
|
|
19232
|
+
"type" : "string"
|
|
19233
|
+
},
|
|
19234
|
+
"title" : {
|
|
18446
19235
|
"nullable" : true,
|
|
18447
19236
|
"type" : "string"
|
|
18448
19237
|
},
|
|
18449
|
-
"
|
|
18450
|
-
"
|
|
19238
|
+
"agentId" : {
|
|
19239
|
+
"type" : "string"
|
|
19240
|
+
},
|
|
19241
|
+
"appId" : {
|
|
18451
19242
|
"nullable" : true,
|
|
18452
19243
|
"type" : "string"
|
|
18453
|
-
}
|
|
18454
|
-
|
|
18455
|
-
"type" : "object"
|
|
18456
|
-
},
|
|
18457
|
-
"SkillFileSummary" : {
|
|
18458
|
-
"properties" : {
|
|
18459
|
-
"id" : {
|
|
18460
|
-
"format" : "uuid",
|
|
19244
|
+
},
|
|
19245
|
+
"lang" : {
|
|
18461
19246
|
"type" : "string"
|
|
18462
19247
|
},
|
|
18463
|
-
"
|
|
18464
|
-
"
|
|
19248
|
+
"init" : {
|
|
19249
|
+
"nullable" : true,
|
|
18465
19250
|
"type" : "string"
|
|
18466
19251
|
},
|
|
18467
|
-
"
|
|
19252
|
+
"userId" : {
|
|
19253
|
+
"nullable" : true,
|
|
18468
19254
|
"type" : "string"
|
|
18469
19255
|
},
|
|
18470
|
-
"
|
|
19256
|
+
"customUserId" : {
|
|
19257
|
+
"nullable" : true,
|
|
18471
19258
|
"type" : "string"
|
|
18472
19259
|
},
|
|
18473
19260
|
"createdAt" : {
|
|
18474
|
-
"format" : "date-time",
|
|
18475
19261
|
"type" : "string"
|
|
18476
19262
|
},
|
|
18477
19263
|
"updatedAt" : {
|
|
18478
|
-
"format" : "date-time",
|
|
18479
19264
|
"type" : "string"
|
|
19265
|
+
},
|
|
19266
|
+
"context" : {
|
|
19267
|
+
"additionalProperties" : true,
|
|
19268
|
+
"nullable" : true,
|
|
19269
|
+
"type" : "object"
|
|
19270
|
+
},
|
|
19271
|
+
"messages" : {
|
|
19272
|
+
"items" : {
|
|
19273
|
+
"$ref" : "#/components/schemas/ChatMessage"
|
|
19274
|
+
},
|
|
19275
|
+
"type" : "array"
|
|
18480
19276
|
}
|
|
18481
19277
|
},
|
|
18482
|
-
"required" : [ "
|
|
19278
|
+
"required" : [ "id", "messages" ],
|
|
18483
19279
|
"type" : "object"
|
|
18484
19280
|
},
|
|
18485
|
-
"
|
|
19281
|
+
"Message" : {
|
|
18486
19282
|
"additionalProperties" : false,
|
|
18487
19283
|
"properties" : {
|
|
18488
|
-
"
|
|
18489
|
-
"
|
|
18490
|
-
"minLength" : 1,
|
|
18491
|
-
"pattern" : "^[a-zA-Z0-9._\\-/]+$",
|
|
19284
|
+
"message" : {
|
|
19285
|
+
"description" : "Message to send to the conversation",
|
|
18492
19286
|
"type" : "string"
|
|
18493
19287
|
},
|
|
18494
|
-
"
|
|
18495
|
-
"
|
|
18496
|
-
"
|
|
19288
|
+
"stream" : {
|
|
19289
|
+
"description" : "Whether to activate incremental generation of the response",
|
|
19290
|
+
"nullable" : true,
|
|
19291
|
+
"type" : "boolean"
|
|
18497
19292
|
},
|
|
18498
|
-
"
|
|
19293
|
+
"lang" : {
|
|
19294
|
+
"description" : "Langue de la réponse. À défaut, la langue de la conversation est utilisée.",
|
|
19295
|
+
"maxLength" : 4,
|
|
19296
|
+
"minLength" : 2,
|
|
19297
|
+
"nullable" : true,
|
|
18499
19298
|
"type" : "string"
|
|
18500
19299
|
}
|
|
18501
19300
|
},
|
|
18502
|
-
"required" : [ "
|
|
19301
|
+
"required" : [ "message" ],
|
|
18503
19302
|
"type" : "object"
|
|
18504
19303
|
},
|
|
18505
|
-
"
|
|
19304
|
+
"MessageStatus" : {
|
|
18506
19305
|
"properties" : {
|
|
18507
|
-
"
|
|
18508
|
-
"format" : "uuid",
|
|
19306
|
+
"status" : {
|
|
18509
19307
|
"type" : "string"
|
|
18510
19308
|
},
|
|
18511
|
-
"
|
|
18512
|
-
"format" : "uuid",
|
|
19309
|
+
"content" : {
|
|
18513
19310
|
"type" : "string"
|
|
18514
19311
|
},
|
|
18515
|
-
"
|
|
18516
|
-
"maxLength" : 255,
|
|
19312
|
+
"reasoning" : {
|
|
18517
19313
|
"type" : "string"
|
|
18518
19314
|
},
|
|
18519
|
-
"
|
|
18520
|
-
"
|
|
19315
|
+
"reaction" : {
|
|
19316
|
+
"enum" : [ "positive", "negative" ],
|
|
18521
19317
|
"type" : "string"
|
|
18522
19318
|
},
|
|
18523
|
-
"
|
|
19319
|
+
"error" : {
|
|
19320
|
+
"$ref" : "#/components/schemas/MessageStatus_error"
|
|
19321
|
+
},
|
|
19322
|
+
"toolCall" : {
|
|
19323
|
+
"$ref" : "#/components/schemas/MessageStatus_toolCall"
|
|
19324
|
+
},
|
|
19325
|
+
"toolsUsed" : {
|
|
19326
|
+
"items" : {
|
|
19327
|
+
"$ref" : "#/components/schemas/ToolUsed"
|
|
19328
|
+
},
|
|
19329
|
+
"type" : "array"
|
|
19330
|
+
}
|
|
19331
|
+
},
|
|
19332
|
+
"required" : [ "status" ],
|
|
19333
|
+
"type" : "object"
|
|
19334
|
+
},
|
|
19335
|
+
"FillersArray" : {
|
|
19336
|
+
"items" : {
|
|
19337
|
+
"$ref" : "#/components/schemas/FillersArray_inner"
|
|
19338
|
+
},
|
|
19339
|
+
"type" : "array"
|
|
19340
|
+
},
|
|
19341
|
+
"UserDetail" : {
|
|
19342
|
+
"properties" : {
|
|
19343
|
+
"id" : {
|
|
18524
19344
|
"type" : "string"
|
|
18525
19345
|
},
|
|
19346
|
+
"user" : {
|
|
19347
|
+
"$ref" : "#/components/schemas/UserIdentifier"
|
|
19348
|
+
},
|
|
19349
|
+
"isAdmin" : {
|
|
19350
|
+
"type" : "boolean"
|
|
19351
|
+
},
|
|
19352
|
+
"canCreateAgents" : {
|
|
19353
|
+
"type" : "boolean"
|
|
19354
|
+
},
|
|
19355
|
+
"maxAgents" : {
|
|
19356
|
+
"nullable" : true,
|
|
19357
|
+
"type" : "number"
|
|
19358
|
+
},
|
|
19359
|
+
"agents" : {
|
|
19360
|
+
"description" : "Identifiants des agents auxquels l'utilisateur a accès",
|
|
19361
|
+
"items" : {
|
|
19362
|
+
"type" : "string"
|
|
19363
|
+
},
|
|
19364
|
+
"type" : "array"
|
|
19365
|
+
},
|
|
19366
|
+
"apiKeys" : {
|
|
19367
|
+
"items" : {
|
|
19368
|
+
"$ref" : "#/components/schemas/ApiKeyRef"
|
|
19369
|
+
},
|
|
19370
|
+
"type" : "array"
|
|
19371
|
+
},
|
|
18526
19372
|
"createdAt" : {
|
|
18527
19373
|
"format" : "date-time",
|
|
18528
19374
|
"type" : "string"
|
|
18529
19375
|
},
|
|
18530
|
-
"
|
|
19376
|
+
"locked" : {
|
|
19377
|
+
"type" : "boolean"
|
|
19378
|
+
},
|
|
19379
|
+
"lockDate" : {
|
|
18531
19380
|
"format" : "date-time",
|
|
18532
19381
|
"type" : "string"
|
|
18533
19382
|
}
|
|
18534
19383
|
},
|
|
18535
|
-
"required" : [ "
|
|
19384
|
+
"required" : [ "agents", "apiKeys", "canCreateAgents", "id", "isAdmin", "user" ],
|
|
18536
19385
|
"type" : "object"
|
|
18537
19386
|
},
|
|
18538
|
-
"
|
|
18539
|
-
"additionalProperties" : false,
|
|
18540
|
-
"minProperties" : 1,
|
|
19387
|
+
"UserIdentifier" : {
|
|
18541
19388
|
"properties" : {
|
|
18542
|
-
"
|
|
18543
|
-
"maxLength" : 255,
|
|
18544
|
-
"minLength" : 1,
|
|
19389
|
+
"email" : {
|
|
18545
19390
|
"type" : "string"
|
|
18546
19391
|
},
|
|
18547
|
-
"
|
|
18548
|
-
"minLength" : 1,
|
|
19392
|
+
"name" : {
|
|
18549
19393
|
"type" : "string"
|
|
18550
19394
|
}
|
|
18551
19395
|
},
|
|
19396
|
+
"required" : [ "email" ],
|
|
18552
19397
|
"type" : "object"
|
|
18553
19398
|
},
|
|
18554
|
-
"
|
|
19399
|
+
"ApiKeyRef" : {
|
|
18555
19400
|
"properties" : {
|
|
18556
19401
|
"id" : {
|
|
18557
19402
|
"type" : "string"
|
|
@@ -18563,797 +19408,750 @@
|
|
|
18563
19408
|
"required" : [ "id", "name" ],
|
|
18564
19409
|
"type" : "object"
|
|
18565
19410
|
},
|
|
18566
|
-
"
|
|
19411
|
+
"UserCreateRequest" : {
|
|
18567
19412
|
"additionalProperties" : false,
|
|
18568
19413
|
"properties" : {
|
|
18569
|
-
"
|
|
18570
|
-
"
|
|
18571
|
-
|
|
19414
|
+
"user" : {
|
|
19415
|
+
"$ref" : "#/components/schemas/UserIdentifierRequest"
|
|
19416
|
+
},
|
|
19417
|
+
"canCreateAgents" : {
|
|
19418
|
+
"type" : "boolean"
|
|
19419
|
+
},
|
|
19420
|
+
"maxAgents" : {
|
|
19421
|
+
"nullable" : true,
|
|
19422
|
+
"type" : "number"
|
|
18572
19423
|
}
|
|
18573
19424
|
},
|
|
18574
|
-
"required" : [ "
|
|
19425
|
+
"required" : [ "canCreateAgents", "user" ],
|
|
18575
19426
|
"type" : "object"
|
|
18576
19427
|
},
|
|
18577
|
-
"
|
|
19428
|
+
"UserIdentifierRequest" : {
|
|
19429
|
+
"additionalProperties" : false,
|
|
18578
19430
|
"properties" : {
|
|
18579
|
-
"
|
|
18580
|
-
"type" : "string"
|
|
18581
|
-
},
|
|
18582
|
-
"description" : {
|
|
18583
|
-
"type" : "string"
|
|
18584
|
-
},
|
|
18585
|
-
"source" : {
|
|
18586
|
-
"enum" : [ "predefined", "skill" ],
|
|
19431
|
+
"email" : {
|
|
18587
19432
|
"type" : "string"
|
|
18588
19433
|
}
|
|
18589
19434
|
},
|
|
18590
|
-
"required" : [ "
|
|
19435
|
+
"required" : [ "email" ],
|
|
18591
19436
|
"type" : "object"
|
|
18592
19437
|
},
|
|
18593
|
-
"
|
|
19438
|
+
"UserUpdateRequest" : {
|
|
19439
|
+
"additionalProperties" : false,
|
|
18594
19440
|
"properties" : {
|
|
18595
|
-
"
|
|
18596
|
-
"
|
|
18597
|
-
"$ref" : "#/components/schemas/LibrarySkillEntry"
|
|
18598
|
-
},
|
|
18599
|
-
"type" : "array"
|
|
18600
|
-
},
|
|
18601
|
-
"total" : {
|
|
18602
|
-
"type" : "integer"
|
|
19441
|
+
"user" : {
|
|
19442
|
+
"$ref" : "#/components/schemas/UserIdentifierRequest"
|
|
18603
19443
|
},
|
|
18604
|
-
"
|
|
18605
|
-
"
|
|
19444
|
+
"isAdmin" : {
|
|
19445
|
+
"nullable" : true,
|
|
19446
|
+
"type" : "boolean"
|
|
18606
19447
|
},
|
|
18607
|
-
"
|
|
18608
|
-
"
|
|
19448
|
+
"canCreateAgents" : {
|
|
19449
|
+
"nullable" : true,
|
|
19450
|
+
"type" : "boolean"
|
|
18609
19451
|
},
|
|
18610
|
-
"
|
|
18611
|
-
"
|
|
19452
|
+
"maxAgents" : {
|
|
19453
|
+
"nullable" : true,
|
|
19454
|
+
"type" : "number"
|
|
18612
19455
|
},
|
|
18613
|
-
"
|
|
19456
|
+
"agents" : {
|
|
18614
19457
|
"items" : {
|
|
18615
19458
|
"type" : "string"
|
|
18616
19459
|
},
|
|
19460
|
+
"nullable" : true,
|
|
18617
19461
|
"type" : "array"
|
|
19462
|
+
},
|
|
19463
|
+
"allAgents" : {
|
|
19464
|
+
"nullable" : true,
|
|
19465
|
+
"type" : "boolean"
|
|
18618
19466
|
}
|
|
18619
19467
|
},
|
|
18620
|
-
"required" : [ "allCategories", "data", "limit", "page", "total", "totalPages" ],
|
|
18621
19468
|
"type" : "object"
|
|
18622
19469
|
},
|
|
18623
|
-
"
|
|
19470
|
+
"UserLockRequest" : {
|
|
19471
|
+
"additionalProperties" : false,
|
|
19472
|
+
"properties" : {
|
|
19473
|
+
"locked" : {
|
|
19474
|
+
"description" : "true pour verrouiller le compte, false pour le déverrouiller",
|
|
19475
|
+
"type" : "boolean"
|
|
19476
|
+
}
|
|
19477
|
+
},
|
|
19478
|
+
"required" : [ "locked" ],
|
|
19479
|
+
"type" : "object"
|
|
19480
|
+
},
|
|
19481
|
+
"ApiKeyCreateRequest" : {
|
|
19482
|
+
"additionalProperties" : false,
|
|
18624
19483
|
"properties" : {
|
|
18625
|
-
"id" : {
|
|
18626
|
-
"type" : "string"
|
|
18627
|
-
},
|
|
18628
|
-
"slug" : {
|
|
18629
|
-
"type" : "string"
|
|
18630
|
-
},
|
|
18631
19484
|
"name" : {
|
|
19485
|
+
"description" : "Nom descriptif de la clé",
|
|
19486
|
+
"maxLength" : 50,
|
|
19487
|
+
"minLength" : 1,
|
|
18632
19488
|
"type" : "string"
|
|
18633
|
-
}
|
|
18634
|
-
|
|
18635
|
-
|
|
18636
|
-
|
|
18637
|
-
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
|
|
18641
|
-
},
|
|
18642
|
-
"latestVersionId" : {
|
|
18643
|
-
"format" : "uuid",
|
|
18644
|
-
"nullable" : true,
|
|
19489
|
+
}
|
|
19490
|
+
},
|
|
19491
|
+
"required" : [ "name" ],
|
|
19492
|
+
"type" : "object"
|
|
19493
|
+
},
|
|
19494
|
+
"ApiKeyCreated" : {
|
|
19495
|
+
"properties" : {
|
|
19496
|
+
"id" : {
|
|
18645
19497
|
"type" : "string"
|
|
18646
19498
|
},
|
|
18647
|
-
"
|
|
18648
|
-
"format" : "date-time",
|
|
19499
|
+
"name" : {
|
|
18649
19500
|
"type" : "string"
|
|
18650
19501
|
},
|
|
18651
|
-
"
|
|
18652
|
-
"
|
|
19502
|
+
"keySecret" : {
|
|
19503
|
+
"description" : "Valeur de la clé. Renvoyée uniquement à la création.",
|
|
19504
|
+
"type" : "string"
|
|
19505
|
+
}
|
|
19506
|
+
},
|
|
19507
|
+
"required" : [ "id", "keySecret", "name" ],
|
|
19508
|
+
"type" : "object"
|
|
19509
|
+
},
|
|
19510
|
+
"AiGatewayModelList" : {
|
|
19511
|
+
"properties" : {
|
|
19512
|
+
"object" : {
|
|
19513
|
+
"enum" : [ "list" ],
|
|
18653
19514
|
"type" : "string"
|
|
18654
19515
|
},
|
|
18655
|
-
"
|
|
19516
|
+
"data" : {
|
|
18656
19517
|
"items" : {
|
|
18657
|
-
"$ref" : "#/components/schemas/
|
|
19518
|
+
"$ref" : "#/components/schemas/AiGatewayModelList_data_inner"
|
|
18658
19519
|
},
|
|
18659
19520
|
"type" : "array"
|
|
18660
|
-
},
|
|
18661
|
-
"latestVersion" : {
|
|
18662
|
-
"$ref" : "#/components/schemas/LibrarySkillVersion"
|
|
18663
19521
|
}
|
|
18664
19522
|
},
|
|
18665
|
-
"required" : [ "
|
|
19523
|
+
"required" : [ "data", "object" ],
|
|
18666
19524
|
"type" : "object"
|
|
18667
19525
|
},
|
|
18668
|
-
"
|
|
19526
|
+
"AiGatewayError" : {
|
|
19527
|
+
"properties" : {
|
|
19528
|
+
"error" : {
|
|
19529
|
+
"$ref" : "#/components/schemas/deleteMessageAudio_200_response"
|
|
19530
|
+
}
|
|
19531
|
+
},
|
|
19532
|
+
"required" : [ "error" ],
|
|
19533
|
+
"type" : "object"
|
|
19534
|
+
},
|
|
19535
|
+
"AiGatewayModel" : {
|
|
18669
19536
|
"properties" : {
|
|
18670
19537
|
"id" : {
|
|
18671
|
-
"format" : "uuid",
|
|
18672
|
-
"type" : "string"
|
|
18673
|
-
},
|
|
18674
|
-
"slug" : {
|
|
18675
|
-
"type" : "string"
|
|
18676
|
-
},
|
|
18677
|
-
"version" : {
|
|
18678
|
-
"type" : "string"
|
|
18679
|
-
},
|
|
18680
|
-
"name" : {
|
|
18681
|
-
"type" : "string"
|
|
18682
|
-
},
|
|
18683
|
-
"description" : {
|
|
18684
|
-
"type" : "string"
|
|
18685
|
-
},
|
|
18686
|
-
"content" : {
|
|
18687
|
-
"type" : "string"
|
|
18688
|
-
},
|
|
18689
|
-
"isLatest" : {
|
|
18690
|
-
"type" : "boolean"
|
|
18691
|
-
},
|
|
18692
|
-
"sourceSkillId" : {
|
|
18693
|
-
"format" : "uuid",
|
|
18694
|
-
"nullable" : true,
|
|
18695
19538
|
"type" : "string"
|
|
18696
19539
|
},
|
|
18697
|
-
"
|
|
18698
|
-
"
|
|
19540
|
+
"object" : {
|
|
19541
|
+
"enum" : [ "model" ],
|
|
18699
19542
|
"type" : "string"
|
|
18700
19543
|
},
|
|
18701
|
-
"
|
|
18702
|
-
"
|
|
18703
|
-
"
|
|
18704
|
-
"type" : "string"
|
|
19544
|
+
"created" : {
|
|
19545
|
+
"description" : "Horodatage Unix généré à chaque appel, pas une date de création réelle.",
|
|
19546
|
+
"type" : "integer"
|
|
18705
19547
|
},
|
|
18706
|
-
"
|
|
18707
|
-
"
|
|
19548
|
+
"owned_by" : {
|
|
19549
|
+
"description" : "Nom du provider qui expose le modèle.",
|
|
18708
19550
|
"type" : "string"
|
|
18709
|
-
}
|
|
18710
|
-
|
|
18711
|
-
|
|
19551
|
+
}
|
|
19552
|
+
},
|
|
19553
|
+
"required" : [ "created", "id", "object", "owned_by" ],
|
|
19554
|
+
"type" : "object"
|
|
19555
|
+
},
|
|
19556
|
+
"AiGatewayChatCompletionRequest" : {
|
|
19557
|
+
"additionalProperties" : false,
|
|
19558
|
+
"properties" : {
|
|
19559
|
+
"model" : {
|
|
19560
|
+
"minLength" : 1,
|
|
18712
19561
|
"type" : "string"
|
|
18713
19562
|
},
|
|
18714
|
-
"
|
|
19563
|
+
"messages" : {
|
|
18715
19564
|
"items" : {
|
|
18716
|
-
"$ref" : "#/components/schemas/
|
|
19565
|
+
"$ref" : "#/components/schemas/AiGatewayMessage"
|
|
18717
19566
|
},
|
|
19567
|
+
"minItems" : 1,
|
|
18718
19568
|
"type" : "array"
|
|
19569
|
+
},
|
|
19570
|
+
"maxTokens" : {
|
|
19571
|
+
"description" : "Nombre maximum de tokens générés.",
|
|
19572
|
+
"minimum" : 1,
|
|
19573
|
+
"type" : "number"
|
|
19574
|
+
},
|
|
19575
|
+
"temperature" : {
|
|
19576
|
+
"description" : "Température d'échantillonnage.",
|
|
19577
|
+
"maximum" : 1,
|
|
19578
|
+
"minimum" : 0,
|
|
19579
|
+
"type" : "number"
|
|
19580
|
+
},
|
|
19581
|
+
"stream" : {
|
|
19582
|
+
"description" : "Si true, la réponse est un flux de texte brut au lieu d'un objet JSON.",
|
|
19583
|
+
"type" : "boolean"
|
|
18719
19584
|
}
|
|
18720
19585
|
},
|
|
18721
|
-
"required" : [ "
|
|
19586
|
+
"required" : [ "messages", "model" ],
|
|
18722
19587
|
"type" : "object"
|
|
18723
19588
|
},
|
|
18724
|
-
"
|
|
19589
|
+
"AiGatewayMessage" : {
|
|
18725
19590
|
"additionalProperties" : false,
|
|
18726
19591
|
"properties" : {
|
|
18727
|
-
"
|
|
18728
|
-
"
|
|
19592
|
+
"role" : {
|
|
19593
|
+
"enum" : [ "user", "system", "assistant" ],
|
|
18729
19594
|
"type" : "string"
|
|
18730
19595
|
},
|
|
18731
|
-
"
|
|
18732
|
-
"
|
|
19596
|
+
"content" : {
|
|
19597
|
+
"minLength" : 1,
|
|
18733
19598
|
"type" : "string"
|
|
18734
19599
|
}
|
|
18735
19600
|
},
|
|
18736
|
-
"required" : [ "
|
|
19601
|
+
"required" : [ "content", "role" ],
|
|
18737
19602
|
"type" : "object"
|
|
18738
19603
|
},
|
|
18739
|
-
"
|
|
18740
|
-
"additionalProperties" :
|
|
19604
|
+
"AiGatewayChatCompletionResponse" : {
|
|
19605
|
+
"additionalProperties" : true,
|
|
18741
19606
|
"properties" : {
|
|
18742
|
-
"
|
|
18743
|
-
"
|
|
19607
|
+
"text" : {
|
|
19608
|
+
"type" : "string"
|
|
19609
|
+
},
|
|
19610
|
+
"finishReason" : {
|
|
18744
19611
|
"type" : "string"
|
|
19612
|
+
},
|
|
19613
|
+
"usage" : {
|
|
19614
|
+
"additionalProperties" : true,
|
|
19615
|
+
"type" : "object"
|
|
18745
19616
|
}
|
|
18746
19617
|
},
|
|
18747
19618
|
"type" : "object"
|
|
18748
19619
|
},
|
|
18749
|
-
"
|
|
19620
|
+
"AiGatewayEmbeddingRequest" : {
|
|
18750
19621
|
"additionalProperties" : false,
|
|
18751
19622
|
"properties" : {
|
|
18752
|
-
"
|
|
18753
|
-
"
|
|
19623
|
+
"model" : {
|
|
19624
|
+
"minLength" : 1,
|
|
19625
|
+
"type" : "string"
|
|
18754
19626
|
},
|
|
18755
|
-
"
|
|
18756
|
-
"
|
|
18757
|
-
"minLength" : 4,
|
|
19627
|
+
"input" : {
|
|
19628
|
+
"minLength" : 1,
|
|
18758
19629
|
"type" : "string"
|
|
18759
19630
|
}
|
|
18760
19631
|
},
|
|
18761
|
-
"required" : [ "
|
|
19632
|
+
"required" : [ "input", "model" ],
|
|
18762
19633
|
"type" : "object"
|
|
18763
19634
|
},
|
|
18764
|
-
"
|
|
19635
|
+
"AiGatewayEmbeddingResponse" : {
|
|
19636
|
+
"additionalProperties" : true,
|
|
18765
19637
|
"properties" : {
|
|
18766
|
-
"
|
|
18767
|
-
"type" : "string"
|
|
18768
|
-
},
|
|
18769
|
-
"messageId" : {
|
|
18770
|
-
"type" : "string"
|
|
18771
|
-
},
|
|
18772
|
-
"text" : {
|
|
18773
|
-
"type" : "string"
|
|
18774
|
-
},
|
|
18775
|
-
"suggestions" : {
|
|
19638
|
+
"embedding" : {
|
|
18776
19639
|
"items" : {
|
|
18777
|
-
"
|
|
19640
|
+
"type" : "number"
|
|
18778
19641
|
},
|
|
18779
19642
|
"type" : "array"
|
|
19643
|
+
},
|
|
19644
|
+
"value" : {
|
|
19645
|
+
"type" : "string"
|
|
19646
|
+
},
|
|
19647
|
+
"usage" : {
|
|
19648
|
+
"additionalProperties" : true,
|
|
19649
|
+
"type" : "object"
|
|
18780
19650
|
}
|
|
18781
19651
|
},
|
|
18782
|
-
"required" : [ "conversationId", "messageId", "text" ],
|
|
18783
19652
|
"type" : "object"
|
|
18784
19653
|
},
|
|
18785
|
-
"
|
|
18786
|
-
"allOf" : [ {
|
|
18787
|
-
"$ref" : "#/components/schemas/PromptFlowCreateRequest"
|
|
18788
|
-
}, {
|
|
18789
|
-
"properties" : {
|
|
18790
|
-
"message" : {
|
|
18791
|
-
"type" : "string"
|
|
18792
|
-
},
|
|
18793
|
-
"stream" : {
|
|
18794
|
-
"description" : "Whether to activate incremental generation of the response",
|
|
18795
|
-
"type" : "boolean"
|
|
18796
|
-
}
|
|
18797
|
-
},
|
|
18798
|
-
"required" : [ "message" ],
|
|
18799
|
-
"type" : "object"
|
|
18800
|
-
} ]
|
|
18801
|
-
},
|
|
18802
|
-
"PromptCreateResponse" : {
|
|
19654
|
+
"AiGatewayUsage" : {
|
|
18803
19655
|
"properties" : {
|
|
18804
|
-
"
|
|
18805
|
-
"
|
|
18806
|
-
},
|
|
18807
|
-
"messageId" : {
|
|
18808
|
-
"type" : "string"
|
|
18809
|
-
},
|
|
18810
|
-
"text" : {
|
|
18811
|
-
"type" : "string"
|
|
19656
|
+
"total" : {
|
|
19657
|
+
"$ref" : "#/components/schemas/AiGatewayUsageTotal"
|
|
18812
19658
|
},
|
|
18813
|
-
"
|
|
19659
|
+
"series" : {
|
|
18814
19660
|
"items" : {
|
|
18815
|
-
"$ref" : "#/components/schemas/
|
|
19661
|
+
"$ref" : "#/components/schemas/AiGatewayUsagePoint"
|
|
18816
19662
|
},
|
|
18817
19663
|
"type" : "array"
|
|
18818
19664
|
},
|
|
18819
|
-
"
|
|
18820
|
-
"
|
|
19665
|
+
"byModel" : {
|
|
19666
|
+
"items" : {
|
|
19667
|
+
"$ref" : "#/components/schemas/AiGatewayUsageBreakdownItem"
|
|
19668
|
+
},
|
|
19669
|
+
"type" : "array"
|
|
18821
19670
|
},
|
|
18822
|
-
"
|
|
19671
|
+
"byProvider" : {
|
|
18823
19672
|
"items" : {
|
|
18824
|
-
"$ref" : "#/components/schemas/
|
|
19673
|
+
"$ref" : "#/components/schemas/AiGatewayUsageBreakdownItem"
|
|
18825
19674
|
},
|
|
18826
|
-
"nullable" : true,
|
|
18827
19675
|
"type" : "array"
|
|
18828
19676
|
},
|
|
18829
|
-
"
|
|
18830
|
-
"
|
|
19677
|
+
"byUser" : {
|
|
19678
|
+
"items" : {
|
|
19679
|
+
"$ref" : "#/components/schemas/AiGatewayUsageBreakdownItem"
|
|
19680
|
+
},
|
|
19681
|
+
"type" : "array"
|
|
18831
19682
|
}
|
|
18832
19683
|
},
|
|
18833
|
-
"required" : [ "
|
|
19684
|
+
"required" : [ "byModel", "byProvider", "byUser", "series", "total" ],
|
|
18834
19685
|
"type" : "object"
|
|
18835
19686
|
},
|
|
18836
|
-
"
|
|
19687
|
+
"AiGatewayUsageTotal" : {
|
|
18837
19688
|
"properties" : {
|
|
18838
|
-
"
|
|
18839
|
-
"type" : "
|
|
19689
|
+
"requests" : {
|
|
19690
|
+
"type" : "integer"
|
|
18840
19691
|
},
|
|
18841
|
-
"
|
|
18842
|
-
"type" : "
|
|
18843
|
-
}
|
|
18844
|
-
},
|
|
18845
|
-
"required" : [ "id", "message" ],
|
|
18846
|
-
"type" : "object"
|
|
18847
|
-
},
|
|
18848
|
-
"ToolUsed" : {
|
|
18849
|
-
"properties" : {
|
|
18850
|
-
"name" : {
|
|
18851
|
-
"type" : "string"
|
|
19692
|
+
"inputTokens" : {
|
|
19693
|
+
"type" : "integer"
|
|
18852
19694
|
},
|
|
18853
|
-
"
|
|
18854
|
-
"
|
|
18855
|
-
"nullable" : true,
|
|
18856
|
-
"type" : "object"
|
|
19695
|
+
"outputTokens" : {
|
|
19696
|
+
"type" : "integer"
|
|
18857
19697
|
},
|
|
18858
|
-
"
|
|
18859
|
-
"
|
|
18860
|
-
"type" : "boolean"
|
|
19698
|
+
"reasoningTokens" : {
|
|
19699
|
+
"type" : "integer"
|
|
18861
19700
|
},
|
|
18862
|
-
"
|
|
18863
|
-
"
|
|
18864
|
-
|
|
19701
|
+
"totalTokens" : {
|
|
19702
|
+
"type" : "integer"
|
|
19703
|
+
},
|
|
19704
|
+
"uniqueUsers" : {
|
|
19705
|
+
"type" : "integer"
|
|
18865
19706
|
}
|
|
18866
19707
|
},
|
|
18867
|
-
"required" : [ "
|
|
19708
|
+
"required" : [ "inputTokens", "outputTokens", "reasoningTokens", "requests", "totalTokens", "uniqueUsers" ],
|
|
18868
19709
|
"type" : "object"
|
|
18869
19710
|
},
|
|
18870
|
-
"
|
|
19711
|
+
"AiGatewayUsagePoint" : {
|
|
18871
19712
|
"properties" : {
|
|
18872
|
-
"
|
|
18873
|
-
"
|
|
18874
|
-
},
|
|
18875
|
-
"title" : {
|
|
18876
|
-
"nullable" : true,
|
|
18877
|
-
"type" : "string"
|
|
18878
|
-
},
|
|
18879
|
-
"agentId" : {
|
|
19713
|
+
"bucket" : {
|
|
19714
|
+
"description" : "Clé de regroupement temporel, dépendante de la granularité demandée",
|
|
18880
19715
|
"type" : "string"
|
|
18881
19716
|
},
|
|
18882
|
-
"
|
|
18883
|
-
"nullable" : true,
|
|
19717
|
+
"label" : {
|
|
18884
19718
|
"type" : "string"
|
|
18885
19719
|
},
|
|
18886
|
-
"
|
|
18887
|
-
"type" : "
|
|
19720
|
+
"requests" : {
|
|
19721
|
+
"type" : "integer"
|
|
18888
19722
|
},
|
|
18889
|
-
"
|
|
18890
|
-
"
|
|
18891
|
-
"type" : "string"
|
|
19723
|
+
"inputTokens" : {
|
|
19724
|
+
"type" : "integer"
|
|
18892
19725
|
},
|
|
18893
|
-
"
|
|
18894
|
-
"
|
|
19726
|
+
"outputTokens" : {
|
|
19727
|
+
"type" : "integer"
|
|
19728
|
+
}
|
|
19729
|
+
},
|
|
19730
|
+
"required" : [ "bucket", "inputTokens", "label", "outputTokens", "requests" ],
|
|
19731
|
+
"type" : "object"
|
|
19732
|
+
},
|
|
19733
|
+
"AiGatewayUsageBreakdownItem" : {
|
|
19734
|
+
"description" : "Consommation agrégée sur une dimension (modèle, provider ou utilisateur).",
|
|
19735
|
+
"properties" : {
|
|
19736
|
+
"key" : {
|
|
19737
|
+
"description" : "Identifiant brut de la dimension (id de modèle, de provider ou d'utilisateur)",
|
|
18895
19738
|
"type" : "string"
|
|
18896
19739
|
},
|
|
18897
|
-
"
|
|
18898
|
-
"
|
|
19740
|
+
"label" : {
|
|
19741
|
+
"description" : "Libellé affichable ; pour un utilisateur, son email lorsqu'il est connu",
|
|
18899
19742
|
"type" : "string"
|
|
18900
19743
|
},
|
|
18901
|
-
"
|
|
18902
|
-
"type" : "
|
|
19744
|
+
"requests" : {
|
|
19745
|
+
"type" : "integer"
|
|
18903
19746
|
},
|
|
18904
|
-
"
|
|
18905
|
-
"type" : "
|
|
19747
|
+
"inputTokens" : {
|
|
19748
|
+
"type" : "integer"
|
|
18906
19749
|
},
|
|
18907
|
-
"
|
|
18908
|
-
"
|
|
18909
|
-
"nullable" : true,
|
|
18910
|
-
"type" : "object"
|
|
19750
|
+
"outputTokens" : {
|
|
19751
|
+
"type" : "integer"
|
|
18911
19752
|
},
|
|
18912
|
-
"
|
|
18913
|
-
"
|
|
18914
|
-
"$ref" : "#/components/schemas/ChatMessage"
|
|
18915
|
-
},
|
|
18916
|
-
"type" : "array"
|
|
19753
|
+
"totalTokens" : {
|
|
19754
|
+
"type" : "integer"
|
|
18917
19755
|
}
|
|
18918
19756
|
},
|
|
18919
|
-
"required" : [ "
|
|
19757
|
+
"required" : [ "inputTokens", "key", "label", "outputTokens", "requests", "totalTokens" ],
|
|
18920
19758
|
"type" : "object"
|
|
18921
19759
|
},
|
|
18922
|
-
"
|
|
19760
|
+
"OpenAiChatCompletionRequest" : {
|
|
18923
19761
|
"additionalProperties" : false,
|
|
18924
19762
|
"properties" : {
|
|
18925
|
-
"
|
|
18926
|
-
"
|
|
19763
|
+
"model" : {
|
|
19764
|
+
"minLength" : 1,
|
|
18927
19765
|
"type" : "string"
|
|
18928
19766
|
},
|
|
19767
|
+
"messages" : {
|
|
19768
|
+
"items" : {
|
|
19769
|
+
"$ref" : "#/components/schemas/AiGatewayMessage"
|
|
19770
|
+
},
|
|
19771
|
+
"minItems" : 1,
|
|
19772
|
+
"type" : "array"
|
|
19773
|
+
},
|
|
19774
|
+
"maxTokens" : {
|
|
19775
|
+
"description" : "Nombre maximum de tokens générés.",
|
|
19776
|
+
"minimum" : 1,
|
|
19777
|
+
"type" : "number"
|
|
19778
|
+
},
|
|
19779
|
+
"temperature" : {
|
|
19780
|
+
"description" : "Température d'échantillonnage.",
|
|
19781
|
+
"maximum" : 1,
|
|
19782
|
+
"minimum" : 0,
|
|
19783
|
+
"type" : "number"
|
|
19784
|
+
},
|
|
18929
19785
|
"stream" : {
|
|
18930
|
-
"description" : "Whether to activate incremental generation of the response",
|
|
18931
|
-
"nullable" : true,
|
|
18932
19786
|
"type" : "boolean"
|
|
18933
19787
|
},
|
|
18934
|
-
"
|
|
18935
|
-
"
|
|
18936
|
-
"maxLength" : 4,
|
|
18937
|
-
"minLength" : 2,
|
|
18938
|
-
"nullable" : true,
|
|
18939
|
-
"type" : "string"
|
|
19788
|
+
"stream_options" : {
|
|
19789
|
+
"$ref" : "#/components/schemas/OpenAiChatCompletionRequest_stream_options"
|
|
18940
19790
|
}
|
|
18941
19791
|
},
|
|
18942
|
-
"required" : [ "
|
|
19792
|
+
"required" : [ "messages", "model" ],
|
|
18943
19793
|
"type" : "object"
|
|
18944
19794
|
},
|
|
18945
|
-
"
|
|
19795
|
+
"OpenAiChatCompletionResponse" : {
|
|
19796
|
+
"additionalProperties" : true,
|
|
18946
19797
|
"properties" : {
|
|
18947
|
-
"
|
|
19798
|
+
"id" : {
|
|
18948
19799
|
"type" : "string"
|
|
18949
19800
|
},
|
|
18950
|
-
"
|
|
19801
|
+
"object" : {
|
|
18951
19802
|
"type" : "string"
|
|
18952
19803
|
},
|
|
18953
|
-
"
|
|
18954
|
-
"type" : "
|
|
19804
|
+
"created" : {
|
|
19805
|
+
"type" : "integer"
|
|
18955
19806
|
},
|
|
18956
|
-
"
|
|
18957
|
-
"enum" : [ "positive", "negative" ],
|
|
19807
|
+
"model" : {
|
|
18958
19808
|
"type" : "string"
|
|
18959
19809
|
},
|
|
18960
|
-
"
|
|
18961
|
-
"$ref" : "#/components/schemas/MessageStatus_error"
|
|
18962
|
-
},
|
|
18963
|
-
"toolCall" : {
|
|
18964
|
-
"$ref" : "#/components/schemas/MessageStatus_toolCall"
|
|
18965
|
-
},
|
|
18966
|
-
"toolsUsed" : {
|
|
19810
|
+
"choices" : {
|
|
18967
19811
|
"items" : {
|
|
18968
|
-
"
|
|
19812
|
+
"additionalProperties" : true,
|
|
19813
|
+
"type" : "object"
|
|
18969
19814
|
},
|
|
18970
19815
|
"type" : "array"
|
|
19816
|
+
},
|
|
19817
|
+
"usage" : {
|
|
19818
|
+
"additionalProperties" : true,
|
|
19819
|
+
"type" : "object"
|
|
18971
19820
|
}
|
|
18972
19821
|
},
|
|
18973
|
-
"required" : [ "status" ],
|
|
18974
19822
|
"type" : "object"
|
|
18975
19823
|
},
|
|
18976
|
-
"
|
|
18977
|
-
"
|
|
18978
|
-
"
|
|
19824
|
+
"ToolPresetPage" : {
|
|
19825
|
+
"properties" : {
|
|
19826
|
+
"data" : {
|
|
19827
|
+
"items" : {
|
|
19828
|
+
"$ref" : "#/components/schemas/ToolPreset"
|
|
19829
|
+
},
|
|
19830
|
+
"type" : "array"
|
|
19831
|
+
},
|
|
19832
|
+
"total" : {
|
|
19833
|
+
"description" : "Number of presets matching the filters",
|
|
19834
|
+
"type" : "integer"
|
|
19835
|
+
},
|
|
19836
|
+
"page" : {
|
|
19837
|
+
"type" : "integer"
|
|
19838
|
+
},
|
|
19839
|
+
"limit" : {
|
|
19840
|
+
"type" : "integer"
|
|
19841
|
+
},
|
|
19842
|
+
"totalPages" : {
|
|
19843
|
+
"type" : "integer"
|
|
19844
|
+
},
|
|
19845
|
+
"allCategories" : {
|
|
19846
|
+
"description" : "Every category of the library, regardless of the current filter",
|
|
19847
|
+
"items" : {
|
|
19848
|
+
"type" : "string"
|
|
19849
|
+
},
|
|
19850
|
+
"type" : "array"
|
|
19851
|
+
}
|
|
18979
19852
|
},
|
|
18980
|
-
"
|
|
19853
|
+
"required" : [ "allCategories", "data", "limit", "page", "total", "totalPages" ],
|
|
19854
|
+
"title" : "ToolPresetPage",
|
|
19855
|
+
"type" : "object"
|
|
18981
19856
|
},
|
|
18982
|
-
"
|
|
19857
|
+
"ToolPreset" : {
|
|
18983
19858
|
"properties" : {
|
|
18984
19859
|
"id" : {
|
|
19860
|
+
"format" : "uuid",
|
|
18985
19861
|
"type" : "string"
|
|
18986
19862
|
},
|
|
18987
|
-
"
|
|
18988
|
-
"
|
|
19863
|
+
"slug" : {
|
|
19864
|
+
"description" : "Unique identifier of the preset, used as the key on import",
|
|
19865
|
+
"type" : "string"
|
|
18989
19866
|
},
|
|
18990
|
-
"
|
|
18991
|
-
"type" : "
|
|
19867
|
+
"name" : {
|
|
19868
|
+
"type" : "string"
|
|
18992
19869
|
},
|
|
18993
|
-
"
|
|
18994
|
-
"type" : "
|
|
19870
|
+
"descriptionEn" : {
|
|
19871
|
+
"type" : "string"
|
|
18995
19872
|
},
|
|
18996
|
-
"
|
|
19873
|
+
"descriptionFr" : {
|
|
19874
|
+
"type" : "string"
|
|
19875
|
+
},
|
|
19876
|
+
"url" : {
|
|
19877
|
+
"description" : "MCP server URL",
|
|
19878
|
+
"type" : "string"
|
|
19879
|
+
},
|
|
19880
|
+
"logoUrl" : {
|
|
18997
19881
|
"nullable" : true,
|
|
18998
|
-
"type" : "
|
|
19882
|
+
"type" : "string"
|
|
18999
19883
|
},
|
|
19000
|
-
"
|
|
19001
|
-
"
|
|
19884
|
+
"transport" : {
|
|
19885
|
+
"$ref" : "#/components/schemas/ToolPresetTransport"
|
|
19886
|
+
},
|
|
19887
|
+
"authMethods" : {
|
|
19888
|
+
"description" : "Supported authentication methods, e.g. none, bearer, oauth",
|
|
19002
19889
|
"items" : {
|
|
19003
19890
|
"type" : "string"
|
|
19004
19891
|
},
|
|
19005
19892
|
"type" : "array"
|
|
19006
19893
|
},
|
|
19007
|
-
"
|
|
19008
|
-
"
|
|
19009
|
-
"$ref" : "#/components/schemas/
|
|
19010
|
-
},
|
|
19011
|
-
"
|
|
19894
|
+
"oauthRegistration" : {
|
|
19895
|
+
"allOf" : [ {
|
|
19896
|
+
"$ref" : "#/components/schemas/ToolPresetOAuthRegistration"
|
|
19897
|
+
} ],
|
|
19898
|
+
"nullable" : true
|
|
19012
19899
|
},
|
|
19013
|
-
"
|
|
19014
|
-
"
|
|
19900
|
+
"category" : {
|
|
19901
|
+
"description" : "Category key used to group presets",
|
|
19015
19902
|
"type" : "string"
|
|
19016
19903
|
},
|
|
19017
|
-
"
|
|
19904
|
+
"categoryLabelEn" : {
|
|
19905
|
+
"type" : "string"
|
|
19906
|
+
},
|
|
19907
|
+
"categoryLabelFr" : {
|
|
19908
|
+
"type" : "string"
|
|
19909
|
+
},
|
|
19910
|
+
"categoryDescriptionEn" : {
|
|
19911
|
+
"type" : "string"
|
|
19912
|
+
},
|
|
19913
|
+
"categoryDescriptionFr" : {
|
|
19914
|
+
"type" : "string"
|
|
19915
|
+
},
|
|
19916
|
+
"isActive" : {
|
|
19917
|
+
"description" : "Only active presets are exposed to organizations",
|
|
19018
19918
|
"type" : "boolean"
|
|
19019
19919
|
},
|
|
19020
|
-
"
|
|
19920
|
+
"createdAt" : {
|
|
19021
19921
|
"format" : "date-time",
|
|
19022
19922
|
"type" : "string"
|
|
19023
|
-
}
|
|
19024
|
-
},
|
|
19025
|
-
"required" : [ "agents", "apiKeys", "canCreateAgents", "id", "isAdmin", "user" ],
|
|
19026
|
-
"type" : "object"
|
|
19027
|
-
},
|
|
19028
|
-
"UserIdentifier" : {
|
|
19029
|
-
"properties" : {
|
|
19030
|
-
"email" : {
|
|
19031
|
-
"type" : "string"
|
|
19032
19923
|
},
|
|
19033
|
-
"
|
|
19924
|
+
"updatedAt" : {
|
|
19925
|
+
"format" : "date-time",
|
|
19034
19926
|
"type" : "string"
|
|
19035
19927
|
}
|
|
19036
19928
|
},
|
|
19037
|
-
"required" : [ "
|
|
19929
|
+
"required" : [ "authMethods", "category", "categoryDescriptionEn", "categoryDescriptionFr", "categoryLabelEn", "categoryLabelFr", "descriptionEn", "descriptionFr", "id", "isActive", "name", "slug", "transport", "url" ],
|
|
19930
|
+
"title" : "ToolPreset",
|
|
19038
19931
|
"type" : "object"
|
|
19039
19932
|
},
|
|
19040
|
-
"
|
|
19933
|
+
"ToolPresetCreateRequest" : {
|
|
19041
19934
|
"properties" : {
|
|
19042
|
-
"
|
|
19935
|
+
"slug" : {
|
|
19043
19936
|
"type" : "string"
|
|
19044
19937
|
},
|
|
19045
19938
|
"name" : {
|
|
19046
19939
|
"type" : "string"
|
|
19047
|
-
}
|
|
19048
|
-
},
|
|
19049
|
-
"required" : [ "id", "name" ],
|
|
19050
|
-
"type" : "object"
|
|
19051
|
-
},
|
|
19052
|
-
"UserCreateRequest" : {
|
|
19053
|
-
"additionalProperties" : false,
|
|
19054
|
-
"properties" : {
|
|
19055
|
-
"user" : {
|
|
19056
|
-
"$ref" : "#/components/schemas/UserIdentifierRequest"
|
|
19057
19940
|
},
|
|
19058
|
-
"
|
|
19059
|
-
"type" : "
|
|
19941
|
+
"descriptionEn" : {
|
|
19942
|
+
"type" : "string"
|
|
19060
19943
|
},
|
|
19061
|
-
"
|
|
19062
|
-
"nullable" : true,
|
|
19063
|
-
"type" : "number"
|
|
19064
|
-
}
|
|
19065
|
-
},
|
|
19066
|
-
"required" : [ "canCreateAgents", "user" ],
|
|
19067
|
-
"type" : "object"
|
|
19068
|
-
},
|
|
19069
|
-
"UserIdentifierRequest" : {
|
|
19070
|
-
"additionalProperties" : false,
|
|
19071
|
-
"properties" : {
|
|
19072
|
-
"email" : {
|
|
19944
|
+
"descriptionFr" : {
|
|
19073
19945
|
"type" : "string"
|
|
19074
|
-
}
|
|
19075
|
-
},
|
|
19076
|
-
"required" : [ "email" ],
|
|
19077
|
-
"type" : "object"
|
|
19078
|
-
},
|
|
19079
|
-
"UserUpdateRequest" : {
|
|
19080
|
-
"additionalProperties" : false,
|
|
19081
|
-
"properties" : {
|
|
19082
|
-
"user" : {
|
|
19083
|
-
"$ref" : "#/components/schemas/UserIdentifierRequest"
|
|
19084
19946
|
},
|
|
19085
|
-
"
|
|
19086
|
-
"
|
|
19087
|
-
"type" : "boolean"
|
|
19947
|
+
"url" : {
|
|
19948
|
+
"type" : "string"
|
|
19088
19949
|
},
|
|
19089
|
-
"
|
|
19950
|
+
"logoUrl" : {
|
|
19090
19951
|
"nullable" : true,
|
|
19091
|
-
"type" : "
|
|
19952
|
+
"type" : "string"
|
|
19092
19953
|
},
|
|
19093
|
-
"
|
|
19094
|
-
"
|
|
19095
|
-
"type" : "number"
|
|
19954
|
+
"transport" : {
|
|
19955
|
+
"$ref" : "#/components/schemas/ToolPresetTransport"
|
|
19096
19956
|
},
|
|
19097
|
-
"
|
|
19957
|
+
"authMethods" : {
|
|
19098
19958
|
"items" : {
|
|
19099
19959
|
"type" : "string"
|
|
19100
19960
|
},
|
|
19101
|
-
"nullable" : true,
|
|
19102
19961
|
"type" : "array"
|
|
19103
19962
|
},
|
|
19104
|
-
"
|
|
19105
|
-
"
|
|
19963
|
+
"oauthRegistration" : {
|
|
19964
|
+
"allOf" : [ {
|
|
19965
|
+
"$ref" : "#/components/schemas/ToolPresetOAuthRegistration"
|
|
19966
|
+
} ],
|
|
19967
|
+
"nullable" : true
|
|
19968
|
+
},
|
|
19969
|
+
"category" : {
|
|
19970
|
+
"type" : "string"
|
|
19971
|
+
},
|
|
19972
|
+
"categoryLabelEn" : {
|
|
19973
|
+
"type" : "string"
|
|
19974
|
+
},
|
|
19975
|
+
"categoryLabelFr" : {
|
|
19976
|
+
"type" : "string"
|
|
19977
|
+
},
|
|
19978
|
+
"categoryDescriptionEn" : {
|
|
19979
|
+
"type" : "string"
|
|
19980
|
+
},
|
|
19981
|
+
"categoryDescriptionFr" : {
|
|
19982
|
+
"type" : "string"
|
|
19983
|
+
},
|
|
19984
|
+
"isActive" : {
|
|
19106
19985
|
"type" : "boolean"
|
|
19107
19986
|
}
|
|
19108
19987
|
},
|
|
19988
|
+
"required" : [ "category", "name", "slug", "url" ],
|
|
19989
|
+
"title" : "ToolPresetCreateRequest",
|
|
19109
19990
|
"type" : "object"
|
|
19110
19991
|
},
|
|
19111
|
-
"
|
|
19112
|
-
"additionalProperties" : false,
|
|
19992
|
+
"ToolPresetDeleteAllResponse" : {
|
|
19113
19993
|
"properties" : {
|
|
19114
|
-
"
|
|
19115
|
-
"description" : "
|
|
19116
|
-
"type" : "
|
|
19994
|
+
"deleted" : {
|
|
19995
|
+
"description" : "Number of presets removed from the library",
|
|
19996
|
+
"type" : "integer"
|
|
19117
19997
|
}
|
|
19118
19998
|
},
|
|
19119
|
-
"required" : [ "
|
|
19999
|
+
"required" : [ "deleted" ],
|
|
20000
|
+
"title" : "ToolPresetDeleteAllResponse",
|
|
19120
20001
|
"type" : "object"
|
|
19121
20002
|
},
|
|
19122
|
-
"
|
|
19123
|
-
"additionalProperties" : false,
|
|
20003
|
+
"ToolPresetImportRequest" : {
|
|
19124
20004
|
"properties" : {
|
|
19125
|
-
"
|
|
19126
|
-
"
|
|
19127
|
-
|
|
19128
|
-
|
|
19129
|
-
"type" : "
|
|
20005
|
+
"presets" : {
|
|
20006
|
+
"items" : {
|
|
20007
|
+
"$ref" : "#/components/schemas/ToolPresetImportItem"
|
|
20008
|
+
},
|
|
20009
|
+
"type" : "array"
|
|
19130
20010
|
}
|
|
19131
20011
|
},
|
|
19132
|
-
"required" : [ "
|
|
20012
|
+
"required" : [ "presets" ],
|
|
20013
|
+
"title" : "ToolPresetImportRequest",
|
|
19133
20014
|
"type" : "object"
|
|
19134
20015
|
},
|
|
19135
|
-
"
|
|
20016
|
+
"ToolPresetImportItem" : {
|
|
19136
20017
|
"properties" : {
|
|
19137
20018
|
"id" : {
|
|
19138
20019
|
"type" : "string"
|
|
19139
20020
|
},
|
|
19140
|
-
"
|
|
20021
|
+
"createdAt" : {
|
|
19141
20022
|
"type" : "string"
|
|
19142
20023
|
},
|
|
19143
|
-
"
|
|
19144
|
-
"description" : "Valeur de la clé. Renvoyée uniquement à la création.",
|
|
20024
|
+
"updatedAt" : {
|
|
19145
20025
|
"type" : "string"
|
|
19146
|
-
}
|
|
19147
|
-
|
|
19148
|
-
"required" : [ "id", "keySecret", "name" ],
|
|
19149
|
-
"type" : "object"
|
|
19150
|
-
},
|
|
19151
|
-
"AiGatewayModelList" : {
|
|
19152
|
-
"properties" : {
|
|
19153
|
-
"object" : {
|
|
19154
|
-
"enum" : [ "list" ],
|
|
20026
|
+
},
|
|
20027
|
+
"slug" : {
|
|
19155
20028
|
"type" : "string"
|
|
19156
20029
|
},
|
|
19157
|
-
"
|
|
19158
|
-
"items" : {
|
|
19159
|
-
"$ref" : "#/components/schemas/AiGatewayModelList_data_inner"
|
|
19160
|
-
},
|
|
19161
|
-
"type" : "array"
|
|
19162
|
-
}
|
|
19163
|
-
},
|
|
19164
|
-
"required" : [ "data", "object" ],
|
|
19165
|
-
"type" : "object"
|
|
19166
|
-
},
|
|
19167
|
-
"AiGatewayError" : {
|
|
19168
|
-
"properties" : {
|
|
19169
|
-
"error" : {
|
|
19170
|
-
"$ref" : "#/components/schemas/deleteMessageAudio_200_response"
|
|
19171
|
-
}
|
|
19172
|
-
},
|
|
19173
|
-
"required" : [ "error" ],
|
|
19174
|
-
"type" : "object"
|
|
19175
|
-
},
|
|
19176
|
-
"AiGatewayModel" : {
|
|
19177
|
-
"properties" : {
|
|
19178
|
-
"id" : {
|
|
20030
|
+
"name" : {
|
|
19179
20031
|
"type" : "string"
|
|
19180
20032
|
},
|
|
19181
|
-
"
|
|
19182
|
-
"enum" : [ "model" ],
|
|
20033
|
+
"descriptionEn" : {
|
|
19183
20034
|
"type" : "string"
|
|
19184
20035
|
},
|
|
19185
|
-
"
|
|
19186
|
-
"
|
|
19187
|
-
"type" : "integer"
|
|
20036
|
+
"descriptionFr" : {
|
|
20037
|
+
"type" : "string"
|
|
19188
20038
|
},
|
|
19189
|
-
"
|
|
19190
|
-
"description" : "Nom du provider qui expose le modèle.",
|
|
20039
|
+
"url" : {
|
|
19191
20040
|
"type" : "string"
|
|
19192
|
-
}
|
|
19193
|
-
|
|
19194
|
-
|
|
19195
|
-
"type" : "object"
|
|
19196
|
-
},
|
|
19197
|
-
"AiGatewayChatCompletionRequest" : {
|
|
19198
|
-
"additionalProperties" : false,
|
|
19199
|
-
"properties" : {
|
|
19200
|
-
"model" : {
|
|
19201
|
-
"minLength" : 1,
|
|
20041
|
+
},
|
|
20042
|
+
"logoUrl" : {
|
|
20043
|
+
"nullable" : true,
|
|
19202
20044
|
"type" : "string"
|
|
19203
20045
|
},
|
|
19204
|
-
"
|
|
20046
|
+
"transport" : {
|
|
20047
|
+
"$ref" : "#/components/schemas/ToolPresetTransport"
|
|
20048
|
+
},
|
|
20049
|
+
"authMethods" : {
|
|
19205
20050
|
"items" : {
|
|
19206
|
-
"
|
|
20051
|
+
"type" : "string"
|
|
19207
20052
|
},
|
|
19208
|
-
"minItems" : 1,
|
|
19209
20053
|
"type" : "array"
|
|
19210
20054
|
},
|
|
19211
|
-
"
|
|
19212
|
-
"
|
|
19213
|
-
|
|
19214
|
-
|
|
20055
|
+
"oauthRegistration" : {
|
|
20056
|
+
"allOf" : [ {
|
|
20057
|
+
"$ref" : "#/components/schemas/ToolPresetOAuthRegistration"
|
|
20058
|
+
} ],
|
|
20059
|
+
"nullable" : true
|
|
19215
20060
|
},
|
|
19216
|
-
"
|
|
19217
|
-
"
|
|
19218
|
-
"maximum" : 1,
|
|
19219
|
-
"minimum" : 0,
|
|
19220
|
-
"type" : "number"
|
|
20061
|
+
"category" : {
|
|
20062
|
+
"type" : "string"
|
|
19221
20063
|
},
|
|
19222
|
-
"
|
|
19223
|
-
"
|
|
20064
|
+
"categoryLabelEn" : {
|
|
20065
|
+
"type" : "string"
|
|
20066
|
+
},
|
|
20067
|
+
"categoryLabelFr" : {
|
|
20068
|
+
"type" : "string"
|
|
20069
|
+
},
|
|
20070
|
+
"categoryDescriptionEn" : {
|
|
20071
|
+
"type" : "string"
|
|
20072
|
+
},
|
|
20073
|
+
"categoryDescriptionFr" : {
|
|
20074
|
+
"type" : "string"
|
|
20075
|
+
},
|
|
20076
|
+
"isActive" : {
|
|
19224
20077
|
"type" : "boolean"
|
|
19225
20078
|
}
|
|
19226
20079
|
},
|
|
19227
|
-
"required" : [ "
|
|
20080
|
+
"required" : [ "category", "name", "slug", "url" ],
|
|
20081
|
+
"title" : "ToolPresetImportItem",
|
|
19228
20082
|
"type" : "object"
|
|
19229
20083
|
},
|
|
19230
|
-
"
|
|
19231
|
-
"additionalProperties" : false,
|
|
20084
|
+
"ToolPresetImportResponse" : {
|
|
19232
20085
|
"properties" : {
|
|
19233
|
-
"
|
|
19234
|
-
"
|
|
19235
|
-
"type" : "
|
|
20086
|
+
"created" : {
|
|
20087
|
+
"description" : "Number of presets added",
|
|
20088
|
+
"type" : "integer"
|
|
19236
20089
|
},
|
|
19237
|
-
"
|
|
19238
|
-
"
|
|
19239
|
-
"type" : "
|
|
20090
|
+
"updated" : {
|
|
20091
|
+
"description" : "Number of existing presets replaced",
|
|
20092
|
+
"type" : "integer"
|
|
19240
20093
|
}
|
|
19241
20094
|
},
|
|
19242
|
-
"required" : [ "
|
|
20095
|
+
"required" : [ "created", "updated" ],
|
|
20096
|
+
"title" : "ToolPresetImportResponse",
|
|
19243
20097
|
"type" : "object"
|
|
19244
20098
|
},
|
|
19245
|
-
"
|
|
19246
|
-
"additionalProperties" : true,
|
|
20099
|
+
"ToolPresetUpdateRequest" : {
|
|
19247
20100
|
"properties" : {
|
|
19248
|
-
"
|
|
20101
|
+
"slug" : {
|
|
19249
20102
|
"type" : "string"
|
|
19250
20103
|
},
|
|
19251
|
-
"
|
|
20104
|
+
"name" : {
|
|
19252
20105
|
"type" : "string"
|
|
19253
20106
|
},
|
|
19254
|
-
"
|
|
19255
|
-
"additionalProperties" : true,
|
|
19256
|
-
"type" : "object"
|
|
19257
|
-
}
|
|
19258
|
-
},
|
|
19259
|
-
"type" : "object"
|
|
19260
|
-
},
|
|
19261
|
-
"AiGatewayEmbeddingRequest" : {
|
|
19262
|
-
"additionalProperties" : false,
|
|
19263
|
-
"properties" : {
|
|
19264
|
-
"model" : {
|
|
19265
|
-
"minLength" : 1,
|
|
20107
|
+
"descriptionEn" : {
|
|
19266
20108
|
"type" : "string"
|
|
19267
20109
|
},
|
|
19268
|
-
"
|
|
19269
|
-
"minLength" : 1,
|
|
20110
|
+
"descriptionFr" : {
|
|
19270
20111
|
"type" : "string"
|
|
19271
|
-
}
|
|
19272
|
-
},
|
|
19273
|
-
"required" : [ "input", "model" ],
|
|
19274
|
-
"type" : "object"
|
|
19275
|
-
},
|
|
19276
|
-
"AiGatewayEmbeddingResponse" : {
|
|
19277
|
-
"additionalProperties" : true,
|
|
19278
|
-
"properties" : {
|
|
19279
|
-
"embedding" : {
|
|
19280
|
-
"items" : {
|
|
19281
|
-
"type" : "number"
|
|
19282
|
-
},
|
|
19283
|
-
"type" : "array"
|
|
19284
20112
|
},
|
|
19285
|
-
"
|
|
20113
|
+
"url" : {
|
|
19286
20114
|
"type" : "string"
|
|
19287
20115
|
},
|
|
19288
|
-
"
|
|
19289
|
-
"
|
|
19290
|
-
"type" : "object"
|
|
19291
|
-
}
|
|
19292
|
-
},
|
|
19293
|
-
"type" : "object"
|
|
19294
|
-
},
|
|
19295
|
-
"OpenAiChatCompletionRequest" : {
|
|
19296
|
-
"additionalProperties" : false,
|
|
19297
|
-
"properties" : {
|
|
19298
|
-
"model" : {
|
|
19299
|
-
"minLength" : 1,
|
|
20116
|
+
"logoUrl" : {
|
|
20117
|
+
"nullable" : true,
|
|
19300
20118
|
"type" : "string"
|
|
19301
20119
|
},
|
|
19302
|
-
"
|
|
20120
|
+
"transport" : {
|
|
20121
|
+
"$ref" : "#/components/schemas/ToolPresetTransport"
|
|
20122
|
+
},
|
|
20123
|
+
"authMethods" : {
|
|
19303
20124
|
"items" : {
|
|
19304
|
-
"
|
|
20125
|
+
"type" : "string"
|
|
19305
20126
|
},
|
|
19306
|
-
"minItems" : 1,
|
|
19307
20127
|
"type" : "array"
|
|
19308
20128
|
},
|
|
19309
|
-
"
|
|
19310
|
-
"
|
|
19311
|
-
|
|
19312
|
-
|
|
19313
|
-
|
|
19314
|
-
"temperature" : {
|
|
19315
|
-
"description" : "Température d'échantillonnage.",
|
|
19316
|
-
"maximum" : 1,
|
|
19317
|
-
"minimum" : 0,
|
|
19318
|
-
"type" : "number"
|
|
19319
|
-
},
|
|
19320
|
-
"stream" : {
|
|
19321
|
-
"type" : "boolean"
|
|
20129
|
+
"oauthRegistration" : {
|
|
20130
|
+
"allOf" : [ {
|
|
20131
|
+
"$ref" : "#/components/schemas/ToolPresetOAuthRegistration"
|
|
20132
|
+
} ],
|
|
20133
|
+
"nullable" : true
|
|
19322
20134
|
},
|
|
19323
|
-
"
|
|
19324
|
-
"$ref" : "#/components/schemas/OpenAiChatCompletionRequest_stream_options"
|
|
19325
|
-
}
|
|
19326
|
-
},
|
|
19327
|
-
"required" : [ "messages", "model" ],
|
|
19328
|
-
"type" : "object"
|
|
19329
|
-
},
|
|
19330
|
-
"OpenAiChatCompletionResponse" : {
|
|
19331
|
-
"additionalProperties" : true,
|
|
19332
|
-
"properties" : {
|
|
19333
|
-
"id" : {
|
|
20135
|
+
"category" : {
|
|
19334
20136
|
"type" : "string"
|
|
19335
20137
|
},
|
|
19336
|
-
"
|
|
20138
|
+
"categoryLabelEn" : {
|
|
19337
20139
|
"type" : "string"
|
|
19338
20140
|
},
|
|
19339
|
-
"
|
|
19340
|
-
"type" : "
|
|
20141
|
+
"categoryLabelFr" : {
|
|
20142
|
+
"type" : "string"
|
|
19341
20143
|
},
|
|
19342
|
-
"
|
|
20144
|
+
"categoryDescriptionEn" : {
|
|
19343
20145
|
"type" : "string"
|
|
19344
20146
|
},
|
|
19345
|
-
"
|
|
19346
|
-
"
|
|
19347
|
-
"additionalProperties" : true,
|
|
19348
|
-
"type" : "object"
|
|
19349
|
-
},
|
|
19350
|
-
"type" : "array"
|
|
20147
|
+
"categoryDescriptionFr" : {
|
|
20148
|
+
"type" : "string"
|
|
19351
20149
|
},
|
|
19352
|
-
"
|
|
19353
|
-
"
|
|
19354
|
-
"type" : "object"
|
|
20150
|
+
"isActive" : {
|
|
20151
|
+
"type" : "boolean"
|
|
19355
20152
|
}
|
|
19356
20153
|
},
|
|
20154
|
+
"title" : "ToolPresetUpdateRequest",
|
|
19357
20155
|
"type" : "object"
|
|
19358
20156
|
},
|
|
19359
20157
|
"FileStatus" : {
|
|
@@ -19574,6 +20372,14 @@
|
|
|
19574
20372
|
"enum" : [ "ELEVENLABS" ],
|
|
19575
20373
|
"type" : "string"
|
|
19576
20374
|
},
|
|
20375
|
+
"ToolPresetTransport" : {
|
|
20376
|
+
"enum" : [ "http", "sse" ],
|
|
20377
|
+
"type" : "string"
|
|
20378
|
+
},
|
|
20379
|
+
"ToolPresetOAuthRegistration" : {
|
|
20380
|
+
"enum" : [ "auto", "client_id", "client_id_secret" ],
|
|
20381
|
+
"type" : "string"
|
|
20382
|
+
},
|
|
19577
20383
|
"addModule_request" : {
|
|
19578
20384
|
"additionalProperties" : false,
|
|
19579
20385
|
"properties" : {
|