> ## 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 조회

> 스냅샷 하나 상태와 실패 이유. code 형 Build 진행 폴링용.

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

인증: API 키 필요(`Authorization: Bearer <API Key>`). App 작성자만. 그 외 `404`.

스냅샷 하나의 상태와 실패 이유 — code 형 Build 진행 폴링 창.

## 요청

### 경로 파라미터

<ParamField path="app_id" type="string" required>
  App 참조.
</ParamField>

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

### 요청 예시

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

## 응답

### 200 성공

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

필드는 <a href="/docs/ko/datahub/api/reference/publishing/list-builds">Build 목록</a> 항목과 같음.

페이로드는 `data`로 감쌉니다. 필드:

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

### 오류

| HTTP | `code`            | `category`  | 설명              |
| ---- | ----------------- | ----------- | --------------- |
| 401  | `unauthorized`    | `forbidden` | API 키 누락 또는 무효. |
| 404  | `build-not-found` | `not_found` | Build 스냅샷 없음.   |

오류 응답은 `{"error": {code, category, message, retryable}}`입니다. <a href="/docs/ko/datahub/api/reference/introduction#errors">오류</a> 참고.

## 클라이언트 라이브러리

Python / JavaScript SDK는 아직 이 엔드포인트를 감싸지 않습니다. REST를 직접 호출하세요.
