PromptLock.

interface PromptLock {
    lock_type?: string;
    locked: boolean;
    locked_by?: string;
}

Properties

lock_type?: 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.

locked_by?: string

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