To elaborate Sebastian suggestion. Follow below steps.
Create new dashboard add CPU utilization measure --> split specific host name --> save dashboard --> choose appropriate chart type & save it.
access below URL for rest api
You can change file type as per your need.
I got you,
jut try hitting
after saving token authentication in the header.
If you still face any issue with this, reach me out at "email@example.com", I'll be happy to help you out with this because it's very frustrating to look out for custom APIs.
Note: i am not able to share link here, that's why i inserted the image