POST /api/cron/generate-prompts
Regenerates prompts for a business or product. This is a manual trigger/debugging endpoint.Purpose
This endpoint scrapes the website fresh and generates new prompts. Used for:- Regenerating prompts after website content changes
- Debugging prompt generation
- Manual prompt refresh
Architecture
Request Body
Prompt Limits
All products can have prompts (no limit on number of products).
Response Fields
Internal Services
generate_prompts
Core prompt generation service that scrapes and generates prompts. Location:src/app/shared/__init__.py (exported from prompts module)