User model
Represents an authenticated user:Project model
Represents a project (when using developer endpoints):API Key model
Represents a project API key:Generation model
Represents an AI generation request:Auth tokens
JWT tokens returned during authentication:Tokens are automatically stored in httpOnly cookies by the Starter Kit auth system.
Error responses
All API errors follow this structure:TypeScript types
Define these types in your application:lib/types/api.ts
Using types in components
components/project-card.tsx
Pagination
List endpoints support pagination:Next steps
API Reference
Complete endpoint documentation
Authentication
Auth flow details

