Activity
cmd/crewship/cmd_activity.go wraps GET /api/v1/activity. The server merges three sources (assignments, peer conversations, escalations) into a single list, descending by created_at, narrowable by crew. Anything beyond that (free-text search, type filter, time window) is applied client-side after the page lands — the endpoint itself has no type= or since= parameter, and there is intentionally no SSE stream.
For a live tail of granular events, use crewship journal --follow or its shortcut crewship watch.
crewship activity
| Flag | Type | Default | Effect |
|---|---|---|---|
--crew <slug-or-id> | string | (unset) | Narrow to a single crew. Server-side filter via crew_id. |
--lines <n> | int | 50 | Page size. The server caps at 100. |
--type <substring> | string | (unset) | Client-side filter by activity type substring (case-insensitive). |
--since <window> | string | (unset) | Client-side filter — 1h, 24h, 7d, or RFC3339 timestamp. |
--export <fmt> | string | (unset) | Dump the current page: ndjson or csv. Wins over --format. |
--out <path> | string | (unset) | Write --export output to file (default: stdout). |
Examples
Common errors
bad --since: <reason>— value did not parse as1h/24h/7dor RFC3339.--export must be ndjson or csv (got "xlsx")— only those two shapes are supported.open --out: <fs error>— destination file path is unwritable.
See also
crewship journal— filtered tailing/audit (--followfor live).crewship watch— top-level alias ofjournal --follow.crewship recall <query>— free-text search across the journal.