Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(platform-api): allow filtering PromptStudioRegistry by custom_tool
Needed by the org-to-org migration SDK: after CustomTool migration the
target's PromptStudioRegistry gets a freshly-minted prompt_registry_id,
and downstream ToolInstance migration needs to remap source.tool_id ->
target.tool_id (both are registry UUIDs). With this filter the SDK can
GET /prompt-studio/registry/?custom_tool=<tool_id> on either side to
resolve the registry id without needing to know it up front.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
  • Loading branch information
chandrasekharan-zipstack and claude committed May 23, 2026
commit 4538894f173afa152b50938e48b61db26d7a0934
1 change: 1 addition & 0 deletions backend/prompt_studio/prompt_studio_registry_v2/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def get_queryset(self) -> QuerySet | None:
filterArgs = FilterHelper.build_filter_args(
self.request,
PromptStudioRegistryKeys.PROMPT_REGISTRY_ID,
"custom_tool",
)
queryset = None
if filterArgs:
Expand Down