Create Risk Segmentation Config
Create a risk segmentation config for an analysis.
The analysis must exist. The config name must not already be in use for that analysis. segments must include
risk_score.
See the tag description for how to choose segments, columns, riskScoreIds, and riskGroups, and for a full
create example.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The analysis run id this config belongs to. Required on create.
Display name of the config. Must be unique within the analysis.
80Ordered hierarchy of grouping fields for the dashboard table. Must include risk_score. See the tag description for built-in keys and custom analysis rules.
1Ordered list of summary metrics shown for each segment row (for example total_count, total_value, risk_avg). See the tag description for allowed values.
1When true, shows in-cell sparkline visuals for numeric columns. Defaults to false.
When false, the config is stored but not selected by default in the dashboard. Defaults to true.
Optional risk score ids (ensemble ids) to limit which scores are in scope. Empty or omitted means all enabled scores.
Optional risk group category names to limit which assertion categories are in scope (for example GENERAL, PROFIT_LOSS). Empty or omitted means all groups.
Response
Created
The unique object identifier.
Data integrity version to ensure data consistency.
The analysis run id this config belongs to. Required on create.
The analysis type id for this config. Set from the analysis on create; returned on read.
Display name of the config. Must be unique within the analysis.
Ordered hierarchy of grouping fields for the dashboard table. Must include risk_score. See the tag description for built-in keys and custom analysis rules.
Ordered list of summary metrics shown for each segment row (for example total_count, total_value, risk_avg). See the tag description for allowed values.
When true, shows in-cell sparkline visuals for numeric columns. Defaults to false.
When false, the config is stored but not selected by default in the dashboard. Defaults to true.
Optional risk score ids (ensemble ids) to limit which scores are in scope. Empty or omitted means all enabled scores.
Optional risk group category names to limit which assertion categories are in scope (for example GENERAL, PROFIT_LOSS). Empty or omitted means all groups.

