Skip to content

entityInsights

List entity insights.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String An opaque cursor returned from a previous query's endCursor field. Pass this value verbatim to retrieve the next page of results.
last Int Returns the last n elements from the list.
before String An opaque cursor returned from a previous query's startCursor field. Pass this value verbatim to retrieve the previous page of results.
filter ListEntityInsightsFilterInput Filter to be applied when retrieving entity insights.

Returns

NotificationConnection!

Sample

query {
  entityInsights(first: 10) {
    nodes {
      application
      createdAt
      defaultAction
      id
      isRead
      level
      message
      metadata
      priority
      resourceId
      resourceSubtype
      resourceType
      subtype
      variables
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "entityInsights": {
      "nodes": [
        [
          {
            "application": "APPLICATION_UNSPECIFIED",
            "createdAt": "2024-01-01T00:00:00.000Z",
            "defaultAction": "example-string",
            "id": "00000000-0000-0000-0000-000000000000",
            "isRead": true,
            "level": "ERROR"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}