Manage 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 projectShow project summary
oopsie errorsList error groups
oopsie errors --status resolvedFilter 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/projectProject info
GET/api/v1/error_groupsList error groups (?status=, ?limit=, ?offset=)
GET/api/v1/error_groups/:idError group details + occurrences
PATCH/api/v1/error_groups/:id/resolveMark resolved
PATCH/api/v1/error_groups/:id/ignoreArchive (ignore)
PATCH/api/v1/error_groups/:id/unresolveReopen

All endpoints require Authorization: Bearer YOUR_API_KEY header.