Resolve a prompt-level selector to the {prompt_identifier} path segment the
Phoenix REST API expects.
Version-level selectors are rejected rather than silently widened: structural
typing lets a { name, tag } or { versionId } value reach a
PromptIdentifier parameter, and quietly dropping the version would
point the caller at the whole prompt instead of the version they named.
Resolve a prompt-level selector to the
{prompt_identifier}path segment the Phoenix REST API expects.Version-level selectors are rejected rather than silently widened: structural typing lets a
{ name, tag }or{ versionId }value reach a PromptIdentifier parameter, and quietly dropping the version would point the caller at the whole prompt instead of the version they named.