Skip to content

PromptReleaseLabelV1

PromptScript API


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

Label of one release environment: the bundle each prompt id has there, version 1.

Properties

$schema

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

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

Schema URL, the version tag of the label.

Example

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

environment

environment: ReleaseEnvironmentName

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

Environment name.

Example

"prod"

prompts

prompts: PromptReleaseLabelEntry[]

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

Released prompts sorted by id