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
durationinteger (int64)
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
{
  "updatedAt": "2024-05-08T23:41:58.582Z"
}
curl "https://nest.messagebird.one/workspaces/8bc02f53-87ac-48d2-b4fd-c2cf856a305f/recording-metrics" \
     -H 'Authorization: Bearer {Token}'

Last updated