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

# Obtener build

> Inspecciona el estado y el motivo de fallo de un snapshot. Para sondear el progreso de builds tipo código.

**`GET`** `https://api-datahub.octoparse.com/v1/data-apps/{app_id}/builds/{build_id}`

Autenticación: se requiere API key (`Authorization: Bearer <API Key>`). Solo el autor de la app; el resto recibe `404`.

Estado y motivo de fallo de un snapshot — la ventana de sondeo del progreso de builds tipo código.

## Solicitud

### Parámetros de ruta

<ParamField path="app_id" type="string" required>
  Referencia de app.
</ParamField>

<ParamField path="build_id" type="string" required>
  Id del build.
</ParamField>

### Ejemplo de solicitud

```bash theme={null}
curl \
  -H "Authorization: Bearer $OCTOPARSE_API_KEY" \
  "https://api-datahub.octoparse.com/v1/data-apps/carol/reviews-query/builds/bld_a583f440a0ab"
```

## Respuesta

### 200 correcto

```json theme={null}
{
  "data": {
    "build_id": "string",
    "build_status": "string",
    "error": "string",
    "content_hash": "",
    "source_revision": 0,
    "created_at": "string"
  }
}
```

Los campos coinciden con los ítems de <a href="/docs/es/datahub/api/reference/publishing/list-builds">Listar builds</a>.

La carga útil va envuelta en `data`. Campos:

<ResponseField name="build_id" type="string" required>
  —
</ResponseField>

<ResponseField name="build_status" type="string" required>
  —
</ResponseField>

<ResponseField name="error" type="string">
  —
</ResponseField>

<ResponseField name="content_hash" type="string">
  —
</ResponseField>

<ResponseField name="source_revision" type="integer">
  —
</ResponseField>

<ResponseField name="created_at" type="string">
  —
</ResponseField>

### Errores

| HTTP | `code`            | `category`  | Descripción                     |
| ---- | ----------------- | ----------- | ------------------------------- |
| 401  | `unauthorized`    | `forbidden` | API key ausente o no válida.    |
| 404  | `build-not-found` | `not_found` | El snapshot de build no existe. |

Las respuestas de error usan `{"error": {code, category, message, retryable}}`. Véase <a href="/docs/es/datahub/api/reference/introduction#errors">Errores</a>.

## Bibliotecas cliente

Los SDK de Python y JavaScript aún no encapsulan este endpoint. Llame a REST directamente.
