Get stream usage by SDK version
Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version. Information about each series is in the metadata array. The granularity of the data depends on the age of the data requested. If the requested range is within the past 2 hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Path Parameters
The source of streaming connections to describe. Must be either client or server.
stringQuery Parameters
The series of data returned starts from this timestamp. Defaults to 24 hours ago.
stringThe series of data returned ends at this timestamp. Defaults to the current time.
stringThe timezone to use for breaks between days when returning daily data.
stringIf included, this filters the returned series to only those that match this SDK name.
stringIf included, this filters the returned series to only those that match this SDK version.
stringResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/usage/streams/string/bysdkversion"{ "_links": { "property1": null, "property2": null }, "metadata": [ { "property1": null, "property2": null } ], "series": [ { "0": 11, "1": 15, "time": 1677888000000 } ]}Get stream usage GET
Get a time-series array of the number of streaming connections to LaunchDarkly in each time period. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
Get stream usage SDK versions GET
Get a list of SDK version objects, which contain an SDK name and version. These are all of the SDKs that have connected to LaunchDarkly from your account in the past 60 days.