# Gets the task definition detail **GET /task-definitions/{id}** Gets the task definition detail. If the `deep` query parameter is provided also loads all sub tasks. In order to view the task, the user must either be a close admin, or be assigned as one or more of the performer, reviewer or approver. ## Servers - https://usaapi02.cadencyservices.trintech.com/test/api: https://usaapi02.cadencyservices.trintech.com/test/api () ## Authentication methods - Oauth2 ## Parameters ### Path parameters - **id** (integer) The identifier of the task definition. Only task definitions defined for the specified entity definition details will be returned ### Query parameters - **fetchDepth** (integer(int32)) We define a `fetchDepth` parameter in the parameters section. It should have positive integer value. ## Responses ### 200 OK #### Body: application/json (object) - **id** (integer) - **parentId** (integer) - **name** (string) - **number** (string) - **description** (string) - **instructions** (string) - **isCritical** (boolean) - **entity** (object) - **performer** (object) - **reviewer** (object) - **approver** (object) - **children** (array[object]) [Powered by Bump.sh](https://bump.sh)