# ListScriptsData | windmill-client
Documentation for windmill-client

# Type Alias ListScriptsData

ListScriptsData: {
createdBy?: string;
firstParentHash?: string;
hideWithoutMain?: boolean;
isTemplate?: boolean;
kinds?: string;
lastParentHash?: string;
orderDesc?: boolean;
page?: number;
parentHash?: string;
pathExact?: string;
pathStart?: string;
perPage?: number;
showArchived?: boolean;
starredOnly?: boolean;
workspace: string;
}

#### Type declaration

- ##### `Optional` createdBy?: string

  mask to filter exact matching user creator

- ##### `Optional` firstParentHash?: string

  mask to filter scripts whom first direct parent has exact hash

- ##### `Optional` hideWithoutMain?: boolean

  (default false) hide the scripts without an exported main function

- ##### `Optional` isTemplate?: boolean

  (default regardless) if true show only the templates if false show only the non templates if not defined, show all regardless of if the script is a template

- ##### `Optional` kinds?: string

  (default regardless) script kinds to filter, split by comma

- ##### `Optional` lastParentHash?: string

  mask to filter scripts whom last parent in the chain has exact hash. Beware that each script stores only a limited number of parents. Hence the last parent hash for a script is not necessarily its top-most parent. To find the top-most parent you will have to jump from last to last hash until finding the parent

- ##### `Optional` orderDesc?: boolean

  order by desc order (default true)

- ##### `Optional` page?: number

  which page to return (start at 1, default 1)

- ##### `Optional` parentHash?: string

  is the hash present in the array of stored parent hashes for this script. The same warning applies than for last_parent_hash. A script only store a limited number of direct parent

- ##### `Optional` pathExact?: string

  mask to filter exact matching path

- ##### `Optional` pathStart?: string

  mask to filter matching starting path

- ##### `Optional` perPage?: number

  number of items to return for a given page (default 30, max 100)

- ##### `Optional` showArchived?: boolean

  (default false) show also the archived files. when multiple archived hash share the same path, only the ones with the latest create_at are ed.

- ##### `Optional` starredOnly?: boolean

  (default false) show only the starred items

- ##### workspace: string

- Defined in src/types.gen.ts:2899