Documentation Index
Fetch the complete documentation index at: https://docs.knowledgestack.ai/llms.txt
Use this file to discover all available pages before exploring further.
Environment variables
| Variable | Description | Default |
|---|---|---|
KSCLI_BASE_URL | API base URL | https://api-staging.knowledgestack.ai |
KSCLI_FORMAT | Default output format | table |
KSCLI_VERIFY_SSL | Enable SSL verification | true |
KSCLI_CA_BUNDLE | Path to CA certificate bundle | System default |
KSCLI_CONFIG | Config file path | ~/.config/kscli/config.json |
KSCLI_CREDENTIALS_PATH | Credentials file path | /tmp/kscli/.credentials |
Config file
The config file lives at~/.config/kscli/config.json by default. It stores your preferred settings:
Environment presets
Quickly switch between environments:Global options
These options can appear anywhere in the command line:| Option | Short | Description |
|---|---|---|
--format <fmt> | -f | Output format: table, json, yaml, id-only, tree |
--no-header | -H | Suppress table headers |
--base-url <url> | Override API URL for this command |
Authentication
Credentials are stored at/tmp/kscli/.credentials by default. The CLI uses API key authentication:
