API Key Metrics REST API
The application programming interface (API) Key-based Metrics API is used to fetch the metrics for API Keys across all APIs.
Method: GET
URL:
/v4/abs/apikeys?later_date=<yy-mm-dd>T<hh:mm>&earlier_date==<yy-mm-dd>T<hh:mm>
Header | Value | |
---|---|---|
Access Key |
|
|
Secret Key |
|
|
Sample Response:
{
"company": "ping identity",
"name": "api_key_metrics",
"description": "This report contains a summary and detailed api key
metrics across all APIs",
"earlier_date": "Fri Jan 19 13:00:00:000 2018",
"later_date": "Sat Jan 20 18:00:00:000 2018",
"summary": {
"api_keys": 325,
"total_requests": 329
},
"details": [
{
"api_key": "87FYNG7Q8KP1V03O",
"total_requests": 1,
"ip_list": [
{
"ip": "100.64.5.79",
"total_requests": 1,
"devices": {
"MAC_OS_X": 1
},
"methods": {
"DELETE": 1
},
"urls": {
"/apikeyheader/zipcode": 1
},
"apis": {
"apikeyheader": 1
}
}
]
},
{
"api_key": "NW0ODLM68PFQ3XTL",
"total_requests": 1,
"ip_list": [
{
"ip": "100.64.20.62",
"total_requests": 1,
"devices": {
"WINDOWS_XP": 1
},
"methods": {
"DELETE": 1
},
"urls": {
"/apikeyheader/zipcode": 1
},
"apis": {
"apikeyheader": 1
}
}
]
},
{
"api_key": "86ELLUSN6RAHEPF7",
"total_requests": 1,
"ip_list": [
{
"ip": "100.64.17.79",
"total_requests": 1,
"devices": {
"MAC_OS_X": 1
},
"methods": {
"GET": 1
},
"urls": {
"/apikeyheader/zipcode": 1
},
"apis": {
"apikeyheader": 1
}
}
]
},
{
"api_key": "5JSKZZ53TGBQZ8V2",
"total_requests": 1,
"ip_list": [
{
"ip": "100.64.33.183",
"total_requests": 1,
"devices": {
"WINDOWS_7": 1
},
"methods": {
"POST": 1
},
"urls": {
"/apikeyheader/login": 1
},
"apis": {
"apikeyheader": 1
}
}
]
}
]
}