Actions42
- Agent Actions
- Channel Actions
- Chat Actions
- Intention Actions
- Interaction Actions
- Training Actions
- Workspace Actions
Agent → Get Credits Spent
AI-generatedSummary
Retrieve credits spent for an agent.
Inputs
- agentId (required) — Select the agent. Choose from the list, or specify an ID using an expression.
- creditsSpentDate — Optional date filter. Internally sent as year, month, and day.
Output shape
API response from GET /v2/agent/{agentId}/credits-spent
Optional date filter sends year, month, day as query parameters.
Examples
Example 1: Get total credits spent for an agent.
Set Agent Name or ID; leave Date blank.