moss.
Authentication
Credentials are resolved in this order:- CLI flags:
--project-idand--project-key - Environment variables:
MOSS_PROJECT_IDandMOSS_PROJECT_KEY - Config profile: selected by
--profile,MOSS_PROFILE, or the active profile in~/.moss/config.json
Quick start
Index management
Document management
Query
Queries download the index locally by default and run on-device. Add--cloud to skip the download and hit the cloud query API.
Interactive mode
--cloud) and is not compatible with --json. With redirected or piped stdin, the piped query is run once and the session exits.
Job tracking
Profiles
Document file formats
JSON
{"documents": [...]}.