# get_report_download_link

**Get report download link** · Read-only, idempotent, reaches outside Datarova

Get a confidential temporary URL for a ready report file: a gzip-compressed JSON, JSONL or CSV file in the report's format.

- Use it when the user wants the file: a CSV report, the per-period detail of a report requested with `include_periods`, or any report they want to open elsewhere.
- The link lasts at most five minutes and never past the file's expiry; a new link does not extend the file.
- Use the URL unchanged, without Datarova authentication.
- This tool does not read or analyze the file; use `get_report_records` to read a JSON or JSONL report's keywords.

**Cost and limits:** Costs no credits.

## Input

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `report_id` | `string (uuid)` | Required | A report ID from `list_reports` `data.reports[].id` or `request_report` data.id. Pattern in the full JSON Schema below. |

## Output

Read this object from the result's `structuredContent`. The result's `content` carries a text version for the model, which is not always the same JSON.

Fields of `data`:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | `string (uri)` | Required | Confidential temporary link to the gzip-compressed file in the export's JSON, JSONL or CSV format. Use the complete URL unchanged, without Datarova authentication headers. |
| `expires_at` | `string (date-time)` | Required | When this link stops working: at most five minutes after issue and never after the file expires. A new link does not extend the file. |


<details>
<summary>Full input and output JSON Schema</summary>

```json
{
  "inputSchema": {
    "type": "object",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
      "report_id": {
        "type": "string",
        "format": "uuid",
        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
        "description": "A report ID from list_reports data.reports[].id or request_report data.id."
      }
    },
    "required": [
      "report_id"
    ],
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "data"
    ],
    "properties": {
      "data": {
        "type": "object",
        "required": [
          "url",
          "expires_at"
        ],
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Confidential temporary link to the gzip-compressed file in the export's JSON, JSONL or CSV format. Use the complete URL unchanged, without Datarova authentication headers."
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "description": "When this link stops working: at most five minutes after issue and never after the file expires. A new link does not extend the file."
          }
        }
      }
    }
  }
}
```

</details>
