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.

GEThttps://traceeai.com/api/v1/analytics/revenue

CLI:tracee analytics revenue·MCP:analyticsaction revenue

Authorizations

  • Authorizationstringheaderrequired

    Bearer <key>: a personal key (tracee login or Settings → Personal keys), a workspace key, or an MCP client's OAuth token. See Authentication.

Headers

  • Tracee-Workspacestring

    For 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: 30

    Window in days, ending today

    1–365

Response

  • 200Done.

    The action's result, exactly as the MCP tool returns it to agents. A next field, when present, names the endpoint that follows up.