# Get Organization Scan Count Per Agent.

Returns the total number of scans in selected period and a breakdown per agent.
The selected period cannot have start date older 30 days before the current date. Also selected period cannot be greater than 30 days

Endpoint: GET /api/v2.0/orgs/{orgToken}/summary/scanCountPerAgent
Version: 2.0
Security: bearer-key

## Query parameters:

  - `search` (any)
    Filter your search to return items whose property has a specific value.
Use the syntax: property:operation:value where a colon (:) separates between property, operation and value.
+ Property: the name of the property of the item
+ Operation:
    + between - true if the value is inside a range. Syntax: lowest value comma (,) highest value. E.g. between:2019-05-01,2019-06-01
+ Value: the value of the property.

This endpoint supports filtering on this property:
+ date:between:date1,date2. E.g. between:2019-05-10,2019-06-01. Difference between dates cannot be greater than 30 days

## Path parameters:

  - `orgToken` (string, required)
    org UUID (by running Entities - Organization > Get User Organizations) or API Key (from the Mend SCA App: Integrate tab > API Key).

## Response 200 fields (application/json):

  - `supportToken` (string)
    Example: "1171c60d"

  - `retVal` (object)

  - `retVal.totalCount` (integer)
    Total number of all scans
    Example: 20

  - `retVal.agents` (array)

  - `retVal.agents.name` (string)
    Example: "unified-agent"

  - `retVal.agents.count` (integer)
    Number of scans by agent
    Example: 10

## Response 400 fields (*/*):

  - `supportToken` (string)
    Example: "1171c60d"

## Response 403 fields (*/*):

  - `supportToken` (string)
    Example: "1171c60d"


