Skip to main content

Interface: GreetingEntry

Defined in: packages/sdk/src/types/generated/task.ts:189

One authored opening line.

channel is either :data:DEFAULT_CHANNEL_KEY or a canonical Channel; locale is a supported locale tag. Both are validated at the request boundary (validate_initial_message_entries) rather than here, so a malformed value is a 422 naming the field instead of a generic model error — and so an import or direct DB write cannot smuggle a bad vocabulary token past the API.

Properties

channel?

optional channel: string

Defined in: packages/sdk/src/types/generated/task.ts:191

Canonical Channel, or 'default' for any channel.


locale

locale: string

Defined in: packages/sdk/src/types/generated/task.ts:193

Supported locale tag, e.g. 'en-US'.


text

text: string

Defined in: packages/sdk/src/types/generated/task.ts:195

What the assistant opens with.