Create Fileset

View as Markdown
Create a new fileset. If no storage configuration is provided, the default storage backend will be used.

Path parameters

workspacestringRequired

Request

This endpoint expects an object.
namestringRequiredformat: "^[\w\-.]+$"<=255 characters

The name of the fileset. Allowed characters: letters (a-z, A-Z), digits (0-9), underscores, hyphens, and dots.

descriptionstringOptional<=255 characters
The description of the fileset.
projectstringOptional
The name of the project associated with this fileset.
storageobjectOptional
The storage configuration for the fileset. If not provided, uses default storage.
purposeenumOptionalDefaults to generic
The purpose of the fileset.
metadataobjectOptional

Purpose-specific metadata. Use the purpose as the key (e.g., {dataset: {…}}).

custom_fieldsmap from strings to anyOptional
Custom fields for the fileset.
cachebooleanOptionalDefaults to false
Cache all files after creation. Only applies to external storage.

Response

Successful Response
idstring
namestring
workspacestring
descriptionstring
purposeenum
storageobject
metadataobject

Tagged metadata container - the key indicates the type.

Example: metadata = FilesetMetadata( dataset=DatasetMetadataContent( schema={“columns”: [“id”, “name”]}, ) )

custom_fieldsmap from strings to any
projectstring
created_atstring
updated_atstring

Errors

422
Unprocessable Entity Error