@agentmc/api 0.1.1 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/dist/cli.js +643 -643
  2. package/dist/cli.js.map +1 -1
  3. package/dist/generated/operations.d.ts +504 -504
  4. package/dist/generated/operations.js +643 -643
  5. package/dist/generated/operations.js.map +1 -1
  6. package/dist/index.d.ts +12 -12
  7. package/dist/index.js +643 -643
  8. package/dist/index.js.map +1 -1
  9. package/docs/operations/README.md +6 -6
  10. package/docs/operations/{commentWorkspaceCalendarItem.md → commentCalendarItem.md} +2 -2
  11. package/docs/operations/{createWorkspaceCalendarItem.md → createCalendarItem.md} +2 -2
  12. package/docs/operations/{deleteWorkspaceCalendarItem.md → deleteCalendarItem.md} +2 -2
  13. package/docs/operations/index.json +643 -643
  14. package/docs/operations/{workspaceCalendar.md → listCalendar.md} +2 -2
  15. package/docs/operations/{showWorkspaceCalendarItem.md → showCalendarItem.md} +2 -2
  16. package/docs/operations/{updateWorkspaceCalendarItem.md → updateCalendarItem.md} +2 -2
  17. package/examples/http/{commentWorkspaceCalendarItem.ts → commentCalendarItem.ts} +1 -1
  18. package/examples/http/{createWorkspaceCalendarItem.ts → createCalendarItem.ts} +1 -1
  19. package/examples/http/{showWorkspaceCalendarItem.ts → deleteCalendarItem.ts} +1 -1
  20. package/examples/http/{workspaceCalendar.ts → listCalendar.ts} +1 -1
  21. package/examples/http/{deleteWorkspaceCalendarItem.ts → showCalendarItem.ts} +1 -1
  22. package/examples/http/{updateWorkspaceCalendarItem.ts → updateCalendarItem.ts} +1 -1
  23. package/package.json +1 -1
  24. package/spec/openapi.filtered.json +6 -6
@@ -767,7 +767,7 @@ var operations = [
767
767
  ]
768
768
  },
769
769
  {
770
- "operationId": "commentWorkspaceCalendarItem",
770
+ "operationId": "commentCalendarItem",
771
771
  "method": "post",
772
772
  "path": "/calendar/items/{item}/comments",
773
773
  "summary": "Add a comment on a calendar item.",
@@ -1663,13 +1663,13 @@ var operations = [
1663
1663
  ]
1664
1664
  },
