Parameters for the postPromptSessionEntry operation.

interface PostPromptSessionEntryParams {
    createdAt: number;
    description?: string;
    headers?: OutgoingHttpHeaders;
    id?: string;
    inputMode?: string;
    isTemplate?: boolean;
    name: string;
    projectId?: string;
    prompt: WatsonXAI.Prompt;
    promptVariables?: WatsonXAI.JsonObject;
    sessionId: string;
}

Properties

createdAt: number

Time the prompt was created.

description?: string

An optional description for the prompt.

headers?: OutgoingHttpHeaders
id?: string

The prompt's id. This value cannot be set. It is returned in responses only.

inputMode?: string

Input mode in use for the prompt.

isTemplate?: boolean
name: string

Name used to display the prompt.

projectId?: string

[REQUIRED] Specifies the project ID as the target. One target must be supplied per request.

promptVariables?: WatsonXAI.JsonObject
sessionId: string

Prompt Session ID.