---
title: "Get task statistics with advanced filters"
method: POST
path: "/api/outbound/get-tasks-stats"
tags: ["Outbound"]
---

# Get task statistics with advanced filters

`POST /api/outbound/get-tasks-stats`

## Request

- Base URL: `https://api.kolect.com`
- URL: `https://api.kolect.com/api/outbound/get-tasks-stats`
- Auth: HTTP bearer

Fetches task statistics with more advanced filtering options.
Supports filtering by multiple statuses, date ranges, and keyword thresholds.

## Request body

- object
  - `page_size` integer
  - `page_index` integer
  - `filters` object
    - `statuses` string[]
    - `campaign_ids` string[]
    - `min_kols_found` integer
    - `max_kols_found` integer
    - `min_completion_percentage` integer
    - `created_after` string, date-time
    - `created_before` string, date-time
  - `sort_by` 'created_at' | 'priority' | 'completion_percentage' | 'total_kols_found'
  - `sort_order` 'asc' | 'desc'

## Response `200`

Task statistics retrieved successfully

## Other responses

- `400`: Bad request - invalid parameters
- `500`: Internal server error

---

[API](https://skmtc.dev/kolect/apis/kolect-api.md) · [All operations](https://skmtc.dev/kolect/apis/kolect-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kolect/apis/kolect-api/revisions/fe54528e8f54?raw)
