get:
  operationId: getPotentialRoleSummaries
  summary: Retrieves all potential role summaries
  tags:
    - IAI Role Mining
  description: >-
    This method returns the potential role summaries for a role mining session.
  parameters:
    - in: path
      name: sessionId
      schema:
        type: string
      required: true
      description: The role mining session id
      example: 8c190e67-87aa-4ed9-a90b-d9d5344523fb
    - in: query
      name: sorters
      required: false
      style: form
      explode: true
      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 is supported for the following fields: **createdDate**
      example: 'createdDate'
    - in: query
      name: filters
      description: >-
        Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters/)
        Filtering is supported for the following fields and operators:

        **createdById**: *eq, sw, co*

        **createdByName**: *eq, sw, co*

        **description**: *sw, co*

        **endDate**: *le, lt*

        **freshness**: *eq, ge, gt, le, lt*

        **name**: *eq, sw, co*

        **quality**: *eq, ge, gt, le, lt*

        **startDate**: *ge, gt*

        **saved**: *eq*

        **type**: *eq*

      example: '(createdByName co "int")and (createdById sw "2c9180907")and (type eq "COMMON")and ((name co "entt")or (saved eq true))'
      required: false
      style: form
      explode: true
      schema:
        type: string
    - $ref: '../../v3/parameters/offset.yaml'
    - $ref: '../../v3/parameters/limit.yaml'
    - $ref: '../../v3/parameters/count.yaml'
  responses:
    '200':
      description: Succeeded. Returns a list of potential role summaries for a role mining session.
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '../schemas/RoleMiningPotentialRoleSummary.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'
