CLI

Use moi-cli to configure connection information, perform AI Studio tasks, and produce JSON that scripts can process. Before you begin, configure the Product endpoint and a personal access token, then select an accessible workspace.

Choose an entry point

Goal

Open this page

Use it when

Configure an endpoint and authentication

Configuration and authentication

You are using the CLI for the first time or need to update connection configuration.

Run a resource-management or query task

Common tasks

Configuration is complete and you know the resource type to operate on.

Run the CLI in a script or CI

Scripting and CI automation

A program must read command results or run commands in CI.

Find available commands and arguments

Command reference

You need to confirm command syntax, arguments, or output.

The CLI does not replace HTTP APIs and is not a general command-line interface for model calls.

Last updated on