This page is being phased out as part of our documentation reorganization.
Click this card to be redirected to the updated version with the most current information.
If you notice any discrepancies or areas needing improvement in the new documentation, please use the “Report an issue” button at the bottom of the page.
Endpoint
group is a collection of multiple Endpoints
. When creating a new Endpoint
in a Dify
plugin, you may need to fill in the following configurations.
Endpoint Name
, you can add new form items by writing group configuration information. After saving, you’ll see multiple interfaces that will use the same configuration information.
settings
(map[string] ProviderConfig): Endpoint configuration definitionsendpoints
(list[string], required): Points to specific endpoint
interface definitionspath
(string): Follows werkzeug interface standardmethod
(string): Interface method, only supports HEAD GET POST PUT DELETE OPTIONSextra
(object): Configuration information beyond basic info
python
(object)
source
(string): Source code implementing this interfacedify_plugin.Endpoint
and implement the _invoke
method.
r
(Request): Request object from werkzeugvalues
(Mapping): Path parameters parsed from the pathsettings
(Mapping): Configuration information for this Endpoint