> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sondercloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Rebuild do App

> Reconstrói a imagem do app a partir do último código enviado

```bash cURL theme={null}
curl -X POST 'https://api.sondercloud.app/v1/apps/{id}/rebuild' \
  -H 'Authorization: Bearer seu_token'
```

```json Success theme={null}
{
  "output": "Rebuild iniciado em segundo plano."
}
```

> [!NOTE]
>
> Diferente de `POST /v1/apps/{id}/commit`, o rebuild aqui é **assíncrono**: a resposta retorna imediatamente e o processo continua em segundo plano. Acompanhe o progresso via `GET /v1/apps/{id}` ou `GET /v1/apps/{id}/logs`.


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.sondercloud.app/llms.txt).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.