How to obtain the variable information of the ERA5 dataset through CDSAPI?

For the needs of data analysis, I first need to know all the variable information in the ERA5 dataset. Could you please tell me whether I can obtain the information of all variables through CDSAPI, including variable names, variable descriptions, variable units and variable classifications? If it’s possible, could you provide the implementation method of the API interface? Thank you.