Get Custom Analysis Result
GetCustomAnalysisResult returns the status and results of a custom cohort analysis started with TriggerCustomAnalysis, including entitlement coverage, entitlement clusters, attribute facets, and cutoff impact points. Requires the agentic role mining feature.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Path Parameters
The id field.
Response
Successful response
The GetCustomAnalysisResultResponse message.
AccessScope narrows a cohort to the users who hold a grant. It is combined with any ProfileFilters using AND logic, and is a complete cohort definition on its own.
This message contains a oneof named scope. Only a single field of the following list may be set at a time:
- appId
- entitlement
The appsAnalyzed field.
Cluster results.
The cohortSize field.
User who created this analysis, empty for legacy results.
Exact holder counts at each distinct inclusive entitlement coverage cutoff.
Entitlement coverage results.
The errorMessage field.
The facetUserCount field.
Facet results.
The id field.
Cohort filters this analysis ran with, echoed back so an exact-ID restore is self-contained.
ResourceScope narrows which entitlements an analysis considers, without changing the cohort. Coverage denominators stay the population the ProfileFilters and AccessScope select; only the entitlement universe shrinks. It is never a cohort definition on its own.
The status field.
RUN_STATUS_UNSPECIFIED, RUN_STATUS_RUNNING, RUN_STATUS_COMPLETED, RUN_STATUS_FAILED Newer result that superseded this analysis, when applicable.
Structured terminal reason, unspecified for legacy results.
CUSTOM_ANALYSIS_TERMINAL_REASON_UNSPECIFIED, CUSTOM_ANALYSIS_TERMINAL_REASON_ERROR, CUSTOM_ANALYSIS_TERMINAL_REASON_SUPERSEDED