<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[agents](../../) / [Exports](../modules) / AggregatedUsageStats

# Interface: AggregatedUsageStats

Aggregated usage statistics

## Table of contents

### Properties

- [totalRequests](AggregatedUsageStats#totalrequests)
- [totalTokens](AggregatedUsageStats#totaltokens)
- [totalCost](AggregatedUsageStats#totalcost)
- [totalDuration](AggregatedUsageStats#totalduration)
- [successRate](AggregatedUsageStats#successrate)
- [providerStats](AggregatedUsageStats#providerstats)
- [modelStats](AggregatedUsageStats#modelstats)
- [toolStats](AggregatedUsageStats#toolstats)
- [timeRangeStats](AggregatedUsageStats#timerangestats)

## Properties

### totalRequests

• **totalRequests**: `number`

#### Defined in

[packages/agents/src/plugins/usage/types.ts:36](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/usage/types.ts#L36)

---

### totalTokens

• **totalTokens**: `number`

#### Defined in

[packages/agents/src/plugins/usage/types.ts:37](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/usage/types.ts#L37)

---

### totalCost

• **totalCost**: `number`

#### Defined in

[packages/agents/src/plugins/usage/types.ts:38](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/usage/types.ts#L38)

---

### totalDuration

• **totalDuration**: `number`

#### Defined in

[packages/agents/src/plugins/usage/types.ts:39](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/usage/types.ts#L39)

---

### successRate

• **successRate**: `number`

#### Defined in

[packages/agents/src/plugins/usage/types.ts:40](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/usage/types.ts#L40)

---

### providerStats

• **providerStats**: `Record`\<`string`, \{ `requests`: `number` ; `tokens`: `number` ; `cost`: `number` ; `duration`: `number` }\>

#### Defined in

[packages/agents/src/plugins/usage/types.ts:41](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/usage/types.ts#L41)

---

### modelStats

• **modelStats**: `Record`\<`string`, \{ `requests`: `number` ; `tokens`: `number` ; `cost`: `number` ; `duration`: `number` }\>

#### Defined in

[packages/agents/src/plugins/usage/types.ts:47](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/usage/types.ts#L47)

---

### toolStats

• **toolStats**: `Record`\<`string`, \{ `usageCount`: `number` ; `successCount`: `number` ; `totalDuration`: `number` }\>

#### Defined in

[packages/agents/src/plugins/usage/types.ts:53](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/usage/types.ts#L53)

---

### timeRangeStats

• **timeRangeStats**: `Object`

#### Type declaration

| Name        | Type     |
| :---------- | :------- |
| `startTime` | `Date`   |
| `endTime`   | `Date`   |
| `period`    | `string` |

#### Defined in

[packages/agents/src/plugins/usage/types.ts:58](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/usage/types.ts#L58)
