AgentRunResponse.Usage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the resource usage information for generating this response.
public Microsoft.Extensions.AI.UsageDetails? Usage { get; set; }
member this.Usage : Microsoft.Extensions.AI.UsageDetails with get, set
Public Property Usage As UsageDetails
Property Value
A UsageDetails instance containing token counts and other usage metrics,
or null if usage information is not available.