Parameters for the putPromptSessionLock operation.

interface PutPromptSessionLockParams {
    force?: boolean;
    headers?: OutgoingHttpHeaders;
    lockType?: string;
    locked: boolean;
    lockedBy?: string;
    projectId?: string;
    sessionId: string;
}

Properties

force?: boolean

Override a lock if it is currently taken.

headers?: OutgoingHttpHeaders
lockType?: string

Lock type: 'edit' for working on prompts/templates or 'governance'. Can only be supplied in PUT /lock requests.

locked: boolean

True if the prompt is currently locked.

lockedBy?: string

Locked by is computed by the server and shouldn't be passed.

projectId?: string

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

sessionId: string

Prompt Session ID.