List recording storage metrics

Recording Storage Metrics are data related to the call recordings in a given workspace. We charge for recording storage on a per-byte basis.

This endpoint provides details on the storage usage for charging calculation.

In order to retrieve recording storage metrics, you can use the following endpoint:

List recording storage metrics

List recordings metrics

GET/workspaces/{workspaceId}/recording-metrics
Authorization
Path parameters
workspaceId*string
Query parameters
Response

OK

Body
counterinteger (int64)
dailyStorageUsageobject
updatedAtstring (date-time)
Request
const response = await fetch('/workspaces/{workspaceId}/recording-metrics', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer jwt"
    },
});
const data = await response.json();
Response
{
  "counter": 0,
  "updatedAt": "2024-12-21T12:16:16.290Z"
}
curl "/workspaces/{workspaceId}/recording-metrics" \
     -H 'Authorization: Bearer {Token}'

Last updated