LettaAPI.Model.LettaUsageStatistics (letta_api v1.0.0)

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.

Summary

Types

t()

@type t() :: %LettaAPI.Model.LettaUsageStatistics{
  completion_tokens: integer() | nil,
  message_type: String.t() | nil,
  prompt_tokens: integer() | nil,
  run_ids: [String.t()] | nil,
  step_count: integer() | nil,
  steps_messages: [[LettaAPI.Model.Message.t()]] | nil,
  total_tokens: integer() | nil
}

Functions

decode(value)