Source: https://databento.com/docs/api-historical/metadata/metadata-list-schemas



### Historical.metadata.list\_schemas

List all available schemas for a dataset.

#### API method

```python
Historical.metadata.list_schemas(
    dataset: Dataset | str,
) -> list[str]
```

#### Parameters

| Parameter | Type | Required | Description |
| `dataset` | Dataset or str | required | The [dataset](https://databento.com/docs/api-historical/basics/datasets.md) code (string identifier). Must be one of the values from [list\_datasets](https://databento.com/docs/api-historical/metadata/metadata-list-datasets.md). |

#### Returns

`list[str]`

A list of available data schemas.

#### Example usage

```python
import databento as db

client = db.Historical("$YOUR_API_KEY")

schemas = client.metadata.list_schemas(dataset="GLBX.MDP3")
print(schemas)
```
#### Example response

```json
[
    "mbo",
    "mbp-1",
    "mbp-10",
    "tbbo",
    "trades",
    "bbo-1s",
    "bbo-1m",
    "ohlcv-1s",
    "ohlcv-1m",
    "ohlcv-1h",
    "ohlcv-1d",
    "definition",
    "statistics",
    "status"
]
```
