wx-ai prompt-session
get-lock
Retrieves the current locked state of a prompt session.
Syntax
cpd-cli wx-ai prompt-session
get-lock \
--session-id=<session-id>
[--cpd-scope=<cpd-scope>] \
[--project-id=<project-id>]
Options
Table 1: Command options
| Option | Description |
|---|---|
--cpd-scope |
The IBM Software Hub space,
project, or catalog scope. For example,
cpd://default-context/spaces/7bccdda4-9752-4f37-868e-891de6c48135.
|
--project-id |
The project that contains
the deployment. Either space_id or project_id must be
given.
|
--session-id |
Prompt Session ID. The value must
match the regular expression /[a-zA-Z0-9-]*/.
|
Examples
cpdctl wx-ai prompt-session get-lock \
--session-id exampleString \
--project-id exampleString