Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url http://localhost:3000/v1/scheduling/leave
{ "leave_requests": [ { "id": 123, "employee_name": "<string>", "employee_id": 123, "leave_type": "<string>", "start_date": "<string>", "end_date": "<string>", "total_days": 123, "status": "pending", "reason": "<string>", "approved_by": "<string>" } ], "deputy_configured": true }
Get leave requests from Deputy, optionally filtered by status.
Filter by status
pending
approved
declined
Leave requests data
Get leave response
Show child attributes
true