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