# Agent performance

Funded volume and conversion per member over a window, plus a funded-amount series by month. Two windows, named: the cohort is deals CREATED in the window with its funded share as the conversion rate, and the funded figures are deals FUNDED in the window whenever they were opened. A deal is attributed to its closer, falling back to its opener. Use it to answer who is closing and how much.

Access class: `workspace`.

## Endpoint

`GET /v1/agents/performance`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "cohortDeals": 1.5,
    "cohortFunded": 1.5,
    "fundedAmount": 1.5,
    "fundedDeals": 1.5,
    "members": [
      {
        "accountId": "",
        "byMonth": [
          {
            "deals": 1.5,
            "fundedAmount": 1.5,
            "month": "string"
          }
        ],
        "cohortDeals": 1.5,
        "cohortFunded": 1.5,
        "fundedAmount": 1.5,
        "fundedDeals": 1.5,
        "name": "string"
      }
    ],
    "months": [
      "string"
    ],
    "since": "string",
    "window": "string"
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
