# Read a deal's AI insights

The AI summary and bullet insights stored on one deal, with the model that wrote them and when. There is at most one live read per deal; regenerating replaces it. Not found means nothing has been generated yet, which is a state rather than an error — never an empty summary, which the schema refuses to store.

Access class: `def:read`.

## Endpoint

`GET /v1/definitions/{key}/rows/{rowId}/ai/insights`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| rowId | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "createdAt": "string",
    "dealRowId": "",
    "generatedAt": "string",
    "generatedBy": 1,
    "id": 1,
    "insights": [
      "string"
    ],
    "model": "string",
    "summary": "string",
    "updatedAt": "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"
}
```
