# Returns A Schedule Returns a schedule in AML monitoring. Endpoint: GET /compliance/kyc-protect/schedules/{scheduleId} Version: 1.10.9 Security: bearerToken ## Path parameters: - `scheduleId` (string, required) id of the profile ## Response 200 fields (application/json): - `id` (string) The id of the schedule - `searchId` (string) The id of the search that was being scheduled - `isEmailRequired` (boolean) Indicates whether the schedule requires an email to be sent when the search is run - `emailRecipients` (array,null) The email recipients that the email should be sent to when the search is run - `createdById` (integer) The id of the user who created the schedule - `createdAt` (string) The time the schedule was created - `createdBy` (string) The name of the user who created the schedule - `modifiedById` (integer) The id of the user who last modified the schedule - `modifiedAt` (string) The time the schedule was last modified - `modifiedBy` (string) The name of the user who last modified the schedule - `type` (string) The type of the schedule, i.e. business or individual - `name` (string,null) The name used in the search criteria - `firstName` (string,null) The first name used in the search criteria - `middleName` (string,null) The middle name used in the search criteria - `lastName` (string,null) The last name used in the search criteria - `gender` (string,null) The gender used in the search criteria, i.e. male or female - `dateOfBirth` (string,null) The date of birth used in the search criteria - `countries` (array,null) The list of country codes used in the search criteria - `threshold` (integer) The threshold used in the search criteria - `datasets` (array) The datasets used in the search criteria - `pepTiers` (array,null) The pep tiers used in the search criteria, i.e. pepTier1, pepTier2, pepTier3 - `isDobRequired` (boolean,null) Indicates whether date of birth is required for the individual search. ## 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) ## Response 403 fields (application/json): - `message` (string) Example: "Access forbidden" ## Response 404 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