# Klarefi Documentation
Turn applicant documents and answers into structured, evidence-backed facts you can act on.
Source: https://www.klarefi.com/docs

## Klarefi

Klarefi helps regulated teams complete cases before they reach human review.
You send applicant answers and documents, Klarefi resolves the facts a workflow
needs, and every fact is linked back to evidence.

The case is the record you read for current state. Hosted Intake, operator
review, webhooks, and handoff packages all use the same case.

<Mermaid
  title="From input to review"
  chart={`flowchart TD
  Input[Applicant answers and documents]
  Case[Klarefi case]
  Facts[Facts with evidence]
  Package[Review-ready package]
  Event[Webhook event]
  System[Your system reads the case]

Input --> Case
Case --> Facts
Facts --> Package
Case -. state changed .-> Event
Event -. notify .-> System
`}
/>

## Core Objects

- **Case** - one intake packet moving from submission to review. Read it from
  the API any time for current state.
- **Session** - a signed applicant-facing intake flow for a case.
- **Fact** - a structured value the workflow needs, such as `incident_date`.
- **Evidence** - the source quote or document span that supports a fact.
- **Event** - a webhook signal that case state changed.
- **Package** - a review-ready handoff view for a case.

## Primary Integration

Start with Hosted Intake. Your backend creates a session, redirects the
applicant to Klarefi, and reads the completed case when the intake is ready.

Hosted Intake covers the applicant-facing flow: form steps, uploads, follow-up
questions, submission, webhooks, and the cited case package operators review.

## Use These Docs With AI

- [LLM index](/llms.txt) - short map of the docs corpus
- [Full LLM text](/llms-full.txt) - complete docs content for agents
- [API quickstart Markdown](/docs-source/api/quickstart) - one page source
- [Developer setup](/docs/api/sdks#install) - install the SDK, CLI, and agent-readable docs

## Start Building

- [Hosted Intake](/docs/guides/hosted-intake) - Build the applicant-facing intake session
- [Create an Intake Session](/docs/guides/create-intake-session) - Generate a signed hosted intake URL
- [Upload Documents](/docs/guides/upload-documents) - Attach documents to a case context
- [Hosted Intake Quickstart](/docs/guides/hosted-intake-quickstart) - Create a session and redirect an applicant
- [SDKs and CLI](/docs/api/sdks) - Install `@klarefi/node` and the `klarefi` CLI
- [Webhook Setup](/docs/guides/webhooks) - Receive signed event deliveries
- [Cases Reference](/docs/reference/cases) - Case statuses and review states
- [API Quickstart](/docs/api/quickstart) - Create a hosted intake session and read the case
- [API Reference](/docs/api/reference) - Compact endpoint reference

## What To Rely On

- Read the case when you need current state. Treat webhooks as notifications.
- Every document-derived fact should carry evidence.
- Facts without enough support route to follow-up or human review.
- Use the case package as the operator handoff.
