List Files

GET

Get a paginated list of files.

Query parameters

pageintegerOptional>=1Defaults to 1

Page offset for pagination.

sizeintegerOptional>=0Defaults to 10

Page size for pagination. Number of files to fetch.

namestringOptional

Case-insensitive filter for file name.

templatebooleanOptionalDefaults to false

Filter to include only template files.

typeenumOptional

List of file types to filter for.

Allowed values: prompttooldatasetevaluatorflow
environmentstringOptional

Case-sensitive filter for files with a deployment in the specified environment. Requires the environment name.

sort_byenumOptional

Field to sort files by

Allowed values: created_atupdated_atname
orderenumOptional

Direction to sort by.

Allowed values: ascdesc

Response

Successful Response

recordslist of objects
pageinteger
sizeinteger
totalinteger

Errors

Built with