> ## Documentation Index
> Fetch the complete documentation index at: https://docs-platform.services-valid.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Listar arquivos do processo

> Retorna os arquivos associados a um processo de assinatura, podendo ser filtrados por código ou nome.

## Path Parameters

<ParamField path="signature_process" type="string" required>
  UUID do processo de assinatura. **Exemplo**:
  `d96c24ae-64e7-11ed-9022-0242ac120002`
</ParamField>

## Query Parameters

<ParamField query="code" type="string">
  Código do arquivo. **Exemplo**: `ARQ001`
</ParamField>

<ParamField query="name" type="string">
  Nome (ou parte do nome) do arquivo. **Exemplo**: `contrato.pdf`
</ParamField>

## Response

<ResponseField name="files" type="array">
  Lista de arquivos.

  <Expandable title="properties">
    <ResponseField name="uuid" type="string">
      UUID do arquivo. **Exemplo**: `abc123-uuid-arquivo`
    </ResponseField>

    <ResponseField name="code" type="string">
      Código do arquivo. **Exemplo**: `ARQ001`
    </ResponseField>

    <ResponseField name="filename" type="string">
      Nome do arquivo. **Exemplo**: `contrato-assinatura.pdf`
    </ResponseField>

    <ResponseField name="type" type="integer">
      Tipo do arquivo. **Exemplo**: `1`
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 OK theme={"theme":"catppuccin-latte"}
  {
    "files": [
      {
        "code": "ARQ001",
        "uuid": "abc123-uuid-arquivo",
        "type": 1,
        "filename": "contrato-assinatura.pdf"
      }
    ]
  }
  ```

  ```json 401 Não autenticado theme={"theme":"catppuccin-latte"}
  ```

  ```json 403 Não autorizado theme={"theme":"catppuccin-latte"}
  ```

  ```json 500 Internal Server Error theme={"theme":"catppuccin-latte"}
  ```
</ResponseExample>
