# Upload de arquivo LP

## Estrutura

{% hint style="warning" %}
Recurso disponível apenas no canal **LivePerson**
{% endhint %}

```javascript
{
    "default": {
        "type": "file",
        "payload": {}
    }
}
```

## Atributos

* **type:** file
* **payload:** {}

Abaixo pode ser visto o objeto resultante do upload do arquivo. Se quisesse obter o nome do arquivo, seria feito assim: `input.file.name`

```javascript
{
    "input": {
        "file": {
            "url": "url do arquivo",
            "name": "nome do arquivo",
            "buffer": "buffer do arquivo",
            "contentType": "contentType do arquivo",
            "type": "tipo/extensão do arquivo",
            "success": true|false,
            "message": "ALTU_FILE",
        }
    }
}
```


---

# Agent Instructions: 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:

```
GET https://docs.altu.d1.cx/build/assistentes/builder/componentes/input/liveperson_file_upload.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
