# Schema Overview

The database schema is comprised of three tables: Visitors, Sessions and Pages. They are joined via `hem` and `session_id` respectively.&#x20;

## Database Tables

* The [Visitors Table](broken://pages/siHDCBicnEqs3yThx831) stores comprehensive information about individuals who have visited a website with the Distilled tag installed. B2B, B2C, and PTE records are consolidated in this table view.
* The [Sessions Table](broken://pages/ZsdaGbSwb7f7EUF5yMra) captures data pertaining to each visitor's session, including session duration. A session concludes when there has been no activity for 30 minutes. In the sessions table, you can find the column that provides the match type for a visitor record. This column is titled [file\_type](broken://pages/ZsdaGbSwb7f7EUF5yMra#table-structure) and will indicate whether a visitor is a B2B, B2C, or PTE record.
* The[ Pages Table ](broken://pages/ID1A40yrl4y6HRtk8rzn)records details about the pages viewed by individuals during their session.
* The [Buyer Intent Table](broken://pages/knsLajWbfdymACNso3te) records details about the modeled intent score of resolved website visitors.&#x20;

### Entity Relationship Diagram

Referencing the provided Entity-Relationship Diagram (ERD) below, you can visualize how these tables can be joined together to provide a holistic view of user interactions on your website.

<figure><img src="/files/19ZHXQXwuPylVHJ9R2nS" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getuntitled.ai/custom-connections/schema-overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
