api: handle uncached labels the way main headlines function does it