API v1
Custom Functions
Custom Functions CRUD
Create Custom Function
Create a new custom function. Provide a name, optional description, and Python source code. The code must define a function called xpander_run_action(...) that will be executed when the function is invoked. After creation, the function is automatically analyzed for safety and input schema extraction. Status will transition from 'analysing' to 'ready' once analysis completes.
post/v1/custom_functions
Request
- Base URLhttps://api.xpander.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-api-key
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 5 revisions of this API.