Customer Insight for Insurance

Live

Customer Insight for Insurance

+ Day(s) remaining in the trial

Overview

The Customer Insight for Insurance service provides a set of analytical models that help you generate customer insights for use in marketing, distribution, and customer service programs for insurers.

Getting started

Where do I get information about the models?

To get information about the models, see **Model Reference** in the **Reference** section of the [Customer Insight for Insurance documentation](https://console.bluemix.net/docs/services/customerinsightinsurance/index.html).

Where do I get information about the data schema?

To get information about the data schema, see [Data Schema Reference](https://console.bluemix.net/docs/services/customerinsightinsurance/schema_documentation.html#data-schema-reference).

Security

Keys

Pick a key to use with this API. Make sure you are logged in with your IBM id for your keys to be populated in the dropdown below. By selecting a key, it will be pre-filled for each endpoint in the Documentation section that can be used with the built-in testing. If you want to change which key to use for a particular endpoint, you can do so at the endpoint in the Documentation section.
You can manage your API keys in the <MyAPIs> section. API keys authenticate you to your subscription, so make sure to keep them secret. Do not share the X-IBM-Client-Secret portion of any API key in publicly accessible places such as GitHub, or client-side code.



Manage your keys
 

Documentation

Customer Insight for Insurance:

Analytics

Get the status of an analytics job
This operation returns the status of the analytics job specified by the jobId parameter.

GET   /analytics/status/{jobId}

			http://cii-api.mybluemix.net/api/v2/pcinsurance/analytics/status/{jobId}
		
Keys
Path and Query parameters

jobId

URL , required

ID of the job

Request code
								
HttpResponse<String> response = Unirest.get("https://cii-api.mybluemix.net/api/v2/pcinsurance/analytics/status/{jobId}") .asString();
Response model

200

Successful operation.

Body

Response example

200

Successful operation.

								
							
List scoring jobs
This operation returns the list of all scoring jobs.

GET   /analytics/score

			http://cii-api.mybluemix.net/api/v2/pcinsurance/analytics/score
		
Keys
Request code
								
HttpResponse<String> response = Unirest.get("https://cii-api.mybluemix.net/api/v2/pcinsurance/analytics/score") .asString();
Response model

200

Model scoring jobs.

500

Internal server error.

Response example

200

Model scoring jobs.

500

Internal server error.

List training jobs
This operation returns the list of all training jobs.

GET   /analytics/train

			http://cii-api.mybluemix.net/api/v2/pcinsurance/analytics/train
		
Keys
Request code
								
HttpResponse<String> response = Unirest.get("https://cii-api.mybluemix.net/api/v2/pcinsurance/analytics/train") .asString();
Response model

200

Model training jobs.

500

Internal server error.

Response example

200

Model training jobs.

500

Internal server error.

Score a model
This operation scores the model specified by the modelId parameter.

POST   /analytics/score/{modelId}

			http://cii-api.mybluemix.net/api/v2/pcinsurance/analytics/score/{modelId}
		
Keys
Path and Query parameters

modelId

URL , required

The ID of the model to score. The value of this parameter can be AutoChurn, AutoRenewal, HomeChurn, HomeRenewal, CrossSellProduct, or GeneralSegmentation.

Request code
								
HttpResponse<String> response = Unirest.post("https://cii-api.mybluemix.net/api/v2/pcinsurance/analytics/score/{modelId}") .body("{\"settings\":{\"properties\":{\"fields\":{\"additionalProperties\":{\"type\":\"object\"},\"type\":\"object\"}},\"required\":[\"fields\"],\"type\":\"object\"}}") .asString();
Request model

settings

OBJECT , required

fields

OBJECT , required

Request example
{
  "settings": {
    "fields": object
  }
}
Response model

200

Scoring completed successfully.

202

Tenant analytics scoring request submitted successfully.

400

Invalid request.

500

Internal server error.

Response example

200

Scoring completed successfully.

202

Tenant analytics scoring request submitted successfully.

400

Invalid request.

500

Internal server error.

Train a model
This operation trains the model specified by the modelId parameter.

POST   /analytics/train/{modelId}

			http://cii-api.mybluemix.net/api/v2/pcinsurance/analytics/train/{modelId}
		
Keys
Path and Query parameters

modelId

URL , required

The ID of the model to train. The value of this parameter can be AutoChurn, AutoRenewal, HomeChurn, HomeRenewal, CrossSellProduct, or GeneralSegmentation.

Request code
								
HttpResponse<String> response = Unirest.post("https://cii-api.mybluemix.net/api/v2/pcinsurance/analytics/train/{modelId}") .body("{\"settings\":{\"properties\":{\"fields\":{\"additionalProperties\":{\"type\":\"object\"},\"type\":\"object\"}},\"required\":[\"fields\"],\"type\":\"object\"}}") .asString();
Request model

settings

OBJECT , required

fields

OBJECT , required

Request example
{
  "settings": {
    "fields": object
  }
}
Response model

200

Training completed successfully.

202

Tenant analytics training request submitted successfully.

500

Internal server error.

Response example

200

Training completed successfully.

202

Tenant analytics training request submitted successfully.

500

Internal server error.

Loading content...

Resources