Codeunit 4333 Agent Consumption Overview

System Application, System.Agents

Source AL, 66 lines

src/System Application/App/Agent/Monetization/AgentConsumptionOverview.Codeunit.allines 8 to 23 of 66, Copyright (c) Microsoft Corporation. MIT

codeunit 4333 "Agent Consumption Overview"{    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata "Agent Task" = r;    /// <summary>    /// Gets the total Copilot credits consumed by the agent task.    /// </summary>    /// <param name="TaskId">The ID of the agent task to get consumed credits for.</param>    /// <returns>The total Copilot credits consumed by the agent task.</returns>    procedure GetCopilotCreditsConsumed(TaskId: BigInteger): Decimal    var        AgentUtilities: Codeunit "Agent Utilities";    begin        if TaskId = 0 then

All 66 lines

Public procedures 4 in 29

GetCopilotCreditsConsumed(TaskId: BigInteger): Decimalnew in 28
OpenAgentConsumptionOverview(AgentUserSecurityId: Guid)new in 28
OpenAgentTaskConsumptionOverview(TaskId: BigInteger)new in 28
OpenAgentTaskConsumptionOverview(TaskIDFilter: Text)new in 28