> ## 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.

# Build abrufen

> Status und Fehlergrund eines Snapshots prüfen. Zum Pollen von code-type-Build-Fortschritt.

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

Authentifizierung: API-Schlüssel erforderlich (`Authorization: Bearer <API Key>`). Nur App-Autor; andere erhalten `404`.

Status und Fehlergrund eines einzelnen Snapshots — Polling-Fenster für code-type-Build-Fortschritt.

## Anfrage

### Pfadparameter

<ParamField path="app_id" type="string" required>
  App-Referenz.
</ParamField>

<ParamField path="build_id" type="string" required>
  Build-ID.
</ParamField>

### Beispielanfrage

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

## Antwort

### 200 Erfolg

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

Die Felder entsprechen den Einträgen von <a href="/docs/de/datahub/api/reference/publishing/list-builds">List builds</a>.

Payload ist in `data` gewrappt. Felder:

<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>

### Fehler

| HTTP | `code`            | `category`  | Beschreibung                             |
| ---- | ----------------- | ----------- | ---------------------------------------- |
| 401  | `unauthorized`    | `forbidden` | Fehlender oder ungültiger API-Schlüssel. |
| 404  | `build-not-found` | `not_found` | Build snapshot existiert nicht.          |

Fehlerantworten nutzen `{"error": {code, category, message, retryable}}`. Siehe <a href="/docs/de/datahub/api/reference/introduction#errors">Fehler</a>.

## Client-Bibliotheken

Die Python- und JavaScript-SDKs wrappen diesen Endpoint noch nicht. REST direkt aufrufen.
