:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
:::tip setting x-sailpoint-experimental header
on the configuration object you can set the x-sailpoint-experimental header to `true' to enable all experimantl endpoints within the SDK.
Example:
:::
Returns recommendation based on object
The getRecommendations API returns recommendations based on the requested object. The recommendations are invoked by IdentityIQ and IdentityNow plug-ins that retrieve recommendations based on the performed calculations.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
fromsailpoint.v2025.api.iai_recommendations_apiimportIAIRecommendationsApifromsailpoint.v2025.api_clientimportApiClientfromsailpoint.v2025.models.recommendation_request_dtoimportRecommendationRequestDtofromsailpoint.v2025.models.recommendation_response_dtoimportRecommendationResponseDtofromsailpoint.configurationimportConfigurationconfiguration=Configuration()configuration.experimental=TruewithApiClient(configuration)asapi_client:x_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')recommendation_request_dto='''{
"prescribeMode" : false,
"excludeInterpretations" : false,
"requests" : [ {
"item" : {
"id" : "2c938083633d259901633d2623ec0375",
"type" : "ENTITLEMENT"
},
"identityId" : "2c938083633d259901633d25c68c00fa"
}, {
"item" : {
"id" : "2c938083633d259901633d2623ec0375",
"type" : "ENTITLEMENT"
},
"identityId" : "2c938083633d259901633d25c68c00fa"
} ],
"includeTranslationMessages" : false,
"includeDebugInformation" : true
}'''# RecommendationRequestDto | try:# Returns recommendation based on objectnew_recommendation_request_dto=RecommendationRequestDto.from_json(recommendation_request_dto)results=IAIRecommendationsApi(api_client).get_recommendations(x_sail_point_experimental=x_sail_point_experimental,recommendation_request_dto=new_recommendation_request_dto)# Below is a request that includes all optional parameters# results = IAIRecommendationsApi(api_client).get_recommendations(x_sail_point_experimental, new_recommendation_request_dto)print("The response of IAIRecommendationsApi->get_recommendations:\n")print(results.model_dump_json(by_alias=True,indent=4))exceptExceptionase:print("Exception when calling IAIRecommendationsApi->get_recommendations: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
:::tip setting x-sailpoint-experimental header
on the configuration object you can set the x-sailpoint-experimental header to `true' to enable all experimantl endpoints within the SDK.
Example:
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
fromsailpoint.v2025.api.iai_recommendations_apiimportIAIRecommendationsApifromsailpoint.v2025.api_clientimportApiClientfromsailpoint.v2025.models.recommendation_config_dtoimportRecommendationConfigDtofromsailpoint.configurationimportConfigurationconfiguration=Configuration()configuration.experimental=TruewithApiClient(configuration)asapi_client:x_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')try:# Get certification recommendation config valuesresults=IAIRecommendationsApi(api_client).get_recommendations_config(x_sail_point_experimental=x_sail_point_experimental)# Below is a request that includes all optional parameters# results = IAIRecommendationsApi(api_client).get_recommendations_config(x_sail_point_experimental)print("The response of IAIRecommendationsApi->get_recommendations_config:\n")print(results.model_dump_json(by_alias=True,indent=4))exceptExceptionase:print("Exception when calling IAIRecommendationsApi->get_recommendations_config: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
:::tip setting x-sailpoint-experimental header
on the configuration object you can set the x-sailpoint-experimental header to `true' to enable all experimantl endpoints within the SDK.
Example:
Cert recommendation configuration attributes after update
RecommendationConfigDto
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
fromsailpoint.v2025.api.iai_recommendations_apiimportIAIRecommendationsApifromsailpoint.v2025.api_clientimportApiClientfromsailpoint.v2025.models.recommendation_config_dtoimportRecommendationConfigDtofromsailpoint.configurationimportConfigurationconfiguration=Configuration()configuration.experimental=TruewithApiClient(configuration)asapi_client:x_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')recommendation_config_dto='''{
"recommenderFeatures" : [ "jobTitle", "location", "peer_group", "department", "active" ],
"peerGroupPercentageThreshold" : 0.5,
"runAutoSelectOnce" : false,
"onlyTuneThreshold" : false
}'''# RecommendationConfigDto | try:# Update certification recommendation config valuesnew_recommendation_config_dto=RecommendationConfigDto.from_json(recommendation_config_dto)results=IAIRecommendationsApi(api_client).update_recommendations_config(x_sail_point_experimental=x_sail_point_experimental,recommendation_config_dto=new_recommendation_config_dto)# Below is a request that includes all optional parameters# results = IAIRecommendationsApi(api_client).update_recommendations_config(x_sail_point_experimental, new_recommendation_config_dto)print("The response of IAIRecommendationsApi->update_recommendations_config:\n")print(results.model_dump_json(by_alias=True,indent=4))exceptExceptionase:print("Exception when calling IAIRecommendationsApi->update_recommendations_config: %s\n"%e)