matrx-api 0.1.0__py3-none-any.whl
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.
- matrx_api/__init__.py +31 -0
- matrx_api/client.py +420 -0
- matrx_api/credentials.py +105 -0
- matrx_api/deployments.py +122 -0
- matrx_api/errors.py +88 -0
- matrx_api/generated/__init__.py +1 -0
- matrx_api/generated/account.py +1110 -0
- matrx_api/generated/agents.py +1000 -0
- matrx_api/generated/ai.py +181 -0
- matrx_api/generated/apps.py +651 -0
- matrx_api/generated/architecture.py +2071 -0
- matrx_api/generated/audio.py +371 -0
- matrx_api/generated/chat.py +900 -0
- matrx_api/generated/code.py +951 -0
- matrx_api/generated/commerce.py +30 -0
- matrx_api/generated/communications.py +460 -0
- matrx_api/generated/computer.py +541 -0
- matrx_api/generated/content.py +700 -0
- matrx_api/generated/crm.py +440 -0
- matrx_api/generated/data.py +630 -0
- matrx_api/generated/education.py +40 -0
- matrx_api/generated/files.py +2261 -0
- matrx_api/generated/human_resources.py +290 -0
- matrx_api/generated/integrations.py +8920 -0
- matrx_api/generated/intelligence.py +1000 -0
- matrx_api/generated/knowledge.py +1910 -0
- matrx_api/generated/legal.py +370 -0
- matrx_api/generated/marketing.py +2300 -0
- matrx_api/generated/masterwork.py +510 -0
- matrx_api/generated/media.py +1021 -0
- matrx_api/generated/platform.py +250 -0
- matrx_api/generated/publish.py +410 -0
- matrx_api/generated/web.py +1771 -0
- matrx_api/generated/workflows.py +1411 -0
- matrx_api/streams.py +109 -0
- matrx_api-0.1.0.dist-info/METADATA +56 -0
- matrx_api-0.1.0.dist-info/RECORD +38 -0
- matrx_api-0.1.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,1000 @@
|
|
|
1
|
+
"""GENERATED by matrx-api scripts/generate.py from aidream/api-contract - never edit by hand.
|
|
2
|
+
CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
from collections.abc import Mapping
|
|
9
|
+
from typing import Any
|
|
10
|
+
|
|
11
|
+
from ..client import ApiStream, CallOptions, JsonOrStream, MatrxApi, OperationDescriptor
|
|
12
|
+
|
|
13
|
+
_OP_warm_agent = OperationDescriptor("POST", "/ai/agents/{agent_id}/warm", "aidream", "public", "required", "none", "agents.warm_agent")
|
|
14
|
+
|
|
15
|
+
async def warm_agent(api: MatrxApi, *, path: Mapping[str, str | int], body: Any = None, options: CallOptions | None = None) -> Any:
|
|
16
|
+
"""Warm Agent
|
|
17
|
+
|
|
18
|
+
`POST /ai/agents/{agent_id}/warm` - aidream - auth public - org required
|
|
19
|
+
"""
|
|
20
|
+
return await api.call(_OP_warm_agent, path=path, body=body, options=options)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
_OP_get_all_prompt_builtins = OperationDescriptor("GET", "/ai/prompts/builtins", "aidream", "guest", "optional", "none", "agents.get_all_prompt_builtins")
|
|
24
|
+
|
|
25
|
+
async def get_all_prompt_builtins(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
26
|
+
"""Get All Prompt Builtins
|
|
27
|
+
|
|
28
|
+
`GET /ai/prompts/builtins` - aidream - auth guest - org optional
|
|
29
|
+
"""
|
|
30
|
+
return await api.call(_OP_get_all_prompt_builtins, options=options)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
_OP_warm_prompt = OperationDescriptor("POST", "/ai/prompts/{prompt_id}/warm", "aidream", "public", "required", "none", "agents.warm_prompt")
|
|
34
|
+
|
|
35
|
+
async def warm_prompt(api: MatrxApi, *, path: Mapping[str, str | int], body: Any = None, options: CallOptions | None = None) -> Any:
|
|
36
|
+
"""Warm Prompt
|
|
37
|
+
|
|
38
|
+
`POST /ai/prompts/{prompt_id}/warm` - aidream - auth public - org required
|
|
39
|
+
"""
|
|
40
|
+
return await api.call(_OP_warm_prompt, path=path, body=body, options=options)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
_OP_warm_agent_blocks = OperationDescriptor("POST", "/ai/agents-blocks/{agent_id}/warm", "aidream", "public", "required", "none", "agents.warm_agent_blocks")
|
|
44
|
+
|
|
45
|
+
async def warm_agent_blocks(api: MatrxApi, *, path: Mapping[str, str | int], body: Any = None, options: CallOptions | None = None) -> Any:
|
|
46
|
+
"""Warm Agent Blocks
|
|
47
|
+
|
|
48
|
+
`POST /ai/agents-blocks/{agent_id}/warm` - aidream - auth public - org required
|
|
49
|
+
"""
|
|
50
|
+
return await api.call(_OP_warm_agent_blocks, path=path, body=body, options=options)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
_OP_get_all_tools = OperationDescriptor("GET", "/ai-tools", "aidream", "guest", "optional", "none", "agents.get_all_tools")
|
|
54
|
+
|
|
55
|
+
async def get_all_tools(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
56
|
+
"""Get All Tools
|
|
57
|
+
|
|
58
|
+
`GET /ai-tools` - aidream - auth guest - org optional
|
|
59
|
+
"""
|
|
60
|
+
return await api.call(_OP_get_all_tools, options=options)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
_OP_get_tools_by_source_kind = OperationDescriptor("GET", "/ai-tools/source-kind/{source_kind}", "aidream", "guest", "optional", "none", "agents.get_tools_by_source_kind")
|
|
64
|
+
|
|
65
|
+
async def get_tools_by_source_kind(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
66
|
+
"""Get Tools By Source Kind
|
|
67
|
+
|
|
68
|
+
`GET /ai-tools/source-kind/{source_kind}` - aidream - auth guest - org optional
|
|
69
|
+
"""
|
|
70
|
+
return await api.call(_OP_get_tools_by_source_kind, path=path, options=options)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
_OP_get_native_tools = OperationDescriptor("GET", "/ai-tools/native/all", "aidream", "guest", "optional", "none", "agents.get_native_tools")
|
|
74
|
+
|
|
75
|
+
async def get_native_tools(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
76
|
+
"""Get Native Tools
|
|
77
|
+
|
|
78
|
+
`GET /ai-tools/native/all` - aidream - auth guest - org optional
|
|
79
|
+
"""
|
|
80
|
+
return await api.call(_OP_get_native_tools, options=options)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
_OP_get_mcp_discovered_tools = OperationDescriptor("GET", "/ai-tools/mcp-discovered/all", "aidream", "guest", "optional", "none", "agents.get_mcp_discovered_tools")
|
|
84
|
+
|
|
85
|
+
async def get_mcp_discovered_tools(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
86
|
+
"""Get Mcp Discovered Tools
|
|
87
|
+
|
|
88
|
+
`GET /ai-tools/mcp-discovered/all` - aidream - auth guest - org optional
|
|
89
|
+
"""
|
|
90
|
+
return await api.call(_OP_get_mcp_discovered_tools, options=options)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
_OP_get_tools_for_app = OperationDescriptor("GET", "/ai-tools/app/{executor_name}/all", "aidream", "guest", "optional", "none", "agents.get_tools_for_app")
|
|
94
|
+
|
|
95
|
+
async def get_tools_for_app(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
96
|
+
"""Get Tools For App
|
|
97
|
+
|
|
98
|
+
`GET /ai-tools/app/{executor_name}/all` - aidream - auth guest - org optional
|
|
99
|
+
"""
|
|
100
|
+
return await api.call(_OP_get_tools_for_app, path=path, options=options)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
_OP_get_tool_by_id = OperationDescriptor("GET", "/ai-tools/{tool_id}", "aidream", "guest", "optional", "none", "agents.get_tool_by_id")
|
|
104
|
+
|
|
105
|
+
async def get_tool_by_id(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
106
|
+
"""Get Tool By Id
|
|
107
|
+
|
|
108
|
+
`GET /ai-tools/{tool_id}` - aidream - auth guest - org optional
|
|
109
|
+
"""
|
|
110
|
+
return await api.call(_OP_get_tool_by_id, path=path, options=options)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
_OP_agents_start_agent = OperationDescriptor("POST", "/ai/agent/{agent_id}", "aidream", "guest", "required", "ndjson_or_json", "agents.agents_start_agent")
|
|
114
|
+
|
|
115
|
+
async def agents_start_agent(api: MatrxApi, *, path: Mapping[str, str | int], query: Mapping[str, Any] | None = None, body: Any, options: CallOptions | None = None) -> JsonOrStream[Any, dict[str, Any]]:
|
|
116
|
+
"""Start Agent
|
|
117
|
+
|
|
118
|
+
`POST /ai/agent/{agent_id}` - aidream - auth guest - org required - ndjson_or_json
|
|
119
|
+
"""
|
|
120
|
+
return await api.open_json_or_stream(_OP_agents_start_agent, path=path, query=query, body=body, options=options)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
_OP_agents_start_agent_post = OperationDescriptor("POST", "/ai/agents/{agent_id}", "aidream", "guest", "required", "ndjson_or_json", "agents.agents_start_agent_post")
|
|
124
|
+
|
|
125
|
+
async def agents_start_agent_post(api: MatrxApi, *, path: Mapping[str, str | int], query: Mapping[str, Any] | None = None, body: Any, options: CallOptions | None = None) -> JsonOrStream[Any, dict[str, Any]]:
|
|
126
|
+
"""Start Agent
|
|
127
|
+
|
|
128
|
+
`POST /ai/agents/{agent_id}` - aidream - auth guest - org required - ndjson_or_json
|
|
129
|
+
"""
|
|
130
|
+
return await api.open_json_or_stream(_OP_agents_start_agent_post, path=path, query=query, body=body, options=options)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
_OP_start_mandated_agent = OperationDescriptor("POST", "/ai/mandates/{mandate_key}", "aidream", "guest", "required", "ndjson", "agents.start_mandated_agent")
|
|
134
|
+
|
|
135
|
+
async def start_mandated_agent(api: MatrxApi, *, path: Mapping[str, str | int], body: Any, options: CallOptions | None = None) -> ApiStream[dict[str, Any]]:
|
|
136
|
+
"""Start Mandated Agent
|
|
137
|
+
|
|
138
|
+
`POST /ai/mandates/{mandate_key}` - aidream - auth guest - org required - ndjson
|
|
139
|
+
"""
|
|
140
|
+
return await api.open_stream(_OP_start_mandated_agent, path=path, body=body, options=options)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
_OP_invalidate_agent_cache = OperationDescriptor("POST", "/ai/agents/{agent_id}/invalidate-cache", "aidream", "guest", "required", "none", "agents.invalidate_agent_cache")
|
|
144
|
+
|
|
145
|
+
async def invalidate_agent_cache(api: MatrxApi, *, path: Mapping[str, str | int], query: Mapping[str, Any] | None = None, options: CallOptions | None = None) -> Any:
|
|
146
|
+
"""Invalidate Agent Cache
|
|
147
|
+
|
|
148
|
+
`POST /ai/agents/{agent_id}/invalidate-cache` - aidream - auth guest - org required
|
|
149
|
+
"""
|
|
150
|
+
return await api.call(_OP_invalidate_agent_cache, path=path, query=query, options=options)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
_OP_mock_stream = OperationDescriptor("POST", "/ai/mock-stream/{scenario}", "aidream", "guest", "required", "ndjson", "agents.mock_stream")
|
|
154
|
+
|
|
155
|
+
async def mock_stream(api: MatrxApi, *, path: Mapping[str, str | int], body: Any = None, options: CallOptions | None = None) -> ApiStream[dict[str, Any]]:
|
|
156
|
+
"""Mock Stream
|
|
157
|
+
|
|
158
|
+
`POST /ai/mock-stream/{scenario}` - aidream - auth guest - org required - ndjson
|
|
159
|
+
"""
|
|
160
|
+
return await api.open_stream(_OP_mock_stream, path=path, body=body, options=options)
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
_OP_list_scenarios = OperationDescriptor("GET", "/ai/mock-stream/scenarios", "aidream", "guest", "optional", "none", "agents.list_scenarios")
|
|
164
|
+
|
|
165
|
+
async def list_scenarios(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
166
|
+
"""List Scenarios
|
|
167
|
+
|
|
168
|
+
`GET /ai/mock-stream/scenarios` - aidream - auth guest - org optional
|
|
169
|
+
"""
|
|
170
|
+
return await api.call(_OP_list_scenarios, options=options)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
_OP_get_user_prompts = OperationDescriptor("GET", "/ai/prompts", "aidream", "guest", "optional", "none", "agents.get_user_prompts")
|
|
174
|
+
|
|
175
|
+
async def get_user_prompts(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
176
|
+
"""Get User Prompts
|
|
177
|
+
|
|
178
|
+
`GET /ai/prompts` - aidream - auth guest - org optional
|
|
179
|
+
"""
|
|
180
|
+
return await api.call(_OP_get_user_prompts, options=options)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
_OP_get_user_prompts_and_builtins = OperationDescriptor("GET", "/ai/prompts/all", "aidream", "guest", "optional", "none", "agents.get_user_prompts_and_builtins")
|
|
184
|
+
|
|
185
|
+
async def get_user_prompts_and_builtins(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
186
|
+
"""Get User Prompts And Builtins
|
|
187
|
+
|
|
188
|
+
`GET /ai/prompts/all` - aidream - auth guest - org optional
|
|
189
|
+
"""
|
|
190
|
+
return await api.call(_OP_get_user_prompts_and_builtins, options=options)
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
_OP_start_prompt = OperationDescriptor("POST", "/ai/prompts/{prompt_id}", "aidream", "guest", "required", "ndjson", "agents.start_prompt")
|
|
194
|
+
|
|
195
|
+
async def start_prompt(api: MatrxApi, *, path: Mapping[str, str | int], body: Any, options: CallOptions | None = None) -> ApiStream[dict[str, Any]]:
|
|
196
|
+
"""Start Prompt
|
|
197
|
+
|
|
198
|
+
`POST /ai/prompts/{prompt_id}` - aidream - auth guest - org required - ndjson
|
|
199
|
+
"""
|
|
200
|
+
return await api.open_stream(_OP_start_prompt, path=path, body=body, options=options)
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
_OP_start_agent_blocks = OperationDescriptor("POST", "/ai/agents-blocks/{agent_id}", "aidream", "guest", "required", "ndjson", "agents.start_agent_blocks")
|
|
204
|
+
|
|
205
|
+
async def start_agent_blocks(api: MatrxApi, *, path: Mapping[str, str | int], body: Any, options: CallOptions | None = None) -> ApiStream[dict[str, Any]]:
|
|
206
|
+
"""Start Agent Blocks
|
|
207
|
+
|
|
208
|
+
`POST /ai/agents-blocks/{agent_id}` - aidream - auth guest - org required - ndjson
|
|
209
|
+
"""
|
|
210
|
+
return await api.open_stream(_OP_start_agent_blocks, path=path, body=body, options=options)
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
_OP_preview_context = OperationDescriptor("POST", "/ai/context/preview", "aidream", "guest", "required", "none", "agents.preview_context")
|
|
214
|
+
|
|
215
|
+
async def preview_context(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
216
|
+
"""Preview Context
|
|
217
|
+
|
|
218
|
+
`POST /ai/context/preview` - aidream - auth guest - org required
|
|
219
|
+
"""
|
|
220
|
+
return await api.call(_OP_preview_context, body=body, options=options)
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
_OP_preview_answer_both = OperationDescriptor("POST", "/ai/context/preview/answer-both", "aidream", "guest", "required", "none", "agents.preview_answer_both")
|
|
224
|
+
|
|
225
|
+
async def preview_answer_both(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
226
|
+
"""Preview Answer Both
|
|
227
|
+
|
|
228
|
+
`POST /ai/context/preview/answer-both` - aidream - auth guest - org required
|
|
229
|
+
"""
|
|
230
|
+
return await api.call(_OP_preview_answer_both, body=body, options=options)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
_OP_context_delivered = OperationDescriptor("GET", "/ai/context/delivered", "aidream", "guest", "optional", "none", "agents.context_delivered")
|
|
234
|
+
|
|
235
|
+
async def context_delivered(api: MatrxApi, *, query: Mapping[str, Any], options: CallOptions | None = None) -> Any:
|
|
236
|
+
"""Context Delivered
|
|
237
|
+
|
|
238
|
+
`GET /ai/context/delivered` - aidream - auth guest - org optional
|
|
239
|
+
"""
|
|
240
|
+
return await api.call(_OP_context_delivered, query=query, options=options)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
_OP_get_realtime_tools = OperationDescriptor("POST", "/ai/agents/{agent_id}/realtime-tools", "aidream", "guest", "required", "none", "agents.get_realtime_tools")
|
|
244
|
+
|
|
245
|
+
async def get_realtime_tools(api: MatrxApi, *, path: Mapping[str, str | int], body: Any, options: CallOptions | None = None) -> Any:
|
|
246
|
+
"""Get Realtime Tools
|
|
247
|
+
|
|
248
|
+
`POST /ai/agents/{agent_id}/realtime-tools` - aidream - auth guest - org required
|
|
249
|
+
"""
|
|
250
|
+
return await api.call(_OP_get_realtime_tools, path=path, body=body, options=options)
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
_OP_get_realtime_session = OperationDescriptor("POST", "/ai/agents/{agent_id}/realtime-session", "aidream", "guest", "required", "none", "agents.get_realtime_session")
|
|
254
|
+
|
|
255
|
+
async def get_realtime_session(api: MatrxApi, *, path: Mapping[str, str | int], body: Any, options: CallOptions | None = None) -> Any:
|
|
256
|
+
"""Get Realtime Session
|
|
257
|
+
|
|
258
|
+
`POST /ai/agents/{agent_id}/realtime-session` - aidream - auth guest - org required
|
|
259
|
+
"""
|
|
260
|
+
return await api.call(_OP_get_realtime_session, path=path, body=body, options=options)
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
_OP_execute_realtime_tool_route = OperationDescriptor("POST", "/ai/tools/execute", "aidream", "guest", "required", "none", "agents.execute_realtime_tool_route")
|
|
264
|
+
|
|
265
|
+
async def execute_realtime_tool_route(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
266
|
+
"""Execute Realtime Tool Route
|
|
267
|
+
|
|
268
|
+
`POST /ai/tools/execute` - aidream - auth guest - org required
|
|
269
|
+
"""
|
|
270
|
+
return await api.call(_OP_execute_realtime_tool_route, body=body, options=options)
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
_OP_get_portable_agent_version = OperationDescriptor("POST", "/ai/agents/versions/{version_id}/portable", "aidream", "guest", "required", "none", "agents.get_portable_agent_version")
|
|
274
|
+
|
|
275
|
+
async def get_portable_agent_version(api: MatrxApi, *, path: Mapping[str, str | int], body: Any, options: CallOptions | None = None) -> Any:
|
|
276
|
+
"""Get Portable Agent Version
|
|
277
|
+
|
|
278
|
+
`POST /ai/agents/versions/{version_id}/portable` - aidream - auth guest - org required
|
|
279
|
+
"""
|
|
280
|
+
return await api.call(_OP_get_portable_agent_version, path=path, body=body, options=options)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
_OP_get_portable_agent = OperationDescriptor("POST", "/ai/agents/{agent_id}/portable", "aidream", "guest", "required", "none", "agents.get_portable_agent")
|
|
284
|
+
|
|
285
|
+
async def get_portable_agent(api: MatrxApi, *, path: Mapping[str, str | int], body: Any, options: CallOptions | None = None) -> Any:
|
|
286
|
+
"""Get Portable Agent
|
|
287
|
+
|
|
288
|
+
`POST /ai/agents/{agent_id}/portable` - aidream - auth guest - org required
|
|
289
|
+
"""
|
|
290
|
+
return await api.call(_OP_get_portable_agent, path=path, body=body, options=options)
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
_OP_get_portable_agent_summary = OperationDescriptor("GET", "/ai/agents/{agent_id}/portable/summary", "aidream", "guest", "optional", "none", "agents.get_portable_agent_summary")
|
|
294
|
+
|
|
295
|
+
async def get_portable_agent_summary(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
296
|
+
"""Get Portable Agent Summary
|
|
297
|
+
|
|
298
|
+
`GET /ai/agents/{agent_id}/portable/summary` - aidream - auth guest - org optional
|
|
299
|
+
"""
|
|
300
|
+
return await api.call(_OP_get_portable_agent_summary, path=path, options=options)
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
_OP_skills_list_skills = OperationDescriptor("GET", "/skills", "aidream", "guest", "optional", "none", "agents.skills_list_skills")
|
|
304
|
+
|
|
305
|
+
async def skills_list_skills(api: MatrxApi, *, query: Mapping[str, Any] | None = None, options: CallOptions | None = None) -> Any:
|
|
306
|
+
"""List Skills
|
|
307
|
+
|
|
308
|
+
`GET /skills` - aidream - auth guest - org optional
|
|
309
|
+
"""
|
|
310
|
+
return await api.call(_OP_skills_list_skills, query=query, options=options)
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
_OP_create_skill = OperationDescriptor("POST", "/skills", "aidream", "guest", "required", "none", "agents.create_skill")
|
|
314
|
+
|
|
315
|
+
async def create_skill(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
316
|
+
"""Create Skill
|
|
317
|
+
|
|
318
|
+
`POST /skills` - aidream - auth guest - org required
|
|
319
|
+
"""
|
|
320
|
+
return await api.call(_OP_create_skill, body=body, options=options)
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
_OP_list_categories = OperationDescriptor("GET", "/skills/categories", "aidream", "guest", "optional", "none", "agents.list_categories")
|
|
324
|
+
|
|
325
|
+
async def list_categories(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
326
|
+
"""List Categories
|
|
327
|
+
|
|
328
|
+
`GET /skills/categories` - aidream - auth guest - org optional
|
|
329
|
+
"""
|
|
330
|
+
return await api.call(_OP_list_categories, options=options)
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
_OP_create_category = OperationDescriptor("POST", "/skills/categories", "aidream", "guest", "required", "none", "agents.create_category")
|
|
334
|
+
|
|
335
|
+
async def create_category(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
336
|
+
"""Create Category
|
|
337
|
+
|
|
338
|
+
`POST /skills/categories` - aidream - auth guest - org required
|
|
339
|
+
"""
|
|
340
|
+
return await api.call(_OP_create_category, body=body, options=options)
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
_OP_patch_category = OperationDescriptor("PATCH", "/skills/categories/{category_id}", "aidream", "guest", "required", "none", "agents.patch_category")
|
|
344
|
+
|
|
345
|
+
async def patch_category(api: MatrxApi, *, path: Mapping[str, str | int], body: Any, options: CallOptions | None = None) -> Any:
|
|
346
|
+
"""Patch Category
|
|
347
|
+
|
|
348
|
+
`PATCH /skills/categories/{category_id}` - aidream - auth guest - org required
|
|
349
|
+
"""
|
|
350
|
+
return await api.call(_OP_patch_category, path=path, body=body, options=options)
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
_OP_delete_category = OperationDescriptor("DELETE", "/skills/categories/{category_id}", "aidream", "guest", "required", "none", "agents.delete_category")
|
|
354
|
+
|
|
355
|
+
async def delete_category(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
356
|
+
"""Delete Category
|
|
357
|
+
|
|
358
|
+
`DELETE /skills/categories/{category_id}` - aidream - auth guest - org required
|
|
359
|
+
"""
|
|
360
|
+
return await api.call(_OP_delete_category, path=path, options=options)
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
_OP_get_skill = OperationDescriptor("GET", "/skills/{skill_ref}", "aidream", "guest", "optional", "none", "agents.get_skill")
|
|
364
|
+
|
|
365
|
+
async def get_skill(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
366
|
+
"""Get Skill
|
|
367
|
+
|
|
368
|
+
`GET /skills/{skill_ref}` - aidream - auth guest - org optional
|
|
369
|
+
"""
|
|
370
|
+
return await api.call(_OP_get_skill, path=path, options=options)
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
_OP_patch_skill = OperationDescriptor("PATCH", "/skills/{skill_id}", "aidream", "guest", "required", "none", "agents.patch_skill")
|
|
374
|
+
|
|
375
|
+
async def patch_skill(api: MatrxApi, *, path: Mapping[str, str | int], body: Any, options: CallOptions | None = None) -> Any:
|
|
376
|
+
"""Patch Skill
|
|
377
|
+
|
|
378
|
+
`PATCH /skills/{skill_id}` - aidream - auth guest - org required
|
|
379
|
+
"""
|
|
380
|
+
return await api.call(_OP_patch_skill, path=path, body=body, options=options)
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
_OP_delete_skill = OperationDescriptor("DELETE", "/skills/{skill_id}", "aidream", "guest", "required", "none", "agents.delete_skill")
|
|
384
|
+
|
|
385
|
+
async def delete_skill(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
386
|
+
"""Delete Skill
|
|
387
|
+
|
|
388
|
+
`DELETE /skills/{skill_id}` - aidream - auth guest - org required
|
|
389
|
+
"""
|
|
390
|
+
return await api.call(_OP_delete_skill, path=path, options=options)
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
_OP_admin_ingest_filesystem = OperationDescriptor("POST", "/skills/ingest", "aidream", "guest", "required", "none", "agents.admin_ingest_filesystem")
|
|
394
|
+
|
|
395
|
+
async def admin_ingest_filesystem(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
396
|
+
"""Admin Ingest Filesystem
|
|
397
|
+
|
|
398
|
+
`POST /skills/ingest` - aidream - auth guest - org required
|
|
399
|
+
"""
|
|
400
|
+
return await api.call(_OP_admin_ingest_filesystem, body=body, options=options)
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
_OP_screen_run = OperationDescriptor("POST", "/tools/screen-run", "aidream", "guest", "required", "none", "agents.screen_run")
|
|
404
|
+
|
|
405
|
+
async def screen_run(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
406
|
+
"""Screen Run
|
|
407
|
+
|
|
408
|
+
`POST /tools/screen-run` - aidream - auth guest - org required
|
|
409
|
+
"""
|
|
410
|
+
return await api.call(_OP_screen_run, body=body, options=options)
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
_OP_list_agents = OperationDescriptor("GET", "/agent-service/agents", "aidream", "guest", "optional", "none", "agents.list_agents")
|
|
414
|
+
|
|
415
|
+
async def list_agents(api: MatrxApi, *, query: Mapping[str, Any] | None = None, options: CallOptions | None = None) -> Any:
|
|
416
|
+
"""List Agents
|
|
417
|
+
|
|
418
|
+
`GET /agent-service/agents` - aidream - auth guest - org optional
|
|
419
|
+
"""
|
|
420
|
+
return await api.call(_OP_list_agents, query=query, options=options)
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
_OP_create_agent = OperationDescriptor("POST", "/agent-service/agents", "aidream", "guest", "required", "none", "agents.create_agent")
|
|
424
|
+
|
|
425
|
+
async def create_agent(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
426
|
+
"""Create Agent
|
|
427
|
+
|
|
428
|
+
`POST /agent-service/agents` - aidream - auth guest - org required
|
|
429
|
+
"""
|
|
430
|
+
return await api.call(_OP_create_agent, body=body, options=options)
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
_OP_get_agent = OperationDescriptor("GET", "/agent-service/agents/{agent_id}", "aidream", "guest", "optional", "none", "agents.get_agent")
|
|
434
|
+
|
|
435
|
+
async def get_agent(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
436
|
+
"""Get Agent
|
|
437
|
+
|
|
438
|
+
`GET /agent-service/agents/{agent_id}` - aidream - auth guest - org optional
|
|
439
|
+
"""
|
|
440
|
+
return await api.call(_OP_get_agent, path=path, options=options)
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
_OP_update_agent = OperationDescriptor("PATCH", "/agent-service/agents/{agent_id}", "aidream", "guest", "required", "none", "agents.update_agent")
|
|
444
|
+
|
|
445
|
+
async def update_agent(api: MatrxApi, *, path: Mapping[str, str | int], body: Any, options: CallOptions | None = None) -> Any:
|
|
446
|
+
"""Update Agent
|
|
447
|
+
|
|
448
|
+
`PATCH /agent-service/agents/{agent_id}` - aidream - auth guest - org required
|
|
449
|
+
"""
|
|
450
|
+
return await api.call(_OP_update_agent, path=path, body=body, options=options)
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
_OP_list_versions = OperationDescriptor("GET", "/agent-service/agents/{agent_id}/versions", "aidream", "guest", "optional", "none", "agents.list_versions")
|
|
454
|
+
|
|
455
|
+
async def list_versions(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
456
|
+
"""List Versions
|
|
457
|
+
|
|
458
|
+
`GET /agent-service/agents/{agent_id}/versions` - aidream - auth guest - org optional
|
|
459
|
+
"""
|
|
460
|
+
return await api.call(_OP_list_versions, path=path, options=options)
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
_OP_get_version = OperationDescriptor("GET", "/agent-service/versions/{version_id}", "aidream", "guest", "optional", "none", "agents.get_version")
|
|
464
|
+
|
|
465
|
+
async def get_version(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
466
|
+
"""Get Version
|
|
467
|
+
|
|
468
|
+
`GET /agent-service/versions/{version_id}` - aidream - auth guest - org optional
|
|
469
|
+
"""
|
|
470
|
+
return await api.call(_OP_get_version, path=path, options=options)
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
_OP_list_models = OperationDescriptor("GET", "/agent-service/models", "aidream", "guest", "optional", "none", "agents.list_models")
|
|
474
|
+
|
|
475
|
+
async def list_models(api: MatrxApi, *, query: Mapping[str, Any] | None = None, options: CallOptions | None = None) -> Any:
|
|
476
|
+
"""List Models
|
|
477
|
+
|
|
478
|
+
`GET /agent-service/models` - aidream - auth guest - org optional
|
|
479
|
+
"""
|
|
480
|
+
return await api.call(_OP_list_models, query=query, options=options)
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
_OP_agent_service_list_tools = OperationDescriptor("GET", "/agent-service/tools", "aidream", "guest", "optional", "none", "agents.agent_service_list_tools")
|
|
484
|
+
|
|
485
|
+
async def agent_service_list_tools(api: MatrxApi, *, query: Mapping[str, Any] | None = None, options: CallOptions | None = None) -> Any:
|
|
486
|
+
"""List Tools
|
|
487
|
+
|
|
488
|
+
`GET /agent-service/tools` - aidream - auth guest - org optional
|
|
489
|
+
"""
|
|
490
|
+
return await api.call(_OP_agent_service_list_tools, query=query, options=options)
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
_OP_agent_service_list_skills = OperationDescriptor("GET", "/agent-service/skills", "aidream", "guest", "optional", "none", "agents.agent_service_list_skills")
|
|
494
|
+
|
|
495
|
+
async def agent_service_list_skills(api: MatrxApi, *, query: Mapping[str, Any] | None = None, options: CallOptions | None = None) -> Any:
|
|
496
|
+
"""List Skills
|
|
497
|
+
|
|
498
|
+
`GET /agent-service/skills` - aidream - auth guest - org optional
|
|
499
|
+
"""
|
|
500
|
+
return await api.call(_OP_agent_service_list_skills, query=query, options=options)
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
_OP_create_structured_agent = OperationDescriptor("POST", "/agent-service/agents/structured", "aidream", "guest", "required", "none", "agents.create_structured_agent")
|
|
504
|
+
|
|
505
|
+
async def create_structured_agent(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
506
|
+
"""Create Structured Agent
|
|
507
|
+
|
|
508
|
+
`POST /agent-service/agents/structured` - aidream - auth guest - org required
|
|
509
|
+
"""
|
|
510
|
+
return await api.call(_OP_create_structured_agent, body=body, options=options)
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
_OP_validate_schema = OperationDescriptor("POST", "/agent-service/validate-schema", "aidream", "guest", "required", "none", "agents.validate_schema")
|
|
514
|
+
|
|
515
|
+
async def validate_schema(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
516
|
+
"""Validate Schema
|
|
517
|
+
|
|
518
|
+
`POST /agent-service/validate-schema` - aidream - auth guest - org required
|
|
519
|
+
"""
|
|
520
|
+
return await api.call(_OP_validate_schema, body=body, options=options)
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
_OP_start_build = OperationDescriptor("POST", "/agent-factory/builds", "aidream", "user", "required", "none", "agents.start_build")
|
|
524
|
+
|
|
525
|
+
async def start_build(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
526
|
+
"""Start Build
|
|
527
|
+
|
|
528
|
+
`POST /agent-factory/builds` - aidream - auth user - org required
|
|
529
|
+
"""
|
|
530
|
+
return await api.call(_OP_start_build, body=body, options=options)
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
_OP_read_build = OperationDescriptor("GET", "/agent-factory/builds/{build_id}", "aidream", "user", "required", "none", "agents.read_build")
|
|
534
|
+
|
|
535
|
+
async def read_build(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
536
|
+
"""Read Build
|
|
537
|
+
|
|
538
|
+
`GET /agent-factory/builds/{build_id}` - aidream - auth user - org required
|
|
539
|
+
"""
|
|
540
|
+
return await api.call(_OP_read_build, path=path, options=options)
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
_OP_keep_build = OperationDescriptor("POST", "/agent-factory/builds/{build_id}/keep", "aidream", "user", "required", "none", "agents.keep_build")
|
|
544
|
+
|
|
545
|
+
async def keep_build(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
546
|
+
"""Keep Build
|
|
547
|
+
|
|
548
|
+
`POST /agent-factory/builds/{build_id}/keep` - aidream - auth user - org required
|
|
549
|
+
"""
|
|
550
|
+
return await api.call(_OP_keep_build, path=path, options=options)
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
_OP_judge_first_runs = OperationDescriptor("POST", "/agent-factory/agents/{agent_id}/first-runs", "aidream", "user", "required", "none", "agents.judge_first_runs")
|
|
554
|
+
|
|
555
|
+
async def judge_first_runs(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
556
|
+
"""Judge First Runs
|
|
557
|
+
|
|
558
|
+
`POST /agent-factory/agents/{agent_id}/first-runs` - aidream - auth user - org required
|
|
559
|
+
"""
|
|
560
|
+
return await api.call(_OP_judge_first_runs, path=path, options=options)
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
_OP_agent_from_chat = OperationDescriptor("POST", "/agent-studio/from-chat", "aidream", "user", "required", "ndjson", "agents.agent_from_chat")
|
|
564
|
+
|
|
565
|
+
async def agent_from_chat(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> ApiStream[dict[str, Any]]:
|
|
566
|
+
"""Agent From Chat
|
|
567
|
+
|
|
568
|
+
`POST /agent-studio/from-chat` - aidream - auth user - org required - ndjson
|
|
569
|
+
"""
|
|
570
|
+
return await api.open_stream(_OP_agent_from_chat, body=body, options=options)
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
_OP_admin_agent_from_chat = OperationDescriptor("POST", "/admin/agent-studio/from-chat", "aidream", "admin", "exempt", "ndjson", "agents.admin_agent_from_chat")
|
|
574
|
+
|
|
575
|
+
async def admin_agent_from_chat(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> ApiStream[dict[str, Any]]:
|
|
576
|
+
"""Admin Agent From Chat
|
|
577
|
+
|
|
578
|
+
`POST /admin/agent-studio/from-chat` - aidream - auth admin - org exempt - ndjson
|
|
579
|
+
"""
|
|
580
|
+
return await api.open_stream(_OP_admin_agent_from_chat, body=body, options=options)
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
_OP_admin_tools_list_tools = OperationDescriptor("GET", "/admin/tools", "aidream", "admin", "exempt", "none", "agents.admin_tools_list_tools")
|
|
584
|
+
|
|
585
|
+
async def admin_tools_list_tools(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
586
|
+
"""List Tools
|
|
587
|
+
|
|
588
|
+
`GET /admin/tools` - aidream - auth admin - org exempt
|
|
589
|
+
"""
|
|
590
|
+
return await api.call(_OP_admin_tools_list_tools, options=options)
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
_OP_validate_all = OperationDescriptor("POST", "/admin/tools/validate", "aidream", "admin", "exempt", "none", "agents.validate_all")
|
|
594
|
+
|
|
595
|
+
async def validate_all(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
596
|
+
"""Validate All
|
|
597
|
+
|
|
598
|
+
`POST /admin/tools/validate` - aidream - auth admin - org exempt
|
|
599
|
+
"""
|
|
600
|
+
return await api.call(_OP_validate_all, options=options)
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
_OP_failure_analytics = OperationDescriptor("GET", "/admin/tools/failures", "aidream", "admin", "exempt", "none", "agents.failure_analytics")
|
|
604
|
+
|
|
605
|
+
async def failure_analytics(api: MatrxApi, *, query: Mapping[str, Any] | None = None, options: CallOptions | None = None) -> Any:
|
|
606
|
+
"""Failure Analytics
|
|
607
|
+
|
|
608
|
+
`GET /admin/tools/failures` - aidream - auth admin - org exempt
|
|
609
|
+
"""
|
|
610
|
+
return await api.call(_OP_failure_analytics, query=query, options=options)
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
_OP_tool_detail = OperationDescriptor("GET", "/admin/tools/{name}", "aidream", "admin", "exempt", "none", "agents.tool_detail")
|
|
614
|
+
|
|
615
|
+
async def tool_detail(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
616
|
+
"""Tool Detail
|
|
617
|
+
|
|
618
|
+
`GET /admin/tools/{name}` - aidream - auth admin - org exempt
|
|
619
|
+
"""
|
|
620
|
+
return await api.call(_OP_tool_detail, path=path, options=options)
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
_OP_update_tool = OperationDescriptor("PATCH", "/admin/tools/{name}", "aidream", "admin", "exempt", "none", "agents.update_tool")
|
|
624
|
+
|
|
625
|
+
async def update_tool(api: MatrxApi, *, path: Mapping[str, str | int], body: Any, options: CallOptions | None = None) -> Any:
|
|
626
|
+
"""Update Tool
|
|
627
|
+
|
|
628
|
+
`PATCH /admin/tools/{name}` - aidream - auth admin - org exempt
|
|
629
|
+
"""
|
|
630
|
+
return await api.call(_OP_update_tool, path=path, body=body, options=options)
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
_OP_tool_testing_list_tools = OperationDescriptor("GET", "/tools/test/list", "aidream", "guest", "optional", "none", "agents.tool_testing_list_tools")
|
|
634
|
+
|
|
635
|
+
async def tool_testing_list_tools(api: MatrxApi, *, query: Mapping[str, Any] | None = None, options: CallOptions | None = None) -> Any:
|
|
636
|
+
"""List Tools
|
|
637
|
+
|
|
638
|
+
`GET /tools/test/list` - aidream - auth guest - org optional
|
|
639
|
+
"""
|
|
640
|
+
return await api.call(_OP_tool_testing_list_tools, query=query, options=options)
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
_OP_get_tool_detail = OperationDescriptor("GET", "/tools/test/{tool_name}", "aidream", "guest", "optional", "none", "agents.get_tool_detail")
|
|
644
|
+
|
|
645
|
+
async def get_tool_detail(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
646
|
+
"""Get Tool Detail
|
|
647
|
+
|
|
648
|
+
`GET /tools/test/{tool_name}` - aidream - auth guest - org optional
|
|
649
|
+
"""
|
|
650
|
+
return await api.call(_OP_get_tool_detail, path=path, options=options)
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
_OP_get_or_create_test_session = OperationDescriptor("POST", "/tools/test/session", "aidream", "guest", "required", "none", "agents.get_or_create_test_session")
|
|
654
|
+
|
|
655
|
+
async def get_or_create_test_session(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
656
|
+
"""Get Or Create Test Session
|
|
657
|
+
|
|
658
|
+
`POST /tools/test/session` - aidream - auth guest - org required
|
|
659
|
+
"""
|
|
660
|
+
return await api.call(_OP_get_or_create_test_session, options=options)
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
_OP_execute_tool_test = OperationDescriptor("POST", "/tools/test/execute", "aidream", "guest", "required", "ndjson", "agents.execute_tool_test")
|
|
664
|
+
|
|
665
|
+
async def execute_tool_test(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> ApiStream[dict[str, Any]]:
|
|
666
|
+
"""Execute Tool Test
|
|
667
|
+
|
|
668
|
+
`POST /tools/test/execute` - aidream - auth guest - org required - ndjson
|
|
669
|
+
"""
|
|
670
|
+
return await api.open_stream(_OP_execute_tool_test, body=body, options=options)
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
_OP_get_db_surface_manifest = OperationDescriptor("GET", "/surfaces/{client_name}/{surface_name}/manifest", "aidream", "guest", "exempt", "none", "agents.get_db_surface_manifest")
|
|
674
|
+
|
|
675
|
+
async def get_db_surface_manifest(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
676
|
+
"""Get Db Surface Manifest
|
|
677
|
+
|
|
678
|
+
`GET /surfaces/{client_name}/{surface_name}/manifest` - aidream - auth guest - org exempt
|
|
679
|
+
"""
|
|
680
|
+
return await api.call(_OP_get_db_surface_manifest, path=path, options=options)
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
_OP_get_capability_manifest = OperationDescriptor("GET", "/surfaces/{name}/manifest", "aidream", "guest", "exempt", "none", "agents.get_capability_manifest")
|
|
684
|
+
|
|
685
|
+
async def get_capability_manifest(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
686
|
+
"""Get Capability Manifest
|
|
687
|
+
|
|
688
|
+
`GET /surfaces/{name}/manifest` - aidream - auth guest - org exempt
|
|
689
|
+
"""
|
|
690
|
+
return await api.call(_OP_get_capability_manifest, path=path, options=options)
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
_OP_cache_bust = OperationDescriptor("POST", "/admin/tool-routing/cache-bust", "aidream", "admin", "exempt", "none", "agents.cache_bust")
|
|
694
|
+
|
|
695
|
+
async def cache_bust(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
696
|
+
"""Cache Bust
|
|
697
|
+
|
|
698
|
+
`POST /admin/tool-routing/cache-bust` - aidream - auth admin - org exempt
|
|
699
|
+
"""
|
|
700
|
+
return await api.call(_OP_cache_bust, options=options)
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
_OP_run_agent_tests = OperationDescriptor("POST", "/agent-testing/agents/{agent_id}/tests", "aidream", "admin", "required", "none", "agents.run_agent_tests")
|
|
704
|
+
|
|
705
|
+
async def run_agent_tests(api: MatrxApi, *, path: Mapping[str, str | int], body: Any, options: CallOptions | None = None) -> Any:
|
|
706
|
+
"""Run Agent Tests
|
|
707
|
+
|
|
708
|
+
`POST /agent-testing/agents/{agent_id}/tests` - aidream - auth admin - org required
|
|
709
|
+
"""
|
|
710
|
+
return await api.call(_OP_run_agent_tests, path=path, body=body, options=options)
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
_OP_get_agent_execution_definition = OperationDescriptor("GET", "/agents/{agent_id}/execution-definition", "aidream", "guest", "optional", "none", "agents.get_agent_execution_definition")
|
|
714
|
+
|
|
715
|
+
async def get_agent_execution_definition(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
716
|
+
"""Get Agent Execution Definition
|
|
717
|
+
|
|
718
|
+
`GET /agents/{agent_id}/execution-definition` - aidream - auth guest - org optional
|
|
719
|
+
"""
|
|
720
|
+
return await api.call(_OP_get_agent_execution_definition, path=path, options=options)
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
_OP_get_agent_version_execution_definition = OperationDescriptor("GET", "/agents/versions/{version_id}/execution-definition", "aidream", "guest", "optional", "none", "agents.get_agent_version_execution_definition")
|
|
724
|
+
|
|
725
|
+
async def get_agent_version_execution_definition(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
726
|
+
"""Get Agent Version Execution Definition
|
|
727
|
+
|
|
728
|
+
`GET /agents/versions/{version_id}/execution-definition` - aidream - auth guest - org optional
|
|
729
|
+
"""
|
|
730
|
+
return await api.call(_OP_get_agent_version_execution_definition, path=path, options=options)
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
_OP_preview_variable_binding = OperationDescriptor("POST", "/agents/variable-bindings/preview", "aidream", "guest", "required", "none", "agents.preview_variable_binding")
|
|
734
|
+
|
|
735
|
+
async def preview_variable_binding(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
736
|
+
"""Preview Variable Binding
|
|
737
|
+
|
|
738
|
+
`POST /agents/variable-bindings/preview` - aidream - auth guest - org required
|
|
739
|
+
"""
|
|
740
|
+
return await api.call(_OP_preview_variable_binding, body=body, options=options)
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
_OP_run_matrix_battle = OperationDescriptor("POST", "/agent-battles/{set_id}/run", "aidream", "guest", "required", "ndjson", "agents.run_matrix_battle")
|
|
744
|
+
|
|
745
|
+
async def run_matrix_battle(api: MatrxApi, *, path: Mapping[str, str | int], body: Any, options: CallOptions | None = None) -> ApiStream[dict[str, Any]]:
|
|
746
|
+
"""Run Matrix Battle
|
|
747
|
+
|
|
748
|
+
`POST /agent-battles/{set_id}/run` - aidream - auth guest - org required - ndjson
|
|
749
|
+
"""
|
|
750
|
+
return await api.open_stream(_OP_run_matrix_battle, path=path, body=body, options=options)
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
_OP_cancel_matrix_battle = OperationDescriptor("POST", "/agent-battles/{set_id}/cancel", "aidream", "guest", "required", "none", "agents.cancel_matrix_battle")
|
|
754
|
+
|
|
755
|
+
async def cancel_matrix_battle(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
756
|
+
"""Cancel Matrix Battle
|
|
757
|
+
|
|
758
|
+
`POST /agent-battles/{set_id}/cancel` - aidream - auth guest - org required
|
|
759
|
+
"""
|
|
760
|
+
return await api.call(_OP_cancel_matrix_battle, path=path, options=options)
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
_OP_list_context_organizations = OperationDescriptor("GET", "/admin/agent-context/organizations", "aidream", "admin", "exempt", "none", "agents.list_context_organizations")
|
|
764
|
+
|
|
765
|
+
async def list_context_organizations(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
766
|
+
"""List Context Organizations
|
|
767
|
+
|
|
768
|
+
`GET /admin/agent-context/organizations` - aidream - auth admin - org exempt
|
|
769
|
+
"""
|
|
770
|
+
return await api.call(_OP_list_context_organizations, options=options)
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
_OP_render_context = OperationDescriptor("POST", "/admin/agent-context/render", "aidream", "admin", "exempt", "none", "agents.render_context")
|
|
774
|
+
|
|
775
|
+
async def render_context(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
776
|
+
"""Render Context
|
|
777
|
+
|
|
778
|
+
`POST /admin/agent-context/render` - aidream - auth admin - org exempt
|
|
779
|
+
"""
|
|
780
|
+
return await api.call(_OP_render_context, body=body, options=options)
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
_OP_get_directive_catalog = OperationDescriptor("GET", "/directives/catalog", "aidream", "public", "exempt", "none", "agents.get_directive_catalog")
|
|
784
|
+
|
|
785
|
+
async def get_directive_catalog(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
786
|
+
"""Get Directive Catalog
|
|
787
|
+
|
|
788
|
+
`GET /directives/catalog` - aidream - auth public - org exempt
|
|
789
|
+
"""
|
|
790
|
+
return await api.call(_OP_get_directive_catalog, options=options)
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
_OP_get_directive_noun_schemas = OperationDescriptor("GET", "/directives/catalog/{noun}", "aidream", "public", "exempt", "none", "agents.get_directive_noun_schemas")
|
|
794
|
+
|
|
795
|
+
async def get_directive_noun_schemas(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
796
|
+
"""Get Directive Noun Schemas
|
|
797
|
+
|
|
798
|
+
`GET /directives/catalog/{noun}` - aidream - auth public - org exempt
|
|
799
|
+
"""
|
|
800
|
+
return await api.call(_OP_get_directive_noun_schemas, path=path, options=options)
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
_OP_execute_write_directive = OperationDescriptor("POST", "/directives/execute", "aidream", "guest", "required", "none", "agents.execute_write_directive")
|
|
804
|
+
|
|
805
|
+
async def execute_write_directive(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
806
|
+
"""Execute Write Directive
|
|
807
|
+
|
|
808
|
+
`POST /directives/execute` - aidream - auth guest - org required
|
|
809
|
+
"""
|
|
810
|
+
return await api.call(_OP_execute_write_directive, body=body, options=options)
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
_OP_confirm_proposed_directive = OperationDescriptor("POST", "/directives/confirm", "aidream", "guest", "required", "none", "agents.confirm_proposed_directive")
|
|
814
|
+
|
|
815
|
+
async def confirm_proposed_directive(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
816
|
+
"""Confirm Proposed Directive
|
|
817
|
+
|
|
818
|
+
`POST /directives/confirm` - aidream - auth guest - org required
|
|
819
|
+
"""
|
|
820
|
+
return await api.call(_OP_confirm_proposed_directive, body=body, options=options)
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
_OP_read_directive_apply_state = OperationDescriptor("POST", "/directives/apply_state", "aidream", "guest", "required", "none", "agents.read_directive_apply_state")
|
|
824
|
+
|
|
825
|
+
async def read_directive_apply_state(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
826
|
+
"""Read Directive Apply State
|
|
827
|
+
|
|
828
|
+
`POST /directives/apply_state` - aidream - auth guest - org required
|
|
829
|
+
"""
|
|
830
|
+
return await api.call(_OP_read_directive_apply_state, body=body, options=options)
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
_OP_list_tools = OperationDescriptor("GET", "/tools/list", "matrx-local", "public", "exempt", "none", "agents.list_tools")
|
|
834
|
+
|
|
835
|
+
async def list_tools(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
836
|
+
"""List Tools
|
|
837
|
+
|
|
838
|
+
`GET /tools/list` - matrx-local - auth public - org exempt
|
|
839
|
+
"""
|
|
840
|
+
return await api.call(_OP_list_tools, options=options)
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
_OP_invoke_tool = OperationDescriptor("POST", "/tools/invoke", "matrx-local", "loopback_token", "exempt", "none", "agents.invoke_tool")
|
|
844
|
+
|
|
845
|
+
async def invoke_tool(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
846
|
+
"""Invoke Tool
|
|
847
|
+
|
|
848
|
+
`POST /tools/invoke` - matrx-local - auth loopback_token - org exempt
|
|
849
|
+
"""
|
|
850
|
+
return await api.call(_OP_invoke_tool, body=body, options=options)
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
_OP_get_agent_catalog = OperationDescriptor("GET", "/agents/catalog", "matrx-local", "loopback_open", "exempt", "none", "agents.get_agent_catalog")
|
|
854
|
+
|
|
855
|
+
async def get_agent_catalog(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
856
|
+
"""Get Agent Catalog
|
|
857
|
+
|
|
858
|
+
`GET /agents/catalog` - matrx-local - auth loopback_open - org exempt
|
|
859
|
+
"""
|
|
860
|
+
return await api.call(_OP_get_agent_catalog, options=options)
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
_OP_post_agent_catalog_rpc = OperationDescriptor("POST", "/agents/catalog/rpc", "matrx-local", "loopback_open", "exempt", "none", "agents.post_agent_catalog_rpc")
|
|
864
|
+
|
|
865
|
+
async def post_agent_catalog_rpc(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
866
|
+
"""Post Agent Catalog Rpc
|
|
867
|
+
|
|
868
|
+
`POST /agents/catalog/rpc` - matrx-local - auth loopback_open - org exempt
|
|
869
|
+
"""
|
|
870
|
+
return await api.call(_OP_post_agent_catalog_rpc, body=body, options=options)
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
_OP_get_agent_execution = OperationDescriptor("GET", "/agents/catalog/{agent_id}/execution", "matrx-local", "loopback_open", "exempt", "none", "agents.get_agent_execution")
|
|
874
|
+
|
|
875
|
+
async def get_agent_execution(api: MatrxApi, *, path: Mapping[str, str | int], options: CallOptions | None = None) -> Any:
|
|
876
|
+
"""Get Agent Execution
|
|
877
|
+
|
|
878
|
+
`GET /agents/catalog/{agent_id}/execution` - matrx-local - auth loopback_open - org exempt
|
|
879
|
+
"""
|
|
880
|
+
return await api.call(_OP_get_agent_execution, path=path, options=options)
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
_OP_get_agent_catalog_status = OperationDescriptor("GET", "/agents/catalog/status", "matrx-local", "loopback_open", "exempt", "none", "agents.get_agent_catalog_status")
|
|
884
|
+
|
|
885
|
+
async def get_agent_catalog_status(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
886
|
+
"""Get Agent Catalog Status
|
|
887
|
+
|
|
888
|
+
`GET /agents/catalog/status` - matrx-local - auth loopback_open - org exempt
|
|
889
|
+
"""
|
|
890
|
+
return await api.call(_OP_get_agent_catalog_status, options=options)
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
_OP_prompt_matrix_paths = OperationDescriptor("GET", "/prompt-matrix/paths", "matrx-local", "loopback_token", "exempt", "none", "agents.prompt_matrix_paths")
|
|
894
|
+
|
|
895
|
+
async def prompt_matrix_paths(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
896
|
+
"""Prompt Matrix Paths
|
|
897
|
+
|
|
898
|
+
`GET /prompt-matrix/paths` - matrx-local - auth loopback_token - org exempt
|
|
899
|
+
"""
|
|
900
|
+
return await api.call(_OP_prompt_matrix_paths, options=options)
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
_OP_get_library = OperationDescriptor("GET", "/prompt-matrix/library", "matrx-local", "loopback_token", "exempt", "none", "agents.get_library")
|
|
904
|
+
|
|
905
|
+
async def get_library(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
906
|
+
"""Get Library
|
|
907
|
+
|
|
908
|
+
`GET /prompt-matrix/library` - matrx-local - auth loopback_token - org exempt
|
|
909
|
+
"""
|
|
910
|
+
return await api.call(_OP_get_library, options=options)
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
_OP_put_library = OperationDescriptor("PUT", "/prompt-matrix/library", "matrx-local", "loopback_token", "exempt", "none", "agents.put_library")
|
|
914
|
+
|
|
915
|
+
async def put_library(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
916
|
+
"""Put Library
|
|
917
|
+
|
|
918
|
+
`PUT /prompt-matrix/library` - matrx-local - auth loopback_token - org exempt
|
|
919
|
+
"""
|
|
920
|
+
return await api.call(_OP_put_library, body=body, options=options)
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
_OP_get_lists = OperationDescriptor("GET", "/prompt-matrix/lists", "matrx-local", "loopback_token", "exempt", "none", "agents.get_lists")
|
|
924
|
+
|
|
925
|
+
async def get_lists(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
926
|
+
"""Get Lists
|
|
927
|
+
|
|
928
|
+
`GET /prompt-matrix/lists` - matrx-local - auth loopback_token - org exempt
|
|
929
|
+
"""
|
|
930
|
+
return await api.call(_OP_get_lists, options=options)
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
_OP_put_lists = OperationDescriptor("PUT", "/prompt-matrix/lists", "matrx-local", "loopback_token", "exempt", "none", "agents.put_lists")
|
|
934
|
+
|
|
935
|
+
async def put_lists(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
936
|
+
"""Put Lists
|
|
937
|
+
|
|
938
|
+
`PUT /prompt-matrix/lists` - matrx-local - auth loopback_token - org exempt
|
|
939
|
+
"""
|
|
940
|
+
return await api.call(_OP_put_lists, body=body, options=options)
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
_OP_get_templates = OperationDescriptor("GET", "/prompt-matrix/templates", "matrx-local", "loopback_token", "exempt", "none", "agents.get_templates")
|
|
944
|
+
|
|
945
|
+
async def get_templates(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
946
|
+
"""Get Templates
|
|
947
|
+
|
|
948
|
+
`GET /prompt-matrix/templates` - matrx-local - auth loopback_token - org exempt
|
|
949
|
+
"""
|
|
950
|
+
return await api.call(_OP_get_templates, options=options)
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
_OP_put_templates = OperationDescriptor("PUT", "/prompt-matrix/templates", "matrx-local", "loopback_token", "exempt", "none", "agents.put_templates")
|
|
954
|
+
|
|
955
|
+
async def put_templates(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
956
|
+
"""Put Templates
|
|
957
|
+
|
|
958
|
+
`PUT /prompt-matrix/templates` - matrx-local - auth loopback_token - org exempt
|
|
959
|
+
"""
|
|
960
|
+
return await api.call(_OP_put_templates, body=body, options=options)
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
_OP_get_prompts = OperationDescriptor("GET", "/prompt-matrix/prompts", "matrx-local", "loopback_token", "exempt", "none", "agents.get_prompts")
|
|
964
|
+
|
|
965
|
+
async def get_prompts(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
966
|
+
"""Get Prompts
|
|
967
|
+
|
|
968
|
+
`GET /prompt-matrix/prompts` - matrx-local - auth loopback_token - org exempt
|
|
969
|
+
"""
|
|
970
|
+
return await api.call(_OP_get_prompts, options=options)
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
_OP_put_prompts = OperationDescriptor("PUT", "/prompt-matrix/prompts", "matrx-local", "loopback_token", "exempt", "none", "agents.put_prompts")
|
|
974
|
+
|
|
975
|
+
async def put_prompts(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
976
|
+
"""Put Prompts
|
|
977
|
+
|
|
978
|
+
`PUT /prompt-matrix/prompts` - matrx-local - auth loopback_token - org exempt
|
|
979
|
+
"""
|
|
980
|
+
return await api.call(_OP_put_prompts, body=body, options=options)
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
_OP_get_variation_batches = OperationDescriptor("GET", "/prompt-matrix/variation-batches", "matrx-local", "loopback_token", "exempt", "none", "agents.get_variation_batches")
|
|
984
|
+
|
|
985
|
+
async def get_variation_batches(api: MatrxApi, *, options: CallOptions | None = None) -> Any:
|
|
986
|
+
"""Get Variation Batches
|
|
987
|
+
|
|
988
|
+
`GET /prompt-matrix/variation-batches` - matrx-local - auth loopback_token - org exempt
|
|
989
|
+
"""
|
|
990
|
+
return await api.call(_OP_get_variation_batches, options=options)
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
_OP_put_variation_batches = OperationDescriptor("PUT", "/prompt-matrix/variation-batches", "matrx-local", "loopback_token", "exempt", "none", "agents.put_variation_batches")
|
|
994
|
+
|
|
995
|
+
async def put_variation_batches(api: MatrxApi, *, body: Any, options: CallOptions | None = None) -> Any:
|
|
996
|
+
"""Put Variation Batches
|
|
997
|
+
|
|
998
|
+
`PUT /prompt-matrix/variation-batches` - matrx-local - auth loopback_token - org exempt
|
|
999
|
+
"""
|
|
1000
|
+
return await api.call(_OP_put_variation_batches, body=body, options=options)
|