> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Average Uptime

Get the average time / uptime value for a specified check and time period.

## Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                                                                           |
  | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
  | By Country     | Split response times into country groups.                                                                                                             |
  | By Probe       | Split response times into probe groups.                                                                                                               |
  | Check ID       | -                                                                                                                                                     |
  | From           | Start time of period. Format is UNIX timestamp.                                                                                                       |
  | Include Uptime | Include uptime information.                                                                                                                           |
  | Probes         | Filter to only use results from a list of probes. Format is a comma separated list of probe identifiers. By default result from all probes are shown. |
  | To             | End time of period. Format is UNIX timestamp. Default is the current time.                                                                            |
</div>

## Example Output

```json theme={"dark"}
{
	"summary": {
		"responsetime": {
			"avgresponse": 458,
			"from": 0,
			"to": 1294245226
		},
		"status": {
			"totaldown": 771879,
			"totalunknown": 1240401138,
			"totalup": 53072286
		}
	}
}
```

## Workflow Library Example

[Get Average Uptime with Pingdom and Send Results Via Email](https://library.blinkops.com/workflows/get-average-uptime-with-pingdom-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-average-uptime-with-pingdom-and-send-results-via-email/canvas" />
</div>
