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

# データセット詳細

> 1 件のメタデータ。

**`GET`** `https://api-datahub.octoparse.com/v1/datasets/{dataset_id}`

認証：APIキー必須（`Authorization: Bearer <API Key>`）。

1 データセットのメタデータ。不可視は不存在と非公開を区別せず `404`。

## リクエスト

### パスパラメータ

<ParamField path="dataset_id" type="string" required>
  データセット id。
</ParamField>

### リクエスト例

```bash theme={null}
curl   -H "Authorization: Bearer $OCTOPARSE_API_KEY"   "https://api-datahub.octoparse.com/v1/datasets/ds_0bd5345d13d0"
```

## レスポンス

### 200 成功

```json theme={null}
{
  "data": {
    "dataset_id": "ds_0bd5345d13d0",
    "row_count": 120,
    "retained": false,
    "created_at": "2026-09-01T08:00:00+00:00",
    "expires_at": "2026-12-01T08:00:00+00:00"
  }
}
```

### エラー

| HTTP | `code`              | `category`  | Description       |
| ---- | ------------------- | ----------- | ----------------- |
| 401  | `unauthorized`      | `forbidden` | API キー欠落または無効。    |
| 404  | `dataset-not-found` | `not_found` | データセットが存在しないか不可視。 |

エラー応答は `{"error": {code, category, message, retryable}}` です。<a href="/docs/jp/datahub/api/reference/introduction#errors">エラー</a> を参照。

## クライアントライブラリ

Python / JavaScript SDK はまだこのエンドポイントをラップしていません。REST を直接呼び出してください。
