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

# Dataset detail

> Read metadata for one dataset.

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

Authentication: API key required (`Authorization: Bearer <API Key>`).

Reads metadata for one dataset. Invisible datasets return `404` without distinguishing missing from private.

## Request

### Path parameters

<ParamField path="dataset_id" type="string" required>
  Dataset id.
</ParamField>

### Example request

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

## Response

### 200 success

```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"
  }
}
```

### Errors

| HTTP | `code`              | `category`  | Description                                                       |
| ---- | ------------------- | ----------- | ----------------------------------------------------------------- |
| 401  | `unauthorized`      | `forbidden` | Missing or invalid API key.                                       |
| 404  | `dataset-not-found` | `not_found` | Dataset does not exist or is invisible to the current credential. |

Error responses use `{"error": {code, category, message, retryable}}`. See <a href="/docs/en/datahub/api/reference/introduction#errors">Errors</a>.

## Client libraries

The Python and JavaScript SDKs do not wrap this endpoint yet. Call REST directly.
