> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the current counts of the SentinelOne alerts

> Return the current counts of the SentinelOne alerts as JSON: `total`, `byStatus` (one `{ status, count }` per SentinelOne status), `open` (not resolved), `unmitigated` (not resolved and still unmitigated), `mitigated`, `falsePositives` (an analyst marked them false positive), `affectedDevices` (Primo devices with an open alert) and `unmatchedOpen` (open alerts no Primo device matched, counted in `open` but not in `affectedDevices`). The alerts themselves are `getSentinelOneAlerts`, whose `filter` selects the same alerts as each count. SentinelOne alerts are the threats SentinelOne raised on the company's devices, as Primo stored them at its last sync (every 5 minutes, once the company turned the alert sync on; a company without it has none). An alert resolved in SentinelOne stays listed with `status` `RESOLVED`. They are not the MDM compliance alerts (`getComplianceAlerts`) nor the AI tools risks (`getAiFindings`).

Key: ReadScope: Company


## OpenAPI

````yaml https://api.getprimo.com/openapi.json get /edr/sentinelone/alerts/summary
openapi: 3.1.1
info:
  title: Public API - BETA
  description: Read docs on https://docs.getprimo.com/
  version: '1.0'
  contact: {}
servers:
  - url: https://api.getprimo.com
security:
  - apikey: []
tags: []
paths:
  /edr/sentinelone/alerts/summary:
    get:
      tags:
        - Edr
      summary: Get the current counts of the SentinelOne alerts
      description: >-
        Return the current counts of the SentinelOne alerts as JSON: `total`,
        `byStatus` (one `{ status, count }` per SentinelOne status), `open` (not
        resolved), `unmitigated` (not resolved and still unmitigated),
        `mitigated`, `falsePositives` (an analyst marked them false positive),
        `affectedDevices` (Primo devices with an open alert) and `unmatchedOpen`
        (open alerts no Primo device matched, counted in `open` but not in
        `affectedDevices`). The alerts themselves are `getSentinelOneAlerts`,
        whose `filter` selects the same alerts as each count. SentinelOne alerts
        are the threats SentinelOne raised on the company's devices, as Primo
        stored them at its last sync (every 5 minutes, once the company turned
        the alert sync on; a company without it has none). An alert resolved in
        SentinelOne stays listed with `status` `RESOLVED`. They are not the MDM
        compliance alerts (`getComplianceAlerts`) nor the AI tools risks
        (`getAiFindings`).
      operationId: getSentinelOneAlertsSummary
      parameters: []
      responses:
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSentinelOneAlertsSummary_Output'
components:
  schemas:
    GetSentinelOneAlertsSummary_Output:
      type: object
      properties:
        total:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        byStatus:
          type: array
          items:
            type: object
            properties:
              status:
                anyOf:
                  - type: string
                  - type: 'null'
              count:
                type: integer
                minimum: -9007199254740991
                maximum: 9007199254740991
            required:
              - status
              - count
            additionalProperties: false
        open:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        unmitigated:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        mitigated:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        falsePositives:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        affectedDevices:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        unmatchedOpen:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
      required:
        - total
        - byStatus
        - open
        - unmitigated
        - mitigated
        - falsePositives
        - affectedDevices
        - unmatchedOpen
      additionalProperties: false
  securitySchemes:
    apikey:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: >-
        Use your Primo API key in the Authorization header as `Bearer
        <API_KEY>`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.