1665
1665
  {
1666
- "operationId": "createTask",
1666
+ "operationId": "createCalendarItem",
1667
1667
  "method": "post",
1668
- "path": "/tasks",
1669
- "summary": "Create a task.",
1668
+ "path": "/calendar/items",
1669
+ "summary": "Create a calendar item.",
1670
1670
  "description": "",
1671
1671
  "tags": [
1672
- "Tasks"
1672
+ "Calendar"
1673
1673
  ],
1674
1674
  "security": [
1675
1675
  [
@@ -1688,14 +1688,21 @@ var operations = [
1688
1688
  {
1689
1689
  "mediaType": "application/json",
1690
1690
  "example": {
1691
- "board_id": 5,
1692
- "column_id": 13,
1693
- "title": "Draft post-incident summary",
1694
- "description": "Capture timeline, impact, and remediation status.",
1695
- "status": "doing",
1696
- "position": 2,
1697
- "due_at": "2026-02-24T17:00:00Z",
1698
- "assigned_to_user_id": 8
1691
+ "type": "task",
1692
+ "title": "Review outage timeline",
1693
+ "description": "Confirm sequence of events with on-call notes.",
1694
+ "due_at": "2026-02-24T09:00:00Z",
1695
+ "timezone": "America/Los_Angeles",
1696
+ "status": "todo",
1697
+ "priority": "high",
1698
+ "visibility": "workspace",
1699
+ "assignees": [
1700
+ {
1701
+ "assignee_type": "user",
1702
+ "assignee_id": 8,
1703
+ "role": "owner"
1704
+ }
1705
+ ]
1699
1706
  }
1700
1707
  }
1701
1708
  ],
@@ -1703,25 +1710,50 @@ var operations = [
1703
1710
  {
1704
1711
  "status": "201",
1705
1712
  "mediaType": "application/json",
1706
- "description": "Task created.",
1713
+ "description": "Calendar item created.",
1707
1714
  "hasContent": true,
1708
1715
  "example": {
1709
1716
  "data": {
1710
1717
  "id": 42,
1711
- "team_id": 42,
1712
- "board_id": 42,
1713
- "column_id": 42,
1718
+ "workspace_id": 42,
1719
+ "type": "event",
1714
1720
  "title": "Example Title",
1715
1721
  "description": "Example description text.",
1716
- "status": "backlog",
1717
- "position": 1,
1722
+ "start_at": "2026-02-22T17:21:00Z",
1723
+ "end_at": "2026-02-22T17:21:00Z",
1718
1724
  "due_at": "2026-02-22T17:21:00Z",
1719
- "created_by_user_id": 42,
1720
- "assigned_to_user_id": 42,
1721
- "assigned_to_agent_id": 42,
1722
- "assignee_type": "human",
1725
+ "all_day": false,
1726
+ "location": "example",
1727
+ "timezone": "America/Los_Angeles",
1728
+ "status": "todo",
1729
+ "priority": "low",
1730
+ "visibility": "workspace",
1731
+ "created_by": 1,
1732
+ "updated_by": 1,
1733
+ "assignees": [
1734
+ {
1735
+ "id": 42,
1736
+ "assignee_type": "user",
1737
+ "assignee_id": 42,
1738
+ "role": "owner",
1739
+ "name": "Example Name",
1740
+ "created_at": "2026-02-22T17:21:00Z"
1741
+ }
1742
+ ],
1743
+ "links": [
1744
+ {
1745
+ "id": 42,
1746
+ "link_type": "example",
1747
+ "link_id": 42,
1748
+ "url": "https://agentmc.example.com/docs/incident-123",
1749
+ "title": "Example Title",
1750
+ "created_at": "2026-02-22T17:21:00Z"
1751
+ }
1752
+ ],
1753
+ "comments_count": 1,
1723
1754
  "created_at": "2026-02-22T17:21:00Z",
1724
- "updated_at": "2026-02-22T17:21:00Z"
1755
+ "updated_at": "2026-02-22T17:21:00Z",
1756
+ "deleted_at": "2026-02-22T17:21:00Z"
1725
1757
  }
1726
1758
  }
1727
1759
  },
@@ -1823,10 +1855,10 @@ var operations = [
1823
1855
  ]
1824
1856
  },
1825
1857
  {
1826
- "operationId": "createTaskComment",
1858
+ "operationId": "createTask",
1827
1859
  "method": "post",
1828
- "path": "/tasks/{task}/comments",
1829
- "summary": "Create a comment on one task.",
1860
+ "path": "/tasks",
1861
+ "summary": "Create a task.",
1830
1862
  "description": "",
1831
1863
  "tags": [
1832
1864
  "Tasks"
@@ -1842,23 +1874,20 @@ var operations = [
1842
1874
  "BearerAuth"
1843
1875
  ]
1844
1876
  ],
1845
- "parameters": [
1846
- {
1847
- "name": "task",
1848
- "in": "path",
1849
- "required": true,
1850
- "description": "Task identifier.",
1851
- "example": 1
1852
- }
1853
- ],
1877
+ "parameters": [],
1854
1878
  "requestBodyRequired": true,
1855
1879
  "requestExamples": [
1856
1880
  {
1857
1881
  "mediaType": "application/json",
1858
1882
  "example": {
1859
- "body": "Posting a handoff note for [@Alex Morgan](/mentions/user/8) to review before standup.",
1860
- "actor_type": "agent",
1861
- "actor_id": 42
1883
+ "board_id": 5,
1884
+ "column_id": 13,
1885
+ "title": "Draft post-incident summary",
1886
+ "description": "Capture timeline, impact, and remediation status.",
1887
+ "status": "doing",
1888
+ "position": 2,
1889
+ "due_at": "2026-02-24T17:00:00Z",
1890
+ "assigned_to_user_id": 8
1862
1891
  }
1863
1892
  }
1864
1893
  ],
@@ -1866,28 +1895,25 @@ var operations = [
1866
1895
  {
1867
1896
  "status": "201",
1868
1897
  "mediaType": "application/json",
1869
- "description": "Task comment created.",
1898
+ "description": "Task created.",
1870
1899
  "hasContent": true,
1871
1900
  "example": {
1872
1901
  "data": {
1873
1902
  "id": 42,
1874
- "task_id": 42,
1875
- "actor_type": "user",
1876
- "actor_id": 42,
1877
- "actor_name": "Example Name",
1878
- "body": "Example content.",
1879
- "mentions": [
1880
- {
1881
- "key": "example",
1882
- "type": "user",
1883
- "id": 42,
1884
- "label": "example",
1885
- "handle": "example",
1886
- "token": "example"
1887
- }
1888
- ],
1889
- "edited_at": "2026-02-22T17:21:00Z",
1890
- "created_at": "2026-02-22T17:21:00Z"
1903
+ "team_id": 42,
1904
+ "board_id": 42,
1905
+ "column_id": 42,
1906
+ "title": "Example Title",
1907
+ "description": "Example description text.",
1908
+ "status": "backlog",
1909
+ "position": 1,
1910
+ "due_at": "2026-02-22T17:21:00Z",
1911
+ "created_by_user_id": 42,
1912
+ "assigned_to_user_id": 42,
1913
+ "assigned_to_agent_id": 42,
1914
+ "assignee_type": "human",
1915
+ "created_at": "2026-02-22T17:21:00Z",
1916
+ "updated_at": "2026-02-22T17:21:00Z"
1891
1917
  }
1892
1918
  }
1893
1919
  },
@@ -1910,6 +1936,25 @@ var operations = [
1910
1936
  }
1911
1937
  }
1912
1938
  },
1939
+ {
1940
+ "status": "402",
1941
+ "mediaType": "application/json",
1942
+ "description": "Plan limit reached.",
1943
+ "hasContent": true,
1944
+ "example": {
1945
+ "error": {
1946
+ "code": "validation.failed",
1947
+ "message": "Validation failed.",
1948
+ "details": {
1949
+ "fields": {
1950
+ "title": [
1951
+ "The title field is required."
1952
+ ]
1953
+ }
1954
+ }
1955
+ }
1956
+ }
1957
+ },
1913
1958
  {
1914
1959
  "status": "403",
1915
1960
  "mediaType": "application/json",
@@ -1970,13 +2015,13 @@ var operations = [
1970
2015
  ]
1971
2016
  },
1972
2017
  {
1973
- "operationId": "createWorkspaceCalendarItem",
2018
+ "operationId": "createTaskComment",
1974
2019
  "method": "post",
1975
- "path": "/calendar/items",
1976
- "summary": "Create a calendar item.",
2020
+ "path": "/tasks/{task}/comments",
2021
+ "summary": "Create a comment on one task.",
1977
2022
  "description": "",
1978
2023
  "tags": [
1979
- "Calendar"
2024
+ "Tasks"
1980
2025
  ],
1981
2026
  "security": [
1982
2027
  [
@@ -1989,27 +2034,23 @@ var operations = [
1989
2034
  "BearerAuth"
1990
2035
  ]
1991
2036
  ],
1992
- "parameters": [],
2037
+ "parameters": [
2038
+ {
2039
+ "name": "task",
2040
+ "in": "path",
2041
+ "required": true,
2042
+ "description": "Task identifier.",
2043
+ "example": 1
2044
+ }
2045
+ ],
1993
2046
  "requestBodyRequired": true,
1994
2047
  "requestExamples": [
1995
2048
  {
1996
2049
  "mediaType": "application/json",
1997
2050
  "example": {
1998
- "type": "task",
1999
- "title": "Review outage timeline",
2000
- "description": "Confirm sequence of events with on-call notes.",
2001
- "due_at": "2026-02-24T09:00:00Z",
2002
- "timezone": "America/Los_Angeles",
2003
- "status": "todo",
2004
- "priority": "high",
2005
- "visibility": "workspace",
2006
- "assignees": [
2007
- {
2008
- "assignee_type": "user",
2009
- "assignee_id": 8,
2010
- "role": "owner"
2011
- }
2012
- ]
2051
+ "body": "Posting a handoff note for [@Alex Morgan](/mentions/user/8) to review before standup.",
2052
+ "actor_type": "agent",
2053
+ "actor_id": 42
2013
2054
  }
2014
2055
  }
2015
2056
  ],
@@ -2017,50 +2058,28 @@ var operations = [
2017
2058
  {
2018
2059
  "status": "201",
2019
2060
  "mediaType": "application/json",
2020
- "description": "Calendar item created.",
2061
+ "description": "Task comment created.",
2021
2062
  "hasContent": true,
2022
2063
  "example": {
2023
2064
  "data": {
2024
2065
  "id": 42,
2025
- "workspace_id": 42,
2026
- "type": "event",
2027
- "title": "Example Title",
2028
- "description": "Example description text.",
2029
- "start_at": "2026-02-22T17:21:00Z",
2030
- "end_at": "2026-02-22T17:21:00Z",
2031
- "due_at": "2026-02-22T17:21:00Z",
2032
- "all_day": false,
2033
- "location": "example",
2034
- "timezone": "America/Los_Angeles",
2035
- "status": "todo",
2036
- "priority": "low",
2037
- "visibility": "workspace",
2038
- "created_by": 1,
2039
- "updated_by": 1,
2040
- "assignees": [
2041
- {
2042
- "id": 42,
2043
- "assignee_type": "user",
2044
- "assignee_id": 42,
2045
- "role": "owner",
2046
- "name": "Example Name",
2047
- "created_at": "2026-02-22T17:21:00Z"
2048
- }
2049
- ],
2050
- "links": [
2066
+ "task_id": 42,
2067
+ "actor_type": "user",
2068
+ "actor_id": 42,
2069
+ "actor_name": "Example Name",
2070
+ "body": "Example content.",
2071
+ "mentions": [
2051
2072
  {
2073
+ "key": "example",
2074
+ "type": "user",
2052
2075
  "id": 42,
2053
- "link_type": "example",
2054
- "link_id": 42,
2055
- "url": "https://agentmc.example.com/docs/incident-123",
2056
- "title": "Example Title",
2057
- "created_at": "2026-02-22T17:21:00Z"
2076
+ "label": "example",
2077
+ "handle": "example",
2078
+ "token": "example"
2058
2079
  }
2059
2080
  ],
2060
- "comments_count": 1,
2061
- "created_at": "2026-02-22T17:21:00Z",
2062
- "updated_at": "2026-02-22T17:21:00Z",
2063
- "deleted_at": "2026-02-22T17:21:00Z"
2081
+ "edited_at": "2026-02-22T17:21:00Z",
2082
+ "created_at": "2026-02-22T17:21:00Z"
2064
2083
  }
2065
2084
  }
2066
2085
  },
@@ -2084,9 +2103,9 @@ var operations = [
2084
2103
  }
2085
2104
  },
2086
2105
  {
2087
- "status": "402",
2106
+ "status": "403",
2088
2107
  "mediaType": "application/json",
2089
- "description": "Plan limit reached.",
2108
+ "description": "Forbidden.",
2090
2109
  "hasContent": true,
2091
2110
  "example": {
2092
2111
  "error": {
@@ -2103,9 +2122,9 @@ var operations = [
2103
2122
  }
2104
2123
  },
2105
2124
  {
2106
- "status": "403",
2125
+ "status": "404",
2107
2126
  "mediaType": "application/json",
2108
- "description": "Forbidden.",
2127
+ "description": "Resource not found.",
2109
2128
  "hasContent": true,
2110
2129
  "example": {
2111
2130
  "error": {
@@ -2122,28 +2141,9 @@ var operations = [
2122
2141
  }
2123
2142
  },
2124
2143
  {
2125
- "status": "404",
2144
+ "status": "422",
2126
2145
  "mediaType": "application/json",
2127
- "description": "Resource not found.",
2128
- "hasContent": true,
2129
- "example": {
2130
- "error": {
2131
- "code": "validation.failed",
2132
- "message": "Validation failed.",
2133
- "details": {
2134
- "fields": {
2135
- "title": [
2136
- "The title field is required."
2137
- ]
2138
- }
2139
- }
2140
- }
2141
- }
2142
- },
2143
- {
2144
- "status": "422",
2145
- "mediaType": "application/json",
2146
- "description": "Validation failed.",
2146
+ "description": "Validation failed.",
2147
2147
  "hasContent": true,
2148
2148
  "example": {
2149
2149
  "error": {
@@ -2513,13 +2513,13 @@ var operations = [
2513
2513
  ]
2514
2514
  },
2515
2515
  {
2516
- "operationId": "deleteTask",
2516
+ "operationId": "deleteCalendarItem",
2517
2517
  "method": "delete",
2518
- "path": "/tasks/{task}",
2519
- "summary": "Delete a task.",
2518
+ "path": "/calendar/items/{item}",
2519
+ "summary": "Delete a calendar item.",
2520
2520
  "description": "",
2521
2521
  "tags": [
2522
- "Tasks"
2522
+ "Calendar"
2523
2523
  ],
2524
2524
  "security": [
2525
2525
  [
@@ -2534,10 +2534,10 @@ var operations = [
2534
2534
  ],
2535
2535
  "parameters": [
2536
2536
  {
2537
- "name": "task",
2537
+ "name": "item",
2538
2538
  "in": "path",
2539
2539
  "required": true,
2540
- "description": "Task identifier.",
2540
+ "description": "Calendar item identifier.",
2541
2541
  "example": 1
2542
2542
  }
2543
2543
  ],
@@ -2615,10 +2615,10 @@ var operations = [
2615
2615
  ]
2616
2616
  },
2617
2617
  {
2618
- "operationId": "deleteTaskComment",
2618
+ "operationId": "deleteTask",
2619
2619
  "method": "delete",
2620
- "path": "/tasks/{task}/comments/{comment}",
2621
- "summary": "Delete one existing task comment.",
2620
+ "path": "/tasks/{task}",
2621
+ "summary": "Delete a task.",
2622
2622
  "description": "",
2623
2623
  "tags": [
2624
2624
  "Tasks"
@@ -2641,13 +2641,6 @@ var operations = [
2641
2641
  "required": true,
2642
2642
  "description": "Task identifier.",
2643
2643
  "example": 1
2644
- },
2645
- {
2646
- "name": "comment",
2647
- "in": "path",
2648
- "required": true,
2649
- "description": "Task comment identifier.",
2650
- "example": 1
2651
2644
  }
2652
2645
  ],
2653
2646
  "requestBodyRequired": false,
@@ -2724,13 +2717,13 @@ var operations = [
2724
2717
  ]
2725
2718
  },
2726
2719
  {
2727
- "operationId": "deleteWorkspaceCalendarItem",
2720
+ "operationId": "deleteTaskComment",
2728
2721
  "method": "delete",
2729
- "path": "/calendar/items/{item}",
2730
- "summary": "Delete a calendar item.",
2722
+ "path": "/tasks/{task}/comments/{comment}",
2723
+ "summary": "Delete one existing task comment.",
2731
2724
  "description": "",
2732
2725
  "tags": [
2733
- "Calendar"
2726
+ "Tasks"
2734
2727
  ],
2735
2728
  "security": [
2736
2729
  [
@@ -2745,10 +2738,17 @@ var operations = [
2745
2738
  ],
2746
2739
  "parameters": [
2747
2740
  {
2748
- "name": "item",
2741
+ "name": "task",
2749
2742
  "in": "path",
2750
2743
  "required": true,
2751
- "description": "Calendar item identifier.",
2744
+ "description": "Task identifier.",
2745
+ "example": 1
2746
+ },
2747
+ {
2748
+ "name": "comment",
2749
+ "in": "path",
2750
+ "required": true,
2751
+ "description": "Task comment identifier.",
2752
2752
  "example": 1
2753
2753
  }
2754
2754
  ],
@@ -3619,13 +3619,13 @@ var operations = [
3619
3619
  ]
3620
3620
  },
3621
3621
  {
3622
- "operationId": "listHosts",
3622
+ "operationId": "listCalendar",
3623
3623
  "method": "get",
3624
- "path": "/hosts",
3625
- "summary": "List hosts for the current workspace.",
3626
- "description": "Returns host records with connectivity state and machine metadata fields (meta) used for host diagnostics.",
3624
+ "path": "/calendar",
3625
+ "summary": "List calendar items.",
3626
+ "description": "",
3627
3627
  "tags": [
3628
- "Hosts"
3628
+ "Calendar"
3629
3629
  ],
3630
3630
  "security": [
3631
3631
  [
@@ -3640,25 +3640,67 @@ var operations = [
3640
3640
  ],
3641
3641
  "parameters": [
3642
3642
  {
3643
- "name": "per_page",
3643
+ "name": "view",
3644
3644
  "in": "query",
3645
3645
  "required": false,
3646
- "description": "Page size for paginated responses.",
3647
- "example": 25
3646
+ "description": "Allowed values: month, week, list.",
3647
+ "example": "month"
3648
+ },
3649
+ {
3650
+ "name": "start",
3651
+ "in": "query",
3652
+ "required": false,
3653
+ "description": "Start.",
3654
+ "example": "2026-02-22T17:21:00Z"
3655
+ },
3656
+ {
3657
+ "name": "end",
3658
+ "in": "query",
3659
+ "required": false,
3660
+ "description": "End.",
3661
+ "example": "2026-02-22T17:21:00Z"
3662
+ },
3663
+ {
3664
+ "name": "type",
3665
+ "in": "query",
3666
+ "required": false,
3667
+ "description": "Type discriminator for this record. Allowed values: event, task.",
3668
+ "example": "event"
3648
3669
  },
3649
3670
  {
3650
3671
  "name": "status",
3651
3672
  "in": "query",
3652
3673
  "required": false,
3653
- "description": "Current lifecycle status for this record. Allowed values: online, offline.",
3654
- "example": "online"
3674
+ "description": "Current lifecycle status for this record. Allowed values: todo, in_progress, blocked, done, canceled.",
3675
+ "example": "todo"
3655
3676
  },
3656
3677
  {
3657
- "name": "search",
3678
+ "name": "priority",
3679
+ "in": "query",
3680
+ "required": false,
3681
+ "description": "Priority level for this record. Allowed values: low, medium, high, urgent.",
3682
+ "example": "low"
3683
+ },
3684
+ {
3685
+ "name": "assignee",
3686
+ "in": "query",
3687
+ "required": false,
3688
+ "description": "Assignee.",
3689
+ "example": "example"
3690
+ },
3691
+ {
3692
+ "name": "q",
3658
3693
  "in": "query",
3659
3694
  "required": false,
3660
3695
  "description": "Case-insensitive text search query.",
3661
- "example": "operations"
3696
+ "example": "retro"
3697
+ },
3698
+ {
3699
+ "name": "per_page",
3700
+ "in": "query",
3701
+ "required": false,
3702
+ "description": "Page size for paginated responses.",
3703
+ "example": 25
3662
3704
  }
3663
3705
  ],
3664
3706
  "requestBodyRequired": false,
@@ -3667,34 +3709,51 @@ var operations = [
3667
3709
  {
3668
3710
  "status": "200",
3669
3711
  "mediaType": "application/json",
3670
- "description": "Host list returned.",
3712
+ "description": "Calendar items returned.",
3671
3713
  "hasContent": true,
3672
3714
  "example": {
3673
3715
  "data": [
3674
3716
  {
3675
3717
  "id": 42,
3676
- "team_id": 42,
3677
- "name": "Example Name",
3678
- "fingerprint": "a3f56f330f311a2159f8c101eaf1439a29f1d57f007375d56aa79f304bc4f112",
3679
- "status": "online",
3680
- "last_seen_at": "2026-02-22T17:21:00Z",
3681
- "meta": {
3682
- "hostname": "worker-01",
3683
- "ip": "10.0.2.15",
3684
- "os": "Ubuntu",
3685
- "arch": "x86_64",
3686
- "cpu": "Intel Xeon",
3687
- "ram_gb": 32,
3688
- "runtime": {
3689
- "name": "openclaw",
3690
- "version": "1.14.2"
3718
+ "workspace_id": 42,
3719
+ "type": "event",
3720
+ "title": "Example Title",
3721
+ "description": "Example description text.",
3722
+ "start_at": "2026-02-22T17:21:00Z",
3723
+ "end_at": "2026-02-22T17:21:00Z",
3724
+ "due_at": "2026-02-22T17:21:00Z",
3725
+ "all_day": false,
3726
+ "location": "example",
3727
+ "timezone": "America/Los_Angeles",
3728
+ "status": "todo",
3729
+ "priority": "low",
3730
+ "visibility": "workspace",
3731
+ "created_by": 1,
3732
+ "updated_by": 1,
3733
+ "assignees": [
3734
+ {
3735
+ "id": 42,
3736
+ "assignee_type": "user",
3737
+ "assignee_id": 42,
3738
+ "role": "owner",
3739
+ "name": "Example Name",
3740
+ "created_at": "2026-02-22T17:21:00Z"
3691
3741
  }
3692
- },
3693
- "created_by_user_id": 42,
3694
- "agents_total": 1,
3695
- "agents_online": 1,
3742
+ ],
3743
+ "links": [
3744
+ {
3745
+ "id": 42,
3746
+ "link_type": "example",
3747
+ "link_id": 42,
3748
+ "url": "https://agentmc.example.com/docs/incident-123",
3749
+ "title": "Example Title",
3750
+ "created_at": "2026-02-22T17:21:00Z"
3751
+ }
3752
+ ],
3753
+ "comments_count": 1,
3696
3754
  "created_at": "2026-02-22T17:21:00Z",
3697
- "updated_at": "2026-02-22T17:21:00Z"
3755
+ "updated_at": "2026-02-22T17:21:00Z",
3756
+ "deleted_at": "2026-02-22T17:21:00Z"
3698
3757
  }
3699
3758
  ],
3700
3759
  "links": {
@@ -3761,13 +3820,13 @@ var operations = [
3761
3820
  ]
3762
3821
  },
3763
3822
  {
3764
- "operationId": "listLogs",
3823
+ "operationId": "listHosts",
3765
3824
  "method": "get",
3766
- "path": "/logs",
3767
- "summary": "List recent logs.",
3768
- "description": "",
3825
+ "path": "/hosts",
3826
+ "summary": "List hosts for the current workspace.",
3827
+ "description": "Returns host records with connectivity state and machine metadata fields (meta) used for host diagnostics.",
3769
3828
  "tags": [
3770
- "Logs"
3829
+ "Hosts"
3771
3830
  ],
3772
3831
  "security": [
3773
3832
  [
@@ -3787,6 +3846,20 @@ var operations = [
3787
3846
  "required": false,
3788
3847
  "description": "Page size for paginated responses.",
3789
3848
  "example": 25
3849
+ },
3850
+ {
3851
+ "name": "status",
3852
+ "in": "query",
3853
+ "required": false,
3854
+ "description": "Current lifecycle status for this record. Allowed values: online, offline.",
3855
+ "example": "online"
3856
+ },
3857
+ {
3858
+ "name": "search",
3859
+ "in": "query",
3860
+ "required": false,
3861
+ "description": "Case-insensitive text search query.",
3862
+ "example": "operations"
3790
3863
  }
3791
3864
  ],
3792
3865
  "requestBodyRequired": false,
@@ -3795,22 +3868,34 @@ var operations = [
3795
3868
  {
3796
3869
  "status": "200",
3797
3870
  "mediaType": "application/json",
3798
- "description": "Logs returned.",
3871
+ "description": "Host list returned.",
3799
3872
  "hasContent": true,
3800
3873
  "example": {
3801
3874
  "data": [
3802
3875
  {
3803
3876
  "id": 42,
3804
3877
  "team_id": 42,
3805
- "actor_type": "example",
3806
- "actor_id": 42,
3807
- "action": "example",
3808
- "subject_type": "example",
3809
- "subject_id": 42,
3878
+ "name": "Example Name",
3879
+ "fingerprint": "a3f56f330f311a2159f8c101eaf1439a29f1d57f007375d56aa79f304bc4f112",
3880
+ "status": "online",
3881
+ "last_seen_at": "2026-02-22T17:21:00Z",
3810
3882
  "meta": {
3811
- "key": "value"
3883
+ "hostname": "worker-01",
3884
+ "ip": "10.0.2.15",
3885
+ "os": "Ubuntu",
3886
+ "arch": "x86_64",
3887
+ "cpu": "Intel Xeon",
3888
+ "ram_gb": 32,
3889
+ "runtime": {
3890
+ "name": "openclaw",
3891
+ "version": "1.14.2"
3892
+ }
3812
3893
  },
3813
- "created_at": "2026-02-22T17:21:00Z"
3894
+ "created_by_user_id": 42,
3895
+ "agents_total": 1,
3896
+ "agents_online": 1,
3897
+ "created_at": "2026-02-22T17:21:00Z",
3898
+ "updated_at": "2026-02-22T17:21:00Z"
3814
3899
  }
3815
3900
  ],
3816
3901
  "links": {
@@ -3877,13 +3962,13 @@ var operations = [
3877
3962
  ]
3878
3963
  },
3879
3964
  {
3880
- "operationId": "listNotifications",
3965
+ "operationId": "listLogs",
3881
3966
  "method": "get",
3882
- "path": "/notifications",
3883
- "summary": "List workspace notifications (mentions and assignments) for the authenticated principal.",
3967
+ "path": "/logs",
3968
+ "summary": "List recent logs.",
3884
3969
  "description": "",
3885
3970
  "tags": [
3886
- "Notifications"
3971
+ "Logs"
3887
3972
  ],
3888
3973
  "security": [
3889
3974
  [
@@ -3897,13 +3982,6 @@ var operations = [
3897
3982
  ]
3898
3983
  ],
3899
3984
  "parameters": [
3900
- {
3901
- "name": "unread",
3902
- "in": "query",
3903
- "required": false,
3904
- "description": "Filter unread notifications only. Accepts true/false (and 1/0).",
3905
- "example": true
3906
- },
3907
3985
  {
3908
3986
  "name": "per_page",
3909
3987
  "in": "query",
@@ -3918,16 +3996,139 @@ var operations = [
3918
3996
  {
3919
3997
  "status": "200",
3920
3998
  "mediaType": "application/json",
3921
- "description": "Notifications returned.",
3999
+ "description": "Logs returned.",
3922
4000
  "hasContent": true,
3923
4001
  "example": {
3924
4002
  "data": [
3925
4003
  {
3926
- "id": "c084fc57-b2c6-466c-adcb-cf6f4efca42a",
3927
- "notification_type": "mention",
3928
- "source_type": "App\\Notifications\\MentionedInCommentNotification",
3929
- "workspace_id": 7,
3930
- "subject_type": "task",
4004
+ "id": 42,
4005
+ "team_id": 42,
4006
+ "actor_type": "example",
4007
+ "actor_id": 42,
4008
+ "action": "example",
4009
+ "subject_type": "example",
4010
+ "subject_id": 42,
4011
+ "meta": {
4012
+ "key": "value"
4013
+ },
4014
+ "created_at": "2026-02-22T17:21:00Z"
4015
+ }
4016
+ ],
4017
+ "links": {
4018
+ "first": "example",
4019
+ "last": "example",
4020
+ "prev": "example",
4021
+ "next": "example"
4022
+ },
4023
+ "meta": {
4024
+ "current_page": 1,
4025
+ "from": 1,
4026
+ "last_page": 1,
4027
+ "links": [
4028
+ {
4029
+ "url": "https://agentmc.example.com/docs/incident-123",
4030
+ "label": "example",
4031
+ "active": true
4032
+ }
4033
+ ],
4034
+ "path": "example",
4035
+ "per_page": 25,
4036
+ "total": 0
4037
+ }
4038
+ }
4039
+ },
4040
+ {
4041
+ "status": "401",
4042
+ "mediaType": "application/json",
4043
+ "description": "Missing or invalid credentials.",
4044
+ "hasContent": true,
4045
+ "example": {
4046
+ "error": {
4047
+ "code": "validation.failed",
4048
+ "message": "Validation failed.",
4049
+ "details": {
4050
+ "fields": {
4051
+ "title": [
4052
+ "The title field is required."
4053
+ ]
4054
+ }
4055
+ }
4056
+ }
4057
+ }
4058
+ },
4059
+ {
4060
+ "status": "403",
4061
+ "mediaType": "application/json",
4062
+ "description": "Forbidden.",
4063
+ "hasContent": true,
4064
+ "example": {
4065
+ "error": {
4066
+ "code": "validation.failed",
4067
+ "message": "Validation failed.",
4068
+ "details": {
4069
+ "fields": {
4070
+ "title": [
4071
+ "The title field is required."
4072
+ ]
4073
+ }
4074
+ }
4075
+ }
4076
+ }
4077
+ }
4078
+ ]
4079
+ },
4080
+ {
4081
+ "operationId": "listNotifications",
4082
+ "method": "get",
4083
+ "path": "/notifications",
4084
+ "summary": "List workspace notifications (mentions and assignments) for the authenticated principal.",
4085
+ "description": "",
4086
+ "tags": [
4087
+ "Notifications"
4088
+ ],
4089
+ "security": [
4090
+ [
4091
+ "ApiKeyAuth"
4092
+ ],
4093
+ [
4094
+ "AgentBearerAuth"
4095
+ ],
4096
+ [
4097
+ "BearerAuth"
4098
+ ]
4099
+ ],
4100
+ "parameters": [
4101
+ {
4102
+ "name": "unread",
4103
+ "in": "query",
4104
+ "required": false,
4105
+ "description": "Filter unread notifications only. Accepts true/false (and 1/0).",
4106
+ "example": true
4107
+ },
4108
+ {
4109
+ "name": "per_page",
4110
+ "in": "query",
4111
+ "required": false,
4112
+ "description": "Page size for paginated responses.",
4113
+ "example": 25
4114
+ }
4115
+ ],
4116
+ "requestBodyRequired": false,
4117
+ "requestExamples": [],
4118
+ "responses": [
4119
+ {
4120
+ "status": "200",
4121
+ "mediaType": "application/json",
4122
+ "description": "Notifications returned.",
4123
+ "hasContent": true,
4124
+ "example": {
4125
+ "data": [
4126
+ {
4127
+ "id": "c084fc57-b2c6-466c-adcb-cf6f4efca42a",
4128
+ "notification_type": "mention",
4129
+ "source_type": "App\\Notifications\\MentionedInCommentNotification",
4130
+ "workspace_id": 7,
4131
+ "subject_type": "task",
3931
4132
  "subject_id": 121,
3932
4133
  "subject_label": "Prepare incident postmortem",
3933
4134
  "actor_type": "user",
@@ -4799,13 +5000,13 @@ var operations = [
4799
5000
  ]
4800
5001
  },
4801
5002
  {
4802
- "operationId": "showHost",
5003
+ "operationId": "showCalendarItem",
4803
5004
  "method": "get",
4804
- "path": "/hosts/{id}",
4805
- "summary": "Show one host.",
4806
- "description": "Returns one host record including id/team/name/fingerprint, status + last_seen_at, metadata snapshot, and assigned-agent totals.",
5005
+ "path": "/calendar/items/{item}",
5006
+ "summary": "Show one calendar item.",
5007
+ "description": "",
4807
5008
  "tags": [
4808
- "Hosts"
5009
+ "Calendar"
4809
5010
  ],
4810
5011
  "security": [
4811
5012
  [
@@ -4820,18 +5021,11 @@ var operations = [
4820
5021
  ],
4821
5022
  "parameters": [
4822
5023
  {
4823
- "name": "id",
5024
+ "name": "item",
4824
5025
  "in": "path",
4825
5026
  "required": true,
4826
- "description": "Host identifier.",
4827
- "example": 42
4828
- },
4829
- {
4830
- "name": "agents_per_page",
4831
- "in": "query",
4832
- "required": false,
4833
- "description": "Agents per page.",
4834
- "example": 25
5027
+ "description": "Calendar item identifier.",
5028
+ "example": 1
4835
5029
  }
4836
5030
  ],
4837
5031
  "requestBodyRequired": false,
@@ -4840,53 +5034,50 @@ var operations = [
4840
5034
  {
4841
5035
  "status": "200",
4842
5036
  "mediaType": "application/json",
4843
- "description": "Host returned.",
5037
+ "description": "Calendar item returned.",
4844
5038
  "hasContent": true,
4845
5039
  "example": {
4846
5040
  "data": {
4847
5041
  "id": 42,
4848
- "team_id": 42,
4849
- "name": "Example Name",
4850
- "fingerprint": "a3f56f330f311a2159f8c101eaf1439a29f1d57f007375d56aa79f304bc4f112",
4851
- "status": "online",
4852
- "last_seen_at": "2026-02-22T17:21:00Z",
4853
- "meta": {
4854
- "hostname": "worker-01",
4855
- "ip": "10.0.2.15",
4856
- "os": "Ubuntu",
4857
- "arch": "x86_64",
4858
- "cpu": "Intel Xeon",
4859
- "ram_gb": 32,
4860
- "runtime": {
4861
- "name": "openclaw",
4862
- "version": "1.14.2"
5042
+ "workspace_id": 42,
5043
+ "type": "event",
5044
+ "title": "Example Title",
5045
+ "description": "Example description text.",
5046
+ "start_at": "2026-02-22T17:21:00Z",
5047
+ "end_at": "2026-02-22T17:21:00Z",
5048
+ "due_at": "2026-02-22T17:21:00Z",
5049
+ "all_day": false,
5050
+ "location": "example",
5051
+ "timezone": "America/Los_Angeles",
5052
+ "status": "todo",
5053
+ "priority": "low",
5054
+ "visibility": "workspace",
5055
+ "created_by": 1,
5056
+ "updated_by": 1,
5057
+ "assignees": [
5058
+ {
5059
+ "id": 42,
5060
+ "assignee_type": "user",
5061
+ "assignee_id": 42,
5062
+ "role": "owner",
5063
+ "name": "Example Name",
5064
+ "created_at": "2026-02-22T17:21:00Z"
4863
5065
  }
4864
- },
4865
- "created_by_user_id": 42,
4866
- "agents_total": 1,
4867
- "agents_online": 1,
5066
+ ],
5067
+ "links": [
5068
+ {
5069
+ "id": 42,
5070
+ "link_type": "example",
5071
+ "link_id": 42,
5072
+ "url": "https://agentmc.example.com/docs/incident-123",
5073
+ "title": "Example Title",
5074
+ "created_at": "2026-02-22T17:21:00Z"
5075
+ }
5076
+ ],
5077
+ "comments_count": 1,
4868
5078
  "created_at": "2026-02-22T17:21:00Z",
4869
- "updated_at": "2026-02-22T17:21:00Z"
4870
- },
4871
- "agents": [
4872
- {
4873
- "id": 42,
4874
- "workspace_id": 42,
4875
- "host_id": 42,
4876
- "name": "Example Name",
4877
- "type": "example",
4878
- "status": "pending",
4879
- "tasks_count": 0,
4880
- "last_seen_at": "2026-02-22T17:21:00Z",
4881
- "created_at": "2026-02-22T17:21:00Z",
4882
- "updated_at": "2026-02-22T17:21:00Z"
4883
- }
4884
- ],
4885
- "agents_meta": {
4886
- "current_page": 1,
4887
- "last_page": 1,
4888
- "per_page": 25,
4889
- "total": 0
5079
+ "updated_at": "2026-02-22T17:21:00Z",
5080
+ "deleted_at": "2026-02-22T17:21:00Z"
4890
5081
  }
4891
5082
  }
4892
5083
  },
@@ -4950,13 +5141,13 @@ var operations = [
4950
5141
  ]
4951
5142
  },
4952
5143
  {
4953
- "operationId": "showTask",
5144
+ "operationId": "showHost",
4954
5145
  "method": "get",
4955
- "path": "/tasks/{task}",
4956
- "summary": "Show one task.",
4957
- "description": "",
5146
+ "path": "/hosts/{id}",
5147
+ "summary": "Show one host.",
5148
+ "description": "Returns one host record including id/team/name/fingerprint, status + last_seen_at, metadata snapshot, and assigned-agent totals.",
4958
5149
  "tags": [
4959
- "Tasks"
5150
+ "Hosts"
4960
5151
  ],
4961
5152
  "security": [
4962
5153
  [
@@ -4971,11 +5162,18 @@ var operations = [
4971
5162
  ],
4972
5163
  "parameters": [
4973
5164
  {
4974
- "name": "task",
5165
+ "name": "id",
4975
5166
  "in": "path",
4976
5167
  "required": true,
4977
- "description": "Task identifier.",
4978
- "example": 1
5168
+ "description": "Host identifier.",
5169
+ "example": 42
5170
+ },
5171
+ {
5172
+ "name": "agents_per_page",
5173
+ "in": "query",
5174
+ "required": false,
5175
+ "description": "Agents per page.",
5176
+ "example": 25
4979
5177
  }
4980
5178
  ],
4981
5179
  "requestBodyRequired": false,
@@ -4984,25 +5182,53 @@ var operations = [
4984
5182
  {
4985
5183
  "status": "200",
4986
5184
  "mediaType": "application/json",
4987
- "description": "Task returned.",
5185
+ "description": "Host returned.",
4988
5186
  "hasContent": true,
4989
5187
  "example": {
4990
5188
  "data": {
4991
5189
  "id": 42,
4992
5190
  "team_id": 42,
4993
- "board_id": 42,
4994
- "column_id": 42,
4995
- "title": "Example Title",
4996
- "description": "Example description text.",
4997
- "status": "backlog",
4998
- "position": 1,
4999
- "due_at": "2026-02-22T17:21:00Z",
5191
+ "name": "Example Name",
5192
+ "fingerprint": "a3f56f330f311a2159f8c101eaf1439a29f1d57f007375d56aa79f304bc4f112",
5193
+ "status": "online",
5194
+ "last_seen_at": "2026-02-22T17:21:00Z",
5195
+ "meta": {
5196
+ "hostname": "worker-01",
5197
+ "ip": "10.0.2.15",
5198
+ "os": "Ubuntu",
5199
+ "arch": "x86_64",
5200
+ "cpu": "Intel Xeon",
5201
+ "ram_gb": 32,
5202
+ "runtime": {
5203
+ "name": "openclaw",
5204
+ "version": "1.14.2"
5205
+ }
5206
+ },
5000
5207
  "created_by_user_id": 42,
5001
- "assigned_to_user_id": 42,
5002
- "assigned_to_agent_id": 42,
5003
- "assignee_type": "human",
5208
+ "agents_total": 1,
5209
+ "agents_online": 1,
5004
5210
  "created_at": "2026-02-22T17:21:00Z",
5005
5211
  "updated_at": "2026-02-22T17:21:00Z"
5212
+ },
5213
+ "agents": [
5214
+ {
5215
+ "id": 42,
5216
+ "workspace_id": 42,
5217
+ "host_id": 42,
5218
+ "name": "Example Name",
5219
+ "type": "example",
5220
+ "status": "pending",
5221
+ "tasks_count": 0,
5222
+ "last_seen_at": "2026-02-22T17:21:00Z",
5223
+ "created_at": "2026-02-22T17:21:00Z",
5224
+ "updated_at": "2026-02-22T17:21:00Z"
5225
+ }
5226
+ ],
5227
+ "agents_meta": {
5228
+ "current_page": 1,
5229
+ "last_page": 1,
5230
+ "per_page": 25,
5231
+ "total": 0
5006
5232
  }
5007
5233
  }
5008
5234
  },
@@ -5066,13 +5292,13 @@ var operations = [
5066
5292
  ]
5067
5293
  },
5068
5294
  {
5069
- "operationId": "showWorkspaceCalendarItem",
5295
+ "operationId": "showTask",
5070
5296
  "method": "get",
5071
- "path": "/calendar/items/{item}",
5072
- "summary": "Show one calendar item.",
5297
+ "path": "/tasks/{task}",
5298
+ "summary": "Show one task.",
5073
5299
  "description": "",
5074
5300
  "tags": [
5075
- "Calendar"
5301
+ "Tasks"
5076
5302
  ],
5077
5303
  "security": [
5078
5304
  [
@@ -5087,10 +5313,10 @@ var operations = [
5087
5313
  ],
5088
5314
  "parameters": [
5089
5315
  {
5090
- "name": "item",
5316
+ "name": "task",
5091
5317
  "in": "path",
5092
5318
  "required": true,
5093
- "description": "Calendar item identifier.",
5319
+ "description": "Task identifier.",
5094
5320
  "example": 1
5095
5321
  }
5096
5322
  ],
@@ -5100,50 +5326,25 @@ var operations = [
5100
5326
  {
5101
5327
  "status": "200",
5102
5328
  "mediaType": "application/json",
5103
- "description": "Calendar item returned.",
5329
+ "description": "Task returned.",
5104
5330
  "hasContent": true,
5105
5331
  "example": {
5106
5332
  "data": {
5107
5333
  "id": 42,
5108
- "workspace_id": 42,
5109
- "type": "event",
5334
+ "team_id": 42,
5335
+ "board_id": 42,
5336
+ "column_id": 42,
5110
5337
  "title": "Example Title",
5111
5338
  "description": "Example description text.",
5112
- "start_at": "2026-02-22T17:21:00Z",
5113
- "end_at": "2026-02-22T17:21:00Z",
5339
+ "status": "backlog",
5340
+ "position": 1,
5114
5341
  "due_at": "2026-02-22T17:21:00Z",
5115
- "all_day": false,
5116
- "location": "example",
5117
- "timezone": "America/Los_Angeles",
5118
- "status": "todo",
5119
- "priority": "low",
5120
- "visibility": "workspace",
5121
- "created_by": 1,
5122
- "updated_by": 1,
5123
- "assignees": [
5124
- {
5125
- "id": 42,
5126
- "assignee_type": "user",
5127
- "assignee_id": 42,
5128
- "role": "owner",
5129
- "name": "Example Name",
5130
- "created_at": "2026-02-22T17:21:00Z"
5131
- }
5132
- ],
5133
- "links": [
5134
- {
5135
- "id": 42,
5136
- "link_type": "example",
5137
- "link_id": 42,
5138
- "url": "https://agentmc.example.com/docs/incident-123",
5139
- "title": "Example Title",
5140
- "created_at": "2026-02-22T17:21:00Z"
5141
- }
5142
- ],
5143
- "comments_count": 1,
5342
+ "created_by_user_id": 42,
5343
+ "assigned_to_user_id": 42,
5344
+ "assigned_to_agent_id": 42,
5345
+ "assignee_type": "human",
5144
5346
  "created_at": "2026-02-22T17:21:00Z",
5145
- "updated_at": "2026-02-22T17:21:00Z",
5146
- "deleted_at": "2026-02-22T17:21:00Z"
5347
+ "updated_at": "2026-02-22T17:21:00Z"
5147
5348
  }
5148
5349
  }
5149
5350
  },
@@ -5687,13 +5888,13 @@ var operations = [
5687
5888
  ]
5688
5889
  },
5689
5890
  {
5690
- "operationId": "updateTask",
5691
- "method": "patch",
5692
- "path": "/tasks/{task}",
5693
- "summary": "Update a task.",
5891
+ "operationId": "updateCalendarItem",
5892
+ "method": "put",
5893
+ "path": "/calendar/items/{item}",
5894
+ "summary": "Update a calendar item.",
5694
5895
  "description": "",
5695
5896
  "tags": [
5696
- "Tasks"
5897
+ "Calendar"
5697
5898
  ],
5698
5899
  "security": [
5699
5900
  [
@@ -5708,10 +5909,10 @@ var operations = [
5708
5909
  ],
5709
5910
  "parameters": [
5710
5911
  {
5711
- "name": "task",
5912
+ "name": "item",
5712
5913
  "in": "path",
5713
5914
  "required": true,
5714
- "description": "Task identifier.",
5915
+ "description": "Calendar item identifier.",
5715
5916
  "example": 1
5716
5917
  }
5717
5918
  ],
@@ -5720,10 +5921,12 @@ var operations = [
5720
5921
  {
5721
5922
  "mediaType": "application/json",
5722
5923
  "example": {
5723
- "title": "Draft post-incident summary",
5724
- "status": "review",
5725
- "due_at": "2026-02-24T19:00:00Z",
5726
- "assigned_to_agent_id": 42
5924
+ "title": "Review outage timeline",
5925
+ "description": "Add links to root-cause analysis notes.",
5926
+ "due_at": "2026-02-24T11:00:00Z",
5927
+ "status": "in_progress",
5928
+ "priority": "urgent",
5929
+ "visibility": "workspace"
5727
5930
  }
5728
5931
  }
5729
5932
  ],
@@ -5731,25 +5934,50 @@ var operations = [
5731
5934
  {
5732
5935
  "status": "200",
5733
5936
  "mediaType": "application/json",
5734
- "description": "Task updated.",
5937
+ "description": "Calendar item updated.",
5735
5938
  "hasContent": true,
5736
5939
  "example": {
5737
5940
  "data": {
5738
5941
  "id": 42,
5739
- "team_id": 42,
5740
- "board_id": 42,
5741
- "column_id": 42,
5942
+ "workspace_id": 42,
5943
+ "type": "event",
5742
5944
  "title": "Example Title",
5743
5945
  "description": "Example description text.",
5744
- "status": "backlog",
5745
- "position": 1,
5946
+ "start_at": "2026-02-22T17:21:00Z",
5947
+ "end_at": "2026-02-22T17:21:00Z",
5746
5948
  "due_at": "2026-02-22T17:21:00Z",
5747
- "created_by_user_id": 42,
5748
- "assigned_to_user_id": 42,
5749
- "assigned_to_agent_id": 42,
5750
- "assignee_type": "human",
5949
+ "all_day": false,
5950
+ "location": "example",
5951
+ "timezone": "America/Los_Angeles",
5952
+ "status": "todo",
5953
+ "priority": "low",
5954
+ "visibility": "workspace",
5955
+ "created_by": 1,
5956
+ "updated_by": 1,
5957
+ "assignees": [
5958
+ {
5959
+ "id": 42,
5960
+ "assignee_type": "user",
5961
+ "assignee_id": 42,
5962
+ "role": "owner",
5963
+ "name": "Example Name",
5964
+ "created_at": "2026-02-22T17:21:00Z"
5965
+ }
5966
+ ],
5967
+ "links": [
5968
+ {
5969
+ "id": 42,
5970
+ "link_type": "example",
5971
+ "link_id": 42,
5972
+ "url": "https://agentmc.example.com/docs/incident-123",
5973
+ "title": "Example Title",
5974
+ "created_at": "2026-02-22T17:21:00Z"
5975
+ }
5976
+ ],
5977
+ "comments_count": 1,
5751
5978
  "created_at": "2026-02-22T17:21:00Z",
5752
- "updated_at": "2026-02-22T17:21:00Z"
5979
+ "updated_at": "2026-02-22T17:21:00Z",
5980
+ "deleted_at": "2026-02-22T17:21:00Z"
5753
5981
  }
5754
5982
  }
5755
5983
  },
@@ -5832,10 +6060,10 @@ var operations = [
5832
6060
  ]
5833
6061
  },
5834
6062
  {
5835
- "operationId": "updateTaskComment",
6063
+ "operationId": "updateTask",
5836
6064
  "method": "patch",
5837
- "path": "/tasks/{task}/comments/{comment}",
5838
- "summary": "Update one existing task comment.",
6065
+ "path": "/tasks/{task}",
6066
+ "summary": "Update a task.",
5839
6067
  "description": "",
5840
6068
  "tags": [
5841
6069
  "Tasks"
@@ -5858,21 +6086,17 @@ var operations = [
5858
6086
  "required": true,
5859
6087
  "description": "Task identifier.",
5860
6088
  "example": 1
5861
- },
5862
- {
5863
- "name": "comment",
5864
- "in": "path",
5865
- "required": true,
5866
- "description": "Task comment identifier.",
5867
- "example": 1
5868
6089
  }
5869
6090
  ],
5870
- "requestBodyRequired": true,
6091
+ "requestBodyRequired": false,
5871
6092
  "requestExamples": [
5872
6093
  {
5873
6094
  "mediaType": "application/json",
5874
6095
  "example": {
5875
- "body": "Updated handoff note with the latest timeline and log links."
6096
+ "title": "Draft post-incident summary",
6097
+ "status": "review",
6098
+ "due_at": "2026-02-24T19:00:00Z",
6099
+ "assigned_to_agent_id": 42
5876
6100
  }
5877
6101
  }
5878
6102
  ],
@@ -5880,28 +6104,25 @@ var operations = [
5880
6104
  {
5881
6105
  "status": "200",
5882
6106
  "mediaType": "application/json",
5883
- "description": "Task comment updated.",
6107
+ "description": "Task updated.",
5884
6108
  "hasContent": true,
5885
6109
  "example": {
5886
6110
  "data": {
5887
6111
  "id": 42,
5888
- "task_id": 42,
5889
- "actor_type": "user",
5890
- "actor_id": 42,
5891
- "actor_name": "Example Name",
5892
- "body": "Example content.",
5893
- "mentions": [
5894
- {
5895
- "key": "example",
5896
- "type": "user",
5897
- "id": 42,
5898
- "label": "example",
5899
- "handle": "example",
5900
- "token": "example"
5901
- }
5902
- ],
5903
- "edited_at": "2026-02-22T17:21:00Z",
5904
- "created_at": "2026-02-22T17:21:00Z"
6112
+ "team_id": 42,
6113
+ "board_id": 42,
6114
+ "column_id": 42,
6115
+ "title": "Example Title",
6116
+ "description": "Example description text.",
6117
+ "status": "backlog",
6118
+ "position": 1,
6119
+ "due_at": "2026-02-22T17:21:00Z",
6120
+ "created_by_user_id": 42,
6121
+ "assigned_to_user_id": 42,
6122
+ "assigned_to_agent_id": 42,
6123
+ "assignee_type": "human",
6124
+ "created_at": "2026-02-22T17:21:00Z",
6125
+ "updated_at": "2026-02-22T17:21:00Z"
5905
6126
  }
5906
6127
  }
5907
6128
  },
@@ -5984,13 +6205,13 @@ var operations = [
5984
6205
  ]
5985
6206
  },
5986
6207
  {
5987
- "operationId": "updateWorkspaceCalendarItem",
5988
- "method": "put",
5989
- "path": "/calendar/items/{item}",
5990
- "summary": "Update a calendar item.",
6208
+ "operationId": "updateTaskComment",
6209
+ "method": "patch",
6210
+ "path": "/tasks/{task}/comments/{comment}",
6211
+ "summary": "Update one existing task comment.",
5991
6212
  "description": "",
5992
6213
  "tags": [
5993
- "Calendar"
6214
+ "Tasks"
5994
6215
  ],
5995
6216
  "security": [
5996
6217
  [
@@ -6005,24 +6226,26 @@ var operations = [
6005
6226
  ],
6006
6227
  "parameters": [
6007
6228
  {
6008
- "name": "item",
6229
+ "name": "task",
6009
6230
  "in": "path",
6010
6231
  "required": true,
6011
- "description": "Calendar item identifier.",
6232
+ "description": "Task identifier.",
6233
+ "example": 1
6234
+ },
6235
+ {
6236
+ "name": "comment",
6237
+ "in": "path",
6238
+ "required": true,
6239
+ "description": "Task comment identifier.",
6012
6240
  "example": 1
6013
6241
  }
6014
6242
  ],
6015
- "requestBodyRequired": false,
6243
+ "requestBodyRequired": true,
6016
6244
  "requestExamples": [
6017
6245
  {
6018
6246
  "mediaType": "application/json",
6019
6247
  "example": {
6020
- "title": "Review outage timeline",
6021
- "description": "Add links to root-cause analysis notes.",
6022
- "due_at": "2026-02-24T11:00:00Z",
6023
- "status": "in_progress",
6024
- "priority": "urgent",
6025
- "visibility": "workspace"
6248
+ "body": "Updated handoff note with the latest timeline and log links."
6026
6249
  }
6027
6250
  }
6028
6251
  ],
@@ -6030,50 +6253,28 @@ var operations = [
6030
6253
  {
6031
6254
  "status": "200",
6032
6255
  "mediaType": "application/json",
6033
- "description": "Calendar item updated.",
6256
+ "description": "Task comment updated.",
6034
6257
  "hasContent": true,
6035
6258
  "example": {
6036
6259
  "data": {
6037
6260
  "id": 42,
6038
- "workspace_id": 42,
6039
- "type": "event",
6040
- "title": "Example Title",
6041
- "description": "Example description text.",
6042
- "start_at": "2026-02-22T17:21:00Z",
6043
- "end_at": "2026-02-22T17:21:00Z",
6044
- "due_at": "2026-02-22T17:21:00Z",
6045
- "all_day": false,
6046
- "location": "example",
6047
- "timezone": "America/Los_Angeles",
6048
- "status": "todo",
6049
- "priority": "low",
6050
- "visibility": "workspace",
6051
- "created_by": 1,
6052
- "updated_by": 1,
6053
- "assignees": [
6054
- {
6055
- "id": 42,
6056
- "assignee_type": "user",
6057
- "assignee_id": 42,
6058
- "role": "owner",
6059
- "name": "Example Name",
6060
- "created_at": "2026-02-22T17:21:00Z"
6061
- }
6062
- ],
6063
- "links": [
6261
+ "task_id": 42,
6262
+ "actor_type": "user",
6263
+ "actor_id": 42,
6264
+ "actor_name": "Example Name",
6265
+ "body": "Example content.",
6266
+ "mentions": [
6064
6267
  {
6268
+ "key": "example",
6269
+ "type": "user",
6065
6270
  "id": 42,
6066
- "link_type": "example",
6067
- "link_id": 42,
6068
- "url": "https://agentmc.example.com/docs/incident-123",
6069
- "title": "Example Title",
6070
- "created_at": "2026-02-22T17:21:00Z"
6271
+ "label": "example",
6272
+ "handle": "example",
6273
+ "token": "example"
6071
6274
  }
6072
6275
  ],
6073
- "comments_count": 1,
6074
- "created_at": "2026-02-22T17:21:00Z",
6075
- "updated_at": "2026-02-22T17:21:00Z",
6076
- "deleted_at": "2026-02-22T17:21:00Z"
6276
+ "edited_at": "2026-02-22T17:21:00Z",
6277
+ "created_at": "2026-02-22T17:21:00Z"
6077
6278
  }
6078
6279
  }
6079
6280
  },
@@ -6154,207 +6355,6 @@ var operations = [
6154
6355
  }
6155
6356
  }
6156
6357
  ]
6157
- },
6158
- {
6159
- "operationId": "workspaceCalendar",
6160
- "method": "get",
6161
- "path": "/calendar",
6162
- "summary": "List calendar items.",
6163
- "description": "",
6164
- "tags": [
6165
- "Calendar"
6166
- ],
6167
- "security": [
6168
- [
6169
- "ApiKeyAuth"
6170
- ],
6171
- [
6172
- "AgentBearerAuth"
6173
- ],
6174
- [
6175
- "BearerAuth"
6176
- ]
6177
- ],
6178
- "parameters": [
6179
- {
6180
- "name": "view",
6181
- "in": "query",
6182
- "required": false,
6183
- "description": "Allowed values: month, week, list.",
6184
- "example": "month"
6185
- },
6186
- {
6187
- "name": "start",
6188
- "in": "query",
6189
- "required": false,
6190
- "description": "Start.",
6191
- "example": "2026-02-22T17:21:00Z"
6192
- },
6193
- {
6194
- "name": "end",
6195
- "in": "query",
6196
- "required": false,
6197
- "description": "End.",
6198
- "example": "2026-02-22T17:21:00Z"
6199
- },
6200
- {
6201
- "name": "type",
6202
- "in": "query",
6203
- "required": false,
6204
- "description": "Type discriminator for this record. Allowed values: event, task.",
6205
- "example": "event"
6206
- },
6207
- {
6208
- "name": "status",
6209
- "in": "query",
6210
- "required": false,
6211
- "description": "Current lifecycle status for this record. Allowed values: todo, in_progress, blocked, done, canceled.",
6212
- "example": "todo"
6213
- },
6214
- {
6215
- "name": "priority",
6216
- "in": "query",
6217
- "required": false,
6218
- "description": "Priority level for this record. Allowed values: low, medium, high, urgent.",
6219
- "example": "low"
6220
- },
6221
- {
6222
- "name": "assignee",
6223
- "in": "query",
6224
- "required": false,
6225
- "description": "Assignee.",
6226
- "example": "example"
6227
- },
6228
- {
6229
- "name": "q",
6230
- "in": "query",
6231
- "required": false,
6232
- "description": "Case-insensitive text search query.",
6233
- "example": "retro"
6234
- },
6235
- {
6236
- "name": "per_page",
6237
- "in": "query",
6238
- "required": false,
6239
- "description": "Page size for paginated responses.",
6240
- "example": 25
6241
- }
6242
- ],
6243
- "requestBodyRequired": false,
6244
- "requestExamples": [],
6245
- "responses": [
6246
- {
6247
- "status": "200",
6248
- "mediaType": "application/json",
6249
- "description": "Calendar items returned.",
6250
- "hasContent": true,
6251
- "example": {
6252
- "data": [
6253
- {
6254
- "id": 42,
6255
- "workspace_id": 42,
6256
- "type": "event",
6257
- "title": "Example Title",
6258
- "description": "Example description text.",
6259
- "start_at": "2026-02-22T17:21:00Z",
6260
- "end_at": "2026-02-22T17:21:00Z",
6261
- "due_at": "2026-02-22T17:21:00Z",
6262
- "all_day": false,
6263
- "location": "example",
6264
- "timezone": "America/Los_Angeles",
6265
- "status": "todo",
6266
- "priority": "low",
6267
- "visibility": "workspace",
6268
- "created_by": 1,
6269
- "updated_by": 1,
6270
- "assignees": [
6271
- {
6272
- "id": 42,
6273
- "assignee_type": "user",
6274
- "assignee_id": 42,
6275
- "role": "owner",
6276
- "name": "Example Name",
6277
- "created_at": "2026-02-22T17:21:00Z"
6278
- }
6279
- ],
6280
- "links": [
6281
- {
6282
- "id": 42,
6283
- "link_type": "example",
6284
- "link_id": 42,
6285
- "url": "https://agentmc.example.com/docs/incident-123",
6286
- "title": "Example Title",
6287
- "created_at": "2026-02-22T17:21:00Z"
6288
- }
6289
- ],
6290
- "comments_count": 1,
6291
- "created_at": "2026-02-22T17:21:00Z",
6292
- "updated_at": "2026-02-22T17:21:00Z",
6293
- "deleted_at": "2026-02-22T17:21:00Z"
6294
- }
6295
- ],
6296
- "links": {
6297
- "first": "example",
6298
- "last": "example",
6299
- "prev": "example",
6300
- "next": "example"
6301
- },
6302
- "meta": {
6303
- "current_page": 1,
6304
- "from": 1,
6305
- "last_page": 1,
6306
- "links": [
6307
- {
6308
- "url": "https://agentmc.example.com/docs/incident-123",
6309
- "label": "example",
6310
- "active": true
6311
- }
6312
- ],
6313
- "path": "example",
6314
- "per_page": 25,
6315
- "total": 0
6316
- }
6317
- }
6318
- },
6319
- {
6320
- "status": "401",
6321
- "mediaType": "application/json",
6322
- "description": "Missing or invalid credentials.",
6323
- "hasContent": true,
6324
- "example": {
6325
- "error": {
6326
- "code": "validation.failed",
6327
- "message": "Validation failed.",
6328
- "details": {
6329
- "fields": {
6330
- "title": [
6331
- "The title field is required."
6332
- ]
6333
- }
6334
- }
6335
- }
6336
- }
6337
- },
6338
- {
6339
- "status": "403",
6340
- "mediaType": "application/json",
6341
- "description": "Forbidden.",
6342
- "hasContent": true,
6343
- "example": {
6344
- "error": {
6345
- "code": "validation.failed",
6346
- "message": "Validation failed.",
6347
- "details": {
6348
- "fields": {
6349
- "title": [
6350
- "The title field is required."
6351
- ]
6352
- }
6353
- }
6354
- }
6355
- }
6356
- }
6357
- ]
6358
6358
  }
6359
6359
  ];
6360
6360
  var operationsById = Object.fromEntries(