# Count an agent's active investigations

**GET** `/v1/agents/{id}/investigations/cancellable-counts`

**Operation ID**: `countCancellableAgentInvestigations`
**Summary**: Count an agent's active investigations
Returns how many of the agent's investigations are queued, running, or paused, and so would be cancelled by cancel-all, and whether the caller is authorized to call cancel-all for the agent.

## Tags
- Agents
## Parameters

- **id** (required) - path
  - Type: string

## Responses

### 200

Counts retrieved

- **Content-Type**: `application/json` / `CancellableInvestigationsResponse`
### 401

Unauthorized

### 404

Agent not found
