OBJECT

InsightQuery

Insight queries

link GraphQL Schema definition

  • type InsightQuery {
  • # Query Observations
  • observationQuery: ObservationQuery!
  • # Query insights by list of given search criteria. If no filter provided default
  • # filter on startTime will be added
  • # to fetch insight from past 2 days.
  • # It is recommended to add time based filters for quicker response.
  • #
  • # Arguments
  • # after: Return records after the given cursor, as per GraphQL
  • # Relay spec
  • # filter: "Optional additional field filters.
  • # If no filter provided default filter on startTime will be added to fetch insight
  • # from past 2 days."
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • # insightFilter: Insight filter with required filter parameters
  • # sort: Sort order for results in InsightConnection
  • queryInsights(
  • after: String,
  • filter: QueryFilter,
  • first: Int,
  • insightFilter: InsightFilter!,
  • sort: [QuerySort!]
  • ): InsightConnection
  • # Query for specific Insights by insight Ids
  • #
  • # Arguments
  • # insightId: Array of insight id's to query
  • queryInsightsByIds(insightId: [String!]!): [Insight]
  • insightRuleQuery: InsightRuleQuery!
  • }

link Require by