# Count external agents

`POST https://backend.estactics.com/api/externalAgents/searchCount`

Returns how many external agents match the filters. Use it together with Search to build pagination.

Authentication: `Authorization: Bearer YOUR_API_KEY`. Required permission: `externalAgents.VIEW`.

## Body parameters

- `filters` (array of object): Conditions to match. Items in the array are combined with OR, and fields inside one item with AND. See the Filtering guide.

## Example request body

```json
{}
```

## Example response

```json
{
  "success": true,
  "data": 42
}
```
