Get API key usage statistics
curl --request GET \
--url https://olive-gateway-a6ba.onrender.com/api/v1/api-keys/{id}/stats \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/api-keys/{id}/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/api-keys/{id}/stats"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){}{}API Keys
Get API key usage statistics
Get usage statistics for an API key. Processors can only view stats for their own API key.
GET
/
api-keys
/
{id}
/
stats
Get API key usage statistics
curl --request GET \
--url https://olive-gateway-a6ba.onrender.com/api/v1/api-keys/{id}/stats \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/api-keys/{id}/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/api-keys/{id}/stats"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){}{}⌘I