All Products
Search
Document Center

ApsaraVideo Live:DescribeLiveRtcRecordUsageData

Last Updated:Dec 05, 2025

Queries the usage data of cloud recording.

Operation description

  • Returns daily statistics on the recording duration for different cloud recording specifications.

  • You can query data at the application level for ApsaraVideo Real-time Communication.

QPS limit

The queries per second (QPS) limit for a single user is 10 calls per second for this API. If you exceed the limit, API calls are throttled, which may affect your business. We recommend that you make API calls at a reasonable rate.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

StartTime

string

Yes

The start time to query data. The format is yyyy-MM-ddTHH:mm:ssZ (UTC).

2017-12-21T08:00:00Z

EndTime

string

Yes

The end time. The query time range must be greater than or equal to 5 minutes and less than or equal to 31 days. The format is yyyy-MM-ddTHH:mm:ssZ (UTC).

2022-10-10T21:00:00Z

AppId

string

Yes

The ID of the ApsaraVideo Real-time Communication application. For more information, see Application Management.

intl7f92-a5a8*************7ce4eb44a6

RecordMode

string

Yes

The recording mode:

  • 0: Single-stream recording.

  • 1: Stream mixing recording.

0

Interval

string

No

The time granularity to query data. Unit: seconds. Valid values:

  • 3600 (default)

  • 86400

3600

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The ID of the request.

16A96B9A-F2*************B92E68F4CD8

RecordMode

string

The recording mode.

  • 0: Single-stream recording.

  • 1: Stream mixing recording.

0

AppId

string

The ID of the ApsaraVideo Real-time Communication application that was queried.

7fd341b3-c6fa-43e1-96b8-7295a1dd****

TotalSummaryDuration

number

The total duration. Unit: seconds.

150

AudioSummaryDuration

number

The total duration of audio-only recordings. Unit: seconds.

20

V480SummaryDuration

number

The total duration of videos with a resolution of 480p or lower. Unit: seconds.

30

V720SummaryDuration

number

The total duration of videos with a resolution of 720p or lower. Unit: seconds.

40

V1080SummaryDuration

number

The total duration of videos with a resolution higher than 720p, including 1080p. Unit: seconds.

10

Data

array<object>

The usage statistics.

object

The usage statistics.

Timestamp

string

The timestamp of the data point. The format is yyyy-MM-ddTHH:mm:ssZ (UTC).

2022-10-10T20:00:00Z

TotalDuration

number

The total duration. Unit: seconds.

150

AudioDuration

number

The duration of audio-only recordings. Unit: seconds.

20

V480Duration

number

The duration of videos with a resolution of 480p or lower. Unit: seconds.

30

V720Duration

number

The duration of videos with a resolution of 720p or lower. Unit: seconds.

40

V1080Duration

number

The duration of videos with a resolution higher than 720p. Unit: seconds.

10

Examples

Success response

JSON format

{
  "RequestId": "16A96B9A-F2*************B92E68F4CD8",
  "RecordMode": "0",
  "AppId": "7fd341b3-c6fa-43e1-96b8-7295a1dd****",
  "TotalSummaryDuration": 150,
  "AudioSummaryDuration": 20,
  "V480SummaryDuration": 30,
  "V720SummaryDuration": 40,
  "V1080SummaryDuration": 10,
  "Data": [
    {
      "Timestamp": "2022-10-10T20:00:00Z",
      "TotalDuration": 150,
      "AudioDuration": 20,
      "V480Duration": 30,
      "V720Duration": 40,
      "V1080Duration": 10
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidStartTime.ValueNotSupported The specified value of parameter StartTime is not supported. The value specified for the StartTime parameter is invalid.
400 InvalidEndTime.Mismatch Specified end time does not math the specified start time. The end time does not match the start time. Make sure that the start and end times match.
400 InvalidRecordModeParameter RecordMode parameter error. RecordMode parameter error
400 InvalidAppIdParameter AppId parameter error. AppId parameter error
400 InvalidTimeSpan The time span exceeds the limit. The time span exceeds the limit. Please refer to the API documentation to specify a reasonable time span.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.