rethink api