> ## Documentation Index
> Fetch the complete documentation index at: https://docs-old.tilebox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AssetCollection.to_fields

```python theme={"system"}
def AssetCollection.to_fields(
    *,
    fields: AssetFieldNames | None = None,
    storage: Storage | None = None,
    authentication: Authentication | None = None,
) -> dict[str, Assets | Storage | Authentication]
```

Convert the collection to fields ready for dataset ingestion.

## Parameters

**fields** `AssetFieldNames | None`

Optional output names for the assets, storage, and authentication fields.

**storage** `Storage | None`

Additional storage registry entries to retain.

**authentication** `Authentication | None`

Additional authentication registry entries to retain.

## Returns

A field-name mapping containing `Assets` and any nonempty `Storage` or `Authentication` fields.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.