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

# Dettaglio dataset

> Leggi i metadati di un dataset.

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

Autenticazione: API key obbligatoria (`Authorization: Bearer <API Key>`).

Legge i metadati di un dataset. I dataset non visibili restituiscono `404` senza distinguere tra mancanti e privati.

## Richiesta

### Parametri di percorso

<ParamField path="dataset_id" type="string" required>
  ID del dataset.
</ParamField>

### Esempio di richiesta

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

## Risposta

### 200 successo

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

### Errori

| HTTP | `code`              | `category`  | Descrizione                                                     |
| ---- | ------------------- | ----------- | --------------------------------------------------------------- |
| 401  | `unauthorized`      | `forbidden` | API key mancante o non valida.                                  |
| 404  | `dataset-not-found` | `not_found` | Il dataset non esiste o è invisibile alla credenziale corrente. |

Le risposte di errore usano `{"error": {code, category, message, retryable}}`. Vedi <a href="/docs/it/datahub/api/reference/introduction#errors">Errori</a>.

## Librerie client

Gli SDK Python e JavaScript non wrappano ancora questo endpoint. Chiama REST direttamente.
