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