You need to enable JavaScript to run this app.
Volcengine Managed Service for Prometheus

Volcengine Managed Service for Prometheus

Copy page
Download PDF
Calling method
Response structure
Copy page
Download PDF
Response structure
Each response from OpenAPIs will carry fields such as RequestId, Action, Version, Service, and Region.​
Normal response samples​
A request ID and response parameters will be returned if the API is called successfully. The HTTP status code will be 2xx. Example:​
​
HTTP/1.1 200 OK​
Content-Type:application/json​
{​
"ResponseMetadata": {​
"RequestId": "202211302208xxxx",​
"Action": "CreateWorkspace",​
"Version": "2021-03-03",​
"Service": "vmp",​
"Region": "cn-beijing"​
},​
"Result": {​
"Id": " e28ae750-bbb8-4ff4-abf4-1e0e0f88808c"​
}​
}​
​
Error response samples​
A request ID and error message will be returned if errors occur when calling the API. The HTTP status code will be 4xx or 5xx. Example:​
​
{​
"ResponseMetadata": {​
"RequestId": "202010201722300102****",​
"Action": "DeleteWorkspace",​
"Version": "2021-03-03",​
"Service": "vmp",​
"Region": "cn-beijing",​
"Error": {​
"Code": "NotFound.Workspace",​
"Message": "The specified Workspace demo is not found."​
}​
}​
}​
​
tip​
You can troubleshoot errors based on the API error information Code and Message, and by referring to Pulibc error codes and the error codes of the specific API. ​
​
Last updated: 2026.07.10 11:12:04