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

# Usage

> UsageService provides usage information about environments, users, and projects.

UsageService provides usage information about environments, users, and projects.

## Methods

> [card] [Get Active Environments Count](https://ona.com/docs/api-reference/generated/usage/get-active-environments-count.md)
>
> Gets the count of active environments in the specified date range.

> [card] [Get Active Environments Time Series](https://ona.com/docs/api-reference/generated/usage/get-active-environments-time-series.md)
>
> Gets the active environments time series in the specified date range, aggregated by the specified resolution.

> [card] [Get Active Users Count](https://ona.com/docs/api-reference/generated/usage/get-active-users-count.md)
>
> Gets the count of active users.

> [card] [Get Active Users Time Series](https://ona.com/docs/api-reference/generated/usage/get-active-users-time-series.md)
>
> Gets active users time series in the specified date range, aggregated by the specified resolution.

> [card] [Get Adoption Usage Summary](https://ona.com/docs/api-reference/generated/usage/get-adoption-usage-summary.md)
>
> Gets a summary of adoption and usage metrics.

> [card] [Get Agent Trace Summary](https://ona.com/docs/api-reference/generated/usage/get-agent-trace-summary.md)
>
> Gets aggregated agent trace summary for the organization or a specific project.

> [card] [Get Agent Trace Time Series](https://ona.com/docs/api-reference/generated/usage/get-agent-trace-time-series.md)
>
> Gets agent trace data as a time series.

> [card] [Get Co Author Summary](https://ona.com/docs/api-reference/generated/usage/get-co-author-summary.md)
>
> Gets aggregated co-author summary for the organization or a specific project.

> [card] [Get Co Author Time Series](https://ona.com/docs/api-reference/generated/usage/get-co-author-time-series.md)
>
> Gets co-author contribution data as a time series.

> [card] [Get Environment Runtime](https://ona.com/docs/api-reference/generated/usage/get-environment-runtime.md)
>
> Gets the total runtime of all environments in the specified date range.

> [card] [Get Environment Runtime Time Series](https://ona.com/docs/api-reference/generated/usage/get-environment-runtime-time-series.md)
>
> Gets the total runtime time series in the specified date range, aggregated by the specified resolution.

> [card] [Get Environment Sessions Time Series](https://ona.com/docs/api-reference/generated/usage/get-environment-sessions-time-series.md)
>
> Gets the environment sessions time series in the specified date range, aggregated by the specified resolution.

> [card] [Get Pr Summary](https://ona.com/docs/api-reference/generated/usage/get-pr-summary.md)
>
> Gets aggregated PR speed summary for the organization or a specific project.

> [card] [Get Pr Time Series](https://ona.com/docs/api-reference/generated/usage/get-pr-time-series.md)
>
> Gets PR speed metrics as a time series.

> [card] [Get Top Active Users](https://ona.com/docs/api-reference/generated/usage/get-top-active-users.md)
>
> Gets the top active users based on total runtime.

> [card] [Get Top Environment Classes](https://ona.com/docs/api-reference/generated/usage/get-top-environment-classes.md)
>
> Gets the top environment classes by total runtime in the specified date range.

> [card] [Get Top Projects](https://ona.com/docs/api-reference/generated/usage/get-top-projects.md)
>
> Gets the top projects by total environment runtime in the specified date range.

> [card] [List Environment Usage Records](https://ona.com/docs/api-reference/generated/usage/list-environment-usage-records.md)
>
> Lists completed environment runtime records within a specified date range.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.