Reports and charts
Build your own Metrics reports by asking Copilot, then share them with your team or export the data.
A report is your own tab on the Metrics page, with the charts your business needs: weekly resolution rate by channel, first response time by team, handoffs by reason, refund requests by product. Describe what you want to see, and Copilot builds the report for you.
Each chart is a saved query over your analytics data, drawn as a line, bar, area or pie chart, a single KPI number or a table. Reports share the toolbar of the built-in tabs, so changing the period, businesses or filters updates every chart at once.
The built-in tabs are described in the Metrics reference. Build a report when you need something they don't show.
Build a report with Copilot
The fastest way to a good report is to describe it to Copilot in plain language:
Create a shared report called Weekly support review with resolution rate by channel, first response time by team and the ten topics with the most handoffs.
Other requests that work well:
- "Add a chart to the Returns report showing return requests per product per week."
- "Make me a personal report comparing CSAT for AI-resolved and handed-off conversations by month."
Copilot writes each query, runs it against your data to check the numbers and the speed, shows you a preview of the chart, then saves it. It can add a plain-language explanation of how the chart is calculated, which anyone can read behind the chart's help icon. If you ask for a report without saying who it is for, Copilot asks whether it should be personal or shared.
Your own AI agent can do the same through Octocom MCP, using the tools listed below.
Build a report in the dashboard
Create the report
On the Metrics page, click + (Create report) next to the tabs. Enter a Report name and choose who can see it: Only you or Organization.
Add a chart
Click Create first chart (or Add chart once the report has charts). The chart editor opens.
Write and run the query
Write the query in SQL and click Run (Ctrl+Enter or Cmd+Enter) to preview the rows. Available tables lists the tables and columns you can use. The Analytics SQL reference explains the tables and how to connect a chart to the toolbar's period and filters.
Shape the chart
Set the Title, an optional Description shown under the title, the Chart type (Line, Bar, Area, Pie, KPI or Table) and the Width on the report. Pick the columns for the X axis and series, and the Value format: Number, Percent, Currency or Duration (seconds). Options include Stacked bars for bar charts, Fill missing periods and, for tables, Clickable columns that link cells to a conversation or a URL. Under How it's calculated, explain the calculation in plain language for your readers.
Save
Click Save chart. In a shared report, the chart updates for everyone in your organization.
Personal and shared reports
| Report type | Who sees it | Who can change it |
|---|---|---|
| Only you | Only you. A lock icon marks it in your tabs. | You |
| Organization | Everyone in your organization who can view metrics | People with the Edit shared reports permission. Changes apply for everyone. |
Only shared reports can be fetched over the REST API and watched by metric alerts.
Work with reports
- Filters and periods. Reports use the same period, timezone and filters as the built-in tabs. A report also has a Chart interval (Daily, Weekly or Monthly) for its time series. A chart that doesn't use a selected filter says so with a Not filtered by note. Copilot can also add filters specific to one report, such as a product category or a plan.
- Chart menu. Each chart's menu offers Refresh and Export CSV, Alerts in shared reports, and Edit, Width, Move earlier, Move later and Delete for people who can edit the report.
- Fresh data. Results are kept for up to five minutes. Refresh runs the chart again.
- Row limit. A chart returns at most 1,000 rows. When it reaches the limit, the chart warns that the result may be incomplete: narrow the period or aggregate the query further.
- Share a view. The page link keeps the open report, period and filters, so you can send a colleague exactly what you are looking at. They need access to the report.
- Arrange your tabs. ... -> Manage reports shows, hides and reorders built-in tabs and reports for you only. Hide from my tabs hides the current one without deleting it.
- Rename or delete. From the ... menu, Rename report and Delete report (or Delete for everyone for a shared report). Deleting removes the report and all its charts permanently.
Get report data elsewhere
- CSV. Export any chart from its menu.
- REST API. Pull the rows of any chart in a shared report into a BI tool, data warehouse or spreadsheet on a schedule. See Metrics report data.
- Alerts. A metric alert watches a chart in a shared report and triggers your own automation when a value crosses a threshold or changes sharply.
Permissions
- View metrics opens the Metrics page and shared reports, and lets you create personal reports.
- Edit shared reports lets you create, change and delete shared reports and their alerts.
- Export conversations is required to write or change a chart's query, because a query can read conversation content.
If your organization uses restricted inboxes, report charts that read conversation data only run in the dashboard for people who can see every restricted inbox.
For developers and AI agents
Report charts are SQL over your organization's analytics tables. Analytics SQL documents the tables, the template variables that connect a chart to the toolbar ({{from}}, {{to}}, {{business_ids}}, {{conversation_filters}} and others), custom report filters and how to keep queries fast.
MCP tools for reports:
| Tool | Use |
|---|---|
list_metric_reports | List shared reports and your personal reports, with each chart's query and settings. |
preview_metric_query | Run an unsaved query with toolbar parameters, bypassing the result cache. Use before saving. |
run_saved_metric_chart | Run a saved chart and return its rows. |
create_metric_report, update_metric_report, delete_metric_report | Create (shared, or personal with personal: true), rename or permanently delete a report. |
save_metric_chart, update_metric_chart, delete_metric_chart | Add, change or delete a chart. |
reorder_metric_charts, reorder_metric_reports | Set chart order within a report, or your own order of report tabs. |
get_metrics_layout, update_metrics_layout | Read or change your tab order and hidden tabs, including built-in tabs. |
For one-off questions that don't need a saved chart, execute_index_sql runs a read-only query over the same tables.