@Esteban Andrade There is no direct API to add feedback if an answer is helpful or not helpful.
But, there is a feature called Active Learning which helps improve the alternate questions that can be added to your project or KB as users pose questions to the endpoint. Does this help?
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.