Generate UI code for activity
ActivityDefinition
Generate UI code for activity
Generate React component UI code using AI:
Required Parameters:
inputs: Array of input field definitionsmodel: AI model for code generationprovider: AI provider (“openai” or “anthropic”)
Optional Parameters:
notes: Additional instructions for the UIcalcCode: Existing calculation code to inform generation
Uses AI to automatically generate React component code that creates input forms based on the activity’s input schema. Generated code can be customized as needed.
POST
Generate UI code for activity
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json

