Skip to main content

Threads CLI

Manage execution threads

These commands connect to a running CodeBolt server. All subcommands inherit the global codebolt command options --port <number>, --host <string>, and --json.

Subcommands​

SubcommandDescriptionArgsOptions
listList all threads00
getGet thread details by ID10
createCreate a new thread01
deleteDelete a thread by ID10
stepsShow steps for a thread10
messagesShow messages for a thread10

list​

List all threads

codebolt command threads list

Arguments​

This command takes no positional arguments.

Options​

This command takes no options.

get​

Get thread details by ID

codebolt command threads get <id>

Arguments​

ArgumentDescription
<id>Thread ID

Options​

This command takes no options.

create​

Create a new thread

codebolt command threads create [options]

Arguments​

This command takes no positional arguments.

Options​

FlagsRequiredDescription
--name <name>YesThread name

delete​

Delete a thread by ID

codebolt command threads delete <id>

Arguments​

ArgumentDescription
<id>Thread ID

Options​

This command takes no options.

steps​

Show steps for a thread

codebolt command threads steps <id>

Arguments​

ArgumentDescription
<id>Thread ID

Options​

This command takes no options.

messages​

Show messages for a thread

codebolt command threads messages <id>

Arguments​

ArgumentDescription
<id>Thread ID

Options​

This command takes no options.