> For the complete documentation index, see [llms.txt](https://docs.reportandrun.com/manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.reportandrun.com/manual/pt-br/readme/report-generation/share-a-document-via-link.md).

# Compartilhar um relatório publicado

Se você precisar enviar seu relatório rapidamente, poderá compartilhar um relatório publicado em PDF ou DOCX por meio de um link.

{% hint style="danger" %}
O link será **NÃO** protegido por senh&#x61;**.** Qualquer pessoa com o link poderá acessar o documento.
{% endhint %}

{% hint style="info" %}
O link expira após 7 dias.
{% endhint %}

1. Publique um relatório como PDF ou DOCX.&#x20;
2. Clique **Publicar** na parte superior da tela do relatório e selecione **Versões** no menu suspenso.\
   ![](https://1928885945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FDF9y7TeYl6IxTfTePmQ0%2Fshare-link1.jpg?alt=media\&token=76f9fd20-ff0f-43ea-927d-de913e33f61d)
3. Clique na seta para baixo à direita do relatório que você deseja compartilhar.&#x20;
4. Selecionar **Compartilhar com URL** no menu suspenso. \
   ![](https://1928885945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FT1Rx1ajhtTAWnAWRmKpK%2Fshare-link2.jpg?alt=media\&token=c95832e7-b618-4156-a0bb-59e84f3fad69)
5. Você pode digitar uma mensagem que aparecerá para os usuários que clicarem no seu link. Se você digitar uma mensagem, clique **Atualizar**.\
   ![](https://1928885945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FcLUI3JFW37Dz7a6IJuLr%2Fshare-link3.jpg?alt=media\&token=71c5478c-d4ed-4d7c-bb8c-9bc1815ce8c2)
6. Copie a URL. \
   ![](https://1928885945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FVKYAR28XzMHfRWUco0mZ%2Fshare-link4.jpg?alt=media\&token=28997229-d393-4d6f-b5b1-c1e800623aeb)
7. Os usuários verão uma tela semelhante a esta quando visitarem a URL: \
   ![](https://1928885945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2F3xBfnBdHJfPKaI9RhkYx%2Fshare-link5.jpg?alt=media\&token=b15bd512-6329-4c6b-9951-deb9cc097a8d)


---

# 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://docs.reportandrun.com/manual/pt-br/readme/report-generation/share-a-document-via-link.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.
