Skip to main content
ConcurrencyGet time-series concurrency metrics for a product.
TestMu AI
StatusCommunityBlog
Concurrency

Get time-series concurrency metrics for a product.

Returns time-bucketed concurrency usage metrics for the specified product. Each bucket contains the maximum concurrent sessions, queued sessions, allowed concurrency, and queue limit observed in that interval. Product (required): One of automation, hyperexecute, app-automation, realtime, realdevice. The value is case-sensitive. Date range: Defaults to the last 7 days when no timestamps are provided. The maximum allowed span per API call is 31 days. Granularity: Controls the width of each time bucket. Valid values are 10m, 1h, 6h, 12h, 1d. Defaults to 10m if omitted. Coarser values (e.g. 1h, 6h) can be passed explicitly for fewer, wider buckets. Timezone: Shifts bucket boundaries to the specified UTC offset (format +HH:MM or -HH:MM, e.g. +05:30 for IST). Defaults to +00:00 (UTC). Named timezones (e.g. IST) are not accepted.

GET
/concurrency
Get time-series concurrency metrics for a product.
curl --request GET \
--url "https://api.lambdatest.com/insights/api/v3/public/concurrency" \
--header "Authorization: Basic <encoded-value>"
{
"status": "success",
"data": [
{
"timestamp": "2026-03-03T00:00:00Z",
"product": "automation",
"max_concurrency": 42,
"max_queued": 3,
"max_allowed_concurrency": 50,
"max_queued_limit": 150
},
{
"timestamp": "2026-03-03T00:10:00Z",
"product": "automation",
"max_concurrency": 38,
"max_queued": 0,
"max_allowed_concurrency": 50,
"max_queued_limit": 150
}
],
"metadata": {
"granularity": "10m",
"product": "automation",
"total_buckets": 1008,
"date_range": {
"start": "2026-03-03T00:00:00Z",
"end": "2026-03-10T00:00:00Z"
}
}
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

productstringrequired

Product to query concurrency data for. Must be one of: automation, hyperexecute, app-automation, realtime, realdevice. Case-sensitive.

from_timestampstring

Start of the date range in RFC3339 UTC format. Must be provided together with to_timestamp — both must be supplied or both omitted. When both are omitted, the range defaults to the last 7 days. The span between from_timestamp and to_timestamp must not exceed 31 days.

to_timestampstring

End of the date range in RFC3339 UTC format. Defaults to the current time when both timestamps are omitted. Cannot be more than 1 hour in the future. The span between from_timestamp and to_timestamp must not exceed 31 days.

granularitystring

Time bucket size. Valid values: 10m, 1h, 6h, 12h, 1d. Defaults to 10m if omitted. Coarser values can be passed explicitly for fewer, wider buckets.

timezonestring

UTC offset to apply to bucket boundaries. Format: +HH:MM or -HH:MM (e.g. +05:30 for IST, -08:00 for PST). Hours must be 0–14, minutes must be 0–59. Named timezones are not accepted. Defaults to +00:00 (UTC).

Response

application/json

Successful operation. Returns time-series concurrency buckets and aggregation metadata.

statusstring
dataobject[]

Array of time-bucketed concurrency metrics. Empty if no data exists.

data.timestampstring
Example: "2026-03-03T00:00:00Z"
data.productstring
Example: "automation"
data.max_concurrencynumber
Example: 42
data.max_queuednumber
Example: 3
data.max_allowed_concurrencynumber
Example: 50
data.max_queued_limitnumber
Example: 150
metadataobject
metadata.granularitystring
Example: "10m"
metadata.productstring
Example: "automation"
metadata.total_bucketsnumber
Example: 1008
metadata.date_rangeobject
Get time-series concurrency metrics for a product.
curl --request GET \
--url "https://api.lambdatest.com/insights/api/v3/public/concurrency" \
--header "Authorization: Basic <encoded-value>"
{
"status": "success",
"data": [
{
"timestamp": "2026-03-03T00:00:00Z",
"product": "automation",
"max_concurrency": 42,
"max_queued": 3,
"max_allowed_concurrency": 50,
"max_queued_limit": 150
},
{
"timestamp": "2026-03-03T00:10:00Z",
"product": "automation",
"max_concurrency": 38,
"max_queued": 0,
"max_allowed_concurrency": 50,
"max_queued_limit": 150
}
],
"metadata": {
"granularity": "10m",
"product": "automation",
"total_buckets": 1008,
"date_range": {
"start": "2026-03-03T00:00:00Z",
"end": "2026-03-10T00:00:00Z"
}
}
}