API Reference
Complete documentation for tRPC endpoints, database schemas, and data models.
Available Documentation
Database Schema
Complete database schema documentation for all 106 models including relationships, indexes, and constraints.
Search Endpoints
Search and export API endpoints.
Search Schemas
Database schemas for search and export functionality.
Working with the Database
Generate Prisma Client
After making schema changes:
npx prisma generate
Create a Migration
To create a new database migration:
npx prisma migrate dev --name your_migration_name
Pull Schema from Database
To sync schema from an existing database:
npx prisma db pull