# Return Decision Trees Returns all decision trees that the user has permission to access. Endpoint: GET /decisionEngine/GUID Version: 1.0.0 Security: bearerToken ## Query parameters: - `sortDir` (string) The direction that you wish to sort results by. Enum: "asc", "desc" - `type` (string) Filter the returned decision trees by their associated decision tree type. Enum: "Credit Approval", "CS Decision Module", "Demo", "Credit Approval, CS Decision Module" - `sortBy` (string) Sort results by this column. Enum: "friendlyName" - `decisionOutcome` (boolean) Fetch decision outcome in guid list endpoint. ## Response 200 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. Example: "23921650-c073-11ea-860f-06bc8182190e" - `GUIDList` (array) - `GUIDList.friendlyName` (string) The name of the decision tree. Example: "Check & Decide Demo" - `GUIDList.GUID` (string) The unique reference for the decision tree. Example: "repoObj_0ed6a4aa_16e17d977e9_07ffb16e17d977e9" - `GUIDList.type` (string) The type of the decision tree. Enum: "Credit Approval", "Bespoke", "Demo" - `GUIDList.serviceLine` (string,null) The internal reference for the service line that credits will be deducted from on each decision tree run. Example: "dec_eng_cas" ## Response 400 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected ## Response 401 fields (application/json): - `error` (string)