Skip to main content
func (collectionClient) List(
    ctx context.Context,
    datasetID uuid.UUID,
) ([]*datasets.Collection, error)
List the available collections in a dataset.

Parameters

datasetID
uuid.UUID
The id of the dataset

Returns

A list of collection objects.
collections, err := client.Collections.List(ctx,
    datasetID,
)

Errors

not_found
No such dataset
The specified dataset does not exist.