Get insight by ID

Base URL
https://api.elastic-cloud.com/api Elastic Cloud API.
Auth

Returns a specific insight by ID.

The caller must be authorized to read AutoOps data for the deployment, project, or connected cluster named in the path, and the resource must belong to the organization of the caller. Access is checked for that single resource on every request.

Path parameters

resourceType enum required

The type of the resource.

Values: deployments projects clusters
resourceId string required

The resource ID (Deployment ID, Serverless project ID, or Connected cluster ID) that the insight belongs to. It must be a resource of the type given in resourceType.

Example: deployment-123
insightId string · format: uuid required

The ID of the insight, as returned in event.id.

Example: 5f4f3e2d-1c0b-0a09-0000-000000000001

Responses

The requested insight.

application/json
ok boolean required

Indicates whether the request succeeded. Always true for successful responses.

insight object required

An insight. Properties that have no value are omitted from the response instead of being set to null.

@timestamp string · format: date-time required

The time when the insight was raised, in ISO 8601 format (UTC).

event object required
id string required

The public ID of the insight, as a UUID.

start string · format: date-time required

The time when the insight was raised, in ISO 8601 format (UTC).

end string · format: date-time

The time when the insight was closed, in ISO 8601 format (UTC). Omitted while the insight is open.

duration integer · format: int64

The duration of the insight in nanoseconds (end minus start). Omitted while the insight is open.

updated string · format: date-time

The time when AutoOps last updated the insight, in ISO 8601 format (UTC). It equals start when the insight is raised, AutoOps moves it forward each time it confirms that the insight is still open, and it equals end when the insight is closed.

url string required

The URL that returns this insight.

tags string[]

The tags of the insight, for example domain:performance or scope:node. Tag values keep the casing in which they are defined. The list of tags is available at https://ela.st/autoops-insights.

service object required
type string required

The service type. Always elasticsearch.

id string required

The resource ID (deployment ID, project ID, or connected cluster ID).

name string required

The name of the resource. It can be empty when the resource has no name.

elasticsearch object required
cluster object required
id string required

The ID of the Elasticsearch cluster.

name string required

The name of the Elasticsearch cluster. It can be empty when the cluster has no name.

observer object required
name string required

The observer name. Always autoops.

rule object required
id string required

The ID of the rule that raised the insight, in lowercase. Use it in the rules field of a search request. The list of rule IDs is available at https://ela.st/autoops-insights.

name string required

The short, human-readable name of the rule.

description string required

The description of the rule and an explanation of its potential impact, as plain text.

message string required

The context and conditions that led to the insight being raised, as plain text.

autoops object required
title string required

The human-readable title of the insight, as plain text.

severity enum

The severity level of an insight.

Values: critical high medium low info
Base URL
https://api.elastic-cloud.com/api Elastic Cloud API.