When should I make an API input "required"?

I've been wondering about the best practices when it comes to setting API inputs in Xano. In some cases, it seems like having an input as "required" adds an extra layer of validation, but does this slow down flexibility when I might want to handle missing values dynamically? Would it be more efficient to make inputs "optional" and handle the validation on my side, ensuring the correct values are passed? What are the pros and cons of both approaches in terms of performance and error handling?

2 replies