def METHOD_NAME(cvat_project_id: int) -> Dict:
    logger = logging.getLogger("app")
    with ApiClient(configuration) as api_client:
        try:
            for _ in range(5):
                (_, response) = api_client.jobs_api.retrieve_annotations(
                    id=cvat_project_id,
                    action="download",
                    format="CVAT for images 1.1",
                    _parse_response=False,
                )
                if response.status == HTTPStatus.OK:
                    break
            buffer = io.BytesIO(response.data)
            with zipfile.ZipFile(buffer, "r") as zip_file:
                xml_content = zip_file.read("annotations.xml").decode("utf-8")
            annotations = xmltodict.parse(xml_content, attr_prefix="")
            return annotations["annotations"]
        except exceptions.ApiException as e:
            logger.error(f"Exception when calling JobsApi.retrieve_annotations: {e}\n")