---
title: "Get Role Mining Config"
method: GET
path: "/api/v1/role-mining/config"
tags: ["Role Mining"]
---

# Get Role Mining Config

`GET /api/v1/role-mining/config`

Retrieve the current role mining configuration, including cohort hints and threshold settings.

## Response `200`

Successful response

- C1ApiRoleMiningManagementV1GetRoleMiningConfigResponse — The GetRoleMiningConfigResponse message.
  - `config` C1ApiRoleMiningManagementV1RoleMiningManagementConfig — The RoleMiningManagementConfig message.
    - `cohortHints` C1ApiRoleMiningManagementV1CohortHintView[], nullable — Configured cohort hints that guide which user attributes the analysis prioritizes.
      - `attribute` string — The user attribute name used for cohort grouping.
      - `priority` integer — Relative priority of this hint.
      - `values` string[], nullable — The specific attribute values targeted by this hint.
    - `maxSuggestions` integer — Maximum number of suggestions the analysis will produce per run.
    - `minCohortSize` integer — Minimum number of users a cohort must contain to generate a suggestion.

## Changes

- **2026-08-21** `f2cf3228f366` — 2 breaking, 3 warning
  - added `#/components/schemas/c1.api.role_mining_management.v1.RoleMiningManagementConfig, subschema #2` to the `config` response property `oneOf` list for the response status `200`
  - the `config` response's property type changed from `object` to no type for status `200`
  - removed the optional property `config/cohortHints` from the response with the `200` status
  - removed the optional property `config/maxSuggestions` from the response with the `200` status
  - …1 more
- **2026-03-18** `8a0bdc21dd5f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/role-mining/config/get.md)

---

[API](https://skmtc.dev/conductorone/apis/c1-api.md) · [All operations](https://skmtc.dev/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/f2cf3228f366/schema)
