Files
letta-server/fern/python-reference/LettaUsageStatistics.mdx
2025-09-09 09:35:12 -07:00

21 lines
524 B
Plaintext

---
slug: python-reference/LettaUsageStatistics
---
<a id="letta.schemas.usage.LettaUsageStatistics"></a>
## LettaUsageStatistics
```python
class LettaUsageStatistics(BaseModel)
```
Usage statistics for the agent interaction.
**Attributes**:
- `completion_tokens` _int_ - The number of tokens generated by the agent.
- `prompt_tokens` _int_ - The number of tokens in the prompt.
- `total_tokens` _int_ - The total number of tokens processed by the agent.
- `step_count` _int_ - The number of steps taken by the agent.