get_sales_report.
Numbers follow the credential owner’s record access. A rep limited to their own records gets their own numbers, exactly as on the Reports page. Records in Recently deleted never count.
Endpoints
Scopes
Each report needs the read scope of the data it summarizes:deals:read for pipeline, win_rate, conversion, stage_time and deal_flow; activities:read for activity; contacts:read for response.
Filters
Definitions
Amounts are in the workspace’s default deal currency; deals in another currency are counted, their amounts left out and counted inother_currency_count. Rates are fractions (0.4 is 40%), null when there is nothing to divide by. Durations are seconds.
Rows behind a number
Pass the report’s filters plus what the number is about:owner is a user ID, or none for records without one. period_start is a period’s first date as the report lists it in by_period. A linked contact, company or deal is only named in an activity row when the credential owner can open it and the credential also holds contacts:read, companies:read or deals:read respectively.