> For the complete documentation index, see [llms.txt](https://navixy.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://navixy.com/docs/analytics-api/products/reports/links-to-reports.md). Agents can also search and read this documentation through its [MCP server](https://navixy.com/docs/~gitbook/mcp).

# Links to reports

Create a link that opens a Navixy report in Location Intelligence with the period, the assets, and the view that you chose.

A link to a report opens the report in Location Intelligence with the period, the assets, and the view that your app chose. Use it to send a person from your app to a report, for example in a message or an email. Reports checks the report as Location Intelligence opens it and returns the checked report with `link`. The operation is `POST /api/tools/propose_report`. See [Create link to report](https://navixy.com/docs/analytics-api/products/reports/api-reference.md) in the API reference.

{% hint style="info" %}
**Access**

Your token's role must let you run the report type in `report`. The person who opens the link sees the report with their own role. See [Access to the Reports API](https://navixy.com/docs/analytics-api/products/reports.md#access-to-the-reports-api).
{% endhint %}

## How to create a link to a report

The body has the fields of a report summary: `report`, `from`, `to`, and `assets`, with at most 200 asset IDs. `view` sets the view options of the report page:

| Report type          | View options                                                                                                                                                  |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `trips_and_stops`    | `tab`: `days` for the summary day by day, or the ID of an asset of the report for its tab. `kind`: `trip` or `stop` to show only that kind of line in the log |
| `sensor_readings`    | `step`: the length of each point of the table and the chart, in seconds                                                                                       |
| `driver_performance` | None                                                                                                                                                          |

The following body asks for a link to the trips of one asset on one day. Send this body to `POST /api/tools/propose_report` with the headers that [Authentication](https://navixy.com/docs/analytics-api/authentication.md#send-the-access-token) shows:

```json
{
  "timeZone": "Europe/Berlin",
  "report": "trips_and_stops",
  "from": "2026-11-26",
  "to": "2026-11-26",
  "assets": ["019a7f3e-5c21-7a10-8000-0b2c4d6e8f01"],
  "view": { "kind": "trip" }
}
```

The response has the checked report and `link`, for example `https://reports.eu.navixy.com/reports/trips_and_stops?from=2026-11-26&to=2026-11-26&assets=019a7f3e-5c21-7a10-8000-0b2c4d6e8f01&kind=trip&organization_id=…&workspace_id=…`.

## What the link opens

* **Default view.** Without `view`, the page opens with its default view.
* **Step that is too short.** When `view.step` gives more than 2016 points for the period, the response raises it to the shortest step that fits. `adjusted` then names the field and says what changed. Any other wrong field returns HTTP 400 with `invalid_tool_call`.
* **Workspace.** The link has the organization and the workspace of your token, so it opens that workspace.
* **Time zone.** The link names no time zone: Reports reads `from` and `to` in the time zone of the browser that opens the link. Send the time zone of the person who opens the link, so that the period and the figures on the page match yours. When `to` is after today in the browser's time zone, the page opens its default period instead.

The request doesn't count as a report run. See [Daily limits](https://navixy.com/docs/analytics-api/limits.md#daily-limits) and [Reports API errors](https://navixy.com/docs/analytics-api/products/reports/errors.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://navixy.com/docs/analytics-api/products/reports/links-to-reports.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
