ap_validate_step_config
ap_validate_step_configValidate a step configuration before applying it. Returns field-level errors without modifying any flow. Use this to check your config is correct before calling ap_update_step or ap_update_trigger.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | For PIECE steps requiring auth: any non-empty string indicates auth is provided. | |
| input | No | For PIECE_ACTION/PIECE_TRIGGER: the input config to validate (key-value pairs). | |
| settings | No | For ROUTER: raw router settings including branches and executionType. | |
| stepType | Yes | The type of step to validate. | |
| loopItems | No | For LOOP_ON_ITEMS: expression for items to iterate over. | |
| pieceName | No | For PIECE_ACTION/PIECE_TRIGGER: piece name (e.g. "slack" or "@activepieces/piece-slack"). | |
| actionName | No | For PIECE_ACTION: action name (e.g. "send_channel_message"). | |
| sourceCode | No | For CODE: the JavaScript/TypeScript source code. | |
| packageJson | No | For CODE: package.json content as JSON string. | |
| triggerName | No | For PIECE_TRIGGER: trigger name (e.g. "new_mention"). |