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
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
Usage: seclai agents list [options]
List agents.
Options:
--page <n> Page number.
--limit <n> Page size.
-h, --help display help for command
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
Usage: seclai agents get [options] <agentId>
Get an agent by ID.
Arguments:
agentId Agent ID.
Options:
-h, --help display help for command
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
Usage: seclai agents delete [options] <agentId>
Delete an agent.
Arguments:
agentId Agent ID.
Options:
-h, --help display help for command
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
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
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
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
Usage: seclai agents runs delete [options] <runId>
Delete a run.
Arguments:
runId Run ID.
Options:
-h, --help display help for command
Usage: seclai agents runs cancel [options] <runId>
Cancel a running agent run.
Arguments:
runId Run ID.
Options:
-h, --help display help for command
Usage: seclai agents runs search [options]
Search agent runs.
Options:
--json <json> Search body JSON.
--json-file <path> Search body JSON file.
-h, --help display help for command
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
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
Usage: seclai agents def get [options] <agentId>
Get agent definition.
Arguments:
agentId Agent ID.
Options:
-h, --help display help for command
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
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
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
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
Usage: seclai agents ai history [options] <agentId>
Get agent AI conversation history.
Arguments:
agentId Agent ID.
Options:
-h, --help display help for command
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
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
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
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
Usage: seclai sources get [options] <sourceId>
Get a source by ID.
Arguments:
sourceId Source ID.
Options:
-h, --help display help for command
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
Usage: seclai sources delete [options] <sourceId>
Delete a source.
Arguments:
sourceId Source ID.
Options:
-h, --help display help for command
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
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
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
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
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
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
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
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
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
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
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
Usage: seclai sources migration get [options] <sourceId>
Get migration status.
Arguments:
sourceId Source ID.
Options:
-h, --help display help for command
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
Usage: seclai sources migration cancel [options] <sourceId>
Cancel an embedding migration.
Arguments:
sourceId Source ID.
Options:
-h, --help display help for command
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
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
Usage: seclai contents delete [options] <contentVersionId>
Delete a content version.
Arguments:
contentVersionId Content version ID.
Options:
-h, --help display help for command
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
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
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
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
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
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
Usage: seclai kb get [options] <kbId>
Get a knowledge base.
Arguments:
kbId Knowledge base ID.
Options:
-h, --help display help for command
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
Usage: seclai kb delete [options] <kbId>
Delete a knowledge base.
Arguments:
kbId Knowledge base ID.
Options:
-h, --help display help for command
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
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
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
Usage: seclai memory get [options] <memoryBankId>
Get a memory bank.
Arguments:
memoryBankId Memory bank ID.
Options:
-h, --help display help for command
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
Usage: seclai memory delete [options] <memoryBankId>
Delete a memory bank.
Arguments:
memoryBankId Memory bank ID.
Options:
-h, --help display help for command
Usage: seclai memory stats [options] <memoryBankId>
Get memory bank statistics.
Arguments:
memoryBankId Memory bank ID.
Options:
-h, --help display help for command
Usage: seclai memory agents [options] <memoryBankId>
List agents using a memory bank.
Arguments:
memoryBankId Memory bank ID.
Options:
-h, --help display help for command
Usage: seclai memory compact [options] <memoryBankId>
Compact a memory bank.
Arguments:
memoryBankId Memory bank ID.
Options:
-h, --help display help for command
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
Usage: seclai memory templates [options]
List memory bank templates.
Options:
-h, --help display help for command
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
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
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
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
Usage: seclai memory ai last [options]
Get last memory bank AI conversation.
Options:
-h, --help display help for command
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
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
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
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
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
Usage: seclai evals criteria get [options] <criteriaId>
Get evaluation criteria.
Arguments:
criteriaId Criteria ID.
Options:
-h, --help display help for command
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
Usage: seclai evals criteria delete [options] <criteriaId>
Delete evaluation criteria.
Arguments:
criteriaId Criteria ID.
Options:
-h, --help display help for command
Usage: seclai evals criteria summary [options] <criteriaId>
Get criteria evaluation summary.
Arguments:
criteriaId Criteria ID.
Options:
-h, --help display help for command
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
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
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
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
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
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
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
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
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
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
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
Usage: seclai solutions get [options] <solutionId>
Get a solution.
Arguments:
solutionId Solution ID.
Options:
-h, --help display help for command
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
Usage: seclai solutions delete [options] <solutionId>
Delete a solution.
Arguments:
solutionId Solution ID.
Options:
-h, --help display help for command
Usage: seclai solutions link [options] <solutionId>
Link resources to a solution. Use --agents, --kb, or --sources with JSON array
of IDs.
Arguments:
solutionId Solution ID.
Options:
--agents <json> Link agents (JSON body).
--kb <json> Link knowledge bases (JSON body).
--sources <json> Link sources (JSON body).
-h, --help display help for command
Usage: seclai solutions unlink [options] <solutionId>
Unlink resources from a solution. Use --agents, --kb, or --sources with JSON
array of IDs.
Arguments:
solutionId Solution ID.
Options:
--agents <json> Unlink agents (JSON body).
--kb <json> Unlink knowledge bases (JSON body).
--sources <json> Unlink sources (JSON body).
-h, --help display help for command
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
Usage: seclai solutions convos list [options] <solutionId>
List conversations for a solution.
Arguments:
solutionId Solution ID.
Options:
-h, --help display help for command
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
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
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
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
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
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
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
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
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
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
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
Usage: seclai governance ai list [options]
List governance AI conversations.
Options:
-h, --help display help for command
Usage: seclai governance ai accept [options] <conversationId>
Accept a governance AI plan.
Arguments:
conversationId Conversation ID.
Options:
-h, --help display help for command
Usage: seclai governance ai decline [options] <conversationId>
Decline a governance AI plan.
Arguments:
conversationId Conversation ID.
Options:
-h, --help display help for command
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
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
Usage: seclai alerts get [options] <alertId>
Get an alert.
Arguments:
alertId Alert ID.
Options:
-h, --help display help for command
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
Usage: seclai alerts subscribe [options] <alertId>
Subscribe to an alert.
Arguments:
alertId Alert ID.
Options:
-h, --help display help for command
Usage: seclai alerts unsubscribe [options] <alertId>
Unsubscribe from an alert.
Arguments:
alertId Alert ID.
Options:
-h, --help display help for command
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
Usage: seclai alerts configs list [options]
List alert configurations.
Options:
--page <n> Page number.
--limit <n> Page size.
-h, --help display help for command
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
Usage: seclai alerts configs get [options] <configId>
Get an alert configuration.
Arguments:
configId Config ID.
Options:
-h, --help display help for command
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
Usage: seclai alerts configs delete [options] <configId>
Delete an alert configuration.
Arguments:
configId Config ID.
Options:
-h, --help display help for command
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
Usage: seclai alerts prefs list [options]
List organization alert preferences.
Options:
-h, --help display help for command
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
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
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
Usage: seclai models alerts list [options]
List model alerts.
Options:
--page <n> Page number.
--limit <n> Page size.
-h, --help display help for command
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
Usage: seclai models alerts mark-all-read [options]
Mark all model alerts as read.
Options:
-h, --help display help for command
Usage: seclai models alerts unread-count [options]
Get unread model alert count.
Options:
-h, --help display help for command
Usage: seclai models recommendations [options] <modelId>
Get model recommendations.
Arguments:
modelId Model ID.
Options:
-h, --help display help for command
Usage: seclai search [options]
Search across Seclai resources.
Options:
--query <text> Search query text.
--limit <n> Max results.
--entity-type <type> Filter by entity type (e.g. agent, source,
knowledge_base, memory_bank).
-h, --help display help for command
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
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
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
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
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
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
Usage: seclai ai memory-history [options]
Get AI assistant memory bank conversation history.
Options:
-h, --help display help for command
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
Usage: seclai ai decline [options] <conversationId>
Decline an AI assistant plan.
Arguments:
conversationId Conversation ID.
Options:
-h, --help display help for command
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
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
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
Usage: seclai completion [options] <shell>
Generate shell completion scripts.
Arguments:
shell Shell type: bash, zsh, or fish.
Options:
-h, --help display help for command