Click writer and recount counters (password-protected)
Operator-facing, not tenant-facing: this process's click writer queue and drop/failure counters, and the click recount job's drift counters. Reset to zero on restart and not aggregated across replicas. Gated by the same Basic Auth as /docs.
View as MarkdownAuthorization
docsBasic Gates /docs, /docs/openapi.yaml, /debug/webhooks/stats and /debug/clicks/stats. Credentials come from the DOCS_USER/DOCS_PASSWORD env vars; if either is unset the routes are not registered at all (404), never served open.
In: header
Response Body
application/json
curl -X GET "https://example.com/debug/clicks/stats"{ "writer": { "queueDepth": 0, "queueCapacity": 0, "droppedClicks": 0, "overflowPending": 0, "flushFailures": 0, "lostClicks": 0 }, "recount": { "scanned": 0, "behind": 0, "ahead": 0, "repaired": 0, "failedRuns": 0 }}Webhook dispatcher observability snapshot (password-protected)
Operator-facing, not tenant-facing: aggregate, cross-tenant webhook delivery health (pending count, oldest pending age, outcome counters, latency, worker utilization, per-destination-host failure rate) for this process's dispatcher. Gated by the same Basic Auth as /docs, never the per-tenant v1 auth group, since this is cross-tenant volume/health data no single authenticated caller's own webhooks should reveal.
List the links the caller can read
Links the caller can read, newest first, paginated: their own (active-org-scoped; legacy rows without org_id stay visible) plus any shared with the organization by a teammate. Archived links are hidden unless archived=1. q searches title/destination/code server-side; status and tag filter; sort=clicks orders by click count.