Parameters for the postPromptSession operation.

interface PostPromptSessionParams {
    createdAt?: number;
    createdBy?: string;
    description?: string;
    headers?: OutgoingHttpHeaders;
    id?: string;
    lastUpdatedAt?: number;
    lastUpdatedBy?: string;
    lock?: WatsonXAI.PromptLock;
    name: string;
    projectId?: string;
    prompts?: WatsonXAI.WxPromptSessionEntry[];
}

Properties

createdAt?: number

Time the session was created.

createdBy?: string

The ID of the original session creator.

description?: string

An optional description for the prompt session.

headers?: OutgoingHttpHeaders
id?: string

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

lastUpdatedAt?: number

Time the session was updated.

lastUpdatedBy?: string

The ID of the last user that modifed the session.

name: string

Name used to display the prompt session.

projectId?: string

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