Analytics
Revenue by source, post and campaign
Payments from connected Stripe, Gumroad and Lemon Squeezy, net of refunds and per currency, matched to leads by email: revenue by source, by Tracee post and by ad campaign.
GET
https://traceeai.com/api/v1/analytics/revenueCLI:tracee analytics revenue·MCP:analyticsaction revenue
Authorizations
AuthorizationstringheaderrequiredBearer <key>: a personal key (tracee loginor Settings → Personal keys), a workspace key, or an MCP client's OAuth token. See Authentication.
Headers
Tracee-WorkspacestringFor a personal key or OAuth token that reaches several workspaces: the workspace id to act on. Workspace keys don't need it.
uuid
Query parameters
daysintegerdefault: 30Window in days, ending today
1–365
Response
- 200Done.
The action's result, exactly as the MCP tool returns it to agents. A
nextfield, when present, names the endpoint that follows up.