This feature is in beta
To use this feature, pass in a header including the
LD-API-Version
key with value set tobeta
. Use this header with each call. To learn more, read Beta resources.Resources that are in beta are still undergoing testing and development. They may change without notice, including becoming backwards incompatible.
The insights scores API provides scores for data used in engineering insights project metrics. To learn more, read Project overview and Project metrics.
Create insight group
Created
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Status conflict
Rate limited
{- "name": "Production - All Apps",
- "key": "default-production-all-apps",
- "projectKey": "default",
- "environmentKey": "production",
- "applicationKeys": [
- "billing-service",
- "inventory-service"
]
}
{- "environment": {
- "_links": {
- "self": {
- "href": "/api/v2/projects/my-project/environments/my-environment",
- "type": "application/json"
}
}, - "_id": "57be1db38b75bf0772d11384",
- "key": "environment-key-123abc",
- "name": "My Environment",
- "apiKey": "sdk-xxx",
- "mobileKey": "mob-xxx",
- "color": "F5A623",
- "defaultTtl": 5,
- "secureMode": true,
- "defaultTrackEvents": false,
- "requireComments": true,
- "confirmChanges": true,
- "tags": [
- "ops"
], - "approvalSettings": {
- "required": true,
- "bypassApprovalsForPendingChanges": false,
- "minNumApprovals": 1,
- "canReviewOwnRequest": false,
- "canApplyDeclinedChanges": true,
- "autoApplyApprovedChanges": true,
- "serviceKind": "launchdarkly",
- "serviceConfig": { },
- "requiredApprovalTags": [
- "require-approval"
], - "serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258"
}, - "resourceApprovalSettings": {
- "property1": {
- "required": true,
- "bypassApprovalsForPendingChanges": false,
- "minNumApprovals": 1,
- "canReviewOwnRequest": false,
- "canApplyDeclinedChanges": true,
- "autoApplyApprovedChanges": true,
- "serviceKind": "launchdarkly",
- "serviceConfig": { },
- "requiredApprovalTags": [
- "require-approval"
], - "serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258"
}, - "property2": {
- "required": true,
- "bypassApprovalsForPendingChanges": false,
- "minNumApprovals": 1,
- "canReviewOwnRequest": false,
- "canApplyDeclinedChanges": true,
- "autoApplyApprovedChanges": true,
- "serviceKind": "launchdarkly",
- "serviceConfig": { },
- "requiredApprovalTags": [
- "require-approval"
], - "serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258"
}
}, - "critical": true
}, - "scores": {
- "overall": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "deploymentFrequency": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "deploymentFailureRate": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "leadTime": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "impactSize": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "experimentationCoverage": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "flagHealth": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "velocity": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "risk": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "efficiency": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "creationRatio": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}
}, - "scoreMetadata": {
- "period": {
- "startTime": 0,
- "endTime": 0
}, - "lastPeriod": {
- "startTime": 0,
- "endTime": 0
}
}, - "key": "default-production-all-apps",
- "name": "Production - All Apps",
- "projectKey": "default",
- "environmentKey": "production",
- "applicationKeys": [
- "billing-service",
- "inventory-service"
], - "createdAt": 0
}
List groups for which you are collecting insights
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 groupenvironment
includes details on each environment associated with each groupmetadata
includes counts of the number of insight groups with particular indicators, such as "execellent," "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.
Insight groups collection response
Invalid request
Invalid access token
Forbidden
Rate limited
{- "totalCount": 15,
- "items": [
- {
- "environment": {
- "_links": {
- "self": {
- "href": "/api/v2/projects/my-project/environments/my-environment",
- "type": "application/json"
}
}, - "_id": "57be1db38b75bf0772d11384",
- "key": "environment-key-123abc",
- "name": "My Environment",
- "apiKey": "sdk-xxx",
- "mobileKey": "mob-xxx",
- "color": "F5A623",
- "defaultTtl": 5,
- "secureMode": true,
- "defaultTrackEvents": false,
- "requireComments": true,
- "confirmChanges": true,
- "tags": [
- "ops"
], - "approvalSettings": {
- "required": true,
- "bypassApprovalsForPendingChanges": false,
- "minNumApprovals": 1,
- "canReviewOwnRequest": false,
- "canApplyDeclinedChanges": true,
- "autoApplyApprovedChanges": true,
- "serviceKind": "launchdarkly",
- "serviceConfig": { },
- "requiredApprovalTags": [
- "require-approval"
], - "serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258"
}, - "resourceApprovalSettings": {
- "property1": {
- "required": true,
- "bypassApprovalsForPendingChanges": false,
- "minNumApprovals": 1,
- "canReviewOwnRequest": false,
- "canApplyDeclinedChanges": true,
- "autoApplyApprovedChanges": true,
- "serviceKind": "launchdarkly",
- "serviceConfig": { },
- "requiredApprovalTags": [
- "require-approval"
], - "serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258"
}, - "property2": {
- "required": true,
- "bypassApprovalsForPendingChanges": false,
- "minNumApprovals": 1,
- "canReviewOwnRequest": false,
- "canApplyDeclinedChanges": true,
- "autoApplyApprovedChanges": true,
- "serviceKind": "launchdarkly",
- "serviceConfig": { },
- "requiredApprovalTags": [
- "require-approval"
], - "serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258"
}
}, - "critical": true
}, - "scores": {
- "overall": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "deploymentFrequency": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "deploymentFailureRate": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "leadTime": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "impactSize": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "experimentationCoverage": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "flagHealth": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "velocity": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "risk": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "efficiency": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "creationRatio": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}
}, - "scoreMetadata": {
- "period": {
- "startTime": 0,
- "endTime": 0
}, - "lastPeriod": {
- "startTime": 0,
- "endTime": 0
}
}, - "key": "default-production-all-apps",
- "name": "Production - All Apps",
- "projectKey": "default",
- "environmentKey": "production",
- "applicationKeys": [
- "billing-service",
- "inventory-service"
], - "createdAt": 0
}
], - "_links": {
- "property1": {
- "href": "string",
- "type": "string"
}, - "property2": {
- "href": "string",
- "type": "string"
}
}, - "metadata": {
- "countByIndicator": {
- "excellent": 1,
- "good": 1,
- "fair": 1,
- "needsAttention": 1,
- "notCalculated": 1,
- "unknown": 1,
- "total": 6
}
}, - "scoreMetadata": {
- "period": {
- "startTime": 0,
- "endTime": 0
}, - "lastPeriod": {
- "startTime": 0,
- "endTime": 0
}
}
}
Get insight group
LaunchDarkly supports expanding the insight group 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 this groupenvironment
includes details on each environment associated with this groupFor example, use ?expand=scores
to include the scores
field in the response. By default, this field is not included in the response.
Insight group response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "environment": {
- "_links": {
- "self": {
- "href": "/api/v2/projects/my-project/environments/my-environment",
- "type": "application/json"
}
}, - "_id": "57be1db38b75bf0772d11384",
- "key": "environment-key-123abc",
- "name": "My Environment",
- "apiKey": "sdk-xxx",
- "mobileKey": "mob-xxx",
- "color": "F5A623",
- "defaultTtl": 5,
- "secureMode": true,
- "defaultTrackEvents": false,
- "requireComments": true,
- "confirmChanges": true,
- "tags": [
- "ops"
], - "approvalSettings": {
- "required": true,
- "bypassApprovalsForPendingChanges": false,
- "minNumApprovals": 1,
- "canReviewOwnRequest": false,
- "canApplyDeclinedChanges": true,
- "autoApplyApprovedChanges": true,
- "serviceKind": "launchdarkly",
- "serviceConfig": { },
- "requiredApprovalTags": [
- "require-approval"
], - "serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258"
}, - "resourceApprovalSettings": {
- "property1": {
- "required": true,
- "bypassApprovalsForPendingChanges": false,
- "minNumApprovals": 1,
- "canReviewOwnRequest": false,
- "canApplyDeclinedChanges": true,
- "autoApplyApprovedChanges": true,
- "serviceKind": "launchdarkly",
- "serviceConfig": { },
- "requiredApprovalTags": [
- "require-approval"
], - "serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258"
}, - "property2": {
- "required": true,
- "bypassApprovalsForPendingChanges": false,
- "minNumApprovals": 1,
- "canReviewOwnRequest": false,
- "canApplyDeclinedChanges": true,
- "autoApplyApprovedChanges": true,
- "serviceKind": "launchdarkly",
- "serviceConfig": { },
- "requiredApprovalTags": [
- "require-approval"
], - "serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258"
}
}, - "critical": true
}, - "scores": {
- "overall": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "deploymentFrequency": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "deploymentFailureRate": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "leadTime": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "impactSize": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "experimentationCoverage": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "flagHealth": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "velocity": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "risk": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "efficiency": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "creationRatio": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}
}, - "scoreMetadata": {
- "period": {
- "startTime": 0,
- "endTime": 0
}, - "lastPeriod": {
- "startTime": 0,
- "endTime": 0
}
}, - "key": "default-production-all-apps",
- "name": "Production - All Apps",
- "projectKey": "default",
- "environmentKey": "production",
- "applicationKeys": [
- "billing-service",
- "inventory-service"
], - "createdAt": 0
}
Update an insight group. Updating an insight group uses a JSON patch representation of the desired changes. To learn more, read Updates.
Insight group response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Invalid patch content
Rate limited
[- {
- "op": "replace",
- "path": "/name",
- "value": "Prod group"
}
]
{- "environment": {
- "_links": {
- "self": {
- "href": "/api/v2/projects/my-project/environments/my-environment",
- "type": "application/json"
}
}, - "_id": "57be1db38b75bf0772d11384",
- "key": "environment-key-123abc",
- "name": "My Environment",
- "apiKey": "sdk-xxx",
- "mobileKey": "mob-xxx",
- "color": "F5A623",
- "defaultTtl": 5,
- "secureMode": true,
- "defaultTrackEvents": false,
- "requireComments": true,
- "confirmChanges": true,
- "tags": [
- "ops"
], - "approvalSettings": {
- "required": true,
- "bypassApprovalsForPendingChanges": false,
- "minNumApprovals": 1,
- "canReviewOwnRequest": false,
- "canApplyDeclinedChanges": true,
- "autoApplyApprovedChanges": true,
- "serviceKind": "launchdarkly",
- "serviceConfig": { },
- "requiredApprovalTags": [
- "require-approval"
], - "serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258"
}, - "resourceApprovalSettings": {
- "property1": {
- "required": true,
- "bypassApprovalsForPendingChanges": false,
- "minNumApprovals": 1,
- "canReviewOwnRequest": false,
- "canApplyDeclinedChanges": true,
- "autoApplyApprovedChanges": true,
- "serviceKind": "launchdarkly",
- "serviceConfig": { },
- "requiredApprovalTags": [
- "require-approval"
], - "serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258"
}, - "property2": {
- "required": true,
- "bypassApprovalsForPendingChanges": false,
- "minNumApprovals": 1,
- "canReviewOwnRequest": false,
- "canApplyDeclinedChanges": true,
- "autoApplyApprovedChanges": true,
- "serviceKind": "launchdarkly",
- "serviceConfig": { },
- "requiredApprovalTags": [
- "require-approval"
], - "serviceKindConfigurationId": "1ef45a85-218f-4428-a8b2-a97e5f56c258"
}
}, - "critical": true
}, - "scores": {
- "overall": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "deploymentFrequency": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "deploymentFailureRate": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "leadTime": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "impactSize": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "experimentationCoverage": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "flagHealth": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "velocity": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "risk": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "efficiency": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "creationRatio": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}
}, - "scoreMetadata": {
- "period": {
- "startTime": 0,
- "endTime": 0
}, - "lastPeriod": {
- "startTime": 0,
- "endTime": 0
}
}, - "key": "default-production-all-apps",
- "name": "Production - All Apps",
- "projectKey": "default",
- "environmentKey": "production",
- "applicationKeys": [
- "billing-service",
- "inventory-service"
], - "createdAt": 0
}
Delete insight group
Action succeeded
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "code": "invalid_request",
- "message": "validation failed",
- "errors": [
- {
- "attribute": "projectKey",
- "reason": "must be present"
}
]
}
Return insights scores, based on the given parameters. This data is also used in engineering insights metrics views.
Insight score response
Invalid request
Invalid access token
Forbidden
Rate limited
{- "period": {
- "startTime": 0,
- "endTime": 0
}, - "lastPeriod": {
- "startTime": 0,
- "endTime": 0
}, - "scores": {
- "overall": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "deploymentFrequency": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "deploymentFailureRate": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "leadTime": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "impactSize": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "experimentationCoverage": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "flagHealth": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "velocity": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "risk": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "efficiency": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}, - "creationRatio": {
- "score": 100,
- "aggregateOf": [
- "deploymentFrequency",
- "leadTime"
], - "diffVsLastPeriod": 0,
- "indicator": "string",
- "indicatorRange": {
- "min": 0,
- "max": 100
}, - "lastPeriod": { }
}
}, - "_links": {
- "property1": {
- "href": "string",
- "type": "string"
}, - "property2": {
- "href": "string",
- "type": "string"
}
}
}