Skip to main content

Relationships

The diagram below illustrates how these models are interconnected. A Customer can have multiple Cases, each Case can have multiple Checks, and Documents can be associated with a Case or a Check. Documents can be associated with a Case or a Check, but only one at a time. Each association serves different purposes:
  • Linking to a Case: General document storage for the entire case workflow. Recommended starting point.
  • Linking to a Check: More precise. Isolated work for the AI agent and faster processing. Useful is check types such as Proof of Address. When creating a case, you can attach documents at the case level via document_ids, or attach them to a specific check by including document_ids inside that check object.