> For the complete documentation index, see [llms.txt](https://devcenter.unico.io/unico-people/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devcenter.unico.io/unico-people/unico-people-v1/apis/arquivos.md).

# Arquivos

Todas as chamadas de arquivo utilizam o Path (caminho do diretório onde está armazenado o arquivo) como referência. No caso de uma chamada PUT, é utilizado o Path da máquina onde encontra-se armazenado (Exemplo: C:\Computador\Downloads\Arquivo.pdf). Já nas chamadas de GET, utiliza-se o Path do diretório do Acesso RH, que pode ser encontrado na chamada <mark style="color:blue;">**Get Position**</mark> (*Exemplo: "individual/23bcac75-5722-4e14-96a4-72f69322671e/document/7d58e6f3-5201-40b3-b1fb-3e6949d19960/362f2533-b537-4a99-2329-7b56ffb77bfa.jpg*")

No caso de precisar enviar um arquivo em alguma chamada (Exemplo: Guia do Exame Médico durante a criação de uma Posição) é necessário que seja feito o upload do arquivo por antecedência e em seguida, seja referenciado na chamada de <mark style="color:blue;">**Create Position**</mark> usando o UID enviado na response.

Ao realizar o upload de um arquivo, ele permanecerá armazenado por até 15 minutos para que o UID de resposta possa ser utilizado em uma próxima requisição. Caso o UID retornado não seja utilizado durante este tempo, o arquivo será excluído.

{% hint style="info" %}
As requisições podem ser realizadas em paralelo, mesmo que para a mesma posição, no intuito de reduzir o tempo total de transferência de arquivos.
{% endhint %}

***

Abaixo temos a lista de api's disponíveis para as funcionalidades do Unico People, que tem uma ação direta para os arquivos dentro dos cadastros.

1. [Upload file](/unico-people/unico-people-v1/apis/arquivos/upload-file.md)
2. [Get raw file](/unico-people/unico-people-v1/apis/arquivos/get-a-raw-file.md)
3. [Get transformed file](/unico-people/unico-people-v1/apis/arquivos/get-a-transformed-file.md)
4. [Get converted file](/unico-people/unico-people-v1/apis/arquivos/get-a-converted-file.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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://devcenter.unico.io/unico-people/unico-people-v1/apis/arquivos.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
