Are you using getLeadActivities() or getLeadChanges()? The former pulls the activities of a single lead, whereas the latter fetches the activities of all leads. You could use the activityFilter->includeAttributes->activityType to limit the activity types you wish to be returned in the result.