# Data model overview

Twelve objects. Learn these four and the rest follow: Paper, Document,
Search, Citation.

```mermaid
graph LR
  F[File] --> D[Document]
  D --> CH[Chat]
  D --> EX[Extraction]
  P[Paper] --> S[Search]
  P --> CH
  S --> A[Answer]
  CH --> M[Message]
  M --> A
  A --> CI[Citation]
  CI --> P
  CI --> D
  EX --> CI
```

## The two kinds of content

*A paper is in our corpus; a document is yours.* Everything else is built on that distinction:
searches run over papers, extractions and chats run over
either, and a citation can point at both.

## Everything in this section

paper · document · library · search · answer · citation ·
extraction-schema · chat · message · job · webhook · depth · credit ·
rate-limit · topic
