Admin methods
Get available metrics
Gets the list of metrics
Code samples
GET
/admin/metricscurl -X GET \
https://cloud-transpiler.quantum.ibm.com/admin/metrics \
-H 'Authorization: Bearer YOUR-TOKEN' \
-H 'Accept: application/json'
import requests
response = requests.request(
"GET",
"https://cloud-transpiler.quantum.ibm.com/admin/metrics",
headers={
"Accept": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN_HERE"
},
)
print(response.json())
Responses
{
"message": "example",
"result": null
}
{
"properties": {
"message": {
"type": "string",
"title": "Message"
},
"result": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Result"
}
},
"type": "object",
"required": [
"message",
"result"
],
"title": "AdminMetricsResponse"
}
Was this page helpful?
Report a bug or request content on GitHub.