Query Transcoding Duration
Query total accumulated transcoding hours per interval during the selected period. Each running process contributes 1 hour per actual hour of execution.
Request
Request-Line
Get /lls/v1.0/analytics/transcoding/queryTranscodingHours
Request Parameters
Query Parameters
Parameter | Type | Required | Description |
---|---|---|---|
domain | String | Mandatory | Ingest domain name |
app | String | Optional | Application name |
stream | String | Optional | Stream name |
region | String | Optional | country code of the ingest node. refer to ISO 3166-1 Alpha-2. |
started | Timestamp | Optional | Timestamp of started time in UTC timezone. |
ended | Timestamp | Optional | Timestamp of ended time in UTC timezone. |
Response
Response Body
Parameter | Type | Required | Description |
---|---|---|---|
domain | String | Mandatory | Ingest domain name |
app | String | Optional | Application name |
stream | String | Optional | Stream name |
started | Timestamp | Optional | Timestamp of started time in UTC timezone. |
ended | Timestamp | Optional | Timestamp of ended time in UTC timezone. |
data | Array | Mandatory | Array of Data Object |
Object: Data
Parameter | Type | Required | Description |
---|---|---|---|
timestamp | Timestamp | Mandatory | Exampling timestamp in UTC timezone. |
transcodingHours | Float | Mandatory | total number of transcoding duration. Unit is Hour |
Status Codes, Error Codes and Error Messages
Status Code | Error Code | Error Message |
---|---|---|
400 | LLS.Analytics.InvalidTimestamp | Timestamp is empty or invalid. |
Examples
Query real-time transcoding duration
Request
Get /lls/v1.0/analytics/transcoding/queryTranscodingHours?domain=ingest.example.com&app=demoapp HTTP/1.1
Successful Response Body
{
"domain": "ingest.example.com",
"app": "demoapp",
"data": [
{
"timestamp": "20250518T173000Z",
"transcodingHours": 4.8
}
]
}
Query transcoding duration in specified time range
Request
Get /lls/v1.0/analytics/transcoding/queryTranscodingHours?domain=ingest.example.com&app=demoapp&started=20250518T173000Z&ended=20250518T180000Z HTTP/1.1
Successful Response Body
{
"domain": "ingest.example.com",
"app": "demoapp",
"started": "20250518T173000Z",
"ended": "20250518T180000Z",
"data": [
{
"timestamp": "20250518T173000Z",
"transcodingHours": 4.8
},
{
"timestamp": "20250518T173500Z",
"transcodingHours": 5.2
},
{
"timestamp": "20250518T174000Z",
"transcodingHours": 7.2
},
{
"timestamp": "20250518T174500Z",
"transcodingHours": 8.0
},
{
"timestamp": "20250518T175000Z",
"transcodingHours": 7.6
},
{
"timestamp": "20250518T175500Z",
"transcodingHours": 8.4
},
{
"timestamp": "20250518T18000Z",
"transcodingHours": 8.8
}
]
}
Best Practices
Rate Limiting
Rate Limits
Rate limiting is posed upon the API, please kindly check your API calls to ensure complying with the rate limit below:
- 100 requests per minute
- 1000 requests per hour