Skip to main content
Generate visibility tracking prompts for products.
Standalone endpoint for manual use only. The cron job does NOT call this endpoint directly. Instead, discover-products calls generate_prompts_for_product internally for new products.
Use this endpoint for:
  • Manual prompt regeneration for specific products
  • Debugging and testing prompt generation
  • Backfilling prompts for products that were created without them

How It Works

Request Body

products Array

Response

Prompt Generation

For each product, Gemini generates 10 search queries that users might use to find this product:

Configuration

Database Updates

Code Location