removedInput schema / anyOf
Removed value: -[
- {
- "required": [
- "comparison_id"
- ]
- },
- {
- "required": [
- "comparison",
- "comparison_token"
- ]
- }
-]
changedInput schema / description
Previous value: -"Send exactly one of comparison_id or comparison + comparison_token. Copy request_id, comparison_id and insurer_id from the quote."New value: +"The comparison_id of a comparison, the insurer chosen, the person’s contact details and their agreement."
changedInput schema / properties / agent / description
Previous value: -"Who is calling: { name:\"chatgpt\" } etc. Self-declared, not authentication."New value: +"Optional. Who is calling; self-declared, used for statistics only."
removedInput schema / properties / agent / properties / cashbackRequested
Removed value: -{
- "default": true,
- "description": "Records a request for SPI to consider a benefit. Not a claim, eligibility, approval, amount or payment promise. Does not change prices or ranking.",
- "type": "boolean"
-}
removedInput schema / properties / agent / properties / cashback_requested
Removed value: -{
- "default": true,
- "description": "Records a request for SPI to consider a benefit. Not a claim, eligibility, approval, amount or payment promise. Does not change prices or ranking.",
- "type": "boolean"
-}
removedInput schema / properties / agent / properties / displayName
Removed value: -{
- "description": "Optional custom agent name, no client name or conversation content.",
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
-}
removedInput schema / properties / agent / properties / display_name
Removed value: -{
- "description": "Optional custom agent name, no client name or conversation content.",
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
-}
removedInput schema / properties / agent / properties / integrationId
Removed value: -{
- "description": "Self-declared integration identifier, NOT authentication.",
- "pattern": "^[a-zA-Z0-9._-]{1,80}$",
- "type": "string"
-}
removedInput schema / properties / agent / properties / integration_id
Removed value: -{
- "description": "Self-declared integration identifier, NOT authentication.",
- "pattern": "^[a-zA-Z0-9._-]{1,80}$",
- "type": "string"
-}
removedInput schema / properties / agent / properties / kind
Removed value: -{
- "description": "Optional. Accepted values: personal_assistant, conversational_assistant, coding_agent (personal_agent and chat_assistant are read as personal_assistant and conversational_assistant).",
- "enum": [
- "personal_assistant",
- "conversational_assistant",
- "coding_agent"
- ],
- "type": "string"
-}
changedInput schema / properties / agent / properties / name / description
Previous value: -"Agent name, lower-cased by the server (spaces become _; a literal <placeholder> counts as other). Known names: chatgpt, claude, gemini, grok, openclaw, muse, codex, claude_code, copilot, perplexity, mistral, coding_agent, other; any other short identifier is accepted."New value: +"Name of the assistant or product making the call."
removedInput schema / properties / cashback_terms_version
Removed value: -{
- "description": "cashback.version shown to the client; 409 cashback_terms_outdated when stale.",
- "type": "string"
-}
changedInput schema / properties / client_consent / description
Previous value: -"true only after the client explicitly answered yes to consent_request. Never infer consent from a comparison."New value: +"true when the person has agreed that their contact details, the comparison criteria and the chosen offer are sent to Swiss Premium Insurance. The request is refused without it."
removedInput schema / properties / comparison
Removed value: -{
- "description": "submission.comparison copied unchanged; only with comparison_token.",
- "type": "object"
-}
removedInput schema / properties / comparison_token
Removed value: -{
- "description": "submission.comparisonToken with the identical submission.comparison; alternative to comparison_id.",
- "maxLength": 1000,
- "type": "string"
-}
changedInput schema / properties / contact / description
Previous value: -"Fill email or phone; leave the other as an empty string or omit it. Never invent a client name, email or phone."New value: +"The person’s own details: an email address or a phone number, and optionally a name and a message."
changedInput schema / properties / contact / properties / email / description
Previous value: -"Client email such as client@example.ch; an empty string or an omitted key means the client gave a phone instead."New value: +"Email address such as client@example.ch; an empty string or an omitted key means a phone number is given instead."
changedInput schema / properties / contact / properties / phone / description
Previous value: -"Client telephone, 8-15 digits, optional spaces and + country code; an empty string or an omitted key means the client gave an email instead."New value: +"Telephone, 8-15 digits, optional spaces and + country code; an empty string or an omitted key means an email address is given instead."
changedInput schema / properties / insurer_id / description
Previous value: -"insurer_id of the offer the client chose, from offers[]."New value: +"insurer_id of the chosen offer, from offers[]."
changedInput schema / properties / language / description
Previous value: -"Client language; defaults to the comparison language. fr, de, it, en have localised client texts and pages; es, pt, zh are recorded for SPI (preview and pages fall back to en/fr)."New value: +"Language of the person; defaults to the comparison language. fr, de, it, en have localised texts and pages; es, pt, zh are recorded for SPI (preview and pages fall back to en/fr)."
changedInput schema / properties / request_id / description
Previous value: -"Copy submission.request_id from the quote (any RFC 4122 UUID). Reuse the same value and body on every retry."New value: +"Identifier of this request, as returned by the comparison (any UUID is accepted). The same request sent again with the same identifier within 24 hours is not sent twice."
changedInput schema / properties / subsidy_requested / description
Previous value: -"Client wants information on premium subsidies."New value: +"The person wants information on premium subsidies."
changedInput schema / properties / supplementary_interest / description
Previous value: -"Client also wants supplementary (LCA) offers; enables the LCA cashback."New value: +"The person also wants offers for supplementary insurance (LCA)."
changedInput schema / required
Previous value: -[
- "request_id",
- "contact",
- "client_consent"
-]New value: +[
+ "request_id",
+ "comparison_id",
+ "contact",
+ "client_consent"
+]
removedOutput schema / properties / payment_created
Removed value: -{
- "const": false
-}
changedOutput schema / properties / preview / description
Previous value: -"What a real send would contain."New value: +"What a real send would contain: the offer, the criteria, the names of the contact fields filled and the consent statement."
removedOutput schema / properties / preview / properties
Removed value: -{
- "cashback_line": {
- "type": [
- "string",
- "null"
- ]
- },
- "consent_confirmation": {
- "description": "The confirmation a real send returns, filled.",
- "type": "string"
- },
- "consent_statement": {
- "type": "string"
- },
- "contact_fields": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "criteria_summary": {
- "type": "string"
- },
- "household_monthly_chf": {
- "type": "number"
- },
- "insurer_name": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "members_count": {
- "type": "integer"
- },
- "model_name": {
- "type": "string"
- },
- "model_name_official": {
- "type": "string"
- },
- "people": {
- "description": "Household only: each member with model and monthly premium.",
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "premium_monthly_chf": {
- "description": "Monthly premium; for a household the household total.",
- "type": "number"
- }
-}
removedOutput schema / properties / recipient
Removed value: -{
- "const": "contact@sp-insurance.ch"
-}
addedOutput schema / properties / request_created
Added value: +{
+ "const": false
+}
removedOutput schema / properties / request_id / format
Removed value: -"uuid"
addedOutput schema / properties / would_be_sent_to
Added value: +{
+ "type": "string"
+}
changedOutput schema / required
Previous value: -[
- "status",
- "request_id",
- "email_sent",
- "payment_created",
- "recipient",
- "preview"
-]New value: +[
+ "status",
+ "email_sent",
+ "preview"
+]