# Get active task definitions **GET /task-definitions** Lists the active task definitions in the system which are accessible to the current user. Returns the requested page of task definitions. ## Servers - https://usaapi02.cadencyservices.trintech.com/test/api: https://usaapi02.cadencyservices.trintech.com/test/api () ## Authentication methods - Oauth2 ## Parameters ### Query parameters - **entityDefinitionId** (string) The identifier of the entity definition. Only task definitions defined for the specified entity definition will be returned if active and accessible to current user. - **fetchDepth** (integer(int32)) Governs if child task definitions are loaded and, if so, how deeply we traverse the tree. If not provided, we do not load child task definitions. - **page** (integer(int32)) The `page` define the current page number. It should be positive integer number and should start with minimum value 1. - **size** (integer(int32)) The `size` define number of records on each page. It should be positive integer number between 1 to 10000. - **sort** (array[string]) The `sort` parameter accepts an array of strings, allowing for multiple sorting criteria. By default, sorting order is ascending. - **name** (string) The `name` parameter is an optional filter that allows you to narrow down the results based on specific name content. ## Responses ### 200 The requested page of entities. #### Body: application/json (object) - **result** (array[object]) - **metadata** (object) Paging metadata dto. [Powered by Bump.sh](https://bump.sh)