Method: projects.locations.insightTypes.insights.get

Gets the requested insight. Requires the recommender.*.get IAM permission for the specified insight type.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. Name of the insight.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Insight.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following IAM permissions on the name resource, depending on the resource type:

  • recommender.commitmentUtilizationInsights.get
  • recommender.computeAddressIdleResourceInsights.get
  • recommender.computeDiskIdleResourceInsights.get
  • recommender.computeFirewallInsights.get
  • recommender.computeImageIdleResourceInsights.get
  • recommender.iamPolicyInsights.get
  • recommender.iamServiceAccountInsights.get
  • recommender.resourcemanagerProjectUtilizationInsights.get

For more information, see the IAM documentation.