@breign/client 1.0.101 → 1.0.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/apis/AgentApi.d.ts +14 -0
  2. package/dist/apis/AgentApi.js +32 -0
  3. package/dist/apis/ConfigurationApi.d.ts +7 -7
  4. package/dist/apis/ConfigurationApi.js +5 -5
  5. package/dist/apis/ScheduledTasksApi.d.ts +143 -0
  6. package/dist/apis/ScheduledTasksApi.js +364 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/models/ChatUio.d.ts +14 -0
  10. package/dist/models/ChatUio.js +10 -0
  11. package/dist/models/GetUploadLimits200ResponseUio.d.ts +32 -0
  12. package/dist/models/GetUploadLimits200ResponseUio.js +50 -0
  13. package/dist/models/PromptCreateRequestUio.d.ts +14 -0
  14. package/dist/models/PromptCreateRequestUio.js +10 -0
  15. package/dist/models/PromptFlowCreateRequestUio.d.ts +14 -0
  16. package/dist/models/PromptFlowCreateRequestUio.js +10 -0
  17. package/dist/models/RunStepUio.d.ts +78 -0
  18. package/dist/models/RunStepUio.js +74 -0
  19. package/dist/models/ScheduledTaskCreateUio.d.ts +77 -0
  20. package/dist/models/ScheduledTaskCreateUio.js +75 -0
  21. package/dist/models/ScheduledTaskListUio.d.ts +39 -0
  22. package/dist/models/ScheduledTaskListUio.js +55 -0
  23. package/dist/models/ScheduledTaskManualRunResponseUio.d.ts +32 -0
  24. package/dist/models/ScheduledTaskManualRunResponseUio.js +50 -0
  25. package/dist/models/ScheduledTaskRunListUio.d.ts +39 -0
  26. package/dist/models/ScheduledTaskRunListUio.js +55 -0
  27. package/dist/models/ScheduledTaskRunUio.d.ts +110 -0
  28. package/dist/models/ScheduledTaskRunUio.js +98 -0
  29. package/dist/models/ScheduledTaskStatusResponseUio.d.ts +46 -0
  30. package/dist/models/ScheduledTaskStatusResponseUio.js +60 -0
  31. package/dist/models/ScheduledTaskStatusToggleUio.d.ts +40 -0
  32. package/dist/models/ScheduledTaskStatusToggleUio.js +58 -0
  33. package/dist/models/ScheduledTaskUio.d.ts +146 -0
  34. package/dist/models/ScheduledTaskUio.js +123 -0
  35. package/dist/models/TaskScheduleEndOneOf1Uio.d.ts +45 -0
  36. package/dist/models/TaskScheduleEndOneOf1Uio.js +61 -0
  37. package/dist/models/TaskScheduleEndOneOf2Uio.d.ts +45 -0
  38. package/dist/models/TaskScheduleEndOneOf2Uio.js +61 -0
  39. package/dist/models/TaskScheduleEndOneOfUio.d.ts +39 -0
  40. package/dist/models/TaskScheduleEndOneOfUio.js +57 -0
  41. package/dist/models/TaskScheduleEndUio.d.ts +24 -0
  42. package/dist/models/TaskScheduleEndUio.js +64 -0
  43. package/dist/models/TaskScheduleIntervalUio.d.ts +47 -0
  44. package/dist/models/TaskScheduleIntervalUio.js +63 -0
  45. package/dist/models/TaskScheduleUio.d.ts +94 -0
  46. package/dist/models/TaskScheduleUio.js +78 -0
  47. package/dist/models/index.d.ts +16 -1
  48. package/dist/models/index.js +16 -1
  49. package/dist/openapi.json +1426 -527
  50. package/package.json +1 -1
  51. package/dist/models/UploadLimitsResponseUio.d.ts +0 -32
  52. package/dist/models/UploadLimitsResponseUio.js +0 -50
package/dist/openapi.json CHANGED
@@ -69,6 +69,9 @@
69
69
  }, {
70
70
  "description" : "Skills management endpoints",
71
71
  "name" : "skills"
72
+ }, {
73
+ "description" : "Scheduled task management endpoints",
74
+ "name" : "scheduled-tasks"
72
75
  } ],
73
76
  "paths" : {
74
77
  "/health" : {
@@ -1497,11 +1500,10 @@
1497
1500
  "type" : "string"
1498
1501
  }
1499
1502
  }, {
1500
- "description" : "Sort conversations by last activity (asc = oldest first, desc = most recent first)",
1503
+ "description" : "Sort order for results",
1501
1504
  "in" : "query",
1502
1505
  "name" : "sortOrder",
1503
1506
  "schema" : {
1504
- "default" : "desc",
1505
1507
  "enum" : [ "asc", "desc" ],
1506
1508
  "type" : "string"
1507
1509
  }
@@ -1598,6 +1600,55 @@
1598
1600
  "tags" : [ "prompts" ]
1599
1601
  }
1600
1602
  },
1603
+ "/agents/{agentId}/conversations/{conversationId}" : {
1604
+ "get" : {
1605
+ "description" : "Get a specific conversation by its ID for the given agent",
1606
+ "operationId" : "getAgentConversationById",
1607
+ "parameters" : [ {
1608
+ "description" : "ID of the agent",
1609
+ "in" : "path",
1610
+ "name" : "agentId",
1611
+ "required" : true,
1612
+ "schema" : {
1613
+ "format" : "uuid",
1614
+ "type" : "string"
1615
+ }
1616
+ }, {
1617
+ "in" : "path",
1618
+ "name" : "conversationId",
1619
+ "required" : true,
1620
+ "schema" : {
1621
+ "type" : "string"
1622
+ }
1623
+ } ],
1624
+ "responses" : {
1625
+ "200" : {
1626
+ "content" : {
1627
+ "application/json" : {
1628
+ "schema" : {
1629
+ "$ref" : "#/components/schemas/Chat"
1630
+ }
1631
+ }
1632
+ },
1633
+ "description" : "The conversation"
1634
+ },
1635
+ "401" : {
1636
+ "description" : "Unauthorized"
1637
+ },
1638
+ "403" : {
1639
+ "description" : "Forbidden - User doesn't have access to this agent"
1640
+ },
1641
+ "404" : {
1642
+ "description" : "Conversation not found"
1643
+ },
1644
+ "500" : {
1645
+ "description" : "Failed to get conversation"
1646
+ }
1647
+ },
1648
+ "summary" : "Get a conversation by ID for an agent",
1649
+ "tags" : [ "agent" ]
1650
+ }
1651
+ },
1601
1652
  "/agents/{agentId}/message-audio/{audioFileId}" : {
1602
1653
  "delete" : {
1603
1654
  "description" : "Removes the audio chunk from the message in the database and deletes the file from object storage.\n",
@@ -1747,10 +1798,9 @@
1747
1798
  "tags" : [ "agent" ]
1748
1799
  }
1749
1800
  },
1750
- "/agents/{agentId}/apps" : {
1801
+ "/agents/{agentId}/scheduled-tasks" : {
1751
1802
  "get" : {
1752
- "description" : "Get apps for agent id",
1753
- "operationId" : "getAppsForAgentId",
1803
+ "operationId" : "listScheduledTasks",
1754
1804
  "parameters" : [ {
1755
1805
  "description" : "ID of the agent",
1756
1806
  "in" : "path",
@@ -1760,35 +1810,67 @@
1760
1810
  "format" : "uuid",
1761
1811
  "type" : "string"
1762
1812
  }
1813
+ }, {
1814
+ "description" : "Filter by task status",
1815
+ "in" : "query",
1816
+ "name" : "status",
1817
+ "schema" : {
1818
+ "enum" : [ "active", "paused", "done" ],
1819
+ "type" : "string"
1820
+ }
1821
+ }, {
1822
+ "description" : "Search query",
1823
+ "in" : "query",
1824
+ "name" : "q",
1825
+ "schema" : {
1826
+ "type" : "string"
1827
+ }
1828
+ }, {
1829
+ "in" : "query",
1830
+ "name" : "limit",
1831
+ "schema" : {
1832
+ "default" : 50,
1833
+ "type" : "integer"
1834
+ }
1835
+ }, {
1836
+ "description" : "Cursor for pagination (createdAt before this date)",
1837
+ "in" : "query",
1838
+ "name" : "before",
1839
+ "schema" : {
1840
+ "format" : "date-time",
1841
+ "type" : "string"
1842
+ }
1763
1843
  } ],
1764
1844
  "responses" : {
1765
1845
  "200" : {
1766
1846
  "content" : {
1767
1847
  "application/json" : {
1768
1848
  "schema" : {
1769
- "items" : {
1770
- "$ref" : "#/components/schemas/AppLight"
1771
- },
1772
- "type" : "array"
1849
+ "$ref" : "#/components/schemas/ScheduledTaskList"
1773
1850
  }
1774
1851
  }
1775
1852
  },
1776
- "description" : "Apps retrieved successfully"
1853
+ "description" : "List of scheduled tasks"
1854
+ },
1855
+ "401" : {
1856
+ "description" : "Unauthorized"
1857
+ },
1858
+ "403" : {
1859
+ "description" : "Forbidden"
1777
1860
  }
1778
1861
  },
1779
- "summary" : "Get apps for agent id",
1780
- "tags" : [ "app" ]
1781
- }
1782
- },
1783
- "/apps" : {
1862
+ "summary" : "List scheduled tasks for an agent",
1863
+ "tags" : [ "scheduledTasks" ]
1864
+ },
1784
1865
  "post" : {
1785
- "description" : "Creates a new app",
1786
- "operationId" : "createApp",
1866
+ "operationId" : "createScheduledTask",
1787
1867
  "parameters" : [ {
1788
- "description" : "Instance id",
1789
- "in" : "query",
1790
- "name" : "instanceId",
1868
+ "description" : "ID of the agent",
1869
+ "in" : "path",
1870
+ "name" : "agentId",
1871
+ "required" : true,
1791
1872
  "schema" : {
1873
+ "format" : "uuid",
1792
1874
  "type" : "string"
1793
1875
  }
1794
1876
  } ],
@@ -1796,7 +1878,7 @@
1796
1878
  "content" : {
1797
1879
  "application/json" : {
1798
1880
  "schema" : {
1799
- "$ref" : "#/components/schemas/AppCreateRequest"
1881
+ "$ref" : "#/components/schemas/ScheduledTaskCreate"
1800
1882
  }
1801
1883
  }
1802
1884
  },
@@ -1807,25 +1889,45 @@
1807
1889
  "content" : {
1808
1890
  "application/json" : {
1809
1891
  "schema" : {
1810
- "$ref" : "#/components/schemas/App"
1892
+ "$ref" : "#/components/schemas/ScheduledTask"
1811
1893
  }
1812
1894
  }
1813
1895
  },
1814
- "description" : "App created successfully"
1896
+ "description" : "Task created"
1897
+ },
1898
+ "400" : {
1899
+ "description" : "Invalid request body"
1900
+ },
1901
+ "401" : {
1902
+ "description" : "Unauthorized"
1903
+ },
1904
+ "403" : {
1905
+ "description" : "Forbidden"
1906
+ },
1907
+ "422" : {
1908
+ "description" : "Invalid schedule configuration"
1815
1909
  }
1816
1910
  },
1817
- "summary" : "Create an app",
1818
- "tags" : [ "app" ]
1911
+ "summary" : "Create a scheduled task for an agent",
1912
+ "tags" : [ "scheduledTasks" ]
1819
1913
  }
1820
1914
  },
