What should I log to prove my chatbot complies with California SB 243?

Log each notice SB 243 asks for: when it was due, when your app showed it, and why. Log the decision, the rule version and the time, with keyed hashes in place of user ids and text, and you have an audit trail without storing chats. Chain the records together so a deleted or edited one shows.

By ComplyEdge · Updated

1. What should I log for each SB 243 duty?

SB 243 is in sections 22601 to 22606 of the California Business and Professions Code. None of them lists the logs to keep or how long to keep them. Work back from what each duty would need you to show:

Log the misses too. A log that holds only successes cannot show how often a notice that was due did not appear.

2. How do I keep an audit trail without storing user chats?

Record the decision in place of the conversation. Each record needs enough to show which rule ran, what it decided and when, and nothing that replays what the user said:

3. A sample record

ComplyEdge writes these two records for one crisis referral. They come from a test run made on November 23, 2026, and show the fields that matter here. The first is the check of the user message. ComplyEdge read the message and did not store it:

{
  "event_id": "29ce2523-5aee-4365-a34c-130c66286605",
  "timestamp": "2026-11-23T22:27:11.327001+00:00",
  "agent_id": "companion-app",
  "session_id": "p1:53c6f0ad0dbd938b65b1be2bb0a4ae0e",
  "user_id": "p1:85bf071013670eff8fc461e55ca0003b",
  "age_status": "adult",
  "age_source": "self_declared",
  "jurisdiction": "US-CA",
  "direction": "prompt",
  "companion_assessment": "assessed",
  "companion_labels": [
    "expresses_self_harm"
  ],
  "required_actions": [
    {
      "action": "show_crisis_referral",
      "counted": true,
      "due_at": "2026-11-23T22:27:11.327001Z",
      "interval_key": "0d952102e8e78be3f2ed6d7f6def210aa28c992589eef0b3de071a60c2639dcc",
      "jurisdiction": "US-CA",
      "reason_code": "ca_22602b_crisis_referral",
      "rule_ids": [
        "us-ca-22602b-crisis-referral"
      ]
    },
    {
      "action": "show_not_human_notice",
      "counted": false,
      "due_at": "2026-11-23T22:27:11Z",
      "interval_key": "c1c92e8d6375fcb45b1f7553b032d2703555105387df00fcd375af023d4b07f4",
      "jurisdiction": "US-CA",
      "reason_code": "ca_22602a_reasonable_person_misled",
      "rule_ids": [
        "us-ca-22602a-not-human"
      ]
    }
  ],
  "text_hash": "73ddfd1c742a86547150650a585232503ba4cdcbb4e1aa2d9bdc93ac070367a9",
  "text_hash_alg": "hmac-sha256-1",
  "rulebook_version": "0.3.0",
  "bundle_digest": "3f2a10796fc357c7d717fb3f20f43e541063d9bcfec27f1313e2c5529f1d29c5",
  "chain_seq": 1,
  "chain_prev": "",
  "chain_hash": "508b35c8b8edf590a61cd830632a1f8c0a114965119b0ce429e3f38df0484976",
  "retention_class": "retention-2557d",
  "retention_erase_after": "2033-11-23T22:27:11.327001+00:00"
}

The second is written when the app confirms it showed the referral:

{
  "event_id": "c0897326-4b46-46d3-a314-6d6305754b24",
  "event_type": "notice",
  "notice_kind": "crisis_referral",
  "decision_ref": "29ce2523-5aee-4365-a34c-130c66286605",
  "interval_key": "0d952102e8e78be3f2ed6d7f6def210aa28c992589eef0b3de071a60c2639dcc",
  "issued_at": "2026-11-23T22:27:11.327001+00:00",
  "timestamp": "2026-11-23T22:27:13.020734+00:00",
  "channel_ref": "app",
  "language": "en",
  "source": "complyedge",
  "statement_ref": "us-ca-22602b-crisis-referral",
  "deciding_system_version": "2026.11.0",
  "chain_seq": 2,
  "chain_prev": "508b35c8b8edf590a61cd830632a1f8c0a114965119b0ce429e3f38df0484976",
  "chain_hash": "7ce1553eaefe7fb15f0e58b0982e9e811ddb529f517cecae7725a10cd4a86a51",
  "retention_class": "retention-2557d"
}

GET /v1/companion/session returns every record of a session, with each notice marked confirmed, missing or recommended, as JSON or as a PDF. The companion chatbot guide has the full file. A reviewer can check it on their own.

4. What should I keep in case my company is sued?

Under Business and Professions Code § 22605, a person who suffers injury in fact from a violation may sue for an injunction, for attorney's fees, and for

“the greater of actual damages or one thousand dollars ($1,000) per violation”

SB 243 does not say how violations are counted, so keep records that can be read one notice and one session at a time:

Decide with your lawyer how long to keep each one, whether to keep conversation text, and when to stop deletion. Once a claim is expected, deleting records on the usual schedule can hurt you.

If you keep a conversation, ComplyEdge can record a keyed hash of it. Later your copy is checked against that hash, which shows it was not changed. How to record a kept conversation. A legal hold, on the Enterprise plan, stops the covered records from expiring until it is lifted.

5. What stays with you

6. Where to read more