List Leave Requests
list_leave_requestsRetrieve employee leave requests with details on status, absence reason, dates, and duration. Filter by employee, department, status, or date range to find specific time-off records.
Instructions
Get employee leave (time off) requests with status, absence reason (leave policy), dates, duration and description. Use get_leave_request for full approval detail on one request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Keyword search within the approver response notes | |
| reason | No | Keyword search within the leave request reason text | |
| status | No | Only requests with this approval status | |
| employee | No | Employee code to only return records for that particular employee | |
| location | No | One or more location names (separated by commas) to filter by | |
| department | No | One or more department names (separated by commas) to filter by | |
| description | No | Keyword search within the leave request description | |
| max_records | No | Optional client-side limit on the number of records returned. Use to keep responses small when exploring data; the API itself does not paginate. | |
| absence_reason | No | Leave policy name to isolate requests against that policy | |
| leave_end_date_to | No | Only requests with leave ending on/before this date (format yyyy-mm-dd) | |
| leave_request_type | No | 'taken' for time off requests, 'added' for TOIL/Flexi requests | |
| leave_end_date_from | No | Only requests with leave ending on/after this date (format yyyy-mm-dd) | |
| leave_start_date_to | No | Only requests with leave starting on/before this date (format yyyy-mm-dd) | |
| leave_start_date_from | No | Only requests with leave starting on/after this date (format yyyy-mm-dd) |