title | shortTitle | intro | versions | redirect_from | |||
---|---|---|---|---|---|---|---|
Requesting Server Statistics using the REST API |
Server Statistics and REST API |
You can use your own tools to analyze your {% data variables.product.prodname_ghe_server %} usage over time by requesting the {% data variables.product.prodname_server_statistics %} metrics collected using the REST API. |
|
|
You can request up to 365 days of metrics in a single {% data variables.product.prodname_server_statistics %} REST API request. This data, which includes aggregate metrics on repositories, issues, and pull requests, can help you anticipate the needs of your organization, understand how your team works, and show the value you get from {% data variables.product.prodname_ghe_server %}. For a list of the metrics collected, see AUTOTITLE.
Before you can use the {% data variables.product.prodname_server_statistics %} REST API, you must enable {% data variables.product.prodname_server_statistics %}. For more information, see AUTOTITLE.
For more information about using the REST API to request server statistics, see AUTOTITLE in the {% data variables.product.prodname_ghe_cloud %} documentation.