Skip to content

PromptReleaseLabelV2

PromptScript API


Defined in: core/src/types/prompt-bundle.ts:283

Label of one release environment with optional weighted variants, version 2.

Properties

$schema

$schema: "https://getpromptscript.dev/schema/prompt-release-label/v2.json"

Defined in: core/src/types/prompt-bundle.ts:288

Schema URL, the version tag of the label.

Example

"https://getpromptscript.dev/schema/prompt-release-label/v2.json"

environment

environment: ReleaseEnvironmentName

Defined in: core/src/types/prompt-bundle.ts:293

Environment name.

Example

"prod"

prompts

prompts: PromptReleaseLabelEntryV2[]

Defined in: core/src/types/prompt-bundle.ts:295

Released prompts sorted by id