Fetch a prompt version by template name and either an explicit version (e.g. v1) or a label name (e.g. Production). When both version and label are provided, version takes precedence. Returns the full prompt template data along with the resolved version’s configuration, variables, output schema, and assigned labels.
The exact name of the prompt template.
The version name to fetch (e.g. v1, v2). Takes precedence over label if both are provided.
The label name to resolve (e.g. Production, Staging, Development, or a custom label). Used only when version is not provided.