Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.aiinsurance.io/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Configuration rating outputs define the fields that display rating engine results (e.g., annual rate, monthly rate). All rating output fields use the entity name rating_engine_display and are stored in company_fields with an association in company_entity_fields. Each rating output field automatically gets a smart tag created with the naming convention AII{key}PrimaryInsured, enabling the field’s output to be referenced in policy and quote documents.

Key Concepts

  • fieldDefinition: A JSON object defining the field’s type (className), unique key, data path, and optional properties like label and display flag
  • className: Currently restricted to InputField (the only type used for rating outputs)
  • Smart tag: Always auto-created with name AII{key}PrimaryInsured and categories ["policy", "quote"]. The field key must be alphanumeric.
  • displayNeeded: Whether this field appears in rating output display tables

API Endpoints

MethodEndpointDescription
GET/configuration/rating/outputsList rating output fields
POST/configuration/rating/outputsCreate a new rating output field
DELETE/configuration/rating/outputs/{fieldId}Delete a rating output field and its smart tag

Permissions

ActionPermission
List fieldscompany:read
Create fieldcompany:update
Delete fieldcompany:update

Field Definition Properties

PropertyTypeRequiredDescription
classNamestringYesField type: InputField
keystringYesUnique field key (cannot be companyId; must be alphanumeric)
pathstringYesDot-notation path for the field value in entity data
labelstringNoHuman-readable label
sectionstringNoUI section grouping
requiredbooleanNoWhether the field is required
fieldsobjectNoSub-field configuration
displayNeededbooleanNoWhether this field is displayed in rating output tables