API v1
Custom Functions
Custom Functions
Generate Custom Function
AI-generate a custom function from a natural language description. Provide a 'query' describing what the function should do, and optionally 'user_function' (existing code to improve) or 'import_curl' (a cURL command to convert into a function). Returns the generated Python source code.
post/v1/custom_functions/generate
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
Changes
No recorded changes to this operation across all 4 revisions of this API.