# Get Available Slots

#### **Method: `get_available_slots(start_date, end_date, duration_minutes=60)`**

Finds available time slots between two dates.

### **Parameters**

| Parameter          | Type     | Description                                 |
| ------------------ | -------- | ------------------------------------------- |
| `start_date`       | datetime | Start date to search from                   |
| `end_date`         | datetime | End date to search until                    |
| `duration_minutes` | int      | Desired slot duration (default: 60 minutes) |

### **Returns**

📅 A list of datetime objects representing available slots.

### **Example Usage**

```python
slots = calendar.get_available_slots(
    datetime(2024, 3, 15),  # March 15, 2024
    datetime(2024, 3, 16),  # March 16, 2024
    duration_minutes=60
)
print(slots)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.groclake.ai/lakes/tool-management-and-gateway/toollake/google-calendar-integration/get-available-slots.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
