robosystems-client 0.2.11__py3-none-any.whl → 0.2.13__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.
Potentially problematic release.
This version of robosystems-client might be problematic. Click here for more details.
- robosystems_client/api/agent/auto_select_agent.py +81 -9
- robosystems_client/api/agent/execute_specific_agent.py +73 -5
- robosystems_client/api/agent/get_agent_metadata.py +1 -1
- robosystems_client/api/agent/list_agents.py +1 -1
- robosystems_client/api/auth/register_user.py +36 -8
- robosystems_client/api/billing/{cancel_subscription.py → cancel_org_subscription.py} +34 -9
- robosystems_client/api/billing/create_checkout_session.py +28 -20
- robosystems_client/api/billing/get_org_billing_customer.py +189 -0
- robosystems_client/api/billing/{get_subscription.py → get_org_subscription.py} +30 -5
- robosystems_client/api/billing/{get_upcoming_invoice.py → get_org_upcoming_invoice.py} +68 -22
- robosystems_client/api/billing/{list_invoices.py → list_org_invoices.py} +38 -9
- robosystems_client/api/billing/{list_subscriptions.py → list_org_subscriptions.py} +64 -22
- robosystems_client/api/billing/{update_payment_method.py → update_org_payment_method.py} +34 -9
- robosystems_client/api/credits_/list_credit_transactions.py +4 -4
- robosystems_client/api/org/__init__.py +1 -0
- robosystems_client/api/org/create_org.py +174 -0
- robosystems_client/api/{billing/get_billing_customer.py → org/get_org.py} +50 -28
- robosystems_client/api/org/list_org_graphs.py +170 -0
- robosystems_client/api/{user/get_user_limits.py → org/list_user_orgs.py} +21 -25
- robosystems_client/api/org/update_org.py +187 -0
- robosystems_client/api/org_members/__init__.py +1 -0
- robosystems_client/api/org_members/invite_org_member.py +207 -0
- robosystems_client/api/org_members/list_org_members.py +165 -0
- robosystems_client/api/org_members/remove_org_member.py +176 -0
- robosystems_client/api/org_members/update_org_member_role.py +200 -0
- robosystems_client/api/org_usage/__init__.py +1 -0
- robosystems_client/api/org_usage/get_org_limits.py +165 -0
- robosystems_client/api/org_usage/get_org_usage.py +186 -0
- robosystems_client/api/service_offerings/get_service_offerings.py +32 -8
- robosystems_client/api/usage/get_graph_usage_analytics.py +4 -4
- robosystems_client/extensions/__init__.py +25 -0
- robosystems_client/extensions/agent_client.py +526 -0
- robosystems_client/extensions/extensions.py +3 -0
- robosystems_client/models/__init__.py +44 -6
- robosystems_client/models/auth_response.py +35 -0
- robosystems_client/models/{user_usage_response_graphs.py → auth_response_org_type_0.py} +6 -6
- robosystems_client/models/billing_customer.py +8 -8
- robosystems_client/models/checkout_response.py +65 -22
- robosystems_client/models/checkout_status_response.py +2 -1
- robosystems_client/models/create_checkout_request.py +2 -1
- robosystems_client/models/create_checkout_request_resource_config.py +4 -1
- robosystems_client/models/create_org_request.py +79 -0
- robosystems_client/models/graph_subscription_tier.py +40 -48
- robosystems_client/models/graph_subscriptions.py +17 -5
- robosystems_client/models/invite_member_request.py +93 -0
- robosystems_client/models/list_org_graphs_response_200_item.py +44 -0
- robosystems_client/models/org_detail_response.py +174 -0
- robosystems_client/models/org_detail_response_graphs_item.py +44 -0
- robosystems_client/models/org_detail_response_limits_type_0.py +44 -0
- robosystems_client/models/org_detail_response_members_item.py +44 -0
- robosystems_client/models/org_limits_response.py +98 -0
- robosystems_client/models/org_limits_response_current_usage.py +44 -0
- robosystems_client/models/org_list_response.py +82 -0
- robosystems_client/models/org_member_list_response.py +90 -0
- robosystems_client/models/org_member_response.py +104 -0
- robosystems_client/models/org_response.py +121 -0
- robosystems_client/models/org_role.py +10 -0
- robosystems_client/models/org_type.py +10 -0
- robosystems_client/models/org_usage_response.py +146 -0
- robosystems_client/models/org_usage_response_daily_trend_item.py +44 -0
- robosystems_client/models/org_usage_response_graph_details_item.py +44 -0
- robosystems_client/models/org_usage_summary.py +158 -0
- robosystems_client/models/repository_subscriptions.py +15 -4
- robosystems_client/models/service_offerings_response.py +15 -0
- robosystems_client/models/update_member_role_request.py +62 -0
- robosystems_client/models/update_org_request.py +103 -0
- {robosystems_client-0.2.11.dist-info → robosystems_client-0.2.13.dist-info}/METADATA +1 -1
- {robosystems_client-0.2.11.dist-info → robosystems_client-0.2.13.dist-info}/RECORD +70 -37
- robosystems_client/models/user_limits_response.py +0 -95
- robosystems_client/models/user_usage_response.py +0 -90
- {robosystems_client-0.2.11.dist-info → robosystems_client-0.2.13.dist-info}/WHEEL +0 -0
- {robosystems_client-0.2.11.dist-info → robosystems_client-0.2.13.dist-info}/licenses/LICENSE +0 -0
|
@@ -9,19 +9,35 @@ from ...models.agent_request import AgentRequest
|
|
|
9
9
|
from ...models.agent_response import AgentResponse
|
|
10
10
|
from ...models.error_response import ErrorResponse
|
|
11
11
|
from ...models.http_validation_error import HTTPValidationError
|
|
12
|
-
from ...
|
|
12
|
+
from ...models.response_mode import ResponseMode
|
|
13
|
+
from ...types import UNSET, Response, Unset
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
def _get_kwargs(
|
|
16
17
|
graph_id: str,
|
|
17
18
|
*,
|
|
18
19
|
body: AgentRequest,
|
|
20
|
+
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
19
21
|
) -> dict[str, Any]:
|
|
20
22
|
headers: dict[str, Any] = {}
|
|
21
23
|
|
|
24
|
+
params: dict[str, Any] = {}
|
|
25
|
+
|
|
26
|
+
json_mode: Union[None, Unset, str]
|
|
27
|
+
if isinstance(mode, Unset):
|
|
28
|
+
json_mode = UNSET
|
|
29
|
+
elif isinstance(mode, ResponseMode):
|
|
30
|
+
json_mode = mode.value
|
|
31
|
+
else:
|
|
32
|
+
json_mode = mode
|
|
33
|
+
params["mode"] = json_mode
|
|
34
|
+
|
|
35
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
36
|
+
|
|
22
37
|
_kwargs: dict[str, Any] = {
|
|
23
38
|
"method": "post",
|
|
24
39
|
"url": f"/v1/graphs/{graph_id}/agent",
|
|
40
|
+
"params": params,
|
|
25
41
|
}
|
|
26
42
|
|
|
27
43
|
_kwargs["json"] = body.to_dict()
|
|
@@ -40,6 +56,10 @@ def _parse_response(
|
|
|
40
56
|
|
|
41
57
|
return response_200
|
|
42
58
|
|
|
59
|
+
if response.status_code == 202:
|
|
60
|
+
response_202 = cast(Any, None)
|
|
61
|
+
return response_202
|
|
62
|
+
|
|
43
63
|
if response.status_code == 400:
|
|
44
64
|
response_400 = cast(Any, None)
|
|
45
65
|
return response_400
|
|
@@ -84,10 +104,11 @@ def sync_detailed(
|
|
|
84
104
|
*,
|
|
85
105
|
client: AuthenticatedClient,
|
|
86
106
|
body: AgentRequest,
|
|
107
|
+
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
87
108
|
) -> Response[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
|
|
88
109
|
r"""Auto-select agent for query
|
|
89
110
|
|
|
90
|
-
Automatically select the best agent for your query.
|
|
111
|
+
Automatically select the best agent for your query with intelligent execution strategy.
|
|
91
112
|
|
|
92
113
|
**Agent Selection Process:**
|
|
93
114
|
|
|
@@ -96,7 +117,8 @@ def sync_detailed(
|
|
|
96
117
|
2. Enriching context with RAG if enabled
|
|
97
118
|
3. Evaluating all available agents against selection criteria
|
|
98
119
|
4. Selecting the best match based on confidence scores
|
|
99
|
-
5.
|
|
120
|
+
5. Choosing execution strategy (sync/SSE/async) based on expected time
|
|
121
|
+
6. Executing the query with the selected agent
|
|
100
122
|
|
|
101
123
|
**Available Agent Types:**
|
|
102
124
|
- `financial`: Financial analysis, SEC filings, company metrics
|
|
@@ -109,6 +131,14 @@ def sync_detailed(
|
|
|
109
131
|
- `extended`: Comprehensive analysis (~15-60s), deep research
|
|
110
132
|
- `streaming`: Real-time response streaming
|
|
111
133
|
|
|
134
|
+
**Execution Strategies (automatic):**
|
|
135
|
+
- Fast operations (<5s): Immediate synchronous response
|
|
136
|
+
- Medium operations (5-30s): SSE streaming with progress updates
|
|
137
|
+
- Long operations (>30s): Async Celery worker with operation tracking
|
|
138
|
+
|
|
139
|
+
**Response Mode Override:**
|
|
140
|
+
Use query parameter `?mode=sync|async` to override automatic strategy selection.
|
|
141
|
+
|
|
112
142
|
**Confidence Score Interpretation:**
|
|
113
143
|
- `0.9-1.0`: High confidence, agent is ideal match
|
|
114
144
|
- `0.7-0.9`: Good confidence, agent is suitable
|
|
@@ -132,6 +162,8 @@ def sync_detailed(
|
|
|
132
162
|
|
|
133
163
|
Args:
|
|
134
164
|
graph_id (str):
|
|
165
|
+
mode (Union[None, ResponseMode, Unset]): Override execution mode: sync, async, stream, or
|
|
166
|
+
auto
|
|
135
167
|
body (AgentRequest): Request model for agent interactions.
|
|
136
168
|
|
|
137
169
|
Raises:
|
|
@@ -145,6 +177,7 @@ def sync_detailed(
|
|
|
145
177
|
kwargs = _get_kwargs(
|
|
146
178
|
graph_id=graph_id,
|
|
147
179
|
body=body,
|
|
180
|
+
mode=mode,
|
|
148
181
|
)
|
|
149
182
|
|
|
150
183
|
response = client.get_httpx_client().request(
|
|
@@ -159,10 +192,11 @@ def sync(
|
|
|
159
192
|
*,
|
|
160
193
|
client: AuthenticatedClient,
|
|
161
194
|
body: AgentRequest,
|
|
195
|
+
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
162
196
|
) -> Optional[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
|
|
163
197
|
r"""Auto-select agent for query
|
|
164
198
|
|
|
165
|
-
Automatically select the best agent for your query.
|
|
199
|
+
Automatically select the best agent for your query with intelligent execution strategy.
|
|
166
200
|
|
|
167
201
|
**Agent Selection Process:**
|
|
168
202
|
|
|
@@ -171,7 +205,8 @@ def sync(
|
|
|
171
205
|
2. Enriching context with RAG if enabled
|
|
172
206
|
3. Evaluating all available agents against selection criteria
|
|
173
207
|
4. Selecting the best match based on confidence scores
|
|
174
|
-
5.
|
|
208
|
+
5. Choosing execution strategy (sync/SSE/async) based on expected time
|
|
209
|
+
6. Executing the query with the selected agent
|
|
175
210
|
|
|
176
211
|
**Available Agent Types:**
|
|
177
212
|
- `financial`: Financial analysis, SEC filings, company metrics
|
|
@@ -184,6 +219,14 @@ def sync(
|
|
|
184
219
|
- `extended`: Comprehensive analysis (~15-60s), deep research
|
|
185
220
|
- `streaming`: Real-time response streaming
|
|
186
221
|
|
|
222
|
+
**Execution Strategies (automatic):**
|
|
223
|
+
- Fast operations (<5s): Immediate synchronous response
|
|
224
|
+
- Medium operations (5-30s): SSE streaming with progress updates
|
|
225
|
+
- Long operations (>30s): Async Celery worker with operation tracking
|
|
226
|
+
|
|
227
|
+
**Response Mode Override:**
|
|
228
|
+
Use query parameter `?mode=sync|async` to override automatic strategy selection.
|
|
229
|
+
|
|
187
230
|
**Confidence Score Interpretation:**
|
|
188
231
|
- `0.9-1.0`: High confidence, agent is ideal match
|
|
189
232
|
- `0.7-0.9`: Good confidence, agent is suitable
|
|
@@ -207,6 +250,8 @@ def sync(
|
|
|
207
250
|
|
|
208
251
|
Args:
|
|
209
252
|
graph_id (str):
|
|
253
|
+
mode (Union[None, ResponseMode, Unset]): Override execution mode: sync, async, stream, or
|
|
254
|
+
auto
|
|
210
255
|
body (AgentRequest): Request model for agent interactions.
|
|
211
256
|
|
|
212
257
|
Raises:
|
|
@@ -221,6 +266,7 @@ def sync(
|
|
|
221
266
|
graph_id=graph_id,
|
|
222
267
|
client=client,
|
|
223
268
|
body=body,
|
|
269
|
+
mode=mode,
|
|
224
270
|
).parsed
|
|
225
271
|
|
|
226
272
|
|
|
@@ -229,10 +275,11 @@ async def asyncio_detailed(
|
|
|
229
275
|
*,
|
|
230
276
|
client: AuthenticatedClient,
|
|
231
277
|
body: AgentRequest,
|
|
278
|
+
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
232
279
|
) -> Response[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
|
|
233
280
|
r"""Auto-select agent for query
|
|
234
281
|
|
|
235
|
-
Automatically select the best agent for your query.
|
|
282
|
+
Automatically select the best agent for your query with intelligent execution strategy.
|
|
236
283
|
|
|
237
284
|
**Agent Selection Process:**
|
|
238
285
|
|
|
@@ -241,7 +288,8 @@ async def asyncio_detailed(
|
|
|
241
288
|
2. Enriching context with RAG if enabled
|
|
242
289
|
3. Evaluating all available agents against selection criteria
|
|
243
290
|
4. Selecting the best match based on confidence scores
|
|
244
|
-
5.
|
|
291
|
+
5. Choosing execution strategy (sync/SSE/async) based on expected time
|
|
292
|
+
6. Executing the query with the selected agent
|
|
245
293
|
|
|
246
294
|
**Available Agent Types:**
|
|
247
295
|
- `financial`: Financial analysis, SEC filings, company metrics
|
|
@@ -254,6 +302,14 @@ async def asyncio_detailed(
|
|
|
254
302
|
- `extended`: Comprehensive analysis (~15-60s), deep research
|
|
255
303
|
- `streaming`: Real-time response streaming
|
|
256
304
|
|
|
305
|
+
**Execution Strategies (automatic):**
|
|
306
|
+
- Fast operations (<5s): Immediate synchronous response
|
|
307
|
+
- Medium operations (5-30s): SSE streaming with progress updates
|
|
308
|
+
- Long operations (>30s): Async Celery worker with operation tracking
|
|
309
|
+
|
|
310
|
+
**Response Mode Override:**
|
|
311
|
+
Use query parameter `?mode=sync|async` to override automatic strategy selection.
|
|
312
|
+
|
|
257
313
|
**Confidence Score Interpretation:**
|
|
258
314
|
- `0.9-1.0`: High confidence, agent is ideal match
|
|
259
315
|
- `0.7-0.9`: Good confidence, agent is suitable
|
|
@@ -277,6 +333,8 @@ async def asyncio_detailed(
|
|
|
277
333
|
|
|
278
334
|
Args:
|
|
279
335
|
graph_id (str):
|
|
336
|
+
mode (Union[None, ResponseMode, Unset]): Override execution mode: sync, async, stream, or
|
|
337
|
+
auto
|
|
280
338
|
body (AgentRequest): Request model for agent interactions.
|
|
281
339
|
|
|
282
340
|
Raises:
|
|
@@ -290,6 +348,7 @@ async def asyncio_detailed(
|
|
|
290
348
|
kwargs = _get_kwargs(
|
|
291
349
|
graph_id=graph_id,
|
|
292
350
|
body=body,
|
|
351
|
+
mode=mode,
|
|
293
352
|
)
|
|
294
353
|
|
|
295
354
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -302,10 +361,11 @@ async def asyncio(
|
|
|
302
361
|
*,
|
|
303
362
|
client: AuthenticatedClient,
|
|
304
363
|
body: AgentRequest,
|
|
364
|
+
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
305
365
|
) -> Optional[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
|
|
306
366
|
r"""Auto-select agent for query
|
|
307
367
|
|
|
308
|
-
Automatically select the best agent for your query.
|
|
368
|
+
Automatically select the best agent for your query with intelligent execution strategy.
|
|
309
369
|
|
|
310
370
|
**Agent Selection Process:**
|
|
311
371
|
|
|
@@ -314,7 +374,8 @@ async def asyncio(
|
|
|
314
374
|
2. Enriching context with RAG if enabled
|
|
315
375
|
3. Evaluating all available agents against selection criteria
|
|
316
376
|
4. Selecting the best match based on confidence scores
|
|
317
|
-
5.
|
|
377
|
+
5. Choosing execution strategy (sync/SSE/async) based on expected time
|
|
378
|
+
6. Executing the query with the selected agent
|
|
318
379
|
|
|
319
380
|
**Available Agent Types:**
|
|
320
381
|
- `financial`: Financial analysis, SEC filings, company metrics
|
|
@@ -327,6 +388,14 @@ async def asyncio(
|
|
|
327
388
|
- `extended`: Comprehensive analysis (~15-60s), deep research
|
|
328
389
|
- `streaming`: Real-time response streaming
|
|
329
390
|
|
|
391
|
+
**Execution Strategies (automatic):**
|
|
392
|
+
- Fast operations (<5s): Immediate synchronous response
|
|
393
|
+
- Medium operations (5-30s): SSE streaming with progress updates
|
|
394
|
+
- Long operations (>30s): Async Celery worker with operation tracking
|
|
395
|
+
|
|
396
|
+
**Response Mode Override:**
|
|
397
|
+
Use query parameter `?mode=sync|async` to override automatic strategy selection.
|
|
398
|
+
|
|
330
399
|
**Confidence Score Interpretation:**
|
|
331
400
|
- `0.9-1.0`: High confidence, agent is ideal match
|
|
332
401
|
- `0.7-0.9`: Good confidence, agent is suitable
|
|
@@ -350,6 +419,8 @@ async def asyncio(
|
|
|
350
419
|
|
|
351
420
|
Args:
|
|
352
421
|
graph_id (str):
|
|
422
|
+
mode (Union[None, ResponseMode, Unset]): Override execution mode: sync, async, stream, or
|
|
423
|
+
auto
|
|
353
424
|
body (AgentRequest): Request model for agent interactions.
|
|
354
425
|
|
|
355
426
|
Raises:
|
|
@@ -365,5 +436,6 @@ async def asyncio(
|
|
|
365
436
|
graph_id=graph_id,
|
|
366
437
|
client=client,
|
|
367
438
|
body=body,
|
|
439
|
+
mode=mode,
|
|
368
440
|
)
|
|
369
441
|
).parsed
|
|
@@ -9,7 +9,8 @@ from ...models.agent_request import AgentRequest
|
|
|
9
9
|
from ...models.agent_response import AgentResponse
|
|
10
10
|
from ...models.error_response import ErrorResponse
|
|
11
11
|
from ...models.http_validation_error import HTTPValidationError
|
|
12
|
-
from ...
|
|
12
|
+
from ...models.response_mode import ResponseMode
|
|
13
|
+
from ...types import UNSET, Response, Unset
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
def _get_kwargs(
|
|
@@ -17,12 +18,27 @@ def _get_kwargs(
|
|
|
17
18
|
agent_type: str,
|
|
18
19
|
*,
|
|
19
20
|
body: AgentRequest,
|
|
21
|
+
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
20
22
|
) -> dict[str, Any]:
|
|
21
23
|
headers: dict[str, Any] = {}
|
|
22
24
|
|
|
25
|
+
params: dict[str, Any] = {}
|
|
26
|
+
|
|
27
|
+
json_mode: Union[None, Unset, str]
|
|
28
|
+
if isinstance(mode, Unset):
|
|
29
|
+
json_mode = UNSET
|
|
30
|
+
elif isinstance(mode, ResponseMode):
|
|
31
|
+
json_mode = mode.value
|
|
32
|
+
else:
|
|
33
|
+
json_mode = mode
|
|
34
|
+
params["mode"] = json_mode
|
|
35
|
+
|
|
36
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
37
|
+
|
|
23
38
|
_kwargs: dict[str, Any] = {
|
|
24
39
|
"method": "post",
|
|
25
40
|
"url": f"/v1/graphs/{graph_id}/agent/{agent_type}",
|
|
41
|
+
"params": params,
|
|
26
42
|
}
|
|
27
43
|
|
|
28
44
|
_kwargs["json"] = body.to_dict()
|
|
@@ -41,6 +57,10 @@ def _parse_response(
|
|
|
41
57
|
|
|
42
58
|
return response_200
|
|
43
59
|
|
|
60
|
+
if response.status_code == 202:
|
|
61
|
+
response_202 = cast(Any, None)
|
|
62
|
+
return response_202
|
|
63
|
+
|
|
44
64
|
if response.status_code == 400:
|
|
45
65
|
response_400 = cast(Any, None)
|
|
46
66
|
return response_400
|
|
@@ -90,21 +110,32 @@ def sync_detailed(
|
|
|
90
110
|
*,
|
|
91
111
|
client: AuthenticatedClient,
|
|
92
112
|
body: AgentRequest,
|
|
113
|
+
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
93
114
|
) -> Response[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
|
|
94
115
|
"""Execute specific agent
|
|
95
116
|
|
|
96
|
-
Execute a specific agent type directly.
|
|
117
|
+
Execute a specific agent type directly with intelligent execution strategy.
|
|
97
118
|
|
|
98
119
|
Available agents:
|
|
99
120
|
- **financial**: Financial analysis, SEC filings, accounting data
|
|
100
121
|
- **research**: Deep research and comprehensive analysis
|
|
101
122
|
- **rag**: Fast retrieval without AI (no credits required)
|
|
102
123
|
|
|
124
|
+
**Execution Strategies (automatic):**
|
|
125
|
+
- Fast operations (<5s): Immediate synchronous response
|
|
126
|
+
- Medium operations (5-30s): SSE streaming with progress updates
|
|
127
|
+
- Long operations (>30s): Async Celery worker with operation tracking
|
|
128
|
+
|
|
129
|
+
**Response Mode Override:**
|
|
130
|
+
Use query parameter `?mode=sync|async` to override automatic strategy selection.
|
|
131
|
+
|
|
103
132
|
Use this endpoint when you know which agent you want to use.
|
|
104
133
|
|
|
105
134
|
Args:
|
|
106
135
|
graph_id (str):
|
|
107
136
|
agent_type (str):
|
|
137
|
+
mode (Union[None, ResponseMode, Unset]): Override execution mode: sync, async, stream, or
|
|
138
|
+
auto
|
|
108
139
|
body (AgentRequest): Request model for agent interactions.
|
|
109
140
|
|
|
110
141
|
Raises:
|
|
@@ -119,6 +150,7 @@ def sync_detailed(
|
|
|
119
150
|
graph_id=graph_id,
|
|
120
151
|
agent_type=agent_type,
|
|
121
152
|
body=body,
|
|
153
|
+
mode=mode,
|
|
122
154
|
)
|
|
123
155
|
|
|
124
156
|
response = client.get_httpx_client().request(
|
|
@@ -134,21 +166,32 @@ def sync(
|
|
|
134
166
|
*,
|
|
135
167
|
client: AuthenticatedClient,
|
|
136
168
|
body: AgentRequest,
|
|
169
|
+
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
137
170
|
) -> Optional[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
|
|
138
171
|
"""Execute specific agent
|
|
139
172
|
|
|
140
|
-
Execute a specific agent type directly.
|
|
173
|
+
Execute a specific agent type directly with intelligent execution strategy.
|
|
141
174
|
|
|
142
175
|
Available agents:
|
|
143
176
|
- **financial**: Financial analysis, SEC filings, accounting data
|
|
144
177
|
- **research**: Deep research and comprehensive analysis
|
|
145
178
|
- **rag**: Fast retrieval without AI (no credits required)
|
|
146
179
|
|
|
180
|
+
**Execution Strategies (automatic):**
|
|
181
|
+
- Fast operations (<5s): Immediate synchronous response
|
|
182
|
+
- Medium operations (5-30s): SSE streaming with progress updates
|
|
183
|
+
- Long operations (>30s): Async Celery worker with operation tracking
|
|
184
|
+
|
|
185
|
+
**Response Mode Override:**
|
|
186
|
+
Use query parameter `?mode=sync|async` to override automatic strategy selection.
|
|
187
|
+
|
|
147
188
|
Use this endpoint when you know which agent you want to use.
|
|
148
189
|
|
|
149
190
|
Args:
|
|
150
191
|
graph_id (str):
|
|
151
192
|
agent_type (str):
|
|
193
|
+
mode (Union[None, ResponseMode, Unset]): Override execution mode: sync, async, stream, or
|
|
194
|
+
auto
|
|
152
195
|
body (AgentRequest): Request model for agent interactions.
|
|
153
196
|
|
|
154
197
|
Raises:
|
|
@@ -164,6 +207,7 @@ def sync(
|
|
|
164
207
|
agent_type=agent_type,
|
|
165
208
|
client=client,
|
|
166
209
|
body=body,
|
|
210
|
+
mode=mode,
|
|
167
211
|
).parsed
|
|
168
212
|
|
|
169
213
|
|
|
@@ -173,21 +217,32 @@ async def asyncio_detailed(
|
|
|
173
217
|
*,
|
|
174
218
|
client: AuthenticatedClient,
|
|
175
219
|
body: AgentRequest,
|
|
220
|
+
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
176
221
|
) -> Response[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
|
|
177
222
|
"""Execute specific agent
|
|
178
223
|
|
|
179
|
-
Execute a specific agent type directly.
|
|
224
|
+
Execute a specific agent type directly with intelligent execution strategy.
|
|
180
225
|
|
|
181
226
|
Available agents:
|
|
182
227
|
- **financial**: Financial analysis, SEC filings, accounting data
|
|
183
228
|
- **research**: Deep research and comprehensive analysis
|
|
184
229
|
- **rag**: Fast retrieval without AI (no credits required)
|
|
185
230
|
|
|
231
|
+
**Execution Strategies (automatic):**
|
|
232
|
+
- Fast operations (<5s): Immediate synchronous response
|
|
233
|
+
- Medium operations (5-30s): SSE streaming with progress updates
|
|
234
|
+
- Long operations (>30s): Async Celery worker with operation tracking
|
|
235
|
+
|
|
236
|
+
**Response Mode Override:**
|
|
237
|
+
Use query parameter `?mode=sync|async` to override automatic strategy selection.
|
|
238
|
+
|
|
186
239
|
Use this endpoint when you know which agent you want to use.
|
|
187
240
|
|
|
188
241
|
Args:
|
|
189
242
|
graph_id (str):
|
|
190
243
|
agent_type (str):
|
|
244
|
+
mode (Union[None, ResponseMode, Unset]): Override execution mode: sync, async, stream, or
|
|
245
|
+
auto
|
|
191
246
|
body (AgentRequest): Request model for agent interactions.
|
|
192
247
|
|
|
193
248
|
Raises:
|
|
@@ -202,6 +257,7 @@ async def asyncio_detailed(
|
|
|
202
257
|
graph_id=graph_id,
|
|
203
258
|
agent_type=agent_type,
|
|
204
259
|
body=body,
|
|
260
|
+
mode=mode,
|
|
205
261
|
)
|
|
206
262
|
|
|
207
263
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -215,21 +271,32 @@ async def asyncio(
|
|
|
215
271
|
*,
|
|
216
272
|
client: AuthenticatedClient,
|
|
217
273
|
body: AgentRequest,
|
|
274
|
+
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
218
275
|
) -> Optional[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
|
|
219
276
|
"""Execute specific agent
|
|
220
277
|
|
|
221
|
-
Execute a specific agent type directly.
|
|
278
|
+
Execute a specific agent type directly with intelligent execution strategy.
|
|
222
279
|
|
|
223
280
|
Available agents:
|
|
224
281
|
- **financial**: Financial analysis, SEC filings, accounting data
|
|
225
282
|
- **research**: Deep research and comprehensive analysis
|
|
226
283
|
- **rag**: Fast retrieval without AI (no credits required)
|
|
227
284
|
|
|
285
|
+
**Execution Strategies (automatic):**
|
|
286
|
+
- Fast operations (<5s): Immediate synchronous response
|
|
287
|
+
- Medium operations (5-30s): SSE streaming with progress updates
|
|
288
|
+
- Long operations (>30s): Async Celery worker with operation tracking
|
|
289
|
+
|
|
290
|
+
**Response Mode Override:**
|
|
291
|
+
Use query parameter `?mode=sync|async` to override automatic strategy selection.
|
|
292
|
+
|
|
228
293
|
Use this endpoint when you know which agent you want to use.
|
|
229
294
|
|
|
230
295
|
Args:
|
|
231
296
|
graph_id (str):
|
|
232
297
|
agent_type (str):
|
|
298
|
+
mode (Union[None, ResponseMode, Unset]): Override execution mode: sync, async, stream, or
|
|
299
|
+
auto
|
|
233
300
|
body (AgentRequest): Request model for agent interactions.
|
|
234
301
|
|
|
235
302
|
Raises:
|
|
@@ -246,5 +313,6 @@ async def asyncio(
|
|
|
246
313
|
agent_type=agent_type,
|
|
247
314
|
client=client,
|
|
248
315
|
body=body,
|
|
316
|
+
mode=mode,
|
|
249
317
|
)
|
|
250
318
|
).parsed
|
|
@@ -83,8 +83,15 @@ def sync_detailed(
|
|
|
83
83
|
) -> Response[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
|
|
84
84
|
"""Register New User
|
|
85
85
|
|
|
86
|
-
Register a new user account with email and password.
|
|
87
|
-
|
|
86
|
+
Register a new user account with email and password.
|
|
87
|
+
|
|
88
|
+
**Organization Creation**: RoboSystems is an org-centric platform. When you register, a personal
|
|
89
|
+
organization is automatically created for you. All resources (graphs, subscriptions, billing) belong
|
|
90
|
+
to organizations, not individual users. You can later upgrade your personal org to a team or
|
|
91
|
+
enterprise organization.
|
|
92
|
+
|
|
93
|
+
**Security Controls**: CAPTCHA and email verification are disabled in development for API testing,
|
|
94
|
+
but required in production.
|
|
88
95
|
|
|
89
96
|
Args:
|
|
90
97
|
body (RegisterRequest): Registration request model.
|
|
@@ -115,8 +122,15 @@ def sync(
|
|
|
115
122
|
) -> Optional[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
|
|
116
123
|
"""Register New User
|
|
117
124
|
|
|
118
|
-
Register a new user account with email and password.
|
|
119
|
-
|
|
125
|
+
Register a new user account with email and password.
|
|
126
|
+
|
|
127
|
+
**Organization Creation**: RoboSystems is an org-centric platform. When you register, a personal
|
|
128
|
+
organization is automatically created for you. All resources (graphs, subscriptions, billing) belong
|
|
129
|
+
to organizations, not individual users. You can later upgrade your personal org to a team or
|
|
130
|
+
enterprise organization.
|
|
131
|
+
|
|
132
|
+
**Security Controls**: CAPTCHA and email verification are disabled in development for API testing,
|
|
133
|
+
but required in production.
|
|
120
134
|
|
|
121
135
|
Args:
|
|
122
136
|
body (RegisterRequest): Registration request model.
|
|
@@ -142,8 +156,15 @@ async def asyncio_detailed(
|
|
|
142
156
|
) -> Response[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
|
|
143
157
|
"""Register New User
|
|
144
158
|
|
|
145
|
-
Register a new user account with email and password.
|
|
146
|
-
|
|
159
|
+
Register a new user account with email and password.
|
|
160
|
+
|
|
161
|
+
**Organization Creation**: RoboSystems is an org-centric platform. When you register, a personal
|
|
162
|
+
organization is automatically created for you. All resources (graphs, subscriptions, billing) belong
|
|
163
|
+
to organizations, not individual users. You can later upgrade your personal org to a team or
|
|
164
|
+
enterprise organization.
|
|
165
|
+
|
|
166
|
+
**Security Controls**: CAPTCHA and email verification are disabled in development for API testing,
|
|
167
|
+
but required in production.
|
|
147
168
|
|
|
148
169
|
Args:
|
|
149
170
|
body (RegisterRequest): Registration request model.
|
|
@@ -172,8 +193,15 @@ async def asyncio(
|
|
|
172
193
|
) -> Optional[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
|
|
173
194
|
"""Register New User
|
|
174
195
|
|
|
175
|
-
Register a new user account with email and password.
|
|
176
|
-
|
|
196
|
+
Register a new user account with email and password.
|
|
197
|
+
|
|
198
|
+
**Organization Creation**: RoboSystems is an org-centric platform. When you register, a personal
|
|
199
|
+
organization is automatically created for you. All resources (graphs, subscriptions, billing) belong
|
|
200
|
+
to organizations, not individual users. You can later upgrade your personal org to a team or
|
|
201
|
+
enterprise organization.
|
|
202
|
+
|
|
203
|
+
**Security Controls**: CAPTCHA and email verification are disabled in development for API testing,
|
|
204
|
+
but required in production.
|
|
177
205
|
|
|
178
206
|
Args:
|
|
179
207
|
body (RegisterRequest): Registration request model.
|