Seclai CLI

Version: 1.2.0 ยท Generated command reference from --help output

Overview

Usage: seclai [options] [command]

Seclai Command Line Interface (v1.2.0)

Manage agents, knowledge bases, sources, memory banks, evaluations, and more
from the terminal.

All commands return JSON to stdout, making it easy to pipe into jq or other
tools.

Options:
  -V, --version        output the version
  --api-key <key>      Seclai API key (defaults to SECLAI_API_KEY).
  --profile <name>     SSO profile name (defaults to SECLAI_PROFILE, then
                       'default').
  --account-id <id>    Account ID for multi-org targeting (X-Account-Id header).
  --config-dir <path>  Config directory (defaults to SECLAI_CONFIG_DIR, then
                       ~/.seclai).
  --compact            Output compact JSON (no indentation).
  -h, --help           display help for command

Commands:
  agents               Manage agents, runs, definitions, and AI assistance.
  sources|source       Manage content sources.
  contents             Manage indexed content and embeddings.
  kb                   Manage knowledge bases.
  memory               Manage memory banks.
  evals                Manage evaluations.
  solutions            Manage solutions.
  governance           Governance AI assistant.
  alerts               Manage alerts and alert configurations.
  models               Model alerts and recommendations.
  search [options]     Search across Seclai resources.
  ai                   Top-level AI assistant.
  skills               Install Seclai CLI skill files for AI coding tools.
  mcp                  Configure the Seclai MCP server for AI coding tools.
  completion <shell>   Generate shell completion scripts.
  auth                 SSO authentication (login/logout/status/refresh).
  configure            Configure CLI profiles and settings.
  help [command]       display help for command

