API Reference | Validate an action