Command-line interface for the Recoup platform.
npm install -g @recoupable/cliGet your API key from the Recoup Developer Dashboard, then set it as an environment variable:
export RECOUP_API_KEY=your-api-keyTo persist it across sessions, add it to your shell profile:
echo 'export RECOUP_API_KEY=your-api-key' >> ~/.zshrc
source ~/.zshrcUse
~/.bashrcinstead if you use bash.
recoup whoamirecoup whoami # Show your account ID
recoup whoami --json # Output as JSONrecoup artists list # List your artists
recoup artists list --jsonrecoup chats list # List your chats
recoup chats create --name "Topic" # Create a new chat
recoup chats create --artist <id> # Create a chat with an artistrecoup sandboxes list # List your sandboxes
recoup sandboxes create # Create a new sandbox
recoup sandboxes create --command "ls -la" # Create and run a commandrecoup orgs list # List your organizationsAll commands support --json for machine-readable JSON output.
| Variable | Required | Description |
|---|---|---|
RECOUP_API_KEY |
Yes | Your Recoup API key |
RECOUP_API_URL |
No | API base URL (default: https://recoup-api.vercel.app) |
MIT