Get Function by ID
Path Parameters
string
required
The function identifier
Response
Returns the completeFunctionModel object including content and configuration.
Update Function
Request Body
Same as Create Function request body.Toggle Function
Response
Returns the updatedFunctionModel with the new is_active value.
Toggle Global
Response
Returns the updatedFunctionModel with the new is_global value.
Delete Function
Response
boolean
true if deletion was successful, false otherwiseValve Management
Get Function Valves
Response
Returns a dictionary of valve values.Get Valves Schema
Valves class).
Response
Returns a JSON schema object with valve field definitions and options.Update Function Valves
User Valves
Get User Valves
Get User Valves Schema
UserValves class).
Update User Valves
Load Function from URL
Request Body
string
required
GitHub URL to the function file or folder. URLs are automatically converted to raw.githubusercontent.com format.
Response
string
Suggested function name extracted from the filename/folder
string
Function source code
Sync Functions
Request Body
array
required
Array of
FunctionWithValvesModel objects to sync