def get_subject_compatibility_level(self, subject):
        """
        Gets the compatibility level for the given subject.
        """
        res = requests.get(self._url('/config/{}', subject), headers=HEADERS)
        raise_if_failed(res)
        return res.json()['compatibility']