Insights API

The Insights API allows you to programmatically interact with DoiT Insights. You can use it to create, retrieve, and delete insight results (recommendations), as well as retrieve resource-level details for specific insights.

📘

Required Permissions

  • Insights Manager

Operations

The Insights API supports the following operations:

Schema

InsightRequest object

PropertyTypeDescription
keystringA unique identifier for the insight.
titlestringThe insight title.
shortDescriptionstringA brief description of the insight.
providerarray of stringsThe cloud provider. Example: aws, gcp, azure.
categoriesarray of stringsOne or more categories.
Supported values: FinOps, Security.
resourceResultsarray of resource-level result objects.An array of resource-level results.
Supported results:
  • SecurityRiskResourceResult
  • DailySavingsResourceResult
  • DailySavingsRecommendationResourceResult
  • DailySavingsClusterAgentResourceResult
detailedDescriptionMdxstringA detailed description in MDX format.
tagsarray of stringsAn array of tags. For example, security certification information such as ISO.
reportUrlstringA URL to an external report.
easyWinDescriptionstringA description of the easy-win opportunity. For example, low-risk, low-complexity, and zero-downtime optimization recommendations.
cloudFlowTemplateIdstringA CloudFlow template ID associated with the insight.