> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Results and exports

> Read a run's table, and download it as CSV or Excel.

## The table

`GET /runs/{run_id}` returns the run with its result once it has finished:

**columns** `string[]`

The column order. An events run has the columns its question needed; a
companies run has one story per row, company first.

**rows** `object[]`

The table, one event or story per row, keyed by column.

**companies** `object[]`

Companies runs: one row per company asked for, with its
[coverage status](/docs/agent/company-research.md#coverage-per-company).

**window\_from / window\_to** `string`

The time window the run covered.

**report** `string`

The cited briefing that `standard` and `max` runs write with the table.

## Downloads

| File | Run | Batch | Monitor run |
| - | - | - | - |
| The table as CSV | `/runs/{run_id}/export.csv` | `/batches/{batch_id}/export.csv` | `/monitors/runs/{run_id}/export.csv` |
| The table as Excel | `/runs/{run_id}/export.xlsx` | `/batches/{batch_id}/export.xlsx` | `/monitors/runs/{run_id}/export.xlsx` |
| Company coverage as CSV | `/runs/{run_id}/companies.csv` | `/batches/{batch_id}/companies.csv` | |
| Company coverage as Excel | `/runs/{run_id}/companies.xlsx` | `/batches/{batch_id}/companies.xlsx` | |

A monitor run's file starts with the `change` column (`new` or `update`), then
the stories' or rows' columns.

```bash theme={null}
curl -o result.xlsx "https://api.newscatcherapi.com/agent/runs/RUN_ID/export.xlsx" \
  -H "x-api-key: $NEWSCATCHER_API_KEY"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.