# Read a report

```http
GET https://trydimmi.com/api/v1/reports/{report}
```

## Authorization

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

## Path parameters

- `report` (string, required): the report's key, such as overview, responsiveness, resolution, team, live, satisfaction, ai or help_center.

## Query parameters

- `ai_breakdown` (string): for the ai report, the key of the choice or yes-or-no AI attribute its Conversations by attribute table splits by; left out, the first active one.
- `from` (string): the first day, 2026-11-01; with to left out, the thirty days ending today.
- `to` (string): the last day, included.
- `compare` (boolean): true sets each number beside the same number of days just before.
- `business_hours` (boolean): true counts durations only while the inbox's office hours were open.
- `filter[inbox]` (string): Inbox ids separated by commas, such as inbox_01jx2m8k4t. Find them with GET /inboxes.
- `filter[team]` (string): Team ids separated by commas, such as team_01jx2m8k4t. Find them with GET /teams.
- `filter[member]` (string): Ids of the teammates holding the conversations, separated by commas, such as mem_01jx2m8k4t.
- `filter[channel]` (string): Channel types separated by commas, such as email,widget.
- `filter[tag]` (string): Tag ids separated by commas, such as tag_01jx2m8k4t. Find them with GET /tags.
- `filter[priority]` (string): Priorities separated by commas, such as high,urgent.
- `filter[ai]` (string): involved or not_involved: conversations the AI answered in, or not. One of: `involved`, `not_involved`, ``.
- `filter[agent]` (string): Only items whose agent matches. Several values separated by commas match any of them.
- `filter[ai_attribute]` (string): The key of an AI conversation attribute, such as reason: only conversations it was found on. Find keys with GET /ai/conversation-attributes.
- `filter[ai_attribute_value]` (string): With filter[ai_attribute], only conversations where it holds this value, as text: an option of a choice, true or false for yes or no.

## Response 200 (OK)

- `data` (object, required)
  - `business_hours` (boolean, required): True when durations in the report are counted in business hours only.
  - `charts` (object[] | null, required): The report's charts, each read as series of points or as a table of rows.
    - `axis` (string, required): What the chart runs along: day (dates as YYYY-MM-DD), hour (hours of the week) or category (groups). One of: `day`, `hour`, `category`.
    - `columns` (object[] | null, required): The columns of a table chart, each with its key, label and unit. Empty for other kinds.
      - `key` (string, required): The column's key; a row's values are found under it, such as median.
      - `label` (string, required): The column's heading, such as "Median".
      - `unit` (string, required): Unit of the column's values: count, percent, seconds, micros or score.
    - `drill` (string | null, required): Key of the metric whose conversations the chart's points list when drilled into, such as first_response or ai_handoff. Null when it cannot be drilled.
    - `key` (string, required): The chart's key within its report, such as ai_daily or handoff_reasons.
    - `kind` (string, required): How to draw it: line, bar, stacked_bar, heatmap, histogram or table. One of: `line`, `bar`, `stacked_bar`, `heatmap`, `histogram`, `table`.
    - `rows` (object[] | null, required): The rows of a table chart, each with its values under the columns. Empty for other kinds.
      - `filter` (object, required): Query filter that narrows the report to this row, such as {"member": "mem_..."}; empty when the row cannot be narrowed to.
      - `key` (string, required): Stable name of the row within its table.
      - `label` (string, required): Name of the row as people read it, such as a teammate's name.
      - `values` (number[] | null, required): The row's values in the order of the table's columns, each in its column's unit; null where there is no data.
    - `series` (object[] | null, required): The chart's lines or sets of bars, each with its points; a point's value is null for no data. Empty for a table.
      - `drill` (string | null, required): Name of the metric to pass to the report's conversations list for this series; null to use the chart's own or when it cannot be listed.
      - `key` (string, required): Stable name of the series within its chart.
      - `label` (string, required): Name of the series as people read it.
      - `points` (object[] | null, required): The series' values, one per day, hour or group along the chart's axis.
        - `x` (string, required): Where the point sits: a day such as 2026-01-31, a two-digit hour such as 09, or a group's name, depending on the chart's axis.
        - `y` (number | null, required): The value at that point, in the chart's unit; null for no data.
    - `title` (string, required): Title of the chart, such as "What the AI did".
    - `unit` (string, required): Unit of the chart's values: count, percent, seconds, micros (millionths of the billing currency unit) or score.
  - `from` (string, required): First day of the range, such as 2026-01-01, in the report's timezone.
  - `key` (string, required): Name of the report, such as overview, responsiveness, resolution, team, live, satisfaction, ai or help_center.
  - `live` (boolean, required): True when the report shows the present moment instead of a date range.
  - `metrics` (object[] | null, required): The report's headline numbers.
    - `drill` (string | null, required): Name of the metric to pass to the report's conversations list to see the conversations behind this number; null when it cannot be listed.
    - `key` (string, required): Stable name of the number within its report.
    - `label` (string, required): Name of the number as people read it.
    - `mean` (number | null, required): Average, in seconds, shown beside a duration; null for other numbers or with no data.
    - `p90` (number | null, required): 90th percentile, in seconds, shown beside a duration; null for other numbers or with no data.
    - `previous` (number | null, required): The same number in the period compared with; null without a comparison or with no data.
    - `sample` (integer, required): How many conversations the number rests on.
    - `unit` (string, required): What value measures: count, percent, seconds, micros (millionths of a dollar) or score. One of: `count`, `percent`, `seconds`, `micros`, `score`.
    - `value` (number | null, required): The number for the range asked for, in its unit; for a duration it is the median. Null when there is no data.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `previous_from` (string | null, required): First day of the range compared with, such as 2025-12-01; null without a comparison.
  - `previous_to` (string | null, required): Last day, included, of the range compared with; null without a comparison.
  - `timezone` (string, required): Timezone the days of the report are counted in, such as Europe/Paris.
  - `title` (string, required): Name of the report as people read it, such as Overview.
  - `to` (string, required): Last day of the range, included, such as 2026-01-31.

## 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/reports/{report}' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "business_hours": true,
    "charts": [
      {
        "axis": "day",
        "columns": [
          {}
        ],
        "drill": "<string>",
        "key": "<string>",
        "kind": "line",
        "rows": [
          {}
        ],
        "series": [
          {}
        ],
        "title": "<string>",
        "unit": "<string>"
      }
    ],
    "from": "<string>",
    "key": "<string>",
    "live": true,
    "metrics": [
      {
        "drill": "<string>",
        "key": "<string>",
        "label": "<string>",
        "mean": 123.45,
        "p90": 123.45,
        "previous": 123.45,
        "sample": 123,
        "unit": "count",
        "value": 123.45
      }
    ],
    "object": "<string>",
    "previous_from": "<string>",
    "previous_to": "<string>",
    "timezone": "<string>",
    "title": "<string>",
    "to": "<string>"
  }
}
```

---

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