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