diff --git a/swagger.yaml b/swagger.yaml
index f9fb1ee49c7b6fcf09b630f50cbf0bf325da7a95..0f8c0f66d228e61047c45141317ca474bf65a459 100644
--- a/swagger.yaml
+++ b/swagger.yaml
@@ -9,6 +9,57 @@ info:
 #     description: Local server
 
 paths:
+  /templates/{page}:
+    get:
+      summary: Get template details of a particular page
+      parameters:
+        - in: path
+          name: page
+          required: true
+          schema:
+            type: string
+          description: The page for which template details are requested.
+      responses:
+        '200':
+          description: Template retrieved successfully
+          content:
+            application/json:
+              schema:
+                type: object
+                properties:
+                  id:
+                    type: string
+                  name:
+                    type: string
+                  desc:
+                    type: string
+                  widgets:
+                    type: array
+                    items:
+                      type: object
+                      properties:
+                        widgetId:
+                          type: string
+                        position:
+                          type: integer
+                        startTime:
+                          type: string
+                          format: date-time
+                        endTime:
+                          type: string
+                          format: date-time
+                  hashId:
+                    type: string
+        '404':
+          description: Template not found
+          content:
+            application/json:
+              schema:
+                type: object
+                properties:
+                  error:
+                    type: string
+
   /widget/allLayout/{page}:
     get:
       summary: Get widget details for a page
@@ -33,7 +84,7 @@ paths:
                       type: string
                     title:
                       type: string
-                    layout:
+                    widget:
                       type: string
                     enable:
                       type: boolean