# ZeyOS Database Reference — LLM index

## Spec
- dbref.json: /__doc/dbref.json

## Table index (JSON)
- /ai/db/tables.json

## Relations graph (JSON)
- /ai/db/relations.json

## Per-table docs (Markdown)
- Each table/view is available as `/ai/db/table.<name>.md` (URL provided in tables.json).
- Each table/view is also available as `/ai/db/table.<name>.json` (URL provided in tables.json).

## Common entities (starting points)
- accounts: /ai/db/table.accounts.md
- contacts: /ai/db/table.contacts.md
- projects: /ai/db/table.projects.md
- tasks: /ai/db/table.tasks.md
- tickets: /ai/db/table.tickets.md
- opportunities: /ai/db/table.opportunities.md
- transactions: /ai/db/table.transactions.md