1821
- "/apps/{appId}" : {
1915
+ "/agents/{agentId}/scheduled-tasks/{taskId}" : {
1822
1916
  "delete" : {
1823
- "description" : "Delete an app",
1824
- "operationId" : "deleteAppById",
1917
+ "operationId" : "deleteScheduledTask",
1825
1918
  "parameters" : [ {
1826
- "description" : "ID of the app",
1919
+ "description" : "ID of the agent",
1827
1920
  "in" : "path",
1828
- "name" : "appId",
1921
+ "name" : "agentId",
1922
+ "required" : true,
1923
+ "schema" : {
1924
+ "format" : "uuid",
1925
+ "type" : "string"
1926
+ }
1927
+ }, {
1928
+ "description" : "ID of the scheduled task",
1929
+ "in" : "path",
1930
+ "name" : "taskId",
1829
1931
  "required" : true,
1830
1932
  "schema" : {
1831
1933
  "type" : "string"
@@ -1833,19 +1935,36 @@
1833
1935
  } ],
1834
1936
  "responses" : {
1835
1937
  "204" : {
1836
- "description" : "App deleted successfully"
1938
+ "description" : "Task deleted"
1939
+ },
1940
+ "401" : {
1941
+ "description" : "Unauthorized"
1942
+ },
1943
+ "403" : {
1944
+ "description" : "Forbidden"
1945
+ },
1946
+ "404" : {
1947
+ "description" : "Task not found"
1837
1948
  }
1838
1949
  },
1839
- "summary" : "Delete an app",
1840
- "tags" : [ "app" ]
1950
+ "summary" : "Delete a scheduled task",
1951
+ "tags" : [ "scheduledTasks" ]
1841
1952
  },
1842
1953
  "get" : {
1843
- "description" : "Get an app",
1844
- "operationId" : "getAppById",
1954
+ "operationId" : "getScheduledTask",
1845
1955
  "parameters" : [ {
1846
- "description" : "ID of the app",
1956
+ "description" : "ID of the agent",
1847
1957
  "in" : "path",
1848
- "name" : "appId",
1958
+ "name" : "agentId",
1959
+ "required" : true,
1960
+ "schema" : {
1961
+ "format" : "uuid",
1962
+ "type" : "string"
1963
+ }
1964
+ }, {
1965
+ "description" : "ID of the scheduled task",
1966
+ "in" : "path",
1967
+ "name" : "taskId",
1849
1968
  "required" : true,
1850
1969
  "schema" : {
1851
1970
  "type" : "string"
@@ -1856,23 +1975,40 @@
1856
1975
  "content" : {
1857
1976
  "application/json" : {
1858
1977
  "schema" : {
1859
- "$ref" : "#/components/schemas/App"
1978
+ "$ref" : "#/components/schemas/ScheduledTask"
1860
1979
  }
1861
1980
  }
1862
1981
  },
1863
- "description" : "App retrieved successfully"
1982
+ "description" : "The scheduled task"
1983
+ },
1984
+ "401" : {
1985
+ "description" : "Unauthorized"
1986
+ },
1987
+ "403" : {
1988
+ "description" : "Forbidden"
1989
+ },
1990
+ "404" : {
1991
+ "description" : "Task not found"
1864
1992
  }
1865
1993
  },
1866
- "summary" : "Get an app",
1867
- "tags" : [ "app" ]
1994
+ "summary" : "Get a scheduled task by ID",
1995
+ "tags" : [ "scheduledTasks" ]
1868
1996
  },
1869
- "patch" : {
1870
- "description" : "Update an app",
1871
- "operationId" : "updateAppById",
1997
+ "put" : {
1998
+ "operationId" : "updateScheduledTask",
1872
1999
  "parameters" : [ {
1873
- "description" : "ID of the app",
2000
+ "description" : "ID of the agent",
1874
2001
  "in" : "path",
1875
- "name" : "appId",
2002
+ "name" : "agentId",
2003
+ "required" : true,
2004
+ "schema" : {
2005
+ "format" : "uuid",
2006
+ "type" : "string"
2007
+ }
2008
+ }, {
2009
+ "description" : "ID of the scheduled task",
2010
+ "in" : "path",
2011
+ "name" : "taskId",
1876
2012
  "required" : true,
1877
2013
  "schema" : {
1878
2014
  "type" : "string"
@@ -1882,7 +2018,7 @@
1882
2018
  "content" : {
1883
2019
  "application/json" : {
1884
2020
  "schema" : {
1885
- "$ref" : "#/components/schemas/AppUpdateRequest"
2021
+ "$ref" : "#/components/schemas/ScheduledTaskCreate"
1886
2022
  }
1887
2023
  }
1888
2024
  },
@@ -1893,27 +2029,48 @@
1893
2029
  "content" : {
1894
2030
  "application/json" : {
1895
2031
  "schema" : {
1896
- "$ref" : "#/components/schemas/App"
2032
+ "$ref" : "#/components/schemas/ScheduledTask"
1897
2033
  }
1898
2034
  }
1899
2035
  },
1900
- "description" : "App updated successfully"
2036
+ "description" : "Task updated"
2037
+ },
2038
+ "400" : {
2039
+ "description" : "Invalid request body"
2040
+ },
2041
+ "401" : {
2042
+ "description" : "Unauthorized"
2043
+ },
2044
+ "403" : {
2045
+ "description" : "Forbidden"
1901
2046
  },
1902
2047
  "404" : {
1903
- "description" : "App not found"
2048
+ "description" : "Task not found"
2049
+ },
2050
+ "422" : {
2051
+ "description" : "Task completed or invalid schedule"
1904
2052
  }
1905
2053
  },
1906
- "summary" : "Update an app",
1907
- "tags" : [ "app" ]
2054
+ "summary" : "Update a scheduled task",
2055
+ "tags" : [ "scheduledTasks" ]
1908
2056
  }
1909
2057
  },
1910
- "/apps/{appId}/profile-picture" : {
1911
- "post" : {
1912
- "operationId" : "updateAppProfilePicture",
2058
+ "/agents/{agentId}/scheduled-tasks/{taskId}/status" : {
2059
+ "patch" : {
2060
+ "operationId" : "toggleScheduledTaskStatus",
1913
2061
  "parameters" : [ {
1914
- "description" : "ID of the app",
2062
+ "description" : "ID of the agent",
1915
2063
  "in" : "path",
1916
- "name" : "appId",
2064
+ "name" : "agentId",
2065
+ "required" : true,
2066
+ "schema" : {
2067
+ "format" : "uuid",
2068
+ "type" : "string"
2069
+ }
2070
+ }, {
2071
+ "description" : "ID of the scheduled task",
2072
+ "in" : "path",
2073
+ "name" : "taskId",
1917
2074
  "required" : true,
1918
2075
  "schema" : {
1919
2076
  "type" : "string"
@@ -1923,203 +2080,242 @@
1923
2080
  "content" : {
1924
2081
  "application/json" : {
1925
2082
  "schema" : {
1926
- "$ref" : "#/components/schemas/FileCreationRequest"
2083
+ "$ref" : "#/components/schemas/ScheduledTaskStatusToggle"
1927
2084
  }
1928
2085
  }
1929
2086
  },
1930
2087
  "required" : true
1931
2088
  },
1932
2089
  "responses" : {
1933
- "201" : {
2090
+ "200" : {
1934
2091
  "content" : {
1935
2092
  "application/json" : {
1936
2093
  "schema" : {
1937
- "$ref" : "#/components/schemas/S3UploadBody"
2094
+ "$ref" : "#/components/schemas/ScheduledTaskStatusResponse"
1938
2095
  }
1939
2096
  }
1940
2097
  },
1941
- "description" : "Profile picture updated successfully"
2098
+ "description" : "Status updated"
2099
+ },
2100
+ "400" : {
2101
+ "description" : "Invalid status value"
2102
+ },
2103
+ "401" : {
2104
+ "description" : "Unauthorized"
2105
+ },
2106
+ "403" : {
2107
+ "description" : "Forbidden"
2108
+ },
2109
+ "404" : {
2110
+ "description" : "Task not found"
2111
+ },
2112
+ "422" : {
2113
+ "description" : "Task already completed"
1942
2114
  }
1943
2115
  },
1944
- "summary" : "Update profile picture for an app",
1945
- "tags" : [ "app" ]
2116
+ "summary" : "Toggle scheduled task status (active/paused)",
2117
+ "tags" : [ "scheduledTasks" ]
1946
2118
  }
1947
2119
  },
1948
- "/apps/{appId}/flows" : {
2120
+ "/agents/{agentId}/scheduled-tasks/{taskId}/run" : {
1949
2121
  "post" : {
1950
- "description" : "Start a conversation with a flow.",
1951
- "operationId" : "createAppFlow",
2122
+ "operationId" : "triggerScheduledTask",
1952
2123
  "parameters" : [ {
1953
- "description" : "ID of the app",
2124
+ "description" : "ID of the agent",
1954
2125
  "in" : "path",
1955
- "name" : "appId",
2126
+ "name" : "agentId",
1956
2127
  "required" : true,
1957
2128
  "schema" : {
2129
+ "format" : "uuid",
1958
2130
  "type" : "string"
1959
2131
  }
1960
2132
  }, {
1961
- "description" : "Instance id",
1962
- "in" : "query",
1963
- "name" : "instanceId",
2133
+ "description" : "ID of the scheduled task",
2134
+ "in" : "path",
2135
+ "name" : "taskId",
2136
+ "required" : true,
1964
2137
  "schema" : {
1965
2138
  "type" : "string"
1966
2139
  }
1967
- }, {
1968
- "description" : "If true, the resource will not appear in history and will be deleted after a certain time.",
1969
- "in" : "query",
1970
- "name" : "ephemeral",
1971
- "required" : false,
1972
- "schema" : {
1973
- "type" : "boolean"
1974
- }
1975
2140
  } ],
1976
- "requestBody" : {
1977
- "content" : {
1978
- "application/json" : {
1979
- "schema" : {
1980
- "$ref" : "#/components/schemas/AppFlowCreateRequest"
1981
- }
1982
- }
1983
- },
1984
- "required" : true
1985
- },
1986
2141
  "responses" : {
1987
- "200" : {
2142
+ "202" : {
1988
2143
  "content" : {
1989
2144
  "application/json" : {
1990
2145
  "schema" : {
1991
- "$ref" : "#/components/schemas/Flow"
2146
+ "$ref" : "#/components/schemas/ScheduledTaskManualRunResponse"
1992
2147
  }
1993
2148
  }
1994
2149
  },
1995
- "description" : "App Flow created successfully"
2150
+ "description" : "Run queued"
2151
+ },
2152
+ "401" : {
2153
+ "description" : "Unauthorized"
2154
+ },
2155
+ "403" : {
2156
+ "description" : "Forbidden"
2157
+ },
2158
+ "404" : {
2159
+ "description" : "Task not found"
1996
2160
  }
1997
2161
  },
1998
- "summary" : "Start a chat with a flow",
1999
- "tags" : [ "app" ]
2162
+ "summary" : "Manually trigger a scheduled task run",
2163
+ "tags" : [ "scheduledTasks" ]
2000
2164
  }
2001
2165
  },
2002
- "/apps/{appId}/chats" : {
2003
- "post" : {
2004
- "description" : "Initialize a chat",
2005
- "operationId" : "createAppChat",
2166
+ "/agents/{agentId}/scheduled-tasks/{taskId}/runs" : {
2167
+ "get" : {
2168
+ "operationId" : "listScheduledTaskRuns",
2006
2169
  "parameters" : [ {
2007
- "description" : "ID of the app",
2170
+ "description" : "ID of the agent",
2008
2171
  "in" : "path",
2009
- "name" : "appId",
2172
+ "name" : "agentId",
2010
2173
  "required" : true,
2011
2174
  "schema" : {
2175
+ "format" : "uuid",
2012
2176
  "type" : "string"
2013
2177
  }
2014
2178
  }, {
2015
- "description" : "Instance id",
2016
- "in" : "query",
2017
- "name" : "instanceId",
2179
+ "description" : "ID of the scheduled task",
2180
+ "in" : "path",
2181
+ "name" : "taskId",
2182
+ "required" : true,
2018
2183
  "schema" : {
2019
2184
  "type" : "string"
2020
2185
  }
2021
2186
  }, {
2022
- "description" : "If true, the resource will not appear in history and will be deleted after a certain time.",
2023
2187
  "in" : "query",
2024
- "name" : "ephemeral",
2025
- "required" : false,
2188
+ "name" : "limit",
2026
2189
  "schema" : {
2027
- "type" : "boolean"
2190
+ "default" : 20,
2191
+ "type" : "integer"
2192
+ }
2193
+ }, {
2194
+ "description" : "Cursor for pagination (createdAt before this date)",
2195
+ "in" : "query",
2196
+ "name" : "before",
2197
+ "schema" : {
2198
+ "format" : "date-time",
2199
+ "type" : "string"
2028
2200
  }
2029
2201
  } ],
2030
- "requestBody" : {
2031
- "content" : {
2032
- "application/json" : {
2033
- "schema" : {
2034
- "$ref" : "#/components/schemas/AppChatCreateRequest"
2035
- }
2036
- }
2037
- },
2038
- "required" : true
2039
- },
2040
2202
  "responses" : {
2041
2203
  "200" : {
2042
2204
  "content" : {
2043
2205
  "application/json" : {
2044
2206
  "schema" : {
2045
- "$ref" : "#/components/schemas/AppChatCreateResponse"
2207
+ "$ref" : "#/components/schemas/ScheduledTaskRunList"
2046
2208
  }
2047
2209
  }
2048
2210
  },
2049
- "description" : "App Chat created successfully"
2211
+ "description" : "List of task runs with next scheduled run time"
2212
+ },
2213
+ "401" : {
2214
+ "description" : "Unauthorized"
2215
+ },
2216
+ "403" : {
2217
+ "description" : "Forbidden"
2218
+ },
2219
+ "404" : {
2220
+ "description" : "Task not found"
2050
2221
  }
2051
2222
  },
2052
- "summary" : "Initialize a chat",
2053
- "tags" : [ "app" ]
2223
+ "summary" : "List runs for a scheduled task",
2224
+ "tags" : [ "scheduledTasks" ]
2054
2225
  }
2055
2226
  },
2056
- "/apps/{appId}/chats/{chatId}" : {
2057
- "post" : {
2058
- "description" : "Submit a new message to a chat",
2059
- "operationId" : "submitNewMessageToChat",
2227
+ "/agents/{agentId}/scheduled-tasks/{taskId}/runs/{runId}" : {
2228
+ "get" : {
2229
+ "operationId" : "getScheduledTaskRun",
2060
2230
  "parameters" : [ {
2061
- "description" : "ID of the app",
2231
+ "description" : "ID of the agent",
2062
2232
  "in" : "path",
2063
- "name" : "appId",
2233
+ "name" : "agentId",
2064
2234
  "required" : true,
2065
2235
  "schema" : {
2236
+ "format" : "uuid",
2066
2237
  "type" : "string"
2067
2238
  }
2068
2239
  }, {
2069
- "description" : "ID of the chat",
2240
+ "description" : "ID of the scheduled task",
2070
2241
  "in" : "path",
2071
- "name" : "chatId",
2242
+ "name" : "taskId",
2072
2243
  "required" : true,
2073
2244
  "schema" : {
2074
2245
  "type" : "string"
2075
2246
  }
2076
2247
  }, {
2077
- "description" : "Instance id",
2078
- "in" : "query",
2079
- "name" : "instanceId",
2248
+ "description" : "ID of the scheduled task run",
2249
+ "in" : "path",
2250
+ "name" : "runId",
2251
+ "required" : true,
2080
2252
  "schema" : {
2081
2253
  "type" : "string"
2082
2254
  }
2083
2255
  } ],
2084
- "requestBody" : {
2085
- "content" : {
2086
- "application/json" : {
2087
- "schema" : {
2088
- "$ref" : "#/components/schemas/AppChatSubmitMessageRequest"
2089
- }
2090
- }
2091
- },
2092
- "required" : true
2093
- },
2094
2256
  "responses" : {
2095
2257
  "200" : {
2096
2258
  "content" : {
2097
2259
  "application/json" : {
2098
2260
  "schema" : {
2099
- "$ref" : "#/components/schemas/Flow"
2261
+ "$ref" : "#/components/schemas/ScheduledTaskRun"
2100
2262
  }
2101
2263
  }
2102
2264
  },
2103
- "description" : "App Chat created successfully"
2265
+ "description" : "The task run"
2266
+ },
2267
+ "401" : {
2268
+ "description" : "Unauthorized"
2269
+ },
2270
+ "403" : {
2271
+ "description" : "Forbidden"
2272
+ },
2273
+ "404" : {
2274
+ "description" : "Run not found"
2104
2275
  }
2105
2276
  },
2106
- "summary" : "Submit a new message to a chat",
2107
- "tags" : [ "app" ]
2277
+ "summary" : "Get a specific scheduled task run by ID",
2278
+ "tags" : [ "scheduledTasks" ]
2108
2279
  }
2109
2280
  },
2110
- "/apps/{appId}/say" : {
2111
- "post" : {
2112
- "description" : "Make the app say something",
2113
- "operationId" : "saySomething",
2281
+ "/agents/{agentId}/apps" : {
2282
+ "get" : {
2283
+ "description" : "Get apps for agent id",
2284
+ "operationId" : "getAppsForAgentId",
2114
2285
  "parameters" : [ {
2115
- "description" : "ID of the app",
2286
+ "description" : "ID of the agent",
2116
2287
  "in" : "path",
2117
- "name" : "appId",
2288
+ "name" : "agentId",
2118
2289
  "required" : true,
2119
2290
  "schema" : {
2291
+ "format" : "uuid",
2120
2292
  "type" : "string"
2121
2293
  }
2122
- }, {
2294
+ } ],
2295
+ "responses" : {
2296
+ "200" : {
2297
+ "content" : {
2298
+ "application/json" : {
2299
+ "schema" : {
2300
+ "items" : {
2301
+ "$ref" : "#/components/schemas/AppLight"
2302
+ },
2303
+ "type" : "array"
2304
+ }
2305
+ }
2306
+ },
2307
+ "description" : "Apps retrieved successfully"
2308
+ }
2309
+ },
2310
+ "summary" : "Get apps for agent id",
2311
+ "tags" : [ "app" ]
2312
+ }
2313
+ },
2314
+ "/apps" : {
2315
+ "post" : {
2316
+ "description" : "Creates a new app",
2317
+ "operationId" : "createApp",
2318
+ "parameters" : [ {
2123
2319
  "description" : "Instance id",
2124
2320
  "in" : "query",
2125
2321
  "name" : "instanceId",
@@ -2131,32 +2327,32 @@
2131
2327
  "content" : {
2132
2328
  "application/json" : {
2133
2329
  "schema" : {
2134
- "$ref" : "#/components/schemas/AppChatSayRequest"
2330
+ "$ref" : "#/components/schemas/AppCreateRequest"
2135
2331
  }
2136
2332
  }
2137
2333
  },
2138
2334
  "required" : true
2139
2335
  },
2140
2336
  "responses" : {
2141
- "200" : {
2337
+ "201" : {
2142
2338
  "content" : {
2143
2339
  "application/json" : {
2144
2340
  "schema" : {
2145
- "$ref" : "#/components/schemas/AppChatSayResponse"
2341
+ "$ref" : "#/components/schemas/App"
2146
2342
  }
2147
2343
  }
2148
2344
  },
2149
- "description" : "App said something"
2345
+ "description" : "App created successfully"
2150
2346
  }
2151
2347
  },
2152
- "summary" : "Make the app say something",
2348
+ "summary" : "Create an app",
2153
2349
  "tags" : [ "app" ]
2154
2350
  }
2155
2351
  },
2156
- "/apps/{appId}/messages" : {
2157
- "post" : {
2158
- "description" : "Submit new message",
2159
- "operationId" : "submitNewMessage",
2352
+ "/apps/{appId}" : {
2353
+ "delete" : {
2354
+ "description" : "Delete an app",
2355
+ "operationId" : "deleteAppById",
2160
2356
  "parameters" : [ {
2161
2357
  "description" : "ID of the app",
2162
2358
  "in" : "path",
@@ -2165,10 +2361,50 @@
2165
2361
  "schema" : {
2166
2362
  "type" : "string"
2167
2363
  }
2168
- }, {
2169
- "description" : "Instance id",
2170
- "in" : "query",
2171
- "name" : "instanceId",
2364
+ } ],
2365
+ "responses" : {
2366
+ "204" : {
2367
+ "description" : "App deleted successfully"
2368
+ }
2369
+ },
2370
+ "summary" : "Delete an app",
2371
+ "tags" : [ "app" ]
2372
+ },
2373
+ "get" : {
2374
+ "description" : "Get an app",
2375
+ "operationId" : "getAppById",
2376
+ "parameters" : [ {
2377
+ "description" : "ID of the app",
2378
+ "in" : "path",
2379
+ "name" : "appId",
2380
+ "required" : true,
2381
+ "schema" : {
2382
+ "type" : "string"
2383
+ }
2384
+ } ],
2385
+ "responses" : {
2386
+ "200" : {
2387
+ "content" : {
2388
+ "application/json" : {
2389
+ "schema" : {
2390
+ "$ref" : "#/components/schemas/App"
2391
+ }
2392
+ }
2393
+ },
2394
+ "description" : "App retrieved successfully"
2395
+ }
2396
+ },
2397
+ "summary" : "Get an app",
2398
+ "tags" : [ "app" ]
2399
+ },
2400
+ "patch" : {
2401
+ "description" : "Update an app",
2402
+ "operationId" : "updateAppById",
2403
+ "parameters" : [ {
2404
+ "description" : "ID of the app",
2405
+ "in" : "path",
2406
+ "name" : "appId",
2407
+ "required" : true,
2172
2408
  "schema" : {
2173
2409
  "type" : "string"
2174
2410
  }
@@ -2177,7 +2413,7 @@
2177
2413
  "content" : {
2178
2414
  "application/json" : {
2179
2415
  "schema" : {
2180
- "$ref" : "#/components/schemas/AppSubmitMessageRequest"
2416
+ "$ref" : "#/components/schemas/AppUpdateRequest"
2181
2417
  }
2182
2418
  }
2183
2419
  },
@@ -2188,22 +2424,23 @@
2188
2424
  "content" : {
2189
2425
  "application/json" : {
2190
2426
  "schema" : {
2191
- "additionalProperties" : true,
2192
- "type" : "object"
2427
+ "$ref" : "#/components/schemas/App"
2193
2428
  }
2194
2429
  }
2195
2430
  },
2196
- "description" : "App message submitted successfully"
2431
+ "description" : "App updated successfully"
2432
+ },
2433
+ "404" : {
2434
+ "description" : "App not found"
2197
2435
  }
2198
2436
  },
2199
- "summary" : "Submit new message",
2437
+ "summary" : "Update an app",
2200
2438
  "tags" : [ "app" ]
2201
2439
  }
2202
2440
  },
2203
- "/apps/{appId}/status" : {
2441
+ "/apps/{appId}/profile-picture" : {
2204
2442
  "post" : {
2205
- "description" : "Set app status",
2206
- "operationId" : "setStatus",
2443
+ "operationId" : "updateAppProfilePicture",
2207
2444
  "parameters" : [ {
2208
2445
  "description" : "ID of the app",
2209
2446
  "in" : "path",
@@ -2212,44 +2449,37 @@
2212
2449
  "schema" : {
2213
2450
  "type" : "string"
2214
2451
  }
2215
- }, {
2216
- "description" : "Instance id",
2217
- "in" : "query",
2218
- "name" : "instanceId",
2219
- "schema" : {
2220
- "type" : "string"
2221
- }
2222
2452
  } ],
2223
2453
  "requestBody" : {
2224
2454
  "content" : {
2225
2455
  "application/json" : {
2226
2456
  "schema" : {
2227
- "$ref" : "#/components/schemas/AppStatusRequest"
2457
+ "$ref" : "#/components/schemas/FileCreationRequest"
2228
2458
  }
2229
2459
  }
2230
2460
  },
2231
2461
  "required" : true
2232
2462
  },
2233
2463
  "responses" : {
2234
- "200" : {
2464
+ "201" : {
2235
2465
  "content" : {
2236
2466
  "application/json" : {
2237
2467
  "schema" : {
2238
- "$ref" : "#/components/schemas/AppStatusResponse"
2468
+ "$ref" : "#/components/schemas/S3UploadBody"
2239
2469
  }
2240
2470
  }
2241
2471
  },
2242
- "description" : "App status set successfully"
2472
+ "description" : "Profile picture updated successfully"
2243
2473
  }
2244
2474
  },
2245
- "summary" : "Set app status",
2475
+ "summary" : "Update profile picture for an app",
2246
2476
  "tags" : [ "app" ]
2247
2477
  }
2248
2478
  },
2249
- "/apps/{appId}/probe" : {
2250
- "get" : {
2251
- "description" : "Probe the app",
2252
- "operationId" : "getAppProbe",
2479
+ "/apps/{appId}/flows" : {
2480
+ "post" : {
2481
+ "description" : "Start a conversation with a flow.",
2482
+ "operationId" : "createAppFlow",
2253
2483
  "parameters" : [ {
2254
2484
  "description" : "ID of the app",
2255
2485
  "in" : "path",
@@ -2265,25 +2495,45 @@
2265
2495
  "schema" : {
2266
2496
  "type" : "string"
2267
2497
  }
2268
- } ],
2269
- "responses" : {
2270
- "200" : {
2271
- "content" : {
2272
- "application/json" : {
2498
+ }, {
2499
+ "description" : "If true, the resource will not appear in history and will be deleted after a certain time.",
2500
+ "in" : "query",
2501
+ "name" : "ephemeral",
2502
+ "required" : false,
2503
+ "schema" : {
2504
+ "type" : "boolean"
2505
+ }
2506
+ } ],
2507
+ "requestBody" : {
2508
+ "content" : {
2509
+ "application/json" : {
2510
+ "schema" : {
2511
+ "$ref" : "#/components/schemas/AppFlowCreateRequest"
2512
+ }
2513
+ }
2514
+ },
2515
+ "required" : true
2516
+ },
2517
+ "responses" : {
2518
+ "200" : {
2519
+ "content" : {
2520
+ "application/json" : {
2273
2521
  "schema" : {
2274
- "$ref" : "#/components/schemas/AppProbeResponse"
2522
+ "$ref" : "#/components/schemas/Flow"
2275
2523
  }
2276
2524
  }
2277
2525
  },
2278
- "description" : "App probe retrieved successfully"
2526
+ "description" : "App Flow created successfully"
2279
2527
  }
2280
2528
  },
2281
- "summary" : "Probe the app",
2529
+ "summary" : "Start a chat with a flow",
2282
2530
  "tags" : [ "app" ]
2283
- },
2531
+ }
2532
+ },
2533
+ "/apps/{appId}/chats" : {
2284
2534
  "post" : {
2285
- "description" : "Probe the app",
2286
- "operationId" : "probeApp",
2535
+ "description" : "Initialize a chat",
2536
+ "operationId" : "createAppChat",
2287
2537
  "parameters" : [ {
2288
2538
  "description" : "ID of the app",
2289
2539
  "in" : "path",
@@ -2299,30 +2549,45 @@
2299
2549
  "schema" : {
2300
2550
  "type" : "string"
2301
2551
  }
2552
+ }, {
2553
+ "description" : "If true, the resource will not appear in history and will be deleted after a certain time.",
2554
+ "in" : "query",
2555
+ "name" : "ephemeral",
2556
+ "required" : false,
2557
+ "schema" : {
2558
+ "type" : "boolean"
2559
+ }
2302
2560
  } ],
2303
2561
  "requestBody" : {
2304
2562
  "content" : {
2305
2563
  "application/json" : {
2306
2564
  "schema" : {
2307
- "$ref" : "#/components/schemas/AppProbeRequest"
2565
+ "$ref" : "#/components/schemas/AppChatCreateRequest"
2308
2566
  }
2309
2567
  }
2310
2568
  },
2311
2569
  "required" : true
2312
2570
  },
2313
2571
  "responses" : {
2314
- "204" : {
2315
- "description" : "App probed successfully"
2572
+ "200" : {
2573
+ "content" : {
2574
+ "application/json" : {
2575
+ "schema" : {
2576
+ "$ref" : "#/components/schemas/AppChatCreateResponse"
2577
+ }
2578
+ }
2579
+ },
2580
+ "description" : "App Chat created successfully"
2316
2581
  }
2317
2582
  },
2318
- "summary" : "Probe the app",
2583
+ "summary" : "Initialize a chat",
2319
2584
  "tags" : [ "app" ]
2320
2585
  }
2321
2586
  },
2322
- "/apps/{appId}/probe/refresh" : {
2587
+ "/apps/{appId}/chats/{chatId}" : {
2323
2588
  "post" : {
2324
- "description" : "Refresh the app probe",
2325
- "operationId" : "refreshAppProbe",
2589
+ "description" : "Submit a new message to a chat",
2590
+ "operationId" : "submitNewMessageToChat",
2326
2591
  "parameters" : [ {
2327
2592
  "description" : "ID of the app",
2328
2593
  "in" : "path",
@@ -2332,30 +2597,9 @@
2332
2597
  "type" : "string"
2333
2598
  }
2334
2599
  }, {
2335
- "description" : "Instance id",
2336
- "in" : "query",
2337
- "name" : "instanceId",
2338
- "schema" : {
2339
- "type" : "string"
2340
- }
2341
- } ],
2342
- "responses" : {
2343
- "204" : {
2344
- "description" : "App probe refreshed successfully"
2345
- }
2346
- },
2347
- "summary" : "Refresh the app probe",
2348
- "tags" : [ "app" ]
2349
- }
2350
- },
2351
- "/apps/{appId}/appConfiguration" : {
2352
- "delete" : {
2353
- "description" : "Delete app configuration",
2354
- "operationId" : "deleteAppConfiguration",
2355
- "parameters" : [ {
2356
- "description" : "ID of the app",
2600
+ "description" : "ID of the chat",
2357
2601
  "in" : "path",
2358
- "name" : "appId",
2602
+ "name" : "chatId",
2359
2603
  "required" : true,
2360
2604
  "schema" : {
2361
2605
  "type" : "string"
@@ -2368,17 +2612,36 @@
2368
2612
  "type" : "string"
2369
2613
  }
2370
2614
  } ],
2615
+ "requestBody" : {
2616
+ "content" : {
2617
+ "application/json" : {
2618
+ "schema" : {
2619
+ "$ref" : "#/components/schemas/AppChatSubmitMessageRequest"
2620
+ }
2621
+ }
2622
+ },
2623
+ "required" : true
2624
+ },
2371
2625
  "responses" : {
2372
- "204" : {
2373
- "description" : "App configuration deleted successfully"
2626
+ "200" : {
2627
+ "content" : {
2628
+ "application/json" : {
2629
+ "schema" : {
2630
+ "$ref" : "#/components/schemas/Flow"
2631
+ }
2632
+ }
2633
+ },
2634
+ "description" : "App Chat created successfully"
2374
2635
  }
2375
2636
  },
2376
- "summary" : "Delete app configuration",
2637
+ "summary" : "Submit a new message to a chat",
2377
2638
  "tags" : [ "app" ]
2378
- },
2379
- "get" : {
2380
- "description" : "Get app configuration",
2381
- "operationId" : "getAppConfiguration",
2639
+ }
2640
+ },
2641
+ "/apps/{appId}/say" : {
2642
+ "post" : {
2643
+ "description" : "Make the app say something",
2644
+ "operationId" : "saySomething",
2382
2645
  "parameters" : [ {
2383
2646
  "description" : "ID of the app",
2384
2647
  "in" : "path",
@@ -2395,27 +2658,36 @@
2395
2658
  "type" : "string"
2396
2659
  }
2397
2660
  } ],
2661
+ "requestBody" : {
2662
+ "content" : {
2663
+ "application/json" : {
2664
+ "schema" : {
2665
+ "$ref" : "#/components/schemas/AppChatSayRequest"
2666
+ }
2667
+ }
2668
+ },
2669
+ "required" : true
2670
+ },
2398
2671
  "responses" : {
2399
2672
  "200" : {
2400
2673
  "content" : {
2401
2674
  "application/json" : {
2402
2675
  "schema" : {
2403
- "$ref" : "#/components/schemas/AppConfiguration"
2676
+ "$ref" : "#/components/schemas/AppChatSayResponse"
2404
2677
  }
2405
2678
  }
2406
2679
  },
2407
- "description" : "App configuration retrieved successfully"
2408
- },
2409
- "404" : {
2410
- "description" : "App configuration not found"
2680
+ "description" : "App said something"
2411
2681
  }
2412
2682
  },
2413
- "summary" : "Get app configuration",
2683
+ "summary" : "Make the app say something",
2414
2684
  "tags" : [ "app" ]
2415
- },
2416
- "put" : {
2417
- "description" : "Update app configuration",
2418
- "operationId" : "updateAppConfiguration",
2685
+ }
2686
+ },
2687
+ "/apps/{appId}/messages" : {
2688
+ "post" : {
2689
+ "description" : "Submit new message",
2690
+ "operationId" : "submitNewMessage",
2419
2691
  "parameters" : [ {
2420
2692
  "description" : "ID of the app",
2421
2693
  "in" : "path",
@@ -2436,25 +2708,33 @@
2436
2708
  "content" : {
2437
2709
  "application/json" : {
2438
2710
  "schema" : {
2439
- "$ref" : "#/components/schemas/AppConfiguration"
2711
+ "$ref" : "#/components/schemas/AppSubmitMessageRequest"
2440
2712
  }
2441
2713
  }
2442
2714
  },
2443
2715
  "required" : true
2444
2716
  },
2445
2717
  "responses" : {
2446
- "204" : {
2447
- "description" : "App configuration updated successfully"
2718
+ "200" : {
2719
+ "content" : {
2720
+ "application/json" : {
2721
+ "schema" : {
2722
+ "additionalProperties" : true,
2723
+ "type" : "object"
2724
+ }
2725
+ }
2726
+ },
2727
+ "description" : "App message submitted successfully"
2448
2728
  }
2449
2729
  },
2450
- "summary" : "Update app configuration",
2730
+ "summary" : "Submit new message",
2451
2731
  "tags" : [ "app" ]
2452
2732
  }
2453
2733
  },
2454
- "/apps/{appId}/appConfiguration/files/{type}" : {
2734
+ "/apps/{appId}/status" : {
2455
2735
  "post" : {
2456
- "description" : "Add file to app configuration",
2457
- "operationId" : "addAppConfigurationFile",
2736
+ "description" : "Set app status",
2737
+ "operationId" : "setStatus",
2458
2738
  "parameters" : [ {
2459
2739
  "description" : "ID of the app",
2460
2740
  "in" : "path",
@@ -2464,10 +2744,9 @@
2464
2744
  "type" : "string"
2465
2745
  }
2466
2746
  }, {
2467
- "description" : "Type of the file",
2468
- "in" : "path",
2469
- "name" : "type",
2470
- "required" : true,
2747
+ "description" : "Instance id",
2748
+ "in" : "query",
2749
+ "name" : "instanceId",
2471
2750
  "schema" : {
2472
2751
  "type" : "string"
2473
2752
  }
@@ -2476,32 +2755,32 @@
2476
2755
  "content" : {
2477
2756
  "application/json" : {
2478
2757
  "schema" : {
2479
- "$ref" : "#/components/schemas/FileCreationRequest"
2758
+ "$ref" : "#/components/schemas/AppStatusRequest"
2480
2759
  }
2481
2760
  }
2482
2761
  },
2483
2762
  "required" : true
2484
2763
  },
2485
2764
  "responses" : {
2486
- "201" : {
2765
+ "200" : {
2487
2766
  "content" : {
2488
2767
  "application/json" : {
2489
2768
  "schema" : {
2490
- "$ref" : "#/components/schemas/FileCreationResponse"
2769
+ "$ref" : "#/components/schemas/AppStatusResponse"
2491
2770
  }
2492
2771
  }
2493
2772
  },
2494
- "description" : "File created successfully (return upload link)"
2773
+ "description" : "App status set successfully"
2495
2774
  }
2496
2775
  },
2497
- "summary" : "Add file to app configuration",
2776
+ "summary" : "Set app status",
2498
2777
  "tags" : [ "app" ]
2499
2778
  }
2500
2779
  },
2501
- "/apps/{appId}/interrupts" : {
2502
- "post" : {
2503
- "description" : "Interrupt app",
2504
- "operationId" : "interruptApp",
2780
+ "/apps/{appId}/probe" : {
2781
+ "get" : {
2782
+ "description" : "Probe the app",
2783
+ "operationId" : "getAppProbe",
2505
2784
  "parameters" : [ {
2506
2785
  "description" : "ID of the app",
2507
2786
  "in" : "path",
@@ -2519,31 +2798,23 @@
2519
2798
  }
2520
2799
  } ],
2521
2800
  "responses" : {
2522
- "201" : {
2801
+ "200" : {
2523
2802
  "content" : {
2524
2803
  "application/json" : {
2525
2804
  "schema" : {
2526
- "$ref" : "#/components/schemas/BodyWithId"
2805
+ "$ref" : "#/components/schemas/AppProbeResponse"
2527
2806
  }
2528
2807
  }
2529
2808
  },
2530
- "description" : "App interrupted"
2531
- },
2532
- "404" : {
2533
- "description" : "App not found"
2534
- },
2535
- "400" : {
2536
- "description" : "Invalid instance ID"
2809
+ "description" : "App probe retrieved successfully"
2537
2810
  }
2538
2811
  },
2539
- "summary" : "Interrupt app",
2812
+ "summary" : "Probe the app",
2540
2813
  "tags" : [ "app" ]
2541
- }
2542
- },
2543
- "/apps/{appId}/text-to-speech" : {
2814
+ },
2544
2815
  "post" : {
2545
- "description" : "Text to speech",
2546
- "operationId" : "textToSpeech",
2816
+ "description" : "Probe the app",
2817
+ "operationId" : "probeApp",
2547
2818
  "parameters" : [ {
2548
2819
  "description" : "ID of the app",
2549
2820
  "in" : "path",
@@ -2552,40 +2823,37 @@
2552
2823
  "schema" : {
2553
2824
  "type" : "string"
2554
2825
  }
2826
+ }, {
2827
+ "description" : "Instance id",
2828
+ "in" : "query",
2829
+ "name" : "instanceId",
2830
+ "schema" : {
2831
+ "type" : "string"
2832
+ }
2555
2833
  } ],
2556
2834
  "requestBody" : {
2557
2835
  "content" : {
2558
2836
  "application/json" : {
2559
2837
  "schema" : {
2560
- "$ref" : "#/components/schemas/AppTextToSpeechRequest"
2838
+ "$ref" : "#/components/schemas/AppProbeRequest"
2561
2839
  }
2562
2840
  }
2563
2841
  },
2564
2842
  "required" : true
2565
2843
  },
2566
2844
  "responses" : {
2567
- "201" : {
2568
- "content" : {
2569
- "application/json" : {
2570
- "schema" : {
2571
- "$ref" : "#/components/schemas/AppTextToSpeechResponse"
2572
- }
2573
- }
2574
- },
2575
- "description" : "Text to speech"
2576
- },
2577
- "404" : {
2578
- "description" : "App not found"
2845
+ "204" : {
2846
+ "description" : "App probed successfully"
2579
2847
  }
2580
2848
  },
2581
- "summary" : "Text to speech",
2849
+ "summary" : "Probe the app",
2582
2850
  "tags" : [ "app" ]
2583
2851
  }
2584
2852
  },
2585
- "/apps/{appId}/instances" : {
2586
- "get" : {
2587
- "description" : "List persisted instances for an app (excludes ephemeral instances)",
2588
- "operationId" : "getInstancesForAppId",
2853
+ "/apps/{appId}/probe/refresh" : {
2854
+ "post" : {
2855
+ "description" : "Refresh the app probe",
2856
+ "operationId" : "refreshAppProbe",
2589
2857
  "parameters" : [ {
2590
2858
  "description" : "ID of the app",
2591
2859
  "in" : "path",
@@ -2594,31 +2862,130 @@
2594
2862
  "schema" : {
2595
2863
  "type" : "string"
2596
2864
  }
2597
- } ],
2865
+ }, {
2866
+ "description" : "Instance id",
2867
+ "in" : "query",
2868
+ "name" : "instanceId",
2869
+ "schema" : {
2870
+ "type" : "string"
2871
+ }
2872
+ } ],
2873
+ "responses" : {
2874
+ "204" : {
2875
+ "description" : "App probe refreshed successfully"
2876
+ }
2877
+ },
2878
+ "summary" : "Refresh the app probe",
2879
+ "tags" : [ "app" ]
2880
+ }
2881
+ },
2882
+ "/apps/{appId}/appConfiguration" : {
2883
+ "delete" : {
2884
+ "description" : "Delete app configuration",
2885
+ "operationId" : "deleteAppConfiguration",
2886
+ "parameters" : [ {
2887
+ "description" : "ID of the app",
2888
+ "in" : "path",
2889
+ "name" : "appId",
2890
+ "required" : true,
2891
+ "schema" : {
2892
+ "type" : "string"
2893
+ }
2894
+ }, {
2895
+ "description" : "Instance id",
2896
+ "in" : "query",
2897
+ "name" : "instanceId",
2898
+ "schema" : {
2899
+ "type" : "string"
2900
+ }
2901
+ } ],
2902
+ "responses" : {
2903
+ "204" : {
2904
+ "description" : "App configuration deleted successfully"
2905
+ }
2906
+ },
2907
+ "summary" : "Delete app configuration",
2908
+ "tags" : [ "app" ]
2909
+ },
2910
+ "get" : {
2911
+ "description" : "Get app configuration",
2912
+ "operationId" : "getAppConfiguration",
2913
+ "parameters" : [ {
2914
+ "description" : "ID of the app",
2915
+ "in" : "path",
2916
+ "name" : "appId",
2917
+ "required" : true,
2918
+ "schema" : {
2919
+ "type" : "string"
2920
+ }
2921
+ }, {
2922
+ "description" : "Instance id",
2923
+ "in" : "query",
2924
+ "name" : "instanceId",
2925
+ "schema" : {
2926
+ "type" : "string"
2927
+ }
2928
+ } ],
2598
2929
  "responses" : {
2599
2930
  "200" : {
2600
2931
  "content" : {
2601
2932
  "application/json" : {
2602
2933
  "schema" : {
2603
- "items" : {
2604
- "$ref" : "#/components/schemas/AppInstanceListItem"
2605
- },
2606
- "type" : "array"
2934
+ "$ref" : "#/components/schemas/AppConfiguration"
2607
2935
  }
2608
2936
  }
2609
2937
  },
2610
- "description" : "Instances retrieved successfully"
2938
+ "description" : "App configuration retrieved successfully"
2611
2939
  },
2612
2940
  "404" : {
2613
- "description" : "App not found"
2941
+ "description" : "App configuration not found"
2614
2942
  }
2615
2943
  },
2616
- "summary" : "List app instances",
2944
+ "summary" : "Get app configuration",
2617
2945
  "tags" : [ "app" ]
2618
2946
  },
2947
+ "put" : {
2948
+ "description" : "Update app configuration",
2949
+ "operationId" : "updateAppConfiguration",
2950
+ "parameters" : [ {
2951
+ "description" : "ID of the app",
2952
+ "in" : "path",
2953
+ "name" : "appId",
2954
+ "required" : true,
2955
+ "schema" : {
2956
+ "type" : "string"
2957
+ }
2958
+ }, {
2959
+ "description" : "Instance id",
2960
+ "in" : "query",
2961
+ "name" : "instanceId",
2962
+ "schema" : {
2963
+ "type" : "string"
2964
+ }
2965
+ } ],
2966
+ "requestBody" : {
2967
+ "content" : {
2968
+ "application/json" : {
2969
+ "schema" : {
2970
+ "$ref" : "#/components/schemas/AppConfiguration"
2971
+ }
2972
+ }
2973
+ },
2974
+ "required" : true
2975
+ },
2976
+ "responses" : {
2977
+ "204" : {
2978
+ "description" : "App configuration updated successfully"
2979
+ }
2980
+ },
2981
+ "summary" : "Update app configuration",
2982
+ "tags" : [ "app" ]
2983
+ }
2984
+ },
2985
+ "/apps/{appId}/appConfiguration/files/{type}" : {
2619
2986
  "post" : {
2620
- "description" : "Create instance",
2621
- "operationId" : "createInstance",
2987
+ "description" : "Add file to app configuration",
2988
+ "operationId" : "addAppConfigurationFile",
2622
2989
  "parameters" : [ {
2623
2990
  "description" : "ID of the app",
2624
2991
  "in" : "path",
@@ -2627,12 +2994,20 @@
2627
2994
  "schema" : {
2628
2995
  "type" : "string"
2629
2996
  }
2997
+ }, {
2998
+ "description" : "Type of the file",
2999
+ "in" : "path",
3000
+ "name" : "type",
3001
+ "required" : true,
3002
+ "schema" : {
3003
+ "type" : "string"
3004
+ }
2630
3005
  } ],
2631
3006
  "requestBody" : {
2632
3007
  "content" : {
2633
3008
  "application/json" : {
2634
3009
  "schema" : {
2635
- "$ref" : "#/components/schemas/AppInstanceCreateRequest"
3010
+ "$ref" : "#/components/schemas/FileCreationRequest"
2636
3011
  }
2637
3012
  }
2638
3013
  },
@@ -2643,24 +3018,21 @@
2643
3018
  "content" : {
2644
3019
  "application/json" : {
2645
3020
  "schema" : {
2646
- "$ref" : "#/components/schemas/BodyWithId"
3021
+ "$ref" : "#/components/schemas/FileCreationResponse"
2647
3022
  }
2648
3023
  }
2649
3024
  },
2650
- "description" : "Instance created"
2651
- },
2652
- "404" : {
2653
- "description" : "App not found"
3025
+ "description" : "File created successfully (return upload link)"
2654
3026
  }
2655
3027
  },
2656
- "summary" : "Create instance",
3028
+ "summary" : "Add file to app configuration",
2657
3029
  "tags" : [ "app" ]
2658
3030
  }
2659
3031
  },
2660
- "/apps/{appId}/configuration/{property}" : {
2661
- "get" : {
2662
- "description" : "Get app configuration property",
2663
- "operationId" : "getAppConfigurationProperty",
3032
+ "/apps/{appId}/interrupts" : {
3033
+ "post" : {
3034
+ "description" : "Interrupt app",
3035
+ "operationId" : "interruptApp",
2664
3036
  "parameters" : [ {
2665
3037
  "description" : "ID of the app",
2666
3038
  "in" : "path",
@@ -2670,37 +3042,39 @@
2670
3042
  "type" : "string"
2671
3043
  }
2672
3044
  }, {
2673
- "description" : "Property to retrieve",
2674
- "in" : "path",
2675
- "name" : "property",
2676
- "required" : true,
3045
+ "description" : "Instance id",
3046
+ "in" : "query",
3047
+ "name" : "instanceId",
2677
3048
  "schema" : {
2678
3049
  "type" : "string"
2679
3050
  }
2680
3051
  } ],
2681
3052
  "responses" : {
2682
- "200" : {
3053
+ "201" : {
2683
3054
  "content" : {
2684
- "text/plain" : {
3055
+ "application/json" : {
2685
3056
  "schema" : {
2686
- "type" : "string"
3057
+ "$ref" : "#/components/schemas/BodyWithId"
2687
3058
  }
2688
3059
  }
2689
3060
  },
2690
- "description" : "App configuration property"
3061
+ "description" : "App interrupted"
2691
3062
  },
2692
3063
  "404" : {
2693
- "description" : "App not found or invalid property"
3064
+ "description" : "App not found"
3065
+ },
3066
+ "400" : {
3067
+ "description" : "Invalid instance ID"
2694
3068
  }
2695
3069
  },
2696
- "summary" : "Get app configuration property",
3070
+ "summary" : "Interrupt app",
2697
3071
  "tags" : [ "app" ]
2698
3072
  }
2699
3073
  },
2700
- "/apps/{appId}/animations" : {
3074
+ "/apps/{appId}/text-to-speech" : {
2701
3075
  "post" : {
2702
- "description" : "Add an animation to an app",
2703
- "operationId" : "addAnimation",
3076
+ "description" : "Text to speech",
3077
+ "operationId" : "textToSpeech",
2704
3078
  "parameters" : [ {
2705
3079
  "description" : "ID of the app",
2706
3080
  "in" : "path",
@@ -2714,7 +3088,7 @@
2714
3088
  "content" : {
2715
3089
  "application/json" : {
2716
3090
  "schema" : {
2717
- "$ref" : "#/components/schemas/AnimationCreateRequest"
3091
+ "$ref" : "#/components/schemas/AppTextToSpeechRequest"
2718
3092
  }
2719
3093
  }
2720
3094
  },
@@ -2725,24 +3099,24 @@
2725
3099
  "content" : {
2726
3100
  "application/json" : {
2727
3101
  "schema" : {
2728
- "$ref" : "#/components/schemas/BodyWithId"
3102
+ "$ref" : "#/components/schemas/AppTextToSpeechResponse"
2729
3103
  }
2730
3104
  }
2731
3105
  },
2732
- "description" : "Animation added successfully"
3106
+ "description" : "Text to speech"
2733
3107
  },
2734
- "409" : {
2735
- "description" : "Animation already exists"
3108
+ "404" : {
3109
+ "description" : "App not found"
2736
3110
  }
2737
3111
  },
2738
- "summary" : "Add an animation to an app",
3112
+ "summary" : "Text to speech",
2739
3113
  "tags" : [ "app" ]
2740
3114
  }
2741
3115
  },
2742
- "/apps/{appId}/animations/{animationId}" : {
2743
- "delete" : {
2744
- "description" : "Remove an animation from an app",
2745
- "operationId" : "removeAnimation",
3116
+ "/apps/{appId}/instances" : {
3117
+ "get" : {
3118
+ "description" : "List persisted instances for an app (excludes ephemeral instances)",
3119
+ "operationId" : "getInstancesForAppId",
2746
3120
  "parameters" : [ {
2747
3121
  "description" : "ID of the app",
2748
3122
  "in" : "path",
@@ -2751,38 +3125,31 @@
2751
3125
  "schema" : {
2752
3126
  "type" : "string"
2753
3127
  }
2754
- }, {
2755
- "description" : "ID of the animation",
2756
- "in" : "path",
2757
- "name" : "animationId",
2758
- "required" : true,
2759
- "schema" : {
2760
- "type" : "string"
2761
- }
2762
3128
  } ],
2763
3129
  "responses" : {
2764
3130
  "200" : {
2765
3131
  "content" : {
2766
3132
  "application/json" : {
2767
3133
  "schema" : {
2768
- "$ref" : "#/components/schemas/BodyWithMessage"
3134
+ "items" : {
3135
+ "$ref" : "#/components/schemas/AppInstanceListItem"
3136
+ },
3137
+ "type" : "array"
2769
3138
  }
2770
3139
  }
2771
3140
  },
2772
- "description" : "Animation removed successfully"
3141
+ "description" : "Instances retrieved successfully"
2773
3142
  },
2774
3143
  "404" : {
2775
- "description" : "Animation not found"
3144
+ "description" : "App not found"
2776
3145
  }
2777
3146
  },
2778
- "summary" : "Remove an animation from an app",
3147
+ "summary" : "List app instances",
2779
3148
  "tags" : [ "app" ]
2780
- }
2781
- },
2782
- "/apps/{appId}/sequences" : {
3149
+ },
2783
3150
  "post" : {
2784
- "description" : "Add a sequence to an app",
2785
- "operationId" : "addSequence",
3151
+ "description" : "Create instance",
3152
+ "operationId" : "createInstance",
2786
3153
  "parameters" : [ {
2787
3154
  "description" : "ID of the app",
2788
3155
  "in" : "path",
@@ -2796,7 +3163,7 @@
2796
3163
  "content" : {
2797
3164
  "application/json" : {
2798
3165
  "schema" : {
2799
- "$ref" : "#/components/schemas/SequenceCreateRequest"
3166
+ "$ref" : "#/components/schemas/AppInstanceCreateRequest"
2800
3167
  }
2801
3168
  }
2802
3169
  },
@@ -2811,20 +3178,20 @@
2811
3178
  }
2812
3179
  }
2813
3180
  },
2814
- "description" : "Sequence added successfully"
3181
+ "description" : "Instance created"
2815
3182
  },
2816
- "409" : {
2817
- "description" : "Sequence already exists"
3183
+ "404" : {
3184
+ "description" : "App not found"
2818
3185
  }
2819
3186
  },
2820
- "summary" : "Add a sequence to an app",
3187
+ "summary" : "Create instance",
2821
3188
  "tags" : [ "app" ]
2822
3189
  }
2823
3190
  },
2824
- "/apps/{appId}/sequences/{sequenceId}" : {
2825
- "delete" : {
2826
- "description" : "Remove a sequence from an app",
2827
- "operationId" : "removeSequence",
3191
+ "/apps/{appId}/configuration/{property}" : {
3192
+ "get" : {
3193
+ "description" : "Get app configuration property",
3194
+ "operationId" : "getAppConfigurationProperty",
2828
3195
  "parameters" : [ {
2829
3196
  "description" : "ID of the app",
2830
3197
  "in" : "path",
@@ -2834,9 +3201,9 @@
2834
3201
  "type" : "string"
2835
3202
  }
2836
3203
  }, {
2837
- "description" : "ID of the sequence",
3204
+ "description" : "Property to retrieve",
2838
3205
  "in" : "path",
2839
- "name" : "sequenceId",
3206
+ "name" : "property",
2840
3207
  "required" : true,
2841
3208
  "schema" : {
2842
3209
  "type" : "string"
@@ -2845,26 +3212,190 @@
2845
3212
  "responses" : {
2846
3213
  "200" : {
2847
3214
  "content" : {
2848
- "application/json" : {
3215
+ "text/plain" : {
2849
3216
  "schema" : {
2850
- "$ref" : "#/components/schemas/BodyWithMessage"
3217
+ "type" : "string"
2851
3218
  }
2852
3219
  }
2853
3220
  },
2854
- "description" : "Sequence removed successfully"
3221
+ "description" : "App configuration property"
2855
3222
  },
2856
3223
  "404" : {
2857
- "description" : "Sequence not found"
3224
+ "description" : "App not found or invalid property"
2858
3225
  }
2859
3226
  },
2860
- "summary" : "Remove a sequence from an app",
3227
+ "summary" : "Get app configuration property",
2861
3228
  "tags" : [ "app" ]
2862
3229
  }
2863
3230
  },
2864
- "/apps/{appId}/conversations" : {
2865
- "get" : {
2866
- "description" : "Get paginated conversations for an app",
2867
- "operationId" : "getAppConversations",
3231
+ "/apps/{appId}/animations" : {
3232
+ "post" : {
3233
+ "description" : "Add an animation to an app",
3234
+ "operationId" : "addAnimation",
3235
+ "parameters" : [ {
3236
+ "description" : "ID of the app",
3237
+ "in" : "path",
3238
+ "name" : "appId",
3239
+ "required" : true,
3240
+ "schema" : {
3241
+ "type" : "string"
3242
+ }
3243
+ } ],
3244
+ "requestBody" : {
3245
+ "content" : {
3246
+ "application/json" : {
3247
+ "schema" : {
3248
+ "$ref" : "#/components/schemas/AnimationCreateRequest"
3249
+ }
3250
+ }
3251
+ },
3252
+ "required" : true
3253
+ },
3254
+ "responses" : {
3255
+ "201" : {
3256
+ "content" : {
3257
+ "application/json" : {
3258
+ "schema" : {
3259
+ "$ref" : "#/components/schemas/BodyWithId"
3260
+ }
3261
+ }
3262
+ },
3263
+ "description" : "Animation added successfully"
3264
+ },
3265
+ "409" : {
3266
+ "description" : "Animation already exists"
3267
+ }
3268
+ },
3269
+ "summary" : "Add an animation to an app",
3270
+ "tags" : [ "app" ]
3271
+ }
3272
+ },
3273
+ "/apps/{appId}/animations/{animationId}" : {
3274
+ "delete" : {
3275
+ "description" : "Remove an animation from an app",
3276
+ "operationId" : "removeAnimation",
3277
+ "parameters" : [ {
3278
+ "description" : "ID of the app",
3279
+ "in" : "path",
3280
+ "name" : "appId",
3281
+ "required" : true,
3282
+ "schema" : {
3283
+ "type" : "string"
3284
+ }
3285
+ }, {
3286
+ "description" : "ID of the animation",
3287
+ "in" : "path",
3288
+ "name" : "animationId",
3289
+ "required" : true,
3290
+ "schema" : {
3291
+ "type" : "string"
3292
+ }
3293
+ } ],
3294
+ "responses" : {
3295
+ "200" : {
3296
+ "content" : {
3297
+ "application/json" : {
3298
+ "schema" : {
3299
+ "$ref" : "#/components/schemas/BodyWithMessage"
3300
+ }
3301
+ }
3302
+ },
3303
+ "description" : "Animation removed successfully"
3304
+ },
3305
+ "404" : {
3306
+ "description" : "Animation not found"
3307
+ }
3308
+ },
3309
+ "summary" : "Remove an animation from an app",
3310
+ "tags" : [ "app" ]
3311
+ }
3312
+ },
3313
+ "/apps/{appId}/sequences" : {
3314
+ "post" : {
3315
+ "description" : "Add a sequence to an app",
3316
+ "operationId" : "addSequence",
3317
+ "parameters" : [ {
3318
+ "description" : "ID of the app",
3319
+ "in" : "path",
3320
+ "name" : "appId",
3321
+ "required" : true,
3322
+ "schema" : {
3323
+ "type" : "string"
3324
+ }
3325
+ } ],
3326
+ "requestBody" : {
3327
+ "content" : {
3328
+ "application/json" : {
3329
+ "schema" : {
3330
+ "$ref" : "#/components/schemas/SequenceCreateRequest"
3331
+ }
3332
+ }
3333
+ },
3334
+ "required" : true
3335
+ },
3336
+ "responses" : {
3337
+ "201" : {
3338
+ "content" : {
3339
+ "application/json" : {
3340
+ "schema" : {
3341
+ "$ref" : "#/components/schemas/BodyWithId"
3342
+ }
3343
+ }
3344
+ },
3345
+ "description" : "Sequence added successfully"
3346
+ },
3347
+ "409" : {
3348
+ "description" : "Sequence already exists"
3349
+ }
3350
+ },
3351
+ "summary" : "Add a sequence to an app",
3352
+ "tags" : [ "app" ]
3353
+ }
3354
+ },
3355
+ "/apps/{appId}/sequences/{sequenceId}" : {
3356
+ "delete" : {
3357
+ "description" : "Remove a sequence from an app",
3358
+ "operationId" : "removeSequence",
3359
+ "parameters" : [ {
3360
+ "description" : "ID of the app",
3361
+ "in" : "path",
3362
+ "name" : "appId",
3363
+ "required" : true,
3364
+ "schema" : {
3365
+ "type" : "string"
3366
+ }
3367
+ }, {
3368
+ "description" : "ID of the sequence",
3369
+ "in" : "path",
3370
+ "name" : "sequenceId",
3371
+ "required" : true,
3372
+ "schema" : {
3373
+ "type" : "string"
3374
+ }
3375
+ } ],
3376
+ "responses" : {
3377
+ "200" : {
3378
+ "content" : {
3379
+ "application/json" : {
3380
+ "schema" : {
3381
+ "$ref" : "#/components/schemas/BodyWithMessage"
3382
+ }
3383
+ }
3384
+ },
3385
+ "description" : "Sequence removed successfully"
3386
+ },
3387
+ "404" : {
3388
+ "description" : "Sequence not found"
3389
+ }
3390
+ },
3391
+ "summary" : "Remove a sequence from an app",
3392
+ "tags" : [ "app" ]
3393
+ }
3394
+ },
3395
+ "/apps/{appId}/conversations" : {
3396
+ "get" : {
3397
+ "description" : "Get paginated conversations for an app",
3398
+ "operationId" : "getAppConversations",
2868
3399
  "parameters" : [ {
2869
3400
  "description" : "ID of the app",
2870
3401
  "in" : "path",
@@ -3413,21 +3944,24 @@
3413
3944
  },
3414
3945
  "/configuration/upload-limits" : {
3415
3946
  "get" : {
3416
- "description" : "Returns max file size for conversation context attachments (from server configuration).",
3947
+ "description" : "Retrieves file upload size limits for the application",
3417
3948
  "operationId" : "getUploadLimits",
3418
3949
  "responses" : {
3419
3950
  "200" : {
3420
3951
  "content" : {
3421
3952
  "application/json" : {
3422
3953
  "schema" : {
3423
- "$ref" : "#/components/schemas/UploadLimitsResponse"
3954
+ "$ref" : "#/components/schemas/getUploadLimits_200_response"
3424
3955
  }
3425
3956
  }
3426
3957
  },
3427
3958
  "description" : "Upload limits"
3959
+ },
3960
+ "401" : {
3961
+ "description" : "Unauthorized"
3428
3962
  }
3429
3963
  },
3430
- "summary" : "Get conversation upload limits",
3964
+ "summary" : "Get upload limits",
3431
3965
  "tags" : [ "configuration" ]
3432
3966
  }
3433
3967
  },
@@ -8566,11 +9100,10 @@
8566
9100
  }
8567
9101
  },
8568
9102
  "sortOrder" : {
8569
- "description" : "Sort conversations by last activity (asc = oldest first, desc = most recent first)",
9103
+ "description" : "Sort order for results",
8570
9104
  "in" : "query",
8571
9105
  "name" : "sortOrder",
8572
9106
  "schema" : {
8573
- "default" : "desc",
8574
9107
  "enum" : [ "asc", "desc" ],
8575
9108
  "type" : "string"
8576
9109
  }
@@ -8611,6 +9144,24 @@
8611
9144
  "type" : "string"
8612
9145
  }
8613
9146
  },
9147
+ "taskIdPath" : {
9148
+ "description" : "ID of the scheduled task",
9149
+ "in" : "path",
9150
+ "name" : "taskId",
9151
+ "required" : true,
9152
+ "schema" : {
9153
+ "type" : "string"
9154
+ }
9155
+ },
9156
+ "runIdPath" : {
9157
+ "description" : "ID of the scheduled task run",
9158
+ "in" : "path",
9159
+ "name" : "runId",
9160
+ "required" : true,
9161
+ "schema" : {
9162
+ "type" : "string"
9163
+ }
9164
+ },
8614
9165
  "appIdPath" : {
8615
9166
  "description" : "ID of the app",
8616
9167
  "in" : "path",
@@ -10087,6 +10638,11 @@
10087
10638
  "id" : {
10088
10639
  "type" : "string"
10089
10640
  },
10641
+ "type" : {
10642
+ "enum" : [ "chat", "task" ],
10643
+ "nullable" : true,
10644
+ "type" : "string"
10645
+ },
10090
10646
  "title" : {
10091
10647
  "nullable" : true,
10092
10648
  "type" : "string"
@@ -10170,223 +10726,529 @@
10170
10726
  "flowNode" : {
10171
10727
  "type" : "string"
10172
10728
  },
10173
- "flowNodeRequirementsChecked" : {
10174
- "type" : "boolean"
10729
+ "flowNodeRequirementsChecked" : {
10730
+ "type" : "boolean"
10731
+ },
10732
+ "flowNodeRequirementsMet" : {
10733
+ "type" : "boolean"
10734
+ },
10735
+ "flowNodeRequirementsCheckReason" : {
10736
+ "type" : "string"
10737
+ },
10738
+ "flowNodeIterations" : {
10739
+ "type" : "number"
10740
+ },
10741
+ "timestamp" : {
10742
+ "type" : "string"
10743
+ },
10744
+ "actions" : {
10745
+ "items" : {
10746
+ "$ref" : "#/components/schemas/ToolAction"
10747
+ },
10748
+ "type" : "array"
10749
+ },
10750
+ "attachments" : {
10751
+ "items" : {
10752
+ "$ref" : "#/components/schemas/FileAttachment"
10753
+ },
10754
+ "type" : "array"
10755
+ },
10756
+ "audio" : {
10757
+ "items" : {
10758
+ "$ref" : "#/components/schemas/ChatMessage_audio_inner"
10759
+ },
10760
+ "type" : "array"
10761
+ },
10762
+ "stream" : {
10763
+ "$ref" : "#/components/schemas/ChatMessage_stream"
10764
+ },
10765
+ "reasoning" : {
10766
+ "nullable" : true,
10767
+ "type" : "string"
10768
+ },
10769
+ "usage" : {
10770
+ "$ref" : "#/components/schemas/TokenUsage"
10771
+ }
10772
+ },
10773
+ "required" : [ "content", "id", "role", "timestamp" ],
10774
+ "type" : "object"
10775
+ },
10776
+ "ToolResults" : {
10777
+ "properties" : {
10778
+ "tool" : {
10779
+ "$ref" : "#/components/schemas/ToolResults_tool"
10780
+ },
10781
+ "result" : {
10782
+ "$ref" : "#/components/schemas/ToolResult"
10783
+ },
10784
+ "error" : {
10785
+ "type" : "string"
10786
+ },
10787
+ "status" : {
10788
+ "enum" : [ "ok", "error" ],
10789
+ "type" : "string"
10790
+ }
10791
+ },
10792
+ "type" : "object"
10793
+ },
10794
+ "ToolResult" : {
10795
+ "properties" : {
10796
+ "text" : {
10797
+ "type" : "string"
10798
+ },
10799
+ "askConfirmation" : {
10800
+ "type" : "boolean"
10801
+ },
10802
+ "confirmationLink" : {
10803
+ "type" : "string"
10804
+ },
10805
+ "actions" : {
10806
+ "items" : {
10807
+ "$ref" : "#/components/schemas/ToolAction"
10808
+ },
10809
+ "type" : "array"
10810
+ }
10811
+ },
10812
+ "required" : [ "text" ],
10813
+ "type" : "object"
10814
+ },
10815
+ "ToolAction" : {
10816
+ "additionalProperties" : true,
10817
+ "properties" : {
10818
+ "code" : {
10819
+ "type" : "string"
10820
+ }
10821
+ },
10822
+ "required" : [ "code" ],
10823
+ "type" : "object"
10824
+ },
10825
+ "Suggestion" : {
10826
+ "properties" : {
10827
+ "id" : {
10828
+ "type" : "string"
10829
+ },
10830
+ "text" : {
10831
+ "type" : "string"
10832
+ }
10833
+ },
10834
+ "required" : [ "id", "text" ],
10835
+ "type" : "object"
10836
+ },
10837
+ "FileAttachment" : {
10838
+ "properties" : {
10839
+ "type" : {
10840
+ "$ref" : "#/components/schemas/AttachmentType"
10841
+ },
10842
+ "id" : {
10843
+ "type" : "string"
10844
+ },
10845
+ "name" : {
10846
+ "type" : "string"
10847
+ },
10848
+ "mimeType" : {
10849
+ "type" : "string"
10850
+ },
10851
+ "ext" : {
10852
+ "type" : "string"
10853
+ },
10854
+ "size" : {
10855
+ "type" : "number"
10856
+ },
10857
+ "key" : {
10858
+ "type" : "string"
10859
+ },
10860
+ "url" : {
10861
+ "type" : "string"
10862
+ },
10863
+ "status" : {
10864
+ "$ref" : "#/components/schemas/FileAttachmentStatus"
10865
+ },
10866
+ "processed" : {
10867
+ "$ref" : "#/components/schemas/FileAttachment_processed"
10868
+ }
10869
+ },
10870
+ "required" : [ "ext", "id", "key", "mimeType", "name", "size", "status", "type" ],
10871
+ "type" : "object"
10872
+ },
10873
+ "TokenUsage" : {
10874
+ "properties" : {
10875
+ "inputTokens" : {
10876
+ "type" : "number"
10877
+ },
10878
+ "outputTokens" : {
10879
+ "type" : "number"
10880
+ },
10881
+ "reasoningTokens" : {
10882
+ "type" : "number"
10883
+ },
10884
+ "totalTokens" : {
10885
+ "type" : "number"
10886
+ }
10887
+ },
10888
+ "required" : [ "inputTokens", "outputTokens", "reasoningTokens", "totalTokens" ],
10889
+ "type" : "object"
10890
+ },
10891
+ "ChatContext" : {
10892
+ "properties" : {
10893
+ "attachments" : {
10894
+ "items" : {
10895
+ "$ref" : "#/components/schemas/FileAttachment"
10896
+ },
10897
+ "type" : "array"
10898
+ },
10899
+ "location" : {
10900
+ "$ref" : "#/components/schemas/ChatContext_location"
10901
+ },
10902
+ "custom" : {
10903
+ "additionalProperties" : true,
10904
+ "type" : "object"
10905
+ },
10906
+ "openaiThreadId" : {
10907
+ "type" : "string"
10908
+ }
10909
+ },
10910
+ "required" : [ "attachments" ],
10911
+ "type" : "object"
10912
+ },
10913
+ "PromptFlowCreateRequest" : {
10914
+ "properties" : {
10915
+ "lang" : {
10916
+ "description" : "Language code (e.g., 'en', 'fr')",
10917
+ "maxLength" : 2,
10918
+ "type" : "string"
10919
+ },
10920
+ "customUserId" : {
10921
+ "description" : "Optional custom user identifier",
10922
+ "type" : "string"
10923
+ },
10924
+ "type" : {
10925
+ "description" : "Type of conversation (defaults to 'chat')",
10926
+ "enum" : [ "chat", "task" ],
10927
+ "type" : "string"
10928
+ }
10929
+ },
10930
+ "required" : [ "lang" ],
10931
+ "type" : "object"
10932
+ },
10933
+ "MessageAudioDownloadUrl" : {
10934
+ "properties" : {
10935
+ "url" : {
10936
+ "description" : "Presigned download URL for the message audio file",
10937
+ "type" : "string"
10938
+ }
10939
+ },
10940
+ "required" : [ "url" ],
10941
+ "type" : "object"
10942
+ },
10943
+ "ConversationAttachmentDownloadUrl" : {
10944
+ "properties" : {
10945
+ "url" : {
10946
+ "description" : "Presigned download URL or inline data URL for the image attachment",
10947
+ "type" : "string"
10948
+ }
10949
+ },
10950
+ "required" : [ "url" ],
10951
+ "type" : "object"
10952
+ },
10953
+ "ScheduledTaskList" : {
10954
+ "properties" : {
10955
+ "tasks" : {
10956
+ "items" : {
10957
+ "$ref" : "#/components/schemas/ScheduledTask"
10958
+ },
10959
+ "type" : "array"
10960
+ },
10961
+ "total" : {
10962
+ "type" : "integer"
10963
+ }
10964
+ },
10965
+ "required" : [ "tasks", "total" ],
10966
+ "type" : "object"
10967
+ },
10968
+ "ScheduledTask" : {
10969
+ "properties" : {
10970
+ "id" : {
10971
+ "type" : "string"
10972
+ },
10973
+ "agentId" : {
10974
+ "type" : "string"
10975
+ },
10976
+ "organizationId" : {
10977
+ "type" : "string"
10978
+ },
10979
+ "name" : {
10980
+ "type" : "string"
10981
+ },
10982
+ "message" : {
10983
+ "type" : "string"
10984
+ },
10985
+ "mode" : {
10986
+ "enum" : [ "once", "recurring" ],
10987
+ "type" : "string"
10988
+ },
10989
+ "status" : {
10990
+ "enum" : [ "active", "paused", "done" ],
10991
+ "type" : "string"
10992
+ },
10993
+ "schedule" : {
10994
+ "$ref" : "#/components/schemas/TaskSchedule"
10995
+ },
10996
+ "cronExpression" : {
10997
+ "type" : "string"
10998
+ },
10999
+ "timezone" : {
11000
+ "type" : "string"
11001
+ },
11002
+ "lang" : {
11003
+ "type" : "string"
11004
+ },
11005
+ "callbackUrl" : {
11006
+ "type" : "string"
11007
+ },
11008
+ "runCount" : {
11009
+ "type" : "integer"
11010
+ },
11011
+ "nextRunAt" : {
11012
+ "format" : "date-time",
11013
+ "type" : "string"
11014
+ },
11015
+ "endedAt" : {
11016
+ "format" : "date-time",
11017
+ "type" : "string"
10175
11018
  },
10176
- "flowNodeRequirementsMet" : {
10177
- "type" : "boolean"
11019
+ "createdAt" : {
11020
+ "format" : "date-time",
11021
+ "type" : "string"
10178
11022
  },
10179
- "flowNodeRequirementsCheckReason" : {
11023
+ "updatedAt" : {
11024
+ "format" : "date-time",
11025
+ "type" : "string"
11026
+ }
11027
+ },
11028
+ "required" : [ "agentId", "createdAt", "cronExpression", "id", "lang", "message", "mode", "organizationId", "runCount", "schedule", "status", "timezone", "updatedAt" ],
11029
+ "type" : "object"
11030
+ },
11031
+ "TaskSchedule" : {
11032
+ "properties" : {
11033
+ "at" : {
10180
11034
  "type" : "string"
10181
11035
  },
10182
- "flowNodeIterations" : {
10183
- "type" : "number"
11036
+ "freq" : {
11037
+ "enum" : [ "minute", "interval", "daily", "weekly", "monthly", "cron" ],
11038
+ "type" : "string"
10184
11039
  },
10185
- "timestamp" : {
11040
+ "time" : {
11041
+ "pattern" : "^([01]\\d|2[0-3]):[0-5]\\d$",
10186
11042
  "type" : "string"
10187
11043
  },
10188
- "actions" : {
11044
+ "days" : {
10189
11045
  "items" : {
10190
- "$ref" : "#/components/schemas/ToolAction"
11046
+ "maximum" : 6,
11047
+ "minimum" : 0,
11048
+ "type" : "integer"
10191
11049
  },
10192
11050
  "type" : "array"
10193
11051
  },
10194
- "attachments" : {
10195
- "items" : {
10196
- "$ref" : "#/components/schemas/FileAttachment"
10197
- },
10198
- "type" : "array"
11052
+ "dom" : {
11053
+ "maximum" : 31,
11054
+ "minimum" : 1,
11055
+ "type" : "integer"
10199
11056
  },
10200
- "audio" : {
10201
- "items" : {
10202
- "$ref" : "#/components/schemas/ChatMessage_audio_inner"
10203
- },
10204
- "type" : "array"
11057
+ "interval" : {
11058
+ "$ref" : "#/components/schemas/TaskScheduleInterval"
10205
11059
  },
10206
- "stream" : {
10207
- "$ref" : "#/components/schemas/ChatMessage_stream"
11060
+ "cron" : {
11061
+ "type" : "string"
10208
11062
  },
10209
- "reasoning" : {
10210
- "nullable" : true,
11063
+ "start" : {
10211
11064
  "type" : "string"
10212
11065
  },
10213
- "usage" : {
10214
- "$ref" : "#/components/schemas/TokenUsage"
11066
+ "end" : {
11067
+ "$ref" : "#/components/schemas/TaskScheduleEnd"
10215
11068
  }
10216
11069
  },
10217
- "required" : [ "content", "id", "role", "timestamp" ],
10218
11070
  "type" : "object"
10219
11071
  },
10220
- "ToolResults" : {
11072
+ "TaskScheduleInterval" : {
10221
11073
  "properties" : {
10222
- "tool" : {
10223
- "$ref" : "#/components/schemas/ToolResults_tool"
10224
- },
10225
- "result" : {
10226
- "$ref" : "#/components/schemas/ToolResult"
10227
- },
10228
- "error" : {
10229
- "type" : "string"
11074
+ "n" : {
11075
+ "minimum" : 1,
11076
+ "type" : "integer"
10230
11077
  },
10231
- "status" : {
10232
- "enum" : [ "ok", "error" ],
11078
+ "unit" : {
11079
+ "enum" : [ "minutes", "hours", "days" ],
10233
11080
  "type" : "string"
10234
11081
  }
10235
11082
  },
11083
+ "required" : [ "n", "unit" ],
10236
11084
  "type" : "object"
10237
11085
  },
10238
- "ToolResult" : {
11086
+ "TaskScheduleEnd" : {
11087
+ "oneOf" : [ {
11088
+ "$ref" : "#/components/schemas/TaskScheduleEnd_oneOf"
11089
+ }, {
11090
+ "$ref" : "#/components/schemas/TaskScheduleEnd_oneOf_1"
11091
+ }, {
11092
+ "$ref" : "#/components/schemas/TaskScheduleEnd_oneOf_2"
11093
+ } ],
11094
+ "type" : "object"
11095
+ },
11096
+ "ScheduledTaskCreate" : {
10239
11097
  "properties" : {
10240
- "text" : {
11098
+ "message" : {
11099
+ "minLength" : 1,
10241
11100
  "type" : "string"
10242
11101
  },
10243
- "askConfirmation" : {
10244
- "type" : "boolean"
11102
+ "mode" : {
11103
+ "enum" : [ "once", "recurring" ],
11104
+ "type" : "string"
10245
11105
  },
10246
- "confirmationLink" : {
11106
+ "schedule" : {
11107
+ "$ref" : "#/components/schemas/TaskSchedule"
11108
+ },
11109
+ "name" : {
10247
11110
  "type" : "string"
10248
11111
  },
10249
- "actions" : {
10250
- "items" : {
10251
- "$ref" : "#/components/schemas/ToolAction"
10252
- },
10253
- "type" : "array"
11112
+ "timezone" : {
11113
+ "type" : "string"
11114
+ },
11115
+ "callbackUrl" : {
11116
+ "format" : "uri",
11117
+ "type" : "string"
11118
+ },
11119
+ "lang" : {
11120
+ "minLength" : 2,
11121
+ "type" : "string"
10254
11122
  }
10255
11123
  },
10256
- "required" : [ "text" ],
11124
+ "required" : [ "message", "mode", "schedule" ],
10257
11125
  "type" : "object"
10258
11126
  },
10259
- "ToolAction" : {
10260
- "additionalProperties" : true,
11127
+ "ScheduledTaskStatusToggle" : {
10261
11128
  "properties" : {
10262
- "code" : {
11129
+ "status" : {
11130
+ "enum" : [ "active", "paused" ],
10263
11131
  "type" : "string"
10264
11132
  }
10265
11133
  },
10266
- "required" : [ "code" ],
11134
+ "required" : [ "status" ],
10267
11135
  "type" : "object"
10268
11136
  },
10269
- "Suggestion" : {
11137
+ "ScheduledTaskStatusResponse" : {
10270
11138
  "properties" : {
10271
- "id" : {
11139
+ "status" : {
11140
+ "enum" : [ "active", "paused" ],
10272
11141
  "type" : "string"
10273
11142
  },
10274
- "text" : {
11143
+ "nextRunAt" : {
11144
+ "format" : "date-time",
11145
+ "nullable" : true,
10275
11146
  "type" : "string"
10276
11147
  }
10277
11148
  },
10278
- "required" : [ "id", "text" ],
11149
+ "required" : [ "status" ],
10279
11150
  "type" : "object"
10280
11151
  },
10281
- "FileAttachment" : {
11152
+ "ScheduledTaskManualRunResponse" : {
10282
11153
  "properties" : {
10283
- "type" : {
10284
- "$ref" : "#/components/schemas/AttachmentType"
11154
+ "runId" : {
11155
+ "type" : "string"
11156
+ }
11157
+ },
11158
+ "required" : [ "runId" ],
11159
+ "type" : "object"
11160
+ },
11161
+ "ScheduledTaskRunList" : {
11162
+ "properties" : {
11163
+ "runs" : {
11164
+ "items" : {
11165
+ "$ref" : "#/components/schemas/ScheduledTaskRun"
11166
+ },
11167
+ "type" : "array"
10285
11168
  },
11169
+ "nextRun" : {
11170
+ "format" : "date-time",
11171
+ "nullable" : true,
11172
+ "type" : "string"
11173
+ }
11174
+ },
11175
+ "required" : [ "nextRun", "runs" ],
11176
+ "type" : "object"
11177
+ },
11178
+ "ScheduledTaskRun" : {
11179
+ "properties" : {
10286
11180
  "id" : {
10287
11181
  "type" : "string"
10288
11182
  },
10289
- "name" : {
11183
+ "taskId" : {
10290
11184
  "type" : "string"
10291
11185
  },
10292
- "mimeType" : {
11186
+ "status" : {
11187
+ "enum" : [ "pending", "running", "success", "error", "failed_permanently" ],
10293
11188
  "type" : "string"
10294
11189
  },
10295
- "ext" : {
11190
+ "prompt" : {
10296
11191
  "type" : "string"
10297
11192
  },
10298
- "size" : {
10299
- "type" : "number"
10300
- },
10301
- "key" : {
11193
+ "conversationId" : {
10302
11194
  "type" : "string"
10303
11195
  },
10304
- "url" : {
11196
+ "triggeredAt" : {
11197
+ "format" : "date-time",
10305
11198
  "type" : "string"
10306
11199
  },
10307
- "status" : {
10308
- "$ref" : "#/components/schemas/FileAttachmentStatus"
11200
+ "startedAt" : {
11201
+ "format" : "date-time",
11202
+ "type" : "string"
10309
11203
  },
10310
- "processed" : {
10311
- "$ref" : "#/components/schemas/FileAttachment_processed"
10312
- }
10313
- },
10314
- "required" : [ "ext", "id", "key", "mimeType", "name", "size", "status", "type" ],
10315
- "type" : "object"
10316
- },
10317
- "TokenUsage" : {
10318
- "properties" : {
10319
- "inputTokens" : {
10320
- "type" : "number"
11204
+ "finishedAt" : {
11205
+ "format" : "date-time",
11206
+ "type" : "string"
10321
11207
  },
10322
- "outputTokens" : {
10323
- "type" : "number"
11208
+ "claimedAt" : {
11209
+ "format" : "date-time",
11210
+ "type" : "string"
10324
11211
  },
10325
- "reasoningTokens" : {
10326
- "type" : "number"
11212
+ "retryCount" : {
11213
+ "type" : "integer"
10327
11214
  },
10328
- "totalTokens" : {
10329
- "type" : "number"
10330
- }
10331
- },
10332
- "required" : [ "inputTokens", "outputTokens", "reasoningTokens", "totalTokens" ],
10333
- "type" : "object"
10334
- },
10335
- "ChatContext" : {
10336
- "properties" : {
10337
- "attachments" : {
11215
+ "steps" : {
10338
11216
  "items" : {
10339
- "$ref" : "#/components/schemas/FileAttachment"
11217
+ "$ref" : "#/components/schemas/RunStep"
10340
11218
  },
10341
11219
  "type" : "array"
10342
11220
  },
10343
- "location" : {
10344
- "$ref" : "#/components/schemas/ChatContext_location"
10345
- },
10346
- "custom" : {
10347
- "additionalProperties" : true,
10348
- "type" : "object"
10349
- },
10350
- "openaiThreadId" : {
11221
+ "createdAt" : {
11222
+ "format" : "date-time",
10351
11223
  "type" : "string"
10352
11224
  }
10353
11225
  },
10354
- "required" : [ "attachments" ],
11226
+ "required" : [ "createdAt", "id", "prompt", "retryCount", "status", "steps", "taskId", "triggeredAt" ],
10355
11227
  "type" : "object"
10356
11228
  },
10357
- "PromptFlowCreateRequest" : {
11229
+ "RunStep" : {
10358
11230
  "properties" : {
10359
- "lang" : {
10360
- "description" : "Language code (e.g., 'en', 'fr')",
10361
- "maxLength" : 2,
11231
+ "type" : {
11232
+ "enum" : [ "llm_call", "tool_call", "tool_result", "llm_response" ],
10362
11233
  "type" : "string"
10363
11234
  },
10364
- "customUserId" : {
10365
- "description" : "Optional custom user identifier",
11235
+ "at" : {
11236
+ "format" : "date-time",
10366
11237
  "type" : "string"
10367
- }
10368
- },
10369
- "required" : [ "lang" ],
10370
- "type" : "object"
10371
- },
10372
- "MessageAudioDownloadUrl" : {
10373
- "properties" : {
10374
- "url" : {
10375
- "description" : "Presigned download URL for the message audio file",
11238
+ },
11239
+ "tool" : {
10376
11240
  "type" : "string"
10377
- }
10378
- },
10379
- "required" : [ "url" ],
10380
- "type" : "object"
10381
- },
10382
- "ConversationAttachmentDownloadUrl" : {
10383
- "properties" : {
10384
- "url" : {
10385
- "description" : "Presigned download URL or inline data URL for the image attachment",
11241
+ },
11242
+ "input" : { },
11243
+ "output" : { },
11244
+ "tokens" : {
11245
+ "type" : "integer"
11246
+ },
11247
+ "error" : {
10386
11248
  "type" : "string"
10387
11249
  }
10388
11250
  },
10389
- "required" : [ "url" ],
11251
+ "required" : [ "at", "type" ],
10390
11252
  "type" : "object"
10391
11253
  },
10392
11254
  "AppLight" : {
@@ -11362,16 +12224,6 @@
11362
12224
  "required" : [ "currency", "price" ],
11363
12225
  "type" : "object"
11364
12226
  },
11365
- "UploadLimitsResponse" : {
11366
- "properties" : {
11367
- "conversationAttachmentMaxBytes" : {
11368
- "format" : "int64",
11369
- "type" : "integer"
11370
- }
11371
- },
11372
- "required" : [ "conversationAttachmentMaxBytes" ],
11373
- "type" : "object"
11374
- },
11375
12227
  "AudioFile" : {
11376
12228
  "properties" : {
11377
12229
  "id" : {
@@ -13087,6 +13939,16 @@
13087
13939
  "required" : [ "message" ],
13088
13940
  "type" : "object"
13089
13941
  },
13942
+ "getUploadLimits_200_response" : {
13943
+ "properties" : {
13944
+ "conversationAttachmentMaxBytes" : {
13945
+ "description" : "Maximum size in bytes for conversation attachments",
13946
+ "type" : "number"
13947
+ }
13948
+ },
13949
+ "required" : [ "conversationAttachmentMaxBytes" ],
13950
+ "type" : "object"
13951
+ },
13090
13952
  "updateConversationTitle_request" : {
13091
13953
  "properties" : {
13092
13954
  "title" : {
@@ -13501,6 +14363,43 @@
13501
14363
  "required" : [ "latitude", "longitude" ],
13502
14364
  "type" : "object"
13503
14365
  },
14366
+ "TaskScheduleEnd_oneOf" : {
14367
+ "properties" : {
14368
+ "type" : {
14369
+ "enum" : [ "never" ],
14370
+ "type" : "string"
14371
+ }
14372
+ },
14373
+ "required" : [ "type" ],
14374
+ "type" : "object"
14375
+ },
14376
+ "TaskScheduleEnd_oneOf_1" : {
14377
+ "properties" : {
14378
+ "type" : {
14379
+ "enum" : [ "count" ],
14380
+ "type" : "string"
14381
+ },
14382
+ "count" : {
14383
+ "minimum" : 1,
14384
+ "type" : "integer"
14385
+ }
14386
+ },
14387
+ "required" : [ "count", "type" ],
14388
+ "type" : "object"
14389
+ },
14390
+ "TaskScheduleEnd_oneOf_2" : {
14391
+ "properties" : {
14392
+ "type" : {
14393
+ "enum" : [ "date" ],
14394
+ "type" : "string"
14395
+ },
14396
+ "date" : {
14397
+ "type" : "string"
14398
+ }
14399
+ },
14400
+ "required" : [ "date", "type" ],
14401
+ "type" : "object"
14402
+ },
13504
14403
  "App_commands_inner" : {
13505
14404
  "properties" : {
13506
14405
  "name" : {