For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign inTry it free
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
  • REST API overview
    • Access Tokens
    • Account Members
    • Account Usage Beta
    • AI Configs
    • Announcements
    • Applications Beta
    • Approvals
    • Approvals Beta
    • Audit Log
    • Code References
    • Contexts
    • Context Settings
    • Custom Roles
    • Data Export Destinations
    • Environments
    • Experiments
    • Feature Flags
    • Feature Flags Beta
    • Flag Import Configurations Beta
    • Flag Links Beta
    • Flag Triggers
    • Follow Flags
    • Holdouts Beta
    • Insights Charts Beta
    • Insights Deployments Beta
    • Insights Flag Events Beta
    • Insights Pull Requests Beta
    • Insights Repositories Beta
    • Insights Scores Beta
      • POSTCreate insight group
      • DELDelete insight group
      • GETGet insight group
      • GETGet insight scores
      • GETList insight groups
      • PATCHPatch insight group
    • Integration Audit Log Subscriptions
    • Integration Delivery Configurations Beta
    • Integrations Beta
    • Layers
    • Metrics
    • Metrics Beta
    • OAuth2 Clients
    • Persistent Store Integrations Beta
    • Projects
    • Relay Proxy Configurations
    • Release Pipelines Beta
    • Releases Beta
    • Scheduled Changes
    • Segments
    • Tags
    • Teams
    • Teams Beta
    • Users
    • Users Beta
    • User Settings
    • Views Beta
    • Webhooks
    • Workflows
    • Workflow Templates
    • Other
Sign inTry it free
LogoLogo
REST API overviewInsights Scores Beta

Get insight scores

GET
/api/v2/engineering-insights/insights/scores
GET
/api/v2/engineering-insights/insights/scores
$curl -G https://app.launchdarkly.com/api/v2/engineering-insights/insights/scores \
> -H "Authorization: <apiKey>" \
> -d projectKey=projectKey \
> -d environmentKey=environmentKey
1{
2 "period": {
3 "startTime": 1706701522000,
4 "endTime": 1706701522000
5 },
6 "lastPeriod": {
7 "startTime": 1706701522000,
8 "endTime": 1706701522000
9 },
10 "scores": {
11 "overall": {
12 "score": 100,
13 "indicator": "excellent",
14 "indicatorRange": {
15 "min": 0,
16 "max": 100
17 },
18 "aggregateOf": [
19 "deploymentFrequency",
20 "leadTime"
21 ],
22 "diffVsLastPeriod": 1
23 },
24 "deploymentFrequency": {
25 "score": 100,
26 "indicator": "excellent",
27 "indicatorRange": {
28 "min": 0,
29 "max": 100
30 },
31 "aggregateOf": [
32 "deploymentFrequency",
33 "leadTime"
34 ],
35 "diffVsLastPeriod": 1
36 },
37 "deploymentFailureRate": {
38 "score": 100,
39 "indicator": "excellent",
40 "indicatorRange": {
41 "min": 0,
42 "max": 100
43 },
44 "aggregateOf": [
45 "deploymentFrequency",
46 "leadTime"
47 ],
48 "diffVsLastPeriod": 1
49 },
50 "leadTime": {
51 "score": 100,
52 "indicator": "excellent",
53 "indicatorRange": {
54 "min": 0,
55 "max": 100
56 },
57 "aggregateOf": [
58 "deploymentFrequency",
59 "leadTime"
60 ],
61 "diffVsLastPeriod": 1
62 },
63 "impactSize": {
64 "score": 100,
65 "indicator": "excellent",
66 "indicatorRange": {
67 "min": 0,
68 "max": 100
69 },
70 "aggregateOf": [
71 "deploymentFrequency",
72 "leadTime"
73 ],
74 "diffVsLastPeriod": 1
75 },
76 "experimentationCoverage": {
77 "score": 100,
78 "indicator": "excellent",
79 "indicatorRange": {
80 "min": 0,
81 "max": 100
82 },
83 "aggregateOf": [
84 "deploymentFrequency",
85 "leadTime"
86 ],
87 "diffVsLastPeriod": 1
88 },
89 "flagHealth": {
90 "score": 100,
91 "indicator": "excellent",
92 "indicatorRange": {
93 "min": 0,
94 "max": 100
95 },
96 "aggregateOf": [
97 "deploymentFrequency",
98 "leadTime"
99 ],
100 "diffVsLastPeriod": 1
101 },
102 "velocity": {
103 "score": 100,
104 "indicator": "excellent",
105 "indicatorRange": {
106 "min": 0,
107 "max": 100
108 },
109 "aggregateOf": [
110 "deploymentFrequency",
111 "leadTime"
112 ],
113 "diffVsLastPeriod": 1
114 },
115 "risk": {
116 "score": 100,
117 "indicator": "excellent",
118 "indicatorRange": {
119 "min": 0,
120 "max": 100
121 },
122 "aggregateOf": [
123 "deploymentFrequency",
124 "leadTime"
125 ],
126 "diffVsLastPeriod": 1
127 },
128 "efficiency": {
129 "score": 100,
130 "indicator": "excellent",
131 "indicatorRange": {
132 "min": 0,
133 "max": 100
134 },
135 "aggregateOf": [
136 "deploymentFrequency",
137 "leadTime"
138 ],
139 "diffVsLastPeriod": 1
140 },
141 "creationRatio": {
142 "score": 100,
143 "indicator": "excellent",
144 "indicatorRange": {
145 "min": 0,
146 "max": 100
147 },
148 "aggregateOf": [
149 "deploymentFrequency",
150 "leadTime"
151 ],
152 "diffVsLastPeriod": 1
153 }
154 },
155 "_links": {}
156}
Return insights scores, based on the given parameters. This data is also used in engineering insights metrics views.
Was this page helpful?
Previous

List insight groups

Next
Built with

Authentication

Authorizationstring
API Key authentication via header

Query parameters

projectKeystringRequiredformat: "string"
The project key
environmentKeystringRequiredformat: "string"
The environment key
applicationKeystringOptionalformat: "string"
Comma separated list of application keys

Response

Insight score response
periodobject
The time period for the scores
lastPeriodobject
The time period for the scores in the last period
scoresobject
The scores for the insight groups
_linksmap from strings to objects
The location and content type of related resources

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error