# Summarize a tracker

```http
GET https://trydimmi.com/api/v1/tickets/{ticket}/summary
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `tickets:read`.

## Path parameters

- `ticket` (string, required): Id of the ticket, starting with tkt_, such as tkt_01jx2m8k4t. Find it with GET /tickets.

## Response 200 (OK)

- `data` (object, required)
  - `generated_at` (string | null, required): When the summary was written. Null when none has been written yet.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `plans` (object[] | null, required): How the tracker's reports split by the reporting customers' plan, one row per plan.
    - `count` (integer, required): How many of the tracker's reports came from customers on this plan.
    - `plan` (string, required): The plan's name. Empty for customers without a plan.
  - `reports` (integer, required): How many conversations report the problem this tracker follows.
  - `summary` (string, required): AI-written summary of what the tracker's customers report, up to 4000 characters. Empty when none has been written yet.
  - `ticket_id` (string, required): Id of the tracker ticket being summarized, such as tkt_....

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request GET \
  --url 'https://trydimmi.com/api/v1/tickets/{ticket}/summary' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "generated_at": "2026-11-01T09:30:00Z",
    "object": "<string>",
    "plans": [
      {
        "count": 123,
        "plan": "<string>"
      }
    ],
    "reports": 123,
    "summary": "<string>",
    "ticket_id": "<string>"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
