> ## 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 title="Get Active Environments Count" href="/docs/api-reference/generated/usage/get-active-environments-count">
  Gets the count of active environments in the specified date range.
</Card>

<Card title="Get Active Environments Time Series" href="/docs/api-reference/generated/usage/get-active-environments-time-series">
  Gets the active environments time series in the specified date range, aggregated by the specified resolution.
</Card>

<Card title="Get Active Users Count" href="/docs/api-reference/generated/usage/get-active-users-count">
  Gets the count of active users.
</Card>

<Card title="Get Active Users Time Series" href="/docs/api-reference/generated/usage/get-active-users-time-series">
  Gets active users time series in the specified date range, aggregated by the specified resolution.
</Card>

<Card title="Get Adoption Usage Summary" href="/docs/api-reference/generated/usage/get-adoption-usage-summary">
  Gets a summary of adoption and usage metrics.
</Card>

<Card title="Get Agent Trace Summary" href="/docs/api-reference/generated/usage/get-agent-trace-summary">
  Gets aggregated agent trace summary for the organization or a specific project.
</Card>

<Card title="Get Agent Trace Time Series" href="/docs/api-reference/generated/usage/get-agent-trace-time-series">
  Gets agent trace data as a time series.
</Card>

<Card title="Get Co Author Summary" href="/docs/api-reference/generated/usage/get-co-author-summary">
  Gets aggregated co-author summary for the organization or a specific project.
</Card>

<Card title="Get Co Author Time Series" href="/docs/api-reference/generated/usage/get-co-author-time-series">
  Gets co-author contribution data as a time series.
</Card>

<Card title="Get Environment Runtime" href="/docs/api-reference/generated/usage/get-environment-runtime">
  Gets the total runtime of all environments in the specified date range.
</Card>

<Card title="Get Environment Runtime Time Series" href="/docs/api-reference/generated/usage/get-environment-runtime-time-series">
  Gets the total runtime time series in the specified date range, aggregated by the specified resolution.
</Card>

<Card title="Get Environment Sessions Time Series" href="/docs/api-reference/generated/usage/get-environment-sessions-time-series">
  Gets the environment sessions time series in the specified date range, aggregated by the specified resolution.
</Card>

<Card title="Get Pr Summary" href="/docs/api-reference/generated/usage/get-pr-summary">
  Gets aggregated PR speed summary for the organization or a specific project.
</Card>

<Card title="Get Pr Time Series" href="/docs/api-reference/generated/usage/get-pr-time-series">
  Gets PR speed metrics as a time series.
</Card>

<Card title="Get Top Active Users" href="/docs/api-reference/generated/usage/get-top-active-users">
  Gets the top active users based on total runtime.
</Card>

<Card title="Get Top Environment Classes" href="/docs/api-reference/generated/usage/get-top-environment-classes">
  Gets the top environment classes by total runtime in the specified date range.
</Card>

<Card title="Get Top Projects" href="/docs/api-reference/generated/usage/get-top-projects">
  Gets the top projects by total environment runtime in the specified date range.
</Card>

<Card title="List Environment Usage Records" href="/docs/api-reference/generated/usage/list-environment-usage-records">
  Lists completed environment runtime records within a specified date range.
</Card>
