Codeunit "Agent Consumption Overview"
ID 4333
Namespace: System.Agents
Properties
| Name | Value |
|---|---|
| InherentEntitlements | X |
| InherentPermissions | X |
| Permissions | tabledata "Agent Task" = r, tabledata "User AI Consumption Data" = r |
Methods
GetCopilotCreditsConsumed
Gets the total Copilot credits consumed by the agent task.
procedure GetCopilotCreditsConsumed(TaskId: BigInteger): Decimal
Parameters
| Name | Type | Description |
|---|---|---|
| TaskId | BigInteger |
The ID of the agent task to get consumed credits for. |
Returns
| Type | Description |
|---|---|
| Decimal |
The total Copilot credits consumed by the agent task. |
OpenAgentConsumptionOverview
Opens the agent consumption overview page for the specified agent.
procedure OpenAgentConsumptionOverview(AgentUserSecurityId: Guid)
Parameters
| Name | Type | Description |
|---|---|---|
| AgentUserSecurityId | Guid |
The agent user security ID. |
OpenAgentTaskConsumptionOverview
Opens the agent consumption overview page for the specified agent task.
procedure OpenAgentTaskConsumptionOverview(TaskId: BigInteger)
Parameters
| Name | Type | Description |
|---|---|---|
| TaskId | BigInteger |
The ID of the agent task. |
OpenAgentTaskConsumptionOverview
Opens the agent consumption overview page for the agent tasks matching the specified filter.
procedure OpenAgentTaskConsumptionOverview(TaskIDFilter: Text)
Parameters
| Name | Type | Description |
|---|---|---|
| TaskIDFilter | Text |
The filter for the agent task IDs. |