get:
  operationId: getIdentityOutlierSnapshots
  tags:
    - IAI Outliers
  summary: IAI Identity Outliers Summary
  description: >-
    This API receives a summary containing: the number of identities that customer has, the number of outliers, and the type of outlier

    Requires authorization scope of 'iai:outliers-management:read'
  parameters:
    - $ref: '../../v3/parameters/limit.yaml'
    - $ref: '../../v3/parameters/offset.yaml'
    - name: type
      in: query
      description: Type of the identity outliers snapshot to filter on
      required: false
      schema:
        type: string
        enum:
          - LOW_SIMILARITY
          - STRUCTURAL
    - in: query
      name: filters
      schema:
        type: string
      description: >-
        Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results)

        Filtering is supported for the following field and operators: 
        
        **snapshotDate**: *ge, le*
    - in: query
      name: sorters
      schema:
        type: string
        format: comma-separated
      description: >-
        Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results)

        Sorting is supported for the following field: **snapshotDate**
      example: snapshotDate
      required: false
  responses:
    '200':
      description: Succeeded. Returns list of objects. Each object is a summary to give high level statistics/counts of outliers 
      headers:
        X-Total-Count:
          description: The total result count.
          schema:
            type: integer
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '../schemas/OutlierSummary.yaml'
    '202':
      $ref: '../../v3/responses/202.yaml'
    '400':
      $ref: '../../v3/responses/400.yaml'
    '401':
      $ref: '../../v3/responses/401.yaml'
    '403':
      $ref: '../../v3/responses/403.yaml'
    '429':
      $ref: '../../v3/responses/429.yaml'
    '500':
      $ref: '../../v3/responses/500.yaml'
