Workspaces
Workspace Voice Consumption
Total voice agent cost of one workspace over a date range, in credits. endDate is inclusive and can be at most 31 days after startDate. The workspace must belong to the API token’s company.
GET
Workspace voice consumption (API token)
Get the total voice cost of one workspace over a date range. The figure is the
sum of the actual cost of every voice agent call in the workspace for the range,
returned in credits.
Use List Workspaces to find the
workspaceId to pass.
API Endpoint
GET/api/v1/global/workspace-voice-consumption/{workspaceId}
Base URL: https://www.tryunleashx.com
Authentication: Required (Token header: token or api_access_token)
Path Parameters
Query Parameters
endDate must be on or after startDate, and no more than 31 days after it.
Success Response
Status Code:200 OK
Response Fields
What Is Counted
- Only calls made by voice agents (agent type 3) in the workspace.
- The cost is the final charged cost of each call, converted to credits in your company’s base currency. Each call is rounded up to a whole credit before it is added, the same way the consumption tables in the app work.
- Calls are matched on the time the call started, inside the date range.
Access Control
The workspace must belong to the company of the API token. A token for one company can never read the consumption of another company’s workspace, and an unknown or foreignworkspaceId returns the same “not found” error.
Errors
Example cURL
Voice cost for November 2026
A single day
Notes
- Use several requests to cover a longer period, for example one per month.
- The result covers voice agent calls only. Chatbot, video and other agent usage is not included.
- The same data is available inside the app at
/api/transactions/workspace-voice-consumption/{workspaceId}for signed-in users, who must also be an active member of the workspace.
Related Operations
- List Workspaces — find the
workspaceId - Campaign Consumption — consumption of a single campaign

