---
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.

---

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