added documentation for api call