v1

latestOpenAPI 3.0.12026-07-26152262362.2 KB
Insights

Create insights (batch)

Creates or updates multiple insights in a single batch request. Each insight in the batch includes its metadata and resource results inline. For granular control over insight metadata and resource results independently, use the single-insight and resource-results endpoints instead.

post/insights/v1/results

Request body

Example request

{
  "results": [
    {
      "cloudProvider": "aws",
      "resourceResults": [
        {
          "resourceType": "instance, disk, cache",
          "cloudProvider": "aws",
          "location": "eu-west-2"
        }
      ]
    }
  ]
}

Response

Successful operation

insightKeystring

The key of the insight that failed.

errorstring

The error message.

codeinteger

The HTTP status code associated with the error.