Environment:
  SECLAI_API_KEY      Default API key (alternative to --api-key)
  SECLAI_API_URL      Override API base URL (default: https://api.seclai.com)
  SECLAI_PROFILE      Default SSO profile (alternative to --profile)
  SECLAI_CONFIG_DIR   Config directory (alternative to --config-dir)

Examples:
  seclai agents list
  seclai agents run <agentId> --json '{"input":"Hello"}'
  seclai agents run <agentId> --json '{"input":"Hi"}' --events
  seclai configure sso
  seclai auth login
  seclai auth status
  seclai sources list --profile dev
  npx @seclai/cli agents list

agents

Usage: seclai agents [options] [command]

Manage agents, runs, definitions, and AI assistance.

Options:
  -h, --help                         display help for command

Commands:
  list [options]                     List agents.
  create [options]                   Create a new agent.
  get <agentId>                      Get an agent by ID.
  update [options] <agentId>         Update an agent.
  delete <agentId>                   Delete an agent.
  run [options] <agentId>            Run an agent. Use --stream/--events/--poll
                                     for different modes.
  runs                               Manage agent runs.
  def                                Agent definition (step workflow).
  upload-input [options] <agentId>   Upload a file as agent input.
  input-status <agentId> <uploadId>  Check agent input upload status.
  ai                                 Agent AI assistant.
  help [command]                     display help for command

agents list

Usage: seclai agents list [options]

List agents.

Options:
  --page <n>   Page number.
  --limit <n>  Page size.
  -h, --help   display help for command

agents create

Usage: seclai agents create [options]

Create a new agent.

Options:
  --json <json>       Inline JSON body. Use '-' for stdin.
  --json-file <path>  JSON file path. Use '-' for stdin.
  -h, --help          display help for command

agents get

Usage: seclai agents get [options] <agentId>

Get an agent by ID.

Arguments:
  agentId     Agent ID.

Options:
  -h, --help  display help for command

agents update

Usage: seclai agents update [options] <agentId>

Update an agent.

Arguments:
  agentId             Agent ID.

Options:
  --json <json>       Inline JSON body.
  --json-file <path>  JSON file path.
  -h, --help          display help for command

agents delete

Usage: seclai agents delete [options] <agentId>

Delete an agent.

Arguments:
  agentId     Agent ID.

Options:
  -h, --help  display help for command

agents run

Usage: seclai agents run [options] <agentId>

Run an agent. Use --stream/--events/--poll for different modes.

Arguments:
  agentId                 Agent ID.

Options:
  --json <json>           Inline JSON body. Use '-' for stdin.
  --json-file <path>      JSON file path. Use '-' for stdin.
  --stream                Stream and print final result when done.
  --events                Stream SSE events as newline-delimited JSON.
  --event-filter <types>  Comma-separated event types to show (with --events).
  --output <mode>         Output mode: 'full' prints entire event, 'data' prints
                          only the data field, 'status' prints a one-line
                          summary. (default: "full")
  --poll                  Poll until completion instead of streaming.
  --poll-interval-ms <n>  Poll interval in ms (with --poll).
  --timeout-ms <n>        Client-side timeout in ms.
  --include-step-outputs  Include step outputs (with --poll).
  -h, --help              display help for command

agents runs

Usage: seclai agents runs [options] [command]

Manage agent runs.

Options:
  -h, --help                                display help for command

Commands:
  list [options] <agentId>                  List runs for an agent.
  get [options] <runId>                     Get a specific run.
  delete <runId>                            Delete a run.
  cancel <runId>                            Cancel a running agent run.
  search [options]                          Search agent runs.
  eval-results [options] <agentId> <runId>  List evaluation results for a run.
  help [command]                            display help for command

agents runs list

Usage: seclai agents runs list [options] <agentId>

List runs for an agent.

Arguments:
  agentId            Agent ID.

Options:
  --page <n>         Page number.
  --limit <n>        Page size.
  --status <status>  Filter by run status (e.g. queued, running, completed,
                     failed, cancelled).
  -h, --help         display help for command

agents runs get

Usage: seclai agents runs get [options] <runId>

Get a specific run.

Arguments:
  runId                   Run ID.

Options:
  --include-step-outputs  Include step-level outputs.
  -h, --help              display help for command

agents runs delete

Usage: seclai agents runs delete [options] <runId>

Delete a run.

Arguments:
  runId       Run ID.

Options:
  -h, --help  display help for command

agents runs cancel

Usage: seclai agents runs cancel [options] <runId>

Cancel a running agent run.

Arguments:
  runId       Run ID.

Options:
  -h, --help  display help for command

agents runs eval-results

Usage: seclai agents runs eval-results [options] <agentId> <runId>

List evaluation results for a run.

Arguments:
  agentId      Agent ID.
  runId        Run ID.

Options:
  --page <n>   Page number.
  --limit <n>  Page size.
  -h, --help   display help for command

agents def

Usage: seclai agents def [options] [command]

Agent definition (step workflow).

Options:
  -h, --help                  display help for command

Commands:
  get <agentId>               Get agent definition.
  update [options] <agentId>  Update agent definition.
  help [command]              display help for command

agents def get

Usage: seclai agents def get [options] <agentId>

Get agent definition.

Arguments:
  agentId     Agent ID.

Options:
  -h, --help  display help for command

agents def update

Usage: seclai agents def update [options] <agentId>

Update agent definition.

Arguments:
  agentId             Agent ID.

Options:
  --json <json>       Definition JSON body.
  --json-file <path>  Definition JSON file.
  -h, --help          display help for command

agents upload-input

Usage: seclai agents upload-input [options] <agentId>

Upload a file as agent input.

Arguments:
  agentId             Agent ID.

Options:
  --file <path>       File to upload.
  --file-name <name>  Override filename.
  --mime-type <type>  MIME type.
  -h, --help          display help for command

agents input-status

Usage: seclai agents input-status [options] <agentId> <uploadId>

Check agent input upload status.

Arguments:
  agentId     Agent ID.
  uploadId    Upload ID.

Options:
  -h, --help  display help for command

agents ai

Usage: seclai agents ai [options] [command]

Agent AI assistant.

Options:
  -h, --help                                 display help for command

Commands:
  gen-steps [options] <agentId>              Generate agent steps via AI.
  step-config [options] <agentId>            Generate step config via AI.
  history <agentId>                          Get agent AI conversation history.
  mark [options] <agentId> <conversationId>  Mark an AI suggestion (accept/reject).
  help [command]                             display help for command

agents ai gen-steps

Usage: seclai agents ai gen-steps [options] <agentId>

Generate agent steps via AI.

Arguments:
  agentId              Agent ID.

Options:
  --user-input <text>  User input text (shorthand for --json
                       '{"user_input":"..."}')
  --json <json>        Full request body JSON.
  --json-file <path>   Request body JSON file.
  -h, --help           display help for command

agents ai step-config

Usage: seclai agents ai step-config [options] <agentId>

Generate step config via AI.

Arguments:
  agentId              Agent ID.

Options:
  --user-input <text>  User input text (shorthand for --json
                       '{"user_input":"..."}')
  --json <json>        Full request body JSON.
  --json-file <path>   Request body JSON file.
  -h, --help           display help for command

agents ai history

Usage: seclai agents ai history [options] <agentId>

Get agent AI conversation history.

Arguments:
  agentId     Agent ID.

Options:
  -h, --help  display help for command

agents ai mark

Usage: seclai agents ai mark [options] <agentId> <conversationId>

Mark an AI suggestion (accept/reject).

Arguments:
  agentId             Agent ID.
  conversationId      Conversation ID.

Options:
  --json <json>       Mark body JSON.
  --json-file <path>  Mark body JSON file.
  -h, --help          display help for command

sources

Usage: seclai sources|source [options] [command]

Manage content sources.

Options:
  -h, --help                        display help for command

Commands:
  list [options]                    List sources.
  create [options]                  Create a source.
  get <sourceId>                    Get a source by ID.
  update [options] <sourceId>       Update a source.
  delete <sourceId>                 Delete a source.
  upload [options] <sourceId>       Upload a file to a source.
  upload-text [options] <sourceId>  Upload inline text to a source.
  exports                           Manage source exports.
  migration                         Source embedding migrations.
  help [command]                    display help for command

sources list

Usage: seclai sources list [options]

List sources.

Options:
  --page <n>          Page number.
  --limit <n>         Page size.
  --sort <field>      Sort field.
  --order <asc|desc>  Sort direction.
  --account-id <id>   Filter by account ID.
  -h, --help          display help for command

sources create

Usage: seclai sources create [options]

Create a source.

Options:
  --json <json>       Source body JSON.
  --json-file <path>  Source body JSON file.
  -h, --help          display help for command

sources get

Usage: seclai sources get [options] <sourceId>

Get a source by ID.

Arguments:
  sourceId    Source ID.

Options:
  -h, --help  display help for command

sources update

Usage: seclai sources update [options] <sourceId>

Update a source.

Arguments:
  sourceId            Source ID.

Options:
  --json <json>       Update body JSON.
  --json-file <path>  Update body JSON file.
  -h, --help          display help for command

sources delete

Usage: seclai sources delete [options] <sourceId>

Delete a source.

Arguments:
  sourceId    Source ID.

Options:
  -h, --help  display help for command

sources upload

Usage: seclai sources upload [options] <sourceId>

Upload a file to a source.

Arguments:
  sourceId                Source ID.

Options:
  --file <path>           Path to a local file to upload.
  --title <title>         Optional title.
  --metadata <json>       Metadata JSON object. Use '-' for stdin.
  --metadata-file <path>  Path to metadata JSON file. Use '-' for stdin.
  --file-name <name>      Override filename sent to API.
  --mime-type <type>      Explicit MIME type.
  -h, --help              display help for command

sources upload-text

Usage: seclai sources upload-text [options] <sourceId>

Upload inline text to a source.

Arguments:
  sourceId            Source ID.

Options:
  --json <json>       Inline text body JSON.
  --json-file <path>  Inline text body JSON file.
  -h, --help          display help for command

sources exports

Usage: seclai sources exports [options] [command]

Manage source exports.

Options:
  -h, --help                      display help for command

Commands:
  list [options] <sourceId>       List exports for a source.
  create [options] <sourceId>     Create an export.
  get <sourceId> <exportId>       Get an export.
  cancel <sourceId> <exportId>    Cancel an export.
  delete <sourceId> <exportId>    Delete an export.
  download <sourceId> <exportId>  Download an export (prints raw response body).
  estimate [options] <sourceId>   Estimate an export.
  help [command]                  display help for command

sources exports list

Usage: seclai sources exports list [options] <sourceId>

List exports for a source.

Arguments:
  sourceId     Source ID.

Options:
  --page <n>   Page number.
  --limit <n>  Page size.
  -h, --help   display help for command

sources exports create

Usage: seclai sources exports create [options] <sourceId>

Create an export.

Arguments:
  sourceId            Source ID.

Options:
  --json <json>       Export body JSON.
  --json-file <path>  Export body JSON file.
  -h, --help          display help for command

sources exports get

Usage: seclai sources exports get [options] <sourceId> <exportId>

Get an export.

Arguments:
  sourceId    Source ID.
  exportId    Export ID.

Options:
  -h, --help  display help for command

sources exports cancel

Usage: seclai sources exports cancel [options] <sourceId> <exportId>

Cancel an export.

Arguments:
  sourceId    Source ID.
  exportId    Export ID.

Options:
  -h, --help  display help for command

sources exports delete

Usage: seclai sources exports delete [options] <sourceId> <exportId>

Delete an export.

Arguments:
  sourceId    Source ID.
  exportId    Export ID.

Options:
  -h, --help  display help for command

sources exports download

Usage: seclai sources exports download [options] <sourceId> <exportId>

Download an export (prints raw response body).

Arguments:
  sourceId    Source ID.
  exportId    Export ID.

Options:
  -h, --help  display help for command

sources exports estimate

Usage: seclai sources exports estimate [options] <sourceId>

Estimate an export.

Arguments:
  sourceId            Source ID.

Options:
  --json <json>       Estimate body JSON.
  --json-file <path>  Estimate body JSON file.
  -h, --help          display help for command

sources migration

Usage: seclai sources migration [options] [command]

Source embedding migrations.

Options:
  -h, --help                  display help for command

Commands:
  get <sourceId>              Get migration status.
  start [options] <sourceId>  Start an embedding migration.
  cancel <sourceId>           Cancel an embedding migration.
  help [command]              display help for command

sources migration get

Usage: seclai sources migration get [options] <sourceId>

Get migration status.

Arguments:
  sourceId    Source ID.

Options:
  -h, --help  display help for command

sources migration start

Usage: seclai sources migration start [options] <sourceId>

Start an embedding migration.

Arguments:
  sourceId            Source ID.

Options:
  --json <json>       Migration config JSON.
  --json-file <path>  Migration config JSON file.
  -h, --help          display help for command

sources migration cancel

Usage: seclai sources migration cancel [options] <sourceId>

Cancel an embedding migration.

Arguments:
  sourceId    Source ID.

Options:
  -h, --help  display help for command

contents

Usage: seclai contents [options] [command]

Manage indexed content and embeddings.

Options:
  -h, --help                                   display help for command

Commands:
  get [options] <contentVersionId>             Get content version details.
  delete <contentVersionId>                    Delete a content version.
  upload|replace [options] <contentVersionId>  Upload/replace content file.
  replace-text [options] <contentVersionId>    Replace content with inline text.
  embeddings [options] <contentVersionId>      List embeddings for a content version.
  help [command]                               display help for command

contents get

Usage: seclai contents get [options] <contentVersionId>

Get content version details.

Arguments:
  contentVersionId  Content version ID.

Options:
  --start <n>       Text start offset (0-based).
  --end <n>         Text end offset (exclusive).
  -h, --help        display help for command

contents delete

Usage: seclai contents delete [options] <contentVersionId>

Delete a content version.

Arguments:
  contentVersionId  Content version ID.

Options:
  -h, --help        display help for command

contents upload

Usage: seclai contents upload|replace [options] <contentVersionId>

Upload/replace content file.

Arguments:
  contentVersionId        Content version ID.

Options:
  --file <path>           Path to a local file to upload.
  --title <title>         Optional title.
  --metadata <json>       Metadata JSON object. Use '-' for stdin.
  --metadata-file <path>  Path to metadata JSON file. Use '-' for stdin.
  --file-name <name>      Override filename sent to API.
  --mime-type <type>      Explicit MIME type.
  -h, --help              display help for command

contents replace-text

Usage: seclai contents replace-text [options] <contentVersionId>

Replace content with inline text.

Arguments:
  contentVersionId    Content version ID.

Options:
  --json <json>       Inline text body JSON.
  --json-file <path>  Inline text body JSON file.
  -h, --help          display help for command

contents embeddings

Usage: seclai contents embeddings [options] <contentVersionId>

List embeddings for a content version.

Arguments:
  contentVersionId  Content version ID.

Options:
  --page <n>        Page number.
  --limit <n>       Page size.
  -h, --help        display help for command

kb

Usage: seclai kb [options] [command]

Manage knowledge bases.

Options:
  -h, --help               display help for command

Commands:
  list [options]           List knowledge bases.
  create [options]         Create a knowledge base.
  get <kbId>               Get a knowledge base.
  update [options] <kbId>  Update a knowledge base.
  delete <kbId>            Delete a knowledge base.
  help [command]           display help for command

kb list

Usage: seclai kb list [options]

List knowledge bases.

Options:
  --page <n>          Page number.
  --limit <n>         Page size.
  --sort <field>      Sort field.
  --order <asc|desc>  Sort direction.
  -h, --help          display help for command

kb create

Usage: seclai kb create [options]

Create a knowledge base.

Options:
  --json <json>       Body JSON.
  --json-file <path>  Body JSON file.
  -h, --help          display help for command

kb get

Usage: seclai kb get [options] <kbId>

Get a knowledge base.

Arguments:
  kbId        Knowledge base ID.

Options:
  -h, --help  display help for command

kb update

Usage: seclai kb update [options] <kbId>

Update a knowledge base.

Arguments:
  kbId                Knowledge base ID.

Options:
  --json <json>       Update body JSON.
  --json-file <path>  Update body JSON file.
  -h, --help          display help for command

kb delete

Usage: seclai kb delete [options] <kbId>

Delete a knowledge base.

Arguments:
  kbId        Knowledge base ID.

Options:
  -h, --help  display help for command

memory

Usage: seclai memory [options] [command]

Manage memory banks.

Options:
  -h, --help                                display help for command

Commands:
  list [options]                            List memory banks.
  create [options]                          Create a memory bank.
  get <memoryBankId>                        Get a memory bank.
  update [options] <memoryBankId>           Update a memory bank.
  delete <memoryBankId>                     Delete a memory bank.
  stats <memoryBankId>                      Get memory bank statistics.
  agents <memoryBankId>                     List agents using a memory bank.
  compact <memoryBankId>                    Compact a memory bank.
  delete-source <memoryBankId>              Delete a memory bank's source data.
  templates                                 List memory bank templates.
  test-compaction [options] <memoryBankId>  Test compaction on a memory bank.
  test-compaction-standalone [options]      Test compaction prompt standalone (no memory bank required).
  ai                                        Memory bank AI assistant.
  help [command]                            display help for command

memory list

Usage: seclai memory list [options]

List memory banks.

Options:
  --page <n>          Page number.
  --limit <n>         Page size.
  --sort <field>      Sort field.
  --order <asc|desc>  Sort direction.
  -h, --help          display help for command

memory create

Usage: seclai memory create [options]

Create a memory bank.

Options:
  --json <json>       Body JSON.
  --json-file <path>  Body JSON file.
  -h, --help          display help for command

memory get

Usage: seclai memory get [options] <memoryBankId>

Get a memory bank.

Arguments:
  memoryBankId  Memory bank ID.

Options:
  -h, --help    display help for command

memory update

Usage: seclai memory update [options] <memoryBankId>

Update a memory bank.

Arguments:
  memoryBankId        Memory bank ID.

Options:
  --json <json>       Update body JSON.
  --json-file <path>  Update body JSON file.
  -h, --help          display help for command

memory delete

Usage: seclai memory delete [options] <memoryBankId>

Delete a memory bank.

Arguments:
  memoryBankId  Memory bank ID.

Options:
  -h, --help    display help for command

memory stats

Usage: seclai memory stats [options] <memoryBankId>

Get memory bank statistics.

Arguments:
  memoryBankId  Memory bank ID.

Options:
  -h, --help    display help for command

memory agents

Usage: seclai memory agents [options] <memoryBankId>

List agents using a memory bank.

Arguments:
  memoryBankId  Memory bank ID.

Options:
  -h, --help    display help for command

memory compact

Usage: seclai memory compact [options] <memoryBankId>

Compact a memory bank.

Arguments:
  memoryBankId  Memory bank ID.

Options:
  -h, --help    display help for command

memory delete-source

Usage: seclai memory delete-source [options] <memoryBankId>

Delete a memory bank's source data.

Arguments:
  memoryBankId  Memory bank ID.

Options:
  -h, --help    display help for command

memory templates

Usage: seclai memory templates [options]

List memory bank templates.

Options:
  -h, --help  display help for command

memory test-compaction

Usage: seclai memory test-compaction [options] <memoryBankId>

Test compaction on a memory bank.

Arguments:
  memoryBankId        Memory bank ID.

Options:
  --json <json>       Test config JSON.
  --json-file <path>  Test config JSON file.
  -h, --help          display help for command

memory test-compaction-standalone

Usage: seclai memory test-compaction-standalone [options]

Test compaction prompt standalone (no memory bank required).

Options:
  --json <json>       Test config JSON.
  --json-file <path>  Test config JSON file.
  -h, --help          display help for command

memory ai

Usage: seclai memory ai [options] [command]

Memory bank AI assistant.

Options:
  -h, --help                         display help for command

Commands:
  generate [options]                 Generate memory bank config via AI.
  last                               Get last memory bank AI conversation.
  accept [options] <conversationId>  Accept a memory bank AI suggestion.
  help [command]                     display help for command

memory ai generate

Usage: seclai memory ai generate [options]

Generate memory bank config via AI.

Options:
  --user-input <text>  User input text (shorthand for --json
                       '{"user_input":"..."}')
  --json <json>        Full request body JSON.
  --json-file <path>   Request body JSON file.
  -h, --help           display help for command

memory ai last

Usage: seclai memory ai last [options]

Get last memory bank AI conversation.

Options:
  -h, --help  display help for command

memory ai accept

Usage: seclai memory ai accept [options] <conversationId>

Accept a memory bank AI suggestion.

Arguments:
  conversationId      Conversation ID.

Options:
  --json <json>       Accept body JSON.
  --json-file <path>  Accept body JSON file.
  -h, --help          display help for command

evals

Usage: seclai evals [options] [command]

Manage evaluations.

Options:
  -h, --help                              display help for command

Commands:
  criteria                                Evaluation criteria.
  results                                 Evaluation results.
  compatible-runs [options] <criteriaId>  List runs compatible with criteria.
  test-draft [options] <agentId>          Test a draft evaluation.
  agent-results [options] <agentId>       List all evaluation results for an agent.
  agent-runs [options] <agentId>          List evaluation run summaries for an agent.
  non-manual-summary <agentId>            Get non-manual evaluation summary for an agent.
  help [command]                          display help for command

evals criteria

Usage: seclai evals criteria [options] [command]

Evaluation criteria.

Options:
  -h, --help                     display help for command

Commands:
  list [options] <agentId>       List evaluation criteria for an agent.
  create [options] <agentId>     Create evaluation criteria.
  get <criteriaId>               Get evaluation criteria.
  update [options] <criteriaId>  Update evaluation criteria.
  delete <criteriaId>            Delete evaluation criteria.
  summary <criteriaId>           Get criteria evaluation summary.
  help [command]                 display help for command

evals criteria list

Usage: seclai evals criteria list [options] <agentId>

List evaluation criteria for an agent.

Arguments:
  agentId      Agent ID.

Options:
  --page <n>   Page number.
  --limit <n>  Page size.
  -h, --help   display help for command

evals criteria create

Usage: seclai evals criteria create [options] <agentId>

Create evaluation criteria.

Arguments:
  agentId             Agent ID.

Options:
  --json <json>       Criteria body JSON.
  --json-file <path>  Criteria body JSON file.
  -h, --help          display help for command

evals criteria get

Usage: seclai evals criteria get [options] <criteriaId>

Get evaluation criteria.

Arguments:
  criteriaId  Criteria ID.

Options:
  -h, --help  display help for command

evals criteria update

Usage: seclai evals criteria update [options] <criteriaId>

Update evaluation criteria.

Arguments:
  criteriaId          Criteria ID.

Options:
  --json <json>       Update body JSON.
  --json-file <path>  Update body JSON file.
  -h, --help          display help for command

evals criteria delete

Usage: seclai evals criteria delete [options] <criteriaId>

Delete evaluation criteria.

Arguments:
  criteriaId  Criteria ID.

Options:
  -h, --help  display help for command

evals criteria summary

Usage: seclai evals criteria summary [options] <criteriaId>

Get criteria evaluation summary.

Arguments:
  criteriaId  Criteria ID.

Options:
  -h, --help  display help for command

evals results

Usage: seclai evals results [options] [command]

Evaluation results.

Options:
  -h, --help                     display help for command

Commands:
  list [options] <criteriaId>    List results for criteria.
  create [options] <criteriaId>  Create an evaluation result.
  help [command]                 display help for command

evals results list

Usage: seclai evals results list [options] <criteriaId>

List results for criteria.

Arguments:
  criteriaId   Criteria ID.

Options:
  --page <n>   Page number.
  --limit <n>  Page size.
  -h, --help   display help for command

evals results create

Usage: seclai evals results create [options] <criteriaId>

Create an evaluation result.

Arguments:
  criteriaId          Criteria ID.

Options:
  --json <json>       Result body JSON.
  --json-file <path>  Result body JSON file.
  -h, --help          display help for command

evals compatible-runs

Usage: seclai evals compatible-runs [options] <criteriaId>

List runs compatible with criteria.

Arguments:
  criteriaId   Criteria ID.

Options:
  --page <n>   Page number.
  --limit <n>  Page size.
  -h, --help   display help for command

evals test-draft

Usage: seclai evals test-draft [options] <agentId>

Test a draft evaluation.

Arguments:
  agentId             Agent ID.

Options:
  --json <json>       Test body JSON.
  --json-file <path>  Test body JSON file.
  -h, --help          display help for command

evals agent-results

Usage: seclai evals agent-results [options] <agentId>

List all evaluation results for an agent.

Arguments:
  agentId      Agent ID.

Options:
  --page <n>   Page number.
  --limit <n>  Page size.
  -h, --help   display help for command

evals agent-runs

Usage: seclai evals agent-runs [options] <agentId>

List evaluation run summaries for an agent.

Arguments:
  agentId      Agent ID.

Options:
  --page <n>   Page number.
  --limit <n>  Page size.
  -h, --help   display help for command

evals non-manual-summary

Usage: seclai evals non-manual-summary [options] <agentId>

Get non-manual evaluation summary for an agent.

Arguments:
  agentId     Agent ID.

Options:
  -h, --help  display help for command

solutions

Usage: seclai solutions [options] [command]

Manage solutions.

Options:
  -h, --help                     display help for command

Commands:
  list [options]                 List solutions.
  create [options]               Create a solution.
  get <solutionId>               Get a solution.
  update [options] <solutionId>  Update a solution.
  delete <solutionId>            Delete a solution.
  link [options] <solutionId>    Link resources to a solution. Use --agents,
                                 --kb, or --sources with JSON array of IDs.
  unlink [options] <solutionId>  Unlink resources from a solution. Use --agents,
                                 --kb, or --sources with JSON array of IDs.
  convos                         Solution conversations.
  ai                             Solution AI assistant.
  help [command]                 display help for command

solutions list

Usage: seclai solutions list [options]

List solutions.

Options:
  --page <n>          Page number.
  --limit <n>         Page size.
  --sort <field>      Sort field.
  --order <asc|desc>  Sort direction.
  -h, --help          display help for command

solutions create

Usage: seclai solutions create [options]

Create a solution.

Options:
  --json <json>       Body JSON.
  --json-file <path>  Body JSON file.
  -h, --help          display help for command

solutions get

Usage: seclai solutions get [options] <solutionId>

Get a solution.

Arguments:
  solutionId  Solution ID.

Options:
  -h, --help  display help for command

solutions update

Usage: seclai solutions update [options] <solutionId>

Update a solution.

Arguments:
  solutionId          Solution ID.

Options:
  --json <json>       Update body JSON.
  --json-file <path>  Update body JSON file.
  -h, --help          display help for command

solutions delete

Usage: seclai solutions delete [options] <solutionId>

Delete a solution.

Arguments:
  solutionId  Solution ID.

Options:
  -h, --help  display help for command

solutions convos

Usage: seclai solutions convos [options] [command]

Solution conversations.

Options:
  -h, --help                                    display help for command

Commands:
  list <solutionId>                             List conversations for a solution.
  add [options] <solutionId>                    Add a conversation turn.
  mark [options] <solutionId> <conversationId>  Mark a conversation turn.
  help [command]                                display help for command

solutions convos list

Usage: seclai solutions convos list [options] <solutionId>

List conversations for a solution.

Arguments:
  solutionId  Solution ID.

Options:
  -h, --help  display help for command

solutions convos add

Usage: seclai solutions convos add [options] <solutionId>

Add a conversation turn.

Arguments:
  solutionId          Solution ID.

Options:
  --json <json>       Turn body JSON.
  --json-file <path>  Turn body JSON file.
  -h, --help          display help for command

solutions convos mark

Usage: seclai solutions convos mark [options] <solutionId> <conversationId>

Mark a conversation turn.

Arguments:
  solutionId          Solution ID.
  conversationId      Conversation ID.

Options:
  --json <json>       Mark body JSON.
  --json-file <path>  Mark body JSON file.
  -h, --help          display help for command

solutions ai

Usage: seclai solutions ai [options] [command]

Solution AI assistant.

Options:
  -h, --help                                      display help for command

Commands:
  generate [options] <solutionId>                 Generate a solution AI plan.
  kb [options] <solutionId>                       Generate a KB plan via solution AI.
  source [options] <solutionId>                   Generate a source plan via solution AI.
  accept [options] <solutionId> <conversationId>  Accept a solution AI plan.
  decline <solutionId> <conversationId>           Decline a solution AI plan.
  help [command]                                  display help for command

solutions ai generate

Usage: seclai solutions ai generate [options] <solutionId>

Generate a solution AI plan.

Arguments:
  solutionId           Solution ID.

Options:
  --user-input <text>  User input text (shorthand for --json
                       '{"user_input":"..."}')
  --json <json>        Full request body JSON.
  --json-file <path>   Request body JSON file.
  -h, --help           display help for command

solutions ai kb

Usage: seclai solutions ai kb [options] <solutionId>

Generate a KB plan via solution AI.

Arguments:
  solutionId           Solution ID.

Options:
  --user-input <text>  User input text (shorthand for --json
                       '{"user_input":"..."}')
  --json <json>        Full request body JSON.
  --json-file <path>   Request body JSON file.
  -h, --help           display help for command

solutions ai source

Usage: seclai solutions ai source [options] <solutionId>

Generate a source plan via solution AI.

Arguments:
  solutionId           Solution ID.

Options:
  --user-input <text>  User input text (shorthand for --json
                       '{"user_input":"..."}')
  --json <json>        Full request body JSON.
  --json-file <path>   Request body JSON file.
  -h, --help           display help for command

solutions ai accept

Usage: seclai solutions ai accept [options] <solutionId> <conversationId>

Accept a solution AI plan.

Arguments:
  solutionId          Solution ID.
  conversationId      Conversation ID.

Options:
  --json <json>       Accept body JSON.
  --json-file <path>  Accept body JSON file.
  -h, --help          display help for command

solutions ai decline

Usage: seclai solutions ai decline [options] <solutionId> <conversationId>

Decline a solution AI plan.

Arguments:
  solutionId      Solution ID.
  conversationId  Conversation ID.

Options:
  -h, --help      display help for command

governance

Usage: seclai governance [options] [command]

Governance AI assistant.

Options:
  -h, --help      display help for command

Commands:
  ai              Governance AI operations.
  help [command]  display help for command

governance ai

Usage: seclai governance ai [options] [command]

Governance AI operations.

Options:
  -h, --help                display help for command

Commands:
  generate [options]        Generate a governance AI plan.
  list                      List governance AI conversations.
  accept <conversationId>   Accept a governance AI plan.
  decline <conversationId>  Decline a governance AI plan.
  help [command]            display help for command

governance ai generate

Usage: seclai governance ai generate [options]

Generate a governance AI plan.

Options:
  --user-input <text>  User input text (shorthand for --json
                       '{"user_input":"..."}')
  --json <json>        Full request body JSON.
  --json-file <path>   Request body JSON file.
  -h, --help           display help for command

governance ai list

Usage: seclai governance ai list [options]

List governance AI conversations.

Options:
  -h, --help  display help for command

governance ai accept

Usage: seclai governance ai accept [options] <conversationId>

Accept a governance AI plan.

Arguments:
  conversationId  Conversation ID.

Options:
  -h, --help      display help for command

governance ai decline

Usage: seclai governance ai decline [options] <conversationId>

Decline a governance AI plan.

Arguments:
  conversationId  Conversation ID.

Options:
  -h, --help      display help for command

alerts

Usage: seclai alerts [options] [command]

Manage alerts and alert configurations.

Options:
  -h, --help                   display help for command

Commands:
  list [options]               List alerts.
  get <alertId>                Get an alert.
  status [options] <alertId>   Change alert status.
  comment [options] <alertId>  Add a comment to an alert.
  subscribe <alertId>          Subscribe to an alert.
  unsubscribe <alertId>        Unsubscribe from an alert.
  configs                      Alert configurations.
  prefs                        Organization alert preferences.
  help [command]               display help for command

alerts list

Usage: seclai alerts list [options]

List alerts.

Options:
  --page <n>             Page number.
  --limit <n>            Page size.
  --status <status>      Filter by status.
  --severity <severity>  Filter by severity.
  -h, --help             display help for command

alerts get

Usage: seclai alerts get [options] <alertId>

Get an alert.

Arguments:
  alertId     Alert ID.

Options:
  -h, --help  display help for command

alerts status

Usage: seclai alerts status [options] <alertId>

Change alert status.

Arguments:
  alertId             Alert ID.

Options:
  --json <json>       Status body JSON.
  --json-file <path>  Status body JSON file.
  -h, --help          display help for command

alerts comment

Usage: seclai alerts comment [options] <alertId>

Add a comment to an alert.

Arguments:
  alertId             Alert ID.

Options:
  --json <json>       Comment body JSON.
  --json-file <path>  Comment body JSON file.
  -h, --help          display help for command

alerts subscribe

Usage: seclai alerts subscribe [options] <alertId>

Subscribe to an alert.

Arguments:
  alertId     Alert ID.

Options:
  -h, --help  display help for command

alerts unsubscribe

Usage: seclai alerts unsubscribe [options] <alertId>

Unsubscribe from an alert.

Arguments:
  alertId     Alert ID.

Options:
  -h, --help  display help for command

alerts configs

Usage: seclai alerts configs [options] [command]

Alert configurations.

Options:
  -h, --help                   display help for command

Commands:
  list [options]               List alert configurations.
  create [options]             Create an alert configuration.
  get <configId>               Get an alert configuration.
  update [options] <configId>  Update an alert configuration.
  delete <configId>            Delete an alert configuration.
  help [command]               display help for command

alerts configs list

Usage: seclai alerts configs list [options]

List alert configurations.

Options:
  --page <n>   Page number.
  --limit <n>  Page size.
  -h, --help   display help for command

alerts configs create

Usage: seclai alerts configs create [options]

Create an alert configuration.

Options:
  --json <json>       Config body JSON.
  --json-file <path>  Config body JSON file.
  -h, --help          display help for command

alerts configs get

Usage: seclai alerts configs get [options] <configId>

Get an alert configuration.

Arguments:
  configId    Config ID.

Options:
  -h, --help  display help for command

alerts configs update

Usage: seclai alerts configs update [options] <configId>

Update an alert configuration.

Arguments:
  configId            Config ID.

Options:
  --json <json>       Update body JSON.
  --json-file <path>  Update body JSON file.
  -h, --help          display help for command

alerts configs delete

Usage: seclai alerts configs delete [options] <configId>

Delete an alert configuration.

Arguments:
  configId    Config ID.

Options:
  -h, --help  display help for command

alerts prefs

Usage: seclai alerts prefs [options] [command]

Organization alert preferences.

Options:
  -h, --help                                     display help for command

Commands:
  list                                           List organization alert preferences.
  update [options] <organizationId> <alertType>  Update an organization alert preference.
  help [command]                                 display help for command

alerts prefs list

Usage: seclai alerts prefs list [options]

List organization alert preferences.

Options:
  -h, --help  display help for command

alerts prefs update

Usage: seclai alerts prefs update [options] <organizationId> <alertType>

Update an organization alert preference.

Arguments:
  organizationId      Organization ID.
  alertType           Alert type.

Options:
  --json <json>       Preference body JSON.
  --json-file <path>  Preference body JSON file.
  -h, --help          display help for command

models

Usage: seclai models [options] [command]

Model alerts and recommendations.

Options:
  -h, --help                 display help for command

Commands:
  alerts                     Model alerts.
  recommendations <modelId>  Get model recommendations.
  help [command]             display help for command

models alerts

Usage: seclai models alerts [options] [command]

Model alerts.

Options:
  -h, --help           display help for command

Commands:
  list [options]       List model alerts.
  mark-read <alertId>  Mark a model alert as read.
  mark-all-read        Mark all model alerts as read.
  unread-count         Get unread model alert count.
  help [command]       display help for command

models alerts list

Usage: seclai models alerts list [options]

List model alerts.

Options:
  --page <n>   Page number.
  --limit <n>  Page size.
  -h, --help   display help for command

models alerts mark-read

Usage: seclai models alerts mark-read [options] <alertId>

Mark a model alert as read.

Arguments:
  alertId     Alert ID.

Options:
  -h, --help  display help for command

models alerts mark-all-read

Usage: seclai models alerts mark-all-read [options]

Mark all model alerts as read.

Options:
  -h, --help  display help for command

models alerts unread-count

Usage: seclai models alerts unread-count [options]

Get unread model alert count.

Options:
  -h, --help  display help for command

models recommendations

Usage: seclai models recommendations [options] <modelId>

Get model recommendations.

Arguments:
  modelId     Model ID.

Options:
  -h, --help  display help for command

ai

Usage: seclai ai [options] [command]

Top-level AI assistant.

Options:
  -h, --help                                display help for command

Commands:
  feedback [options]                        Submit AI feedback.
  kb [options]                              AI assistant for knowledge bases.
  source [options]                          AI assistant for sources.
  solution [options]                        AI assistant for solutions.
  memory [options]                          AI assistant for memory banks.
  memory-history                            Get AI assistant memory bank conversation history.
  accept [options] <conversationId>         Accept an AI assistant plan.
  decline <conversationId>                  Decline an AI assistant plan.
  memory-accept [options] <conversationId>  Accept an AI memory bank suggestion.
  help [command]                            display help for command

ai feedback

Usage: seclai ai feedback [options]

Submit AI feedback.

Options:
  --json <json>       Feedback body JSON.
  --json-file <path>  Feedback body JSON file.
  -h, --help          display help for command

ai kb

Usage: seclai ai kb [options]

AI assistant for knowledge bases.

Options:
  --user-input <text>  User input text (shorthand for --json
                       '{"user_input":"..."}')
  --json <json>        Full request body JSON.
  --json-file <path>   Request body JSON file.
  -h, --help           display help for command

ai source

Usage: seclai ai source [options]

AI assistant for sources.

Options:
  --user-input <text>  User input text (shorthand for --json
                       '{"user_input":"..."}')
  --json <json>        Full request body JSON.
  --json-file <path>   Request body JSON file.
  -h, --help           display help for command

ai solution

Usage: seclai ai solution [options]

AI assistant for solutions.

Options:
  --user-input <text>  User input text (shorthand for --json
                       '{"user_input":"..."}')
  --json <json>        Full request body JSON.
  --json-file <path>   Request body JSON file.
  -h, --help           display help for command

ai memory

Usage: seclai ai memory [options]

AI assistant for memory banks.

Options:
  --user-input <text>  User input text (shorthand for --json
                       '{"user_input":"..."}')
  --json <json>        Full request body JSON.
  --json-file <path>   Request body JSON file.
  -h, --help           display help for command

ai memory-history

Usage: seclai ai memory-history [options]

Get AI assistant memory bank conversation history.

Options:
  -h, --help  display help for command

ai accept

Usage: seclai ai accept [options] <conversationId>

Accept an AI assistant plan.

Arguments:
  conversationId      Conversation ID.

Options:
  --json <json>       Accept body JSON.
  --json-file <path>  Accept body JSON file.
  -h, --help          display help for command

ai decline

Usage: seclai ai decline [options] <conversationId>

Decline an AI assistant plan.

Arguments:
  conversationId  Conversation ID.

Options:
  -h, --help      display help for command

ai memory-accept

Usage: seclai ai memory-accept [options] <conversationId>

Accept an AI memory bank suggestion.

Arguments:
  conversationId      Conversation ID.

Options:
  --json <json>       Accept body JSON.
  --json-file <path>  Accept body JSON file.
  -h, --help          display help for command

skills

Usage: seclai skills [options] [command]

Install Seclai CLI skill files for AI coding tools.

Options:
  -h, --help         display help for command

Commands:
  install [options]  Write Seclai CLI skill/instruction files into the current
                     workspace.
                     
                     Detected tools: copilot, claude, cursor, windsurf, codex,
                     kiro, cline, roo, gemini, antigravity.
                     Use --tool to target a specific tool, or 'all' for all
                     supported tools.
  help [command]     display help for command

skills install

Usage: seclai skills install [options]

Write Seclai CLI skill/instruction files into the current workspace.

Detected tools: copilot, claude, cursor, windsurf, codex, kiro, cline, roo,
gemini, antigravity.
Use --tool to target a specific tool, or 'all' for all supported tools.

Options:
  --tool <name>  Target tool
                 (copilot|claude|cursor|windsurf|codex|kiro|cline|roo|gemini|antigravity|all).
                 Auto-detects if omitted.
  --dir <path>   Target directory (default: current directory). (default: ".")
  -h, --help     display help for command

completion

Usage: seclai completion [options] <shell>

Generate shell completion scripts.

Arguments:
  shell       Shell type: bash, zsh, or fish.

Options:
  -h, --help  display help for command