Metrics and stats-Historical Stats

Number of APIs: 9

  1. Get usage statistics per service GET {{fastly_url}}/stats/usage_by_service?from&to

  2. Get historical stats GET {{fastly_url}}/stats?by&from&region&to

  3. Get historical stats for a single field GET {{fastly_url}}/stats/field/{{field}}?by&from&region&to

  4. Get aggregated historical stats GET {{fastly_url}}/stats/aggregate?by&from&region&to

  5. Get historical stats for a single service GET {{fastly_url}}/stats/service/{{service_id}}?by&from&region&to

  6. Get historical stats for a single service/field combination GET {{fastly_url}}/stats/service/{{service_id}}/field/{{field}}?by&from&region&to

  7. Get usage statistics GET {{fastly_url}}/stats/usage?from&to

  8. Get month-to-date usage statistics GET {{fastly_url}}/stats/usage_by_month?billable_units&month&year

  9. Get region codes GET {{fastly_url}}/stats/regions