Oopsie CLI
Download CLIManage your exceptions from the command line or with AI bots. The CLI is a single bash script that requires only curl and jq.
Install
curl -fsSL https://raw.githubusercontent.com/theinventor/Oopsie/main/cli/oopsie -o oopsie
chmod +x oopsie
sudo mv oopsie /usr/local/bin/ # optional: add to PATH
Setup
Add your Oopsie server and project API key:
oopsie config add myproject --server https://your-oopsie-instance.com --key YOUR_API_KEY
Find your API key on the project page after signing in.
Usage
| Command | Description |
|---|---|
oopsie project | Show project summary |
oopsie errors | List error groups |
oopsie errors --status resolved | Filter by status (unresolved/resolved/ignored) |
oopsie show <id> | Show error group details and recent occurrences |
oopsie resolve <id> | Mark as resolved |
oopsie ignore <id> | Archive (ignore) an error group |
oopsie reopen <id> | Reopen a resolved or ignored error group |
Multi-Project Support
oopsie config add production --server https://oopsie.example.com --key PROD_KEY
oopsie config add staging --server https://staging.oopsie.example.com --key STAGING_KEY
oopsie config use production # set default
oopsie errors --project staging # or override per-command
API Reference
The CLI talks to these JSON API endpoints (Bearer token auth):
| Method | Endpoint | Description |
|---|---|---|
GET | /api/v1/project | Project info |
GET | /api/v1/error_groups | List error groups (?status=, ?limit=, ?offset=) |
GET | /api/v1/error_groups/:id | Error group details + occurrences |
PATCH | /api/v1/error_groups/:id/resolve | Mark resolved |
PATCH | /api/v1/error_groups/:id/ignore | Archive (ignore) |
PATCH | /api/v1/error_groups/:id/unresolve | Reopen |
All endpoints require Authorization: Bearer YOUR_API_KEY header.