So How do i make API ?

these weeks i was trying to make API with microflows but in then end it failed when published. so the error was that they don’t use mxagent anymore and i should use Core.metrics(), are they telling me that i should make the api with java now or what this is what i understanded from mendix, i don’t know java   
1 answers

Are you using any third modules from the marketplace in your application or any custom written Java actions? It could be one of those needs updating to use Core.metrics.

Are you able to share your microflows so we can try to track down the problem?