Files
letta-server/fern/python-reference/LettaUsageStatistics.mdx
Kian Jones b8e9a80d93 merge this (#4759)
* wait I forgot to comit locally

* cp the entire core directory and then rm the .git subdir
2025-09-17 15:47:40 -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.