---
title: Origin metrics
summary: null
url: >-
  https://www.fastly.com/documentation/reference/api/metrics-stats/origin-inspector
---

The Origin Inspector API provides a standardized set of fields for real-time and historical reporting on origin egress data on Fastly's edge cloud.

- [Origin Inspector Historical API](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-inspector/historical/) - Origin Inspector provides a JSON-formatted historical API for visibility into responses delivered from your origin servers to Fastly. The API offers a standardized set of data to report in minutely, hourly or daily granularity on every origin response, byte, and status code received by a specified service.
- [Origin Inspector Real-time API](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-inspector/real-time/) - Origin Inspector offers a real-time JSON-formatted data stream providing visibility into responses delivered from your origin servers to Fastly. The API offers a standardized set of data to report in real-time every origin response, byte, and status code received by a specified service in one-second periods up to the last complete second.
