add an API to retrieve thing