provider Insights scores (beta) GET
/api/v2/engineering-insights/insights/groups @utdk/launchdarkly
/api/v2/engineering-insights/insights/groups List insight groups
List groups for which you are collecting insights
### Expanding the insight groups collection response
LaunchDarkly supports expanding the insight groups collection response to include additional fields.
To expand the response, append the `expand` query parameter and include the following:
* `scores` includes details on all of the scores used in the engineering insights metrics views for each group
* `environment` includes details on each environment associated with each group
* `metadata` includes counts of the number of insight groups with particular indicators, such as "excellent," "good," "fair," and so on.
For example, use `?expand=scores` to include the `scores` field in the response. By default, this field is **not** included in the response.
- limit query
- The number of insight groups to return. Default is 20. Must be between 1 and 20 inclusive.
- integer
- offset query
- Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`.
- integer
- sort query
- Sort flag list by field. Prefix field with <code>-</code> to sort in descending order. Allowed fields: name
- string
- query query
- Filter list of insights groups by name.
- string
- expand query
- Options: `scores`, `environment`, `metadata`
- string
Try it
Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import launchdarkly from '@utdk/launchdarkly';
await launchdarkly.getinsightgroups()