wx-ai prompt-session get-entry

Retrieves a prompt session entry for an ID.

Syntax

cpdctl wx-ai prompt-session get-entry \
--entry-id ENTRY-ID \
--session-id SESSION-ID \
[--cpd-scope CPD-SCOPE] \
[--project-id PROJECT-ID] \

Options

Table 1: Command options
Option Description
--cpd-scope (string) The IBM Software Hub space, project, or catalog scope. For example, cpd://default-context/spaces/7bccdda4-9752-4f37-868e-891de6c48135.
Status
Optional.
Syntax
--cpd-scope=<cpd-scope>
Input type
string
Default value
No default.
--entry-id (string) Prompt session entry ID. The value must match the regular expression /[a-zA-Z0-9-]*/.
Status
Required.
Syntax
--entry=<entry-id>
Default value
No default.
Input type
string
--project-id (string) The project that contains the deployment. Either space_id or project_id must be given.
Status
Optional.
Syntax
--project-id=<project-id>
Input type
string
Default value
No default.
--session-id (string) Prompt Session ID. The value must match the regular expression /[a-zA-Z0-9-]*/.
Status
Optional.
Syntax
--session-id=<session-id>
Default value
No default.
Input type
string

Examples

cpdctl wx-ai prompt-session get-entry \
    --session-id exampleString \
    --entry-id exampleString \
    --project-id exampleString