LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
UN-2778: Fix postprocessing webhook URL not being saved in exported APIs (#1519)
Deepak K845b5310e737
diff --git a/backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py b/backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.pyindex efd97504c..49fd66cb3 100644--- a/backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py+++ b/backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py@@ -1551,6 +1551,8 @@ class PromptStudioHelper:"eval_security_pii": prompt.eval_security_pii,"eval_guidance_toxicity": prompt.eval_guidance_toxicity,"eval_guidance_completeness": prompt.eval_guidance_completeness,+ "enable_postprocessing_webhook": prompt.enable_postprocessing_webhook,+ "postprocessing_webhook_url": prompt.postprocessing_webhook_url,}@staticmethoddiff --git a/backend/prompt_studio/prompt_studio_registry_v2/prompt_studio_registry_helper.py b/backend/prompt_studio/prompt_studio_registry_v2/prompt_studio_registry_helper.pyindex 02107e794..b40a2f249 100644--- a/backend/prompt_studio/prompt_studio_registry_v2/prompt_studio_registry_helper.py+++ b/backend/prompt_studio/prompt_studio_registry_v2/prompt_studio_registry_helper.py@@ -346,11 +346,9 @@ class PromptStudioRegistryHelper:output[JsonSchemaKey.ENABLE_POSTPROCESSING_WEBHOOK] = (prompt.enable_postprocessing_webhook)- # Do NOT export raw URLs by default to avoid leakage- if getattr(settings, "EXPORT_WEBHOOK_URLS", False):- output[JsonSchemaKey.POSTPROCESSING_WEBHOOK_URL] = (- prompt.postprocessing_webhook_url- )+ output[JsonSchemaKey.POSTPROCESSING_WEBHOOK_URL] = (+ prompt.postprocessing_webhook_url+ )# Retaining the old fields in condition# for backward compatibility. To be removed in future.if (