traction
Live traction numbers computed from sources the Worker owns: the hash-chained D1 audit log (7-day call volume, distinct identified callers, top operations), the stored-receipt table, and Stripe (succeeded charges → paying customers, gross USD). Ed25519-signed with the same attestation envelope as /v1/status so the numbers can be replayed to an auditor.
Use this tool when:
You are evaluating whether anyone actually uses and pays for this API.
You need a signed, re-checkable statement of usage rather than a claim.
Returns:
traction.usage: calls_7d, identified_callers_7d, anonymous_calls_7d, top_operations_7d — or available:false with a reason.traction.receipts: stored receipt counts (total / 7d).traction.revenue: paying_customers, succeeded_charges, gross_usd,truncatedflag when the Stripe page is partial.attestation: Ed25519 signature over the canonicalized traction block.
Cost:
Counts as one request against the daily rate limit. Cached 1h.
Latency:
Typical: <100ms cached; up to ~2s on a cache miss (one Stripe read).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||