Usage
UsageService provides usage information about environments, users, and projects.
GetAdoptionUsageSummary
GetAgentTraceSummary
GetAgentTraceTimeSeries
GetCoAuthorSummary
GetCoAuthorTimeSeries
GetPrSummary
GetPrTimeSeries
ListEnvironmentUsageRecords
ModelsExpand Collapse
AgentTraceSummary object { byModel, totalLinesAdded, totalLinesAddedTrend, 4 more } AgentTraceSummary contains aggregate totals for a date range.
AgentTraceSummary contains aggregate totals for a date range.
Fractional change in total_lines_added compared to the previous period.
CoAuthorSummary object { byTool, distinctAuthors, distinctAuthorsTrend, 6 more } CoAuthorSummary contains aggregate totals for a date range.
CoAuthorSummary contains aggregate totals for a date range.
Fractional change in distinct_authors compared to the previous period.
Fractional change in total_commits compared to the previous period of equal length. Computed as (current - previous) / previous. Zero when there is no previous data.
CoAuthorTool = "CO_AUTHOR_TOOL_UNSPECIFIED" or "CO_AUTHOR_TOOL_NO_COAUTHOR" or "CO_AUTHOR_TOOL_HUMAN_COAUTHOR" or 6 moreCoAuthorTool identifies the AI tool that co-authored a commit.
UNSPECIFIED (0) is the proto default and must not appear in reported data.
Use HUMAN for commits with no AI co-author.
CoAuthorTool identifies the AI tool that co-authored a commit. UNSPECIFIED (0) is the proto default and must not appear in reported data. Use HUMAN for commits with no AI co-author.
PrSummary object { deploymentFrequency, deploymentFrequencyTrend, leadTimeSeconds, 5 more } PrSummary contains aggregate PR speed metrics for a date range.
PrSummary contains aggregate PR speed metrics for a date range.
Fractional change in deployment_frequency vs previous period. Computed as (current - previous) / previous.
Median lead time for changes in seconds (first commit → merge).
Fractional change in lead_time_seconds vs previous period. Computed as (current - previous) / previous.
Fractional change in prs_merged_count vs previous period. Computed as (current - previous) / previous.
UsageGetAdoptionUsageSummaryResponse object { activeUsersCount, activeUsersTrend, envRuntimePerUserSeconds, 7 more }
Fractional change in active_users_count vs previous period. Computed as (current - previous) / previous.
Average environment runtime in seconds per active user.
Fractional change in env_runtime_per_user_seconds vs previous period. Computed as (current - previous) / previous.
Threshold in seconds used to determine power users. Displayed to users so they understand the definition.
Fractional change in power_users_count vs previous period. Computed as (current - previous) / previous.
Fractional change in sessions_count vs previous period. Computed as (current - previous) / previous.
UsageGetAgentTraceSummaryResponse object { sparkline, summary }
Summary totals and trends for the requested date range.
Summary totals and trends for the requested date range.
Fractional change in total_lines_added compared to the previous period.
UsageGetCoAuthorSummaryResponse object { sparkline, summary }
Summary totals and trends for the requested date range.
Summary totals and trends for the requested date range.
Fractional change in distinct_authors compared to the previous period.
Fractional change in total_commits compared to the previous period of equal length. Computed as (current - previous) / previous. Zero when there is no previous data.
UsageGetPrSummaryResponse object { sparkline, summary }
summary: optional PrSummary { deploymentFrequency, deploymentFrequencyTrend, leadTimeSeconds, 5 more } Summary totals and trends for the requested date range.
Summary totals and trends for the requested date range.
Fractional change in deployment_frequency vs previous period. Computed as (current - previous) / previous.
Median lead time for changes in seconds (first commit → merge).
Fractional change in lead_time_seconds vs previous period. Computed as (current - previous) / previous.
Fractional change in prs_merged_count vs previous period. Computed as (current - previous) / previous.