Analytics

Performance report

Ad spend per campaign joined to CRM contacts and MQLs, and contacts and MQLs per post, over the last N days.

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

CLI:tracee analytics·MCP:analyticsaction performance

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

  • 200The report.PerformanceReport
    • windowobjectrequired
    • totalsobjectrequired
    • campaignsobject[]required
    • postsobject[]required