Gets traffic usage data for selected period
GET<your-unleash-url>/api/admin/metrics/traffic/:period
Gets traffic usage data numbers per API for a period given by the parameter
Request
Responses
- 200
trafficUsageDataSegmentedSchema
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '<your-unleash-url>/api/admin/metrics/traffic/:period' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>'
ResponseClear