Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public enum GetWAnalyticsExportTable
/// </summary>
ActiveUsers,
/// <summary>
/// Top agents by message count.
/// Top agents by message count, including credits.
/// </summary>
Agents,
/// <summary>
Expand Down
8 changes: 4 additions & 4 deletions src/libs/Dust/Generated/Dust.Models.PrivateAgentMessage.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,13 @@ public sealed partial class PrivateAgentMessage
public global::System.Collections.Generic.IList<global::Dust.PrivateReaction>? Reactions { get; set; }

/// <summary>
/// Cost of producing this agent message, in AWU credits (intelligence + tool credits). Null when no billable usage is attributed to the message.
/// Cost of producing this agent message, in credits (intelligence + tool credits). Null when no billable usage is attributed to the message.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("costCredits")]
public int? CostCredits { get; set; }

/// <summary>
/// Aggregated AWU credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise.
/// Aggregated credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("subAgentCostCredits")]
public double? SubAgentCostCredits { get; set; }
Expand Down Expand Up @@ -198,10 +198,10 @@ public sealed partial class PrivateAgentMessage
/// <param name="completionDurationMs"></param>
/// <param name="reactions"></param>
/// <param name="costCredits">
/// Cost of producing this agent message, in AWU credits (intelligence + tool credits). Null when no billable usage is attributed to the message.
/// Cost of producing this agent message, in credits (intelligence + tool credits). Null when no billable usage is attributed to the message.
/// </param>
/// <param name="subAgentCostCredits">
/// Aggregated AWU credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise.
/// Aggregated credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise.
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ public sealed partial class PrivateLightAgentMessage
public int? CompletionDurationMs { get; set; }

/// <summary>
/// Cost of producing this agent message, in AWU credits (intelligence + tool credits). Null when no billable usage is attributed to the message.
/// Cost of producing this agent message, in credits (intelligence + tool credits). Null when no billable usage is attributed to the message.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("costCredits")]
public int? CostCredits { get; set; }

/// <summary>
/// Aggregated AWU credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise.
/// Aggregated credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("subAgentCostCredits")]
public double? SubAgentCostCredits { get; set; }
Expand Down Expand Up @@ -179,10 +179,10 @@ public sealed partial class PrivateLightAgentMessage
/// <param name="richMentions"></param>
/// <param name="completionDurationMs"></param>
/// <param name="costCredits">
/// Cost of producing this agent message, in AWU credits (intelligence + tool credits). Null when no billable usage is attributed to the message.
/// Cost of producing this agent message, in credits (intelligence + tool credits). Null when no billable usage is attributed to the message.
/// </param>
/// <param name="subAgentCostCredits">
/// Aggregated AWU credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise.
/// Aggregated credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise.
/// </param>
/// <param name="activitySteps"></param>
/// <param name="reactions"></param>
Expand Down
10 changes: 5 additions & 5 deletions src/libs/Dust/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"in": "query",
"name": "table",
"required": true,
"description": "The analytics table to export:\n- \"usage_metrics\": Messages, conversations, and active users over time.\n- \"active_users\": Daily, weekly, and monthly active user counts.\n- \"source\": Message volume by context origin (web, slack, etc.).\n- \"agents\": Top agents by message count.\n- \"users\": Top users by message count.\n- \"skills\": Skill metadata catalog.\n- \"skill_usage\": Skill executions and unique users over time.\n- \"tool_usage\": Tool executions and unique users over time.\n- \"messages\": Detailed message-level logs.\n- \"feedback\": Detailed message-level feedback (thumbs, content, conversation URL).\n",
"description": "The analytics table to export:\n- \"usage_metrics\": Messages, conversations, and active users over time.\n- \"active_users\": Daily, weekly, and monthly active user counts.\n- \"source\": Message volume by context origin (web, slack, etc.).\n- \"agents\": Top agents by message count, including credits.\n- \"users\": Top users by message count, including credits.\n- \"skills\": Skill metadata catalog.\n- \"skill_usage\": Skill executions and unique users over time.\n- \"tool_usage\": Tool executions and unique users over time.\n- \"messages\": Detailed message-level logs.\n- \"feedback\": Detailed message-level feedback (thumbs, content, conversation URL).\n",
"schema": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -10462,12 +10462,12 @@
"costCredits": {
"type": "integer",
"nullable": true,
"description": "Cost of producing this agent message, in AWU credits (intelligence + tool credits). Null when no billable usage is attributed to the message."
"description": "Cost of producing this agent message, in credits (intelligence + tool credits). Null when no billable usage is attributed to the message."
},
"subAgentCostCredits": {
"type": "number",
"nullable": true,
"description": "Aggregated AWU credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise."
"description": "Aggregated credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise."
}
}
},
Expand Down Expand Up @@ -10613,12 +10613,12 @@
"costCredits": {
"type": "integer",
"nullable": true,
"description": "Cost of producing this agent message, in AWU credits (intelligence + tool credits). Null when no billable usage is attributed to the message."
"description": "Cost of producing this agent message, in credits (intelligence + tool credits). Null when no billable usage is attributed to the message."
},
"subAgentCostCredits": {
"type": "number",
"nullable": true,
"description": "Aggregated AWU credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise."
"description": "Aggregated credit cost of all sub-agents (run_agent / agent_handover) spawned recursively by this message. Computed only on single-message fetches; null otherwise."
},
"activitySteps": {
"type": "array",
Expand Down