API endpoint: /api/ai/profile