> For the complete documentation index, see [llms.txt](https://docs.mulearn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mulearn.org/api-reference/calendar.md).

# Calendar

## GET /api/v1/calendar/campus-mentor/{campus\_id}/sessions/

> Calendar view of mentorship sessions for a specific campus. Returns sessions grouped as upcoming, ongoing, and completed. Filter by month using the \`month\` query parameter (format: YYYY-MM).

```json
{"openapi":"3.0.3","info":{"title":"muLearn API","version":"1.0.0"},"security":[{"cookieAuth":[]},{"basicAuth":[]},{"jwtAuth":[]},{}],"components":{"securitySchemes":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"sessionid"},"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"JWT Token Authentication. Enter **\"Bearer <token>\"**"}},"schemas":{"MentorshipSessionCalendar":{"type":"object","properties":{"id":{"type":"string","maxLength":36},"title":{"type":"string","maxLength":150},"description":{"type":"string","nullable":true},"mode":{"enum":["ONLINE","OFFLINE","HYBRID"],"type":"string","description":"* `ONLINE` - Online\n* `OFFLINE` - Offline\n* `HYBRID` - Hybrid"},"starts_at":{"type":"string","format":"date-time"},"ends_at":{"type":"string","format":"date-time"},"status":{"enum":["REQUESTED","SCHEDULED","PENDING_APPROVAL","COMPLETED","CANCELLED","REJECTED"],"type":"string","description":"* `REQUESTED` - Requested\n* `SCHEDULED` - Scheduled\n* `PENDING_APPROVAL` - Pending Approval\n* `COMPLETED` - Completed\n* `CANCELLED` - Cancelled\n* `REJECTED` - Rejected"},"meeting_link":{"type":"string","nullable":true,"maxLength":500},"venue":{"type":"string","nullable":true,"maxLength":255},"mentor_name":{"type":"string","readOnly":true},"mentee_count":{"type":"string","readOnly":true}},"required":["ends_at","mentee_count","mentor_name","starts_at","status","title"]}}},"paths":{"/api/v1/calendar/campus-mentor/{campus_id}/sessions/":{"get":{"operationId":"calendar_campus_mentor_sessions_list","description":"Calendar view of mentorship sessions for a specific campus. Returns sessions grouped as upcoming, ongoing, and completed. Filter by month using the `month` query parameter (format: YYYY-MM).","parameters":[{"in":"path","name":"campus_id","schema":{"type":"string"},"required":true},{"in":"query","name":"month","schema":{"type":"string"},"description":"Filter by month (YYYY-MM)"},{"in":"query","name":"status","schema":{"type":"string"},"description":"Filter by status: SCHEDULED, COMPLETED, CANCELLED"}],"tags":["Calendar"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"hasError":{"type":"boolean","default":false},"statusCode":{"type":"integer","default":200},"message":{"type":"object","properties":{"general":{"type":"array","items":{"type":"string"}}}},"response":{"type":"array","items":{"$ref":"#/components/schemas/MentorshipSessionCalendar"}}},"required":["hasError","statusCode","message","response"]}}},"description":""}}}}}}
```

## GET /api/v1/calendar/campus/{campus\_id}/events/

> Events calendar scoped to a specific Campus. Returns events grouped as upcoming, ongoing, and completed. Supports optional month filtering.

```json
{"openapi":"3.0.3","info":{"title":"muLearn API","version":"1.0.0"},"security":[{"cookieAuth":[]},{"basicAuth":[]},{"jwtAuth":[]},{}],"components":{"securitySchemes":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"sessionid"},"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"JWT Token Authentication. Enter **\"Bearer <token>\"**"}},"schemas":{"EventCalendarItem":{"type":"object","properties":{"id":{"type":"string","maxLength":36},"title":{"type":"string","maxLength":200},"slug":{"type":"string","maxLength":220},"status":{"enum":["draft","pending_campus_approval","pending_approval","pending_mentor_approval","published","ongoing","completed","cancelled","rejected"],"type":"string","description":"* `draft` - Draft\n* `pending_campus_approval` - Pending Campus Approval\n* `pending_approval` - Pending Approval\n* `pending_mentor_approval` - Pending Mentor Approval\n* `published` - Published\n* `ongoing` - Ongoing\n* `completed` - Completed\n* `cancelled` - Cancelled\n* `rejected` - Rejected"},"start":{"type":"string","format":"date-time","readOnly":true},"end":{"type":"string","format":"date-time","readOnly":true},"venue_type":{"enum":["physical","online","hybrid"],"type":"string","description":"* `physical` - Physical\n* `online` - Online\n* `hybrid` - Hybrid"},"organiser_name":{"type":"string","readOnly":true},"category_name":{"type":"string","readOnly":true,"nullable":true},"is_featured":{"type":"boolean"}},"required":["category_name","end","organiser_name","slug","start","title"]}}},"paths":{"/api/v1/calendar/campus/{campus_id}/events/":{"get":{"operationId":"calendar_campus_events_list","description":"Events calendar scoped to a specific Campus. Returns events grouped as upcoming, ongoing, and completed. Supports optional month filtering.","parameters":[{"in":"path","name":"campus_id","schema":{"type":"string"},"required":true},{"in":"query","name":"month","schema":{"type":"string"},"description":"Filter by month (YYYY-MM)"},{"in":"query","name":"status","schema":{"type":"string"},"description":"Filter by status: ongoing, upcoming, completed"}],"tags":["Calendar"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"hasError":{"type":"boolean","default":false},"statusCode":{"type":"integer","default":200},"message":{"type":"object","properties":{"general":{"type":"array","items":{"type":"string"}}}},"response":{"type":"array","items":{"$ref":"#/components/schemas/EventCalendarItem"}}},"required":["hasError","statusCode","message","response"]}}},"description":""}}}}}}
```

## GET /api/v1/calendar/company/{company\_id}/events/

> Events calendar scoped to a specific Company. Returns events grouped as upcoming, ongoing, and completed. Supports optional month filtering.

```json
{"openapi":"3.0.3","info":{"title":"muLearn API","version":"1.0.0"},"security":[{"cookieAuth":[]},{"basicAuth":[]},{"jwtAuth":[]},{}],"components":{"securitySchemes":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"sessionid"},"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"JWT Token Authentication. Enter **\"Bearer <token>\"**"}},"schemas":{"EventCalendarItem":{"type":"object","properties":{"id":{"type":"string","maxLength":36},"title":{"type":"string","maxLength":200},"slug":{"type":"string","maxLength":220},"status":{"enum":["draft","pending_campus_approval","pending_approval","pending_mentor_approval","published","ongoing","completed","cancelled","rejected"],"type":"string","description":"* `draft` - Draft\n* `pending_campus_approval` - Pending Campus Approval\n* `pending_approval` - Pending Approval\n* `pending_mentor_approval` - Pending Mentor Approval\n* `published` - Published\n* `ongoing` - Ongoing\n* `completed` - Completed\n* `cancelled` - Cancelled\n* `rejected` - Rejected"},"start":{"type":"string","format":"date-time","readOnly":true},"end":{"type":"string","format":"date-time","readOnly":true},"venue_type":{"enum":["physical","online","hybrid"],"type":"string","description":"* `physical` - Physical\n* `online` - Online\n* `hybrid` - Hybrid"},"organiser_name":{"type":"string","readOnly":true},"category_name":{"type":"string","readOnly":true,"nullable":true},"is_featured":{"type":"boolean"}},"required":["category_name","end","organiser_name","slug","start","title"]}}},"paths":{"/api/v1/calendar/company/{company_id}/events/":{"get":{"operationId":"calendar_company_events_list","description":"Events calendar scoped to a specific Company. Returns events grouped as upcoming, ongoing, and completed. Supports optional month filtering.","parameters":[{"in":"path","name":"company_id","schema":{"type":"string"},"required":true},{"in":"query","name":"month","schema":{"type":"string"},"description":"Filter by month (YYYY-MM)"},{"in":"query","name":"status","schema":{"type":"string"},"description":"Filter by status: ongoing, upcoming, completed"}],"tags":["Calendar"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"hasError":{"type":"boolean","default":false},"statusCode":{"type":"integer","default":200},"message":{"type":"object","properties":{"general":{"type":"array","items":{"type":"string"}}}},"response":{"type":"array","items":{"$ref":"#/components/schemas/EventCalendarItem"}}},"required":["hasError","statusCode","message","response"]}}},"description":""}}}}}}
```

## GET /api/v1/calendar/company/{company\_org\_id}/sessions/

> Calendar view of mentorship sessions for a specific company org. Returns sessions grouped as upcoming, ongoing, and completed. Filter by month using the \`month\` query parameter (format: YYYY-MM).

```json
{"openapi":"3.0.3","info":{"title":"muLearn API","version":"1.0.0"},"security":[{"cookieAuth":[]},{"basicAuth":[]},{"jwtAuth":[]},{}],"components":{"securitySchemes":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"sessionid"},"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"JWT Token Authentication. Enter **\"Bearer <token>\"**"}},"schemas":{"MentorshipSessionCalendar":{"type":"object","properties":{"id":{"type":"string","maxLength":36},"title":{"type":"string","maxLength":150},"description":{"type":"string","nullable":true},"mode":{"enum":["ONLINE","OFFLINE","HYBRID"],"type":"string","description":"* `ONLINE` - Online\n* `OFFLINE` - Offline\n* `HYBRID` - Hybrid"},"starts_at":{"type":"string","format":"date-time"},"ends_at":{"type":"string","format":"date-time"},"status":{"enum":["REQUESTED","SCHEDULED","PENDING_APPROVAL","COMPLETED","CANCELLED","REJECTED"],"type":"string","description":"* `REQUESTED` - Requested\n* `SCHEDULED` - Scheduled\n* `PENDING_APPROVAL` - Pending Approval\n* `COMPLETED` - Completed\n* `CANCELLED` - Cancelled\n* `REJECTED` - Rejected"},"meeting_link":{"type":"string","nullable":true,"maxLength":500},"venue":{"type":"string","nullable":true,"maxLength":255},"mentor_name":{"type":"string","readOnly":true},"mentee_count":{"type":"string","readOnly":true}},"required":["ends_at","mentee_count","mentor_name","starts_at","status","title"]}}},"paths":{"/api/v1/calendar/company/{company_org_id}/sessions/":{"get":{"operationId":"calendar_company_sessions_list","description":"Calendar view of mentorship sessions for a specific company org. Returns sessions grouped as upcoming, ongoing, and completed. Filter by month using the `month` query parameter (format: YYYY-MM).","parameters":[{"in":"path","name":"company_org_id","schema":{"type":"string"},"required":true},{"in":"query","name":"month","schema":{"type":"string"},"description":"Filter by month (YYYY-MM)"},{"in":"query","name":"status","schema":{"type":"string"},"description":"Filter by status: SCHEDULED, COMPLETED, CANCELLED"}],"tags":["Calendar"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"hasError":{"type":"boolean","default":false},"statusCode":{"type":"integer","default":200},"message":{"type":"object","properties":{"general":{"type":"array","items":{"type":"string"}}}},"response":{"type":"array","items":{"$ref":"#/components/schemas/MentorshipSessionCalendar"}}},"required":["hasError","statusCode","message","response"]}}},"description":""}}}}}}
```

## GET /api/v1/calendar/events/

> Global platform events calendar. Returns events grouped as upcoming, ongoing, and completed. Supports optional filtering by month (YYYY-MM) and scope.

```json
{"openapi":"3.0.3","info":{"title":"muLearn API","version":"1.0.0"},"security":[{"cookieAuth":[]},{"basicAuth":[]},{"jwtAuth":[]},{}],"components":{"securitySchemes":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"sessionid"},"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"JWT Token Authentication. Enter **\"Bearer <token>\"**"}},"schemas":{"EventCalendarItem":{"type":"object","properties":{"id":{"type":"string","maxLength":36},"title":{"type":"string","maxLength":200},"slug":{"type":"string","maxLength":220},"status":{"enum":["draft","pending_campus_approval","pending_approval","pending_mentor_approval","published","ongoing","completed","cancelled","rejected"],"type":"string","description":"* `draft` - Draft\n* `pending_campus_approval` - Pending Campus Approval\n* `pending_approval` - Pending Approval\n* `pending_mentor_approval` - Pending Mentor Approval\n* `published` - Published\n* `ongoing` - Ongoing\n* `completed` - Completed\n* `cancelled` - Cancelled\n* `rejected` - Rejected"},"start":{"type":"string","format":"date-time","readOnly":true},"end":{"type":"string","format":"date-time","readOnly":true},"venue_type":{"enum":["physical","online","hybrid"],"type":"string","description":"* `physical` - Physical\n* `online` - Online\n* `hybrid` - Hybrid"},"organiser_name":{"type":"string","readOnly":true},"category_name":{"type":"string","readOnly":true,"nullable":true},"is_featured":{"type":"boolean"}},"required":["category_name","end","organiser_name","slug","start","title"]}}},"paths":{"/api/v1/calendar/events/":{"get":{"operationId":"calendar_events_list","description":"Global platform events calendar. Returns events grouped as upcoming, ongoing, and completed. Supports optional filtering by month (YYYY-MM) and scope.","parameters":[{"in":"query","name":"month","schema":{"type":"string"},"description":"Filter by month (YYYY-MM)"},{"in":"query","name":"scope","schema":{"type":"string"},"description":"Filter by scope: ig, campus, global, company"},{"in":"query","name":"status","schema":{"type":"string"},"description":"Filter by status: ongoing, upcoming, completed"}],"tags":["Calendar"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"hasError":{"type":"boolean","default":false},"statusCode":{"type":"integer","default":200},"message":{"type":"object","properties":{"general":{"type":"array","items":{"type":"string"}}}},"response":{"type":"array","items":{"$ref":"#/components/schemas/EventCalendarItem"}}},"required":["hasError","statusCode","message","response"]}}},"description":""}}}}}}
```

## GET /api/v1/calendar/ig-mentor/{ig\_id}/sessions/

> Calendar view of mentorship sessions for a specific Interest Group. Returns sessions grouped as upcoming, ongoing, and completed. Filter by month using the \`month\` query parameter (format: YYYY-MM).

```json
{"openapi":"3.0.3","info":{"title":"muLearn API","version":"1.0.0"},"security":[{"cookieAuth":[]},{"basicAuth":[]},{"jwtAuth":[]},{}],"components":{"securitySchemes":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"sessionid"},"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"JWT Token Authentication. Enter **\"Bearer <token>\"**"}},"schemas":{"MentorshipSessionCalendar":{"type":"object","properties":{"id":{"type":"string","maxLength":36},"title":{"type":"string","maxLength":150},"description":{"type":"string","nullable":true},"mode":{"enum":["ONLINE","OFFLINE","HYBRID"],"type":"string","description":"* `ONLINE` - Online\n* `OFFLINE` - Offline\n* `HYBRID` - Hybrid"},"starts_at":{"type":"string","format":"date-time"},"ends_at":{"type":"string","format":"date-time"},"status":{"enum":["REQUESTED","SCHEDULED","PENDING_APPROVAL","COMPLETED","CANCELLED","REJECTED"],"type":"string","description":"* `REQUESTED` - Requested\n* `SCHEDULED` - Scheduled\n* `PENDING_APPROVAL` - Pending Approval\n* `COMPLETED` - Completed\n* `CANCELLED` - Cancelled\n* `REJECTED` - Rejected"},"meeting_link":{"type":"string","nullable":true,"maxLength":500},"venue":{"type":"string","nullable":true,"maxLength":255},"mentor_name":{"type":"string","readOnly":true},"mentee_count":{"type":"string","readOnly":true}},"required":["ends_at","mentee_count","mentor_name","starts_at","status","title"]}}},"paths":{"/api/v1/calendar/ig-mentor/{ig_id}/sessions/":{"get":{"operationId":"calendar_ig_mentor_sessions_list","description":"Calendar view of mentorship sessions for a specific Interest Group. Returns sessions grouped as upcoming, ongoing, and completed. Filter by month using the `month` query parameter (format: YYYY-MM).","parameters":[{"in":"path","name":"ig_id","schema":{"type":"string"},"required":true},{"in":"query","name":"month","schema":{"type":"string"},"description":"Filter by month (YYYY-MM)"},{"in":"query","name":"status","schema":{"type":"string"},"description":"Filter by status: SCHEDULED, COMPLETED, CANCELLED"}],"tags":["Calendar"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"hasError":{"type":"boolean","default":false},"statusCode":{"type":"integer","default":200},"message":{"type":"object","properties":{"general":{"type":"array","items":{"type":"string"}}}},"response":{"type":"array","items":{"$ref":"#/components/schemas/MentorshipSessionCalendar"}}},"required":["hasError","statusCode","message","response"]}}},"description":""}}}}}}
```

## GET /api/v1/calendar/ig/{ig\_id}/events/

> Events calendar scoped to a specific Interest Group. Returns events grouped as upcoming, ongoing, and completed. Supports optional month filtering.

```json
{"openapi":"3.0.3","info":{"title":"muLearn API","version":"1.0.0"},"security":[{"cookieAuth":[]},{"basicAuth":[]},{"jwtAuth":[]},{}],"components":{"securitySchemes":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"sessionid"},"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"JWT Token Authentication. Enter **\"Bearer <token>\"**"}},"schemas":{"EventCalendarItem":{"type":"object","properties":{"id":{"type":"string","maxLength":36},"title":{"type":"string","maxLength":200},"slug":{"type":"string","maxLength":220},"status":{"enum":["draft","pending_campus_approval","pending_approval","pending_mentor_approval","published","ongoing","completed","cancelled","rejected"],"type":"string","description":"* `draft` - Draft\n* `pending_campus_approval` - Pending Campus Approval\n* `pending_approval` - Pending Approval\n* `pending_mentor_approval` - Pending Mentor Approval\n* `published` - Published\n* `ongoing` - Ongoing\n* `completed` - Completed\n* `cancelled` - Cancelled\n* `rejected` - Rejected"},"start":{"type":"string","format":"date-time","readOnly":true},"end":{"type":"string","format":"date-time","readOnly":true},"venue_type":{"enum":["physical","online","hybrid"],"type":"string","description":"* `physical` - Physical\n* `online` - Online\n* `hybrid` - Hybrid"},"organiser_name":{"type":"string","readOnly":true},"category_name":{"type":"string","readOnly":true,"nullable":true},"is_featured":{"type":"boolean"}},"required":["category_name","end","organiser_name","slug","start","title"]}}},"paths":{"/api/v1/calendar/ig/{ig_id}/events/":{"get":{"operationId":"calendar_ig_events_list","description":"Events calendar scoped to a specific Interest Group. Returns events grouped as upcoming, ongoing, and completed. Supports optional month filtering.","parameters":[{"in":"path","name":"ig_id","schema":{"type":"string"},"required":true},{"in":"query","name":"month","schema":{"type":"string"},"description":"Filter by month (YYYY-MM)"},{"in":"query","name":"status","schema":{"type":"string"},"description":"Filter by status: ongoing, upcoming, completed"}],"tags":["Calendar"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"hasError":{"type":"boolean","default":false},"statusCode":{"type":"integer","default":200},"message":{"type":"object","properties":{"general":{"type":"array","items":{"type":"string"}}}},"response":{"type":"array","items":{"$ref":"#/components/schemas/EventCalendarItem"}}},"required":["hasError","statusCode","message","response"]}}},"description":""}}}}}}
```

## GET /api/v1/dashboard/calendar/events/

> Unified dashboard calendar. Returns events and mentor sessions based on the caller's role (detected from JWT token). Supports date-range filtering via start\_date and end\_date.

```json
{"openapi":"3.0.3","info":{"title":"muLearn API","version":"1.0.0"},"security":[{"cookieAuth":[]},{"basicAuth":[]},{"jwtAuth":[]},{}],"components":{"securitySchemes":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"sessionid"},"basicAuth":{"type":"http","scheme":"basic"},"jwtAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"JWT Token Authentication. Enter **\"Bearer <token>\"**"}},"schemas":{"EventCalendarItem":{"type":"object","properties":{"id":{"type":"string","maxLength":36},"title":{"type":"string","maxLength":200},"slug":{"type":"string","maxLength":220},"status":{"enum":["draft","pending_campus_approval","pending_approval","pending_mentor_approval","published","ongoing","completed","cancelled","rejected"],"type":"string","description":"* `draft` - Draft\n* `pending_campus_approval` - Pending Campus Approval\n* `pending_approval` - Pending Approval\n* `pending_mentor_approval` - Pending Mentor Approval\n* `published` - Published\n* `ongoing` - Ongoing\n* `completed` - Completed\n* `cancelled` - Cancelled\n* `rejected` - Rejected"},"start":{"type":"string","format":"date-time","readOnly":true},"end":{"type":"string","format":"date-time","readOnly":true},"venue_type":{"enum":["physical","online","hybrid"],"type":"string","description":"* `physical` - Physical\n* `online` - Online\n* `hybrid` - Hybrid"},"organiser_name":{"type":"string","readOnly":true},"category_name":{"type":"string","readOnly":true,"nullable":true},"is_featured":{"type":"boolean"}},"required":["category_name","end","organiser_name","slug","start","title"]}}},"paths":{"/api/v1/dashboard/calendar/events/":{"get":{"operationId":"dashboard_calendar_events_list","description":"Unified dashboard calendar. Returns events and mentor sessions based on the caller's role (detected from JWT token). Supports date-range filtering via start_date and end_date.","parameters":[{"in":"query","name":"end_date","schema":{"type":"string","format":"date"},"description":"End of date range (YYYY-MM-DD). Required if month is not provided."},{"in":"query","name":"month","schema":{"type":"string"},"description":"Optional. Filter by month name. Mutually exclusive with start_date/end_date."},{"in":"query","name":"start_date","schema":{"type":"string","format":"date"},"description":"Start of date range (YYYY-MM-DD). Required if month is not provided."},{"in":"query","name":"status","schema":{"type":"string"},"description":"Optional. Filter by status: upcoming, ongoing, completed."},{"in":"query","name":"year","schema":{"type":"integer"},"description":"Optional. Used with month filter (defaults to current year)."}],"tags":["Calendar"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"hasError":{"type":"boolean","default":false},"statusCode":{"type":"integer","default":200},"message":{"type":"object","properties":{"general":{"type":"array","items":{"type":"string"}}}},"response":{"type":"array","items":{"$ref":"#/components/schemas/EventCalendarItem"}}},"required":["hasError","statusCode","message","response"]}}},"description":""}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mulearn.org/api-reference/calendar.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
