# Update an existing recommendation prompt Update an existing prompt by ID. Must provide platform_key to verify ownership. Endpoint: PUT /api/ai-search/recommendation/prompts/ Version: 4.84.1-ai-plus Security: PlatformApiKeyAuthentication ## Request fields (application/json): - `platform_key` (string) Platform key this prompt belongs to - `prompt_text` (string) The custom recommendation strategy prompt - `recommendation_type` (string) Prompt category. Use 'catalog' for courses/programs/resources/pathways; use 'mentors' for mentor prompts. * mentors - Mentor Recommendations * catalog - Catalog Recommendations Enum: "mentors", "catalog" - `spa_url` (string,null) Frontend/SPA identifier (e.g., 'catalog.example.com', 'mentor-ai.ibl.com', 'https://mentor-ai.ibl.com'). Protocol and case will be normalized automatically. Leave blank for platform-wide prompts. - `active` (boolean) Whether this prompt is currently active ## Response 200 fields (application/json): - `platform_key` (string, required) - `prompt_text` (string, required) - `recommendation_type` (string, required) - `spa_url` (string,null) - `active` (boolean, required) - `created_at` (string, required) - `updated_at` (string, required) - `created_by` (string,null) Username of who created this prompt ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 404 fields