curl.
Install
Authenticate
Environment variables:pk_test_ vs pk_live_) auto-selects the correct base URL.
Command groups
Each group follows a consistent CRUD pattern. Use
sly <group> --help for sub-commands.
Quick examples
JSON output
Default output is human-friendly tables.--json gives scriptable output:
Exit codes
0— success1— missing credentials or configuration2— API returned a 4xx3— API returned a 5xx or network error
set -e pipelines.
Environment management
See also
- Node SDK — the CLI wraps this
- MCP server — for Claude Desktop integration
- Full command reference:
sly --help