Pack-host types
Rules, activity trends, and Pack-rule report responses.
These types describe pb.packs(id).host. They belong to
Pack management, rather than platform administration.
| Family | Exported shapes | Important fields |
|---|---|---|
| Welcome and rules | PackRule, PackHostRules, PackWelcome, PackRulesInput | Versioned rules, accepted version, eligibility, and expected_version |
| Activity | PackActivityRange, PackActivityCounts, PackActivityPoint, PackActivityTrend, PackInsights | Selected and previous windows, timezone, bucket bounds, distinct contributors |
| Reports | PackRuleReportInput, PackRuleReportResult, PackRuleReport, PackRuleReportPage, PackReportHistory | Versioned rule snapshot, reporter, notes, visible howl, public host actions |
| Actions | PackReportStatus, PackReportAction, PackReportActionInput | Queue status, requested enforcement, required explanation |
| Inbox metadata | PackReportOutcomeMetadata, PackHostNotification | Pack and report identifiers |
const = .('pack-id').
const : PackInsights = await .({ : 'Australia/Melbourne' })
const : = await .({ : 'open' })
for (const of ..) .(., ., .)
for (const of .) .(.., ..)PackInsights.current and .previous contain members, posts, replies, and
contributors. Trend intervals are hour, day, or week. Counts and bucket
bounds are scoped to the requested range; contributor counts are distinct per
bucket and cannot be summed to obtain distinct contributors for the full range.
Report states are open, resolved, dismissed, and escalated. Actions are
resolve, dismiss, escalate, delete_howl, kick, and ban. A report queue
uses the normal data, has_more, and optional cursor shape. A visible report
can include a hydrated howl; unavailable content must not be reconstructed from
retained client state. The SDK does not expose platform-private case data through
these types.