summarize api call for generic.js