robosystems-client 0.2.3__py3-none-any.whl → 0.2.4__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 +1 -41
- robosystems_client/api/agent/batch_process_queries.py +1 -41
- robosystems_client/api/agent/execute_specific_agent.py +1 -41
- robosystems_client/api/agent/get_agent_metadata.py +5 -49
- robosystems_client/api/agent/list_agents.py +4 -42
- robosystems_client/api/agent/recommend_agent.py +5 -45
- robosystems_client/api/auth/generate_sso_token.py +0 -18
- robosystems_client/api/auth/get_current_auth_user.py +14 -74
- robosystems_client/api/auth/logout_user.py +14 -50
- robosystems_client/api/auth/refresh_auth_session.py +14 -50
- robosystems_client/api/auth/resend_verification_email.py +14 -74
- robosystems_client/api/backup/create_backup.py +5 -45
- robosystems_client/api/backup/get_backup_download_url.py +4 -42
- robosystems_client/api/backup/get_backup_stats.py +5 -49
- robosystems_client/api/backup/list_backups.py +4 -42
- robosystems_client/api/backup/restore_backup.py +5 -45
- robosystems_client/api/connections/create_connection.py +5 -45
- robosystems_client/api/connections/create_link_token.py +5 -45
- robosystems_client/api/connections/delete_connection.py +5 -49
- robosystems_client/api/connections/exchange_link_token.py +5 -45
- robosystems_client/api/connections/get_connection.py +5 -49
- robosystems_client/api/connections/get_connection_options.py +5 -49
- robosystems_client/api/connections/init_o_auth.py +5 -45
- robosystems_client/api/connections/list_connections.py +4 -42
- robosystems_client/api/connections/oauth_callback.py +5 -45
- robosystems_client/api/connections/sync_connection.py +5 -45
- robosystems_client/api/graph_analytics/get_graph_metrics.py +5 -49
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +4 -42
- robosystems_client/api/graph_billing/get_current_graph_bill.py +5 -49
- robosystems_client/api/graph_billing/get_graph_billing_history.py +4 -42
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +5 -49
- robosystems_client/api/graph_billing/get_graph_usage_details.py +4 -42
- robosystems_client/api/graph_credits/check_credit_balance.py +0 -38
- robosystems_client/api/graph_credits/check_storage_limits.py +1 -45
- robosystems_client/api/graph_credits/get_credit_summary.py +1 -45
- robosystems_client/api/graph_credits/get_storage_usage.py +0 -38
- robosystems_client/api/graph_credits/list_credit_transactions.py +4 -42
- robosystems_client/api/graph_health/get_database_health.py +5 -49
- robosystems_client/api/graph_info/get_database_info.py +5 -49
- robosystems_client/api/graph_limits/get_graph_limits.py +5 -49
- robosystems_client/api/graphs/create_graph.py +21 -57
- robosystems_client/api/graphs/get_available_extensions.py +131 -15
- robosystems_client/api/graphs/get_graphs.py +154 -79
- robosystems_client/api/graphs/select_graph.py +117 -49
- robosystems_client/api/mcp/call_mcp_tool.py +24 -47
- robosystems_client/api/mcp/list_mcp_tools.py +13 -61
- robosystems_client/api/operations/cancel_operation.py +1 -45
- robosystems_client/api/operations/get_operation_status.py +1 -45
- robosystems_client/api/query/execute_cypher_query.py +69 -53
- robosystems_client/api/schema/export_graph_schema.py +223 -65
- robosystems_client/api/schema/get_graph_schema.py +137 -79
- robosystems_client/api/schema/validate_schema.py +5 -45
- robosystems_client/api/subgraphs/create_subgraph.py +5 -45
- robosystems_client/api/subgraphs/delete_subgraph.py +5 -45
- robosystems_client/api/subgraphs/get_subgraph_info.py +5 -49
- robosystems_client/api/subgraphs/get_subgraph_quota.py +5 -49
- robosystems_client/api/subgraphs/list_subgraphs.py +5 -49
- robosystems_client/api/tables/delete_file.py +181 -301
- robosystems_client/api/tables/get_file_info.py +117 -265
- robosystems_client/api/tables/get_upload_url.py +193 -389
- robosystems_client/api/tables/ingest_tables.py +277 -465
- robosystems_client/api/tables/list_table_files.py +193 -373
- robosystems_client/api/tables/list_tables.py +189 -361
- robosystems_client/api/tables/query_tables.py +85 -141
- robosystems_client/api/tables/update_file_status.py +205 -349
- robosystems_client/api/user/create_user_api_key.py +1 -41
- robosystems_client/api/user/get_all_credit_summaries.py +14 -111
- robosystems_client/api/user/get_current_user.py +14 -75
- robosystems_client/api/user/list_user_api_keys.py +14 -75
- robosystems_client/api/user/revoke_user_api_key.py +1 -45
- robosystems_client/api/user/update_user.py +1 -41
- robosystems_client/api/user/update_user_api_key.py +1 -41
- robosystems_client/api/user/update_user_password.py +1 -41
- robosystems_client/api/user_analytics/get_detailed_user_analytics.py +0 -38
- robosystems_client/api/user_analytics/get_user_usage_overview.py +14 -75
- robosystems_client/api/user_limits/get_all_shared_repository_limits.py +14 -105
- robosystems_client/api/user_limits/get_shared_repository_limits.py +1 -45
- robosystems_client/api/user_limits/get_user_limits.py +14 -75
- robosystems_client/api/user_limits/get_user_usage.py +14 -75
- robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +1 -45
- robosystems_client/api/user_subscriptions/get_repository_credits.py +1 -45
- robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +14 -75
- robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +0 -38
- robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +1 -41
- robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +1 -41
- robosystems_client/extensions/__init__.py +8 -1
- robosystems_client/extensions/auth_integration.py +1 -2
- robosystems_client/extensions/query_client.py +3 -2
- robosystems_client/extensions/sse_client.py +1 -1
- robosystems_client/extensions/table_ingest_client.py +5 -0
- robosystems_client/extensions/utils.py +2 -2
- robosystems_client/models/__init__.py +4 -4
- robosystems_client/models/create_graph_request.py +4 -3
- robosystems_client/models/cypher_query_request.py +5 -22
- robosystems_client/models/schema_export_response.py +4 -2
- robosystems_client/models/schema_info_response.py +77 -0
- robosystems_client/models/{get_graph_schema_response_getgraphschema.py → schema_info_response_schema.py} +6 -6
- robosystems_client/models/schema_validation_response.py +7 -6
- robosystems_client/models/table_query_request.py +37 -2
- {robosystems_client-0.2.3.dist-info → robosystems_client-0.2.4.dist-info}/METADATA +2 -4
- {robosystems_client-0.2.3.dist-info → robosystems_client-0.2.4.dist-info}/RECORD +103 -102
- {robosystems_client-0.2.3.dist-info → robosystems_client-0.2.4.dist-info}/WHEEL +0 -0
- {robosystems_client-0.2.3.dist-info → robosystems_client-0.2.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -17,12 +17,8 @@ def _get_kwargs(
|
|
|
17
17
|
body: MCPToolCall,
|
|
18
18
|
format_: Union[None, Unset, str] = UNSET,
|
|
19
19
|
test_mode: Union[Unset, bool] = False,
|
|
20
|
-
token: Union[None, Unset, str] = UNSET,
|
|
21
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
22
20
|
) -> dict[str, Any]:
|
|
23
21
|
headers: dict[str, Any] = {}
|
|
24
|
-
if not isinstance(authorization, Unset):
|
|
25
|
-
headers["authorization"] = authorization
|
|
26
22
|
|
|
27
23
|
params: dict[str, Any] = {}
|
|
28
24
|
|
|
@@ -35,13 +31,6 @@ def _get_kwargs(
|
|
|
35
31
|
|
|
36
32
|
params["test_mode"] = test_mode
|
|
37
33
|
|
|
38
|
-
json_token: Union[None, Unset, str]
|
|
39
|
-
if isinstance(token, Unset):
|
|
40
|
-
json_token = UNSET
|
|
41
|
-
else:
|
|
42
|
-
json_token = token
|
|
43
|
-
params["token"] = json_token
|
|
44
|
-
|
|
45
34
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
46
35
|
|
|
47
36
|
_kwargs: dict[str, Any] = {
|
|
@@ -133,8 +122,6 @@ def sync_detailed(
|
|
|
133
122
|
body: MCPToolCall,
|
|
134
123
|
format_: Union[None, Unset, str] = UNSET,
|
|
135
124
|
test_mode: Union[Unset, bool] = False,
|
|
136
|
-
token: Union[None, Unset, str] = UNSET,
|
|
137
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
138
125
|
) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
139
126
|
"""Execute MCP Tool
|
|
140
127
|
|
|
@@ -170,15 +157,16 @@ def sync_detailed(
|
|
|
170
157
|
- `408 Request Timeout`: Tool execution exceeded timeout
|
|
171
158
|
- Clients should implement exponential backoff on errors
|
|
172
159
|
|
|
173
|
-
**
|
|
174
|
-
MCP tool
|
|
160
|
+
**Credit Model:**
|
|
161
|
+
MCP tool execution is included - no credit consumption required. Database
|
|
162
|
+
operations (queries, schema inspection, analytics) are completely free.
|
|
163
|
+
Only AI operations that invoke Claude or other LLM APIs consume credits,
|
|
164
|
+
which happens at the AI agent layer, not the MCP tool layer.
|
|
175
165
|
|
|
176
166
|
Args:
|
|
177
|
-
graph_id (str):
|
|
167
|
+
graph_id (str):
|
|
178
168
|
format_ (Union[None, Unset, str]): Response format override (json, sse, ndjson)
|
|
179
169
|
test_mode (Union[Unset, bool]): Enable test mode for debugging Default: False.
|
|
180
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
181
|
-
authorization (Union[None, Unset, str]):
|
|
182
170
|
body (MCPToolCall): Request model for MCP tool execution.
|
|
183
171
|
|
|
184
172
|
Raises:
|
|
@@ -194,8 +182,6 @@ def sync_detailed(
|
|
|
194
182
|
body=body,
|
|
195
183
|
format_=format_,
|
|
196
184
|
test_mode=test_mode,
|
|
197
|
-
token=token,
|
|
198
|
-
authorization=authorization,
|
|
199
185
|
)
|
|
200
186
|
|
|
201
187
|
response = client.get_httpx_client().request(
|
|
@@ -212,8 +198,6 @@ def sync(
|
|
|
212
198
|
body: MCPToolCall,
|
|
213
199
|
format_: Union[None, Unset, str] = UNSET,
|
|
214
200
|
test_mode: Union[Unset, bool] = False,
|
|
215
|
-
token: Union[None, Unset, str] = UNSET,
|
|
216
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
217
201
|
) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
218
202
|
"""Execute MCP Tool
|
|
219
203
|
|
|
@@ -249,15 +233,16 @@ def sync(
|
|
|
249
233
|
- `408 Request Timeout`: Tool execution exceeded timeout
|
|
250
234
|
- Clients should implement exponential backoff on errors
|
|
251
235
|
|
|
252
|
-
**
|
|
253
|
-
MCP tool
|
|
236
|
+
**Credit Model:**
|
|
237
|
+
MCP tool execution is included - no credit consumption required. Database
|
|
238
|
+
operations (queries, schema inspection, analytics) are completely free.
|
|
239
|
+
Only AI operations that invoke Claude or other LLM APIs consume credits,
|
|
240
|
+
which happens at the AI agent layer, not the MCP tool layer.
|
|
254
241
|
|
|
255
242
|
Args:
|
|
256
|
-
graph_id (str):
|
|
243
|
+
graph_id (str):
|
|
257
244
|
format_ (Union[None, Unset, str]): Response format override (json, sse, ndjson)
|
|
258
245
|
test_mode (Union[Unset, bool]): Enable test mode for debugging Default: False.
|
|
259
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
260
|
-
authorization (Union[None, Unset, str]):
|
|
261
246
|
body (MCPToolCall): Request model for MCP tool execution.
|
|
262
247
|
|
|
263
248
|
Raises:
|
|
@@ -274,8 +259,6 @@ def sync(
|
|
|
274
259
|
body=body,
|
|
275
260
|
format_=format_,
|
|
276
261
|
test_mode=test_mode,
|
|
277
|
-
token=token,
|
|
278
|
-
authorization=authorization,
|
|
279
262
|
).parsed
|
|
280
263
|
|
|
281
264
|
|
|
@@ -286,8 +269,6 @@ async def asyncio_detailed(
|
|
|
286
269
|
body: MCPToolCall,
|
|
287
270
|
format_: Union[None, Unset, str] = UNSET,
|
|
288
271
|
test_mode: Union[Unset, bool] = False,
|
|
289
|
-
token: Union[None, Unset, str] = UNSET,
|
|
290
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
291
272
|
) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
292
273
|
"""Execute MCP Tool
|
|
293
274
|
|
|
@@ -323,15 +304,16 @@ async def asyncio_detailed(
|
|
|
323
304
|
- `408 Request Timeout`: Tool execution exceeded timeout
|
|
324
305
|
- Clients should implement exponential backoff on errors
|
|
325
306
|
|
|
326
|
-
**
|
|
327
|
-
MCP tool
|
|
307
|
+
**Credit Model:**
|
|
308
|
+
MCP tool execution is included - no credit consumption required. Database
|
|
309
|
+
operations (queries, schema inspection, analytics) are completely free.
|
|
310
|
+
Only AI operations that invoke Claude or other LLM APIs consume credits,
|
|
311
|
+
which happens at the AI agent layer, not the MCP tool layer.
|
|
328
312
|
|
|
329
313
|
Args:
|
|
330
|
-
graph_id (str):
|
|
314
|
+
graph_id (str):
|
|
331
315
|
format_ (Union[None, Unset, str]): Response format override (json, sse, ndjson)
|
|
332
316
|
test_mode (Union[Unset, bool]): Enable test mode for debugging Default: False.
|
|
333
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
334
|
-
authorization (Union[None, Unset, str]):
|
|
335
317
|
body (MCPToolCall): Request model for MCP tool execution.
|
|
336
318
|
|
|
337
319
|
Raises:
|
|
@@ -347,8 +329,6 @@ async def asyncio_detailed(
|
|
|
347
329
|
body=body,
|
|
348
330
|
format_=format_,
|
|
349
331
|
test_mode=test_mode,
|
|
350
|
-
token=token,
|
|
351
|
-
authorization=authorization,
|
|
352
332
|
)
|
|
353
333
|
|
|
354
334
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -363,8 +343,6 @@ async def asyncio(
|
|
|
363
343
|
body: MCPToolCall,
|
|
364
344
|
format_: Union[None, Unset, str] = UNSET,
|
|
365
345
|
test_mode: Union[Unset, bool] = False,
|
|
366
|
-
token: Union[None, Unset, str] = UNSET,
|
|
367
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
368
346
|
) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
369
347
|
"""Execute MCP Tool
|
|
370
348
|
|
|
@@ -400,15 +378,16 @@ async def asyncio(
|
|
|
400
378
|
- `408 Request Timeout`: Tool execution exceeded timeout
|
|
401
379
|
- Clients should implement exponential backoff on errors
|
|
402
380
|
|
|
403
|
-
**
|
|
404
|
-
MCP tool
|
|
381
|
+
**Credit Model:**
|
|
382
|
+
MCP tool execution is included - no credit consumption required. Database
|
|
383
|
+
operations (queries, schema inspection, analytics) are completely free.
|
|
384
|
+
Only AI operations that invoke Claude or other LLM APIs consume credits,
|
|
385
|
+
which happens at the AI agent layer, not the MCP tool layer.
|
|
405
386
|
|
|
406
387
|
Args:
|
|
407
|
-
graph_id (str):
|
|
388
|
+
graph_id (str):
|
|
408
389
|
format_ (Union[None, Unset, str]): Response format override (json, sse, ndjson)
|
|
409
390
|
test_mode (Union[Unset, bool]): Enable test mode for debugging Default: False.
|
|
410
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
411
|
-
authorization (Union[None, Unset, str]):
|
|
412
391
|
body (MCPToolCall): Request model for MCP tool execution.
|
|
413
392
|
|
|
414
393
|
Raises:
|
|
@@ -426,7 +405,5 @@ async def asyncio(
|
|
|
426
405
|
body=body,
|
|
427
406
|
format_=format_,
|
|
428
407
|
test_mode=test_mode,
|
|
429
|
-
token=token,
|
|
430
|
-
authorization=authorization,
|
|
431
408
|
)
|
|
432
409
|
).parsed
|
|
@@ -8,37 +8,17 @@ from ...client import AuthenticatedClient, Client
|
|
|
8
8
|
from ...models.error_response import ErrorResponse
|
|
9
9
|
from ...models.http_validation_error import HTTPValidationError
|
|
10
10
|
from ...models.mcp_tools_response import MCPToolsResponse
|
|
11
|
-
from ...types import
|
|
11
|
+
from ...types import Response
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
def _get_kwargs(
|
|
15
15
|
graph_id: str,
|
|
16
|
-
*,
|
|
17
|
-
token: Union[None, Unset, str] = UNSET,
|
|
18
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
19
16
|
) -> dict[str, Any]:
|
|
20
|
-
headers: dict[str, Any] = {}
|
|
21
|
-
if not isinstance(authorization, Unset):
|
|
22
|
-
headers["authorization"] = authorization
|
|
23
|
-
|
|
24
|
-
params: dict[str, Any] = {}
|
|
25
|
-
|
|
26
|
-
json_token: Union[None, Unset, str]
|
|
27
|
-
if isinstance(token, Unset):
|
|
28
|
-
json_token = UNSET
|
|
29
|
-
else:
|
|
30
|
-
json_token = token
|
|
31
|
-
params["token"] = json_token
|
|
32
|
-
|
|
33
|
-
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
34
|
-
|
|
35
17
|
_kwargs: dict[str, Any] = {
|
|
36
18
|
"method": "get",
|
|
37
19
|
"url": f"/v1/graphs/{graph_id}/mcp/tools",
|
|
38
|
-
"params": params,
|
|
39
20
|
}
|
|
40
21
|
|
|
41
|
-
_kwargs["headers"] = headers
|
|
42
22
|
return _kwargs
|
|
43
23
|
|
|
44
24
|
|
|
@@ -86,8 +66,6 @@ def sync_detailed(
|
|
|
86
66
|
graph_id: str,
|
|
87
67
|
*,
|
|
88
68
|
client: AuthenticatedClient,
|
|
89
|
-
token: Union[None, Unset, str] = UNSET,
|
|
90
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
91
69
|
) -> Response[Union[ErrorResponse, HTTPValidationError, MCPToolsResponse]]:
|
|
92
70
|
"""List MCP Tools
|
|
93
71
|
|
|
@@ -103,14 +81,11 @@ def sync_detailed(
|
|
|
103
81
|
- User permissions and subscription tier
|
|
104
82
|
- Backend capabilities (Kuzu, Neo4j, etc.)
|
|
105
83
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
- Tool execution costs vary by operation complexity
|
|
84
|
+
**Note:**
|
|
85
|
+
MCP tool listing is included - no credit consumption required.
|
|
109
86
|
|
|
110
87
|
Args:
|
|
111
|
-
graph_id (str):
|
|
112
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
113
|
-
authorization (Union[None, Unset, str]):
|
|
88
|
+
graph_id (str):
|
|
114
89
|
|
|
115
90
|
Raises:
|
|
116
91
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -122,8 +97,6 @@ def sync_detailed(
|
|
|
122
97
|
|
|
123
98
|
kwargs = _get_kwargs(
|
|
124
99
|
graph_id=graph_id,
|
|
125
|
-
token=token,
|
|
126
|
-
authorization=authorization,
|
|
127
100
|
)
|
|
128
101
|
|
|
129
102
|
response = client.get_httpx_client().request(
|
|
@@ -137,8 +110,6 @@ def sync(
|
|
|
137
110
|
graph_id: str,
|
|
138
111
|
*,
|
|
139
112
|
client: AuthenticatedClient,
|
|
140
|
-
token: Union[None, Unset, str] = UNSET,
|
|
141
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
142
113
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, MCPToolsResponse]]:
|
|
143
114
|
"""List MCP Tools
|
|
144
115
|
|
|
@@ -154,14 +125,11 @@ def sync(
|
|
|
154
125
|
- User permissions and subscription tier
|
|
155
126
|
- Backend capabilities (Kuzu, Neo4j, etc.)
|
|
156
127
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
- Tool execution costs vary by operation complexity
|
|
128
|
+
**Note:**
|
|
129
|
+
MCP tool listing is included - no credit consumption required.
|
|
160
130
|
|
|
161
131
|
Args:
|
|
162
|
-
graph_id (str):
|
|
163
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
164
|
-
authorization (Union[None, Unset, str]):
|
|
132
|
+
graph_id (str):
|
|
165
133
|
|
|
166
134
|
Raises:
|
|
167
135
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -174,8 +142,6 @@ def sync(
|
|
|
174
142
|
return sync_detailed(
|
|
175
143
|
graph_id=graph_id,
|
|
176
144
|
client=client,
|
|
177
|
-
token=token,
|
|
178
|
-
authorization=authorization,
|
|
179
145
|
).parsed
|
|
180
146
|
|
|
181
147
|
|
|
@@ -183,8 +149,6 @@ async def asyncio_detailed(
|
|
|
183
149
|
graph_id: str,
|
|
184
150
|
*,
|
|
185
151
|
client: AuthenticatedClient,
|
|
186
|
-
token: Union[None, Unset, str] = UNSET,
|
|
187
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
188
152
|
) -> Response[Union[ErrorResponse, HTTPValidationError, MCPToolsResponse]]:
|
|
189
153
|
"""List MCP Tools
|
|
190
154
|
|
|
@@ -200,14 +164,11 @@ async def asyncio_detailed(
|
|
|
200
164
|
- User permissions and subscription tier
|
|
201
165
|
- Backend capabilities (Kuzu, Neo4j, etc.)
|
|
202
166
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
- Tool execution costs vary by operation complexity
|
|
167
|
+
**Note:**
|
|
168
|
+
MCP tool listing is included - no credit consumption required.
|
|
206
169
|
|
|
207
170
|
Args:
|
|
208
|
-
graph_id (str):
|
|
209
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
210
|
-
authorization (Union[None, Unset, str]):
|
|
171
|
+
graph_id (str):
|
|
211
172
|
|
|
212
173
|
Raises:
|
|
213
174
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -219,8 +180,6 @@ async def asyncio_detailed(
|
|
|
219
180
|
|
|
220
181
|
kwargs = _get_kwargs(
|
|
221
182
|
graph_id=graph_id,
|
|
222
|
-
token=token,
|
|
223
|
-
authorization=authorization,
|
|
224
183
|
)
|
|
225
184
|
|
|
226
185
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -232,8 +191,6 @@ async def asyncio(
|
|
|
232
191
|
graph_id: str,
|
|
233
192
|
*,
|
|
234
193
|
client: AuthenticatedClient,
|
|
235
|
-
token: Union[None, Unset, str] = UNSET,
|
|
236
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
237
194
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, MCPToolsResponse]]:
|
|
238
195
|
"""List MCP Tools
|
|
239
196
|
|
|
@@ -249,14 +206,11 @@ async def asyncio(
|
|
|
249
206
|
- User permissions and subscription tier
|
|
250
207
|
- Backend capabilities (Kuzu, Neo4j, etc.)
|
|
251
208
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
- Tool execution costs vary by operation complexity
|
|
209
|
+
**Note:**
|
|
210
|
+
MCP tool listing is included - no credit consumption required.
|
|
255
211
|
|
|
256
212
|
Args:
|
|
257
|
-
graph_id (str):
|
|
258
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
259
|
-
authorization (Union[None, Unset, str]):
|
|
213
|
+
graph_id (str):
|
|
260
214
|
|
|
261
215
|
Raises:
|
|
262
216
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -270,7 +224,5 @@ async def asyncio(
|
|
|
270
224
|
await asyncio_detailed(
|
|
271
225
|
graph_id=graph_id,
|
|
272
226
|
client=client,
|
|
273
|
-
token=token,
|
|
274
|
-
authorization=authorization,
|
|
275
227
|
)
|
|
276
228
|
).parsed
|
|
@@ -9,37 +9,17 @@ from ...models.cancel_operation_response_canceloperation import (
|
|
|
9
9
|
CancelOperationResponseCanceloperation,
|
|
10
10
|
)
|
|
11
11
|
from ...models.http_validation_error import HTTPValidationError
|
|
12
|
-
from ...types import
|
|
12
|
+
from ...types import Response
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
def _get_kwargs(
|
|
16
16
|
operation_id: str,
|
|
17
|
-
*,
|
|
18
|
-
token: Union[None, Unset, str] = UNSET,
|
|
19
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
20
17
|
) -> dict[str, Any]:
|
|
21
|
-
headers: dict[str, Any] = {}
|
|
22
|
-
if not isinstance(authorization, Unset):
|
|
23
|
-
headers["authorization"] = authorization
|
|
24
|
-
|
|
25
|
-
params: dict[str, Any] = {}
|
|
26
|
-
|
|
27
|
-
json_token: Union[None, Unset, str]
|
|
28
|
-
if isinstance(token, Unset):
|
|
29
|
-
json_token = UNSET
|
|
30
|
-
else:
|
|
31
|
-
json_token = token
|
|
32
|
-
params["token"] = json_token
|
|
33
|
-
|
|
34
|
-
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
35
|
-
|
|
36
18
|
_kwargs: dict[str, Any] = {
|
|
37
19
|
"method": "delete",
|
|
38
20
|
"url": f"/v1/operations/{operation_id}",
|
|
39
|
-
"params": params,
|
|
40
21
|
}
|
|
41
22
|
|
|
42
|
-
_kwargs["headers"] = headers
|
|
43
23
|
return _kwargs
|
|
44
24
|
|
|
45
25
|
|
|
@@ -93,8 +73,6 @@ def sync_detailed(
|
|
|
93
73
|
operation_id: str,
|
|
94
74
|
*,
|
|
95
75
|
client: AuthenticatedClient,
|
|
96
|
-
token: Union[None, Unset, str] = UNSET,
|
|
97
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
98
76
|
) -> Response[Union[Any, CancelOperationResponseCanceloperation, HTTPValidationError]]:
|
|
99
77
|
"""Cancel Operation
|
|
100
78
|
|
|
@@ -110,8 +88,6 @@ def sync_detailed(
|
|
|
110
88
|
|
|
111
89
|
Args:
|
|
112
90
|
operation_id (str): Operation identifier
|
|
113
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
114
|
-
authorization (Union[None, Unset, str]):
|
|
115
91
|
|
|
116
92
|
Raises:
|
|
117
93
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -123,8 +99,6 @@ def sync_detailed(
|
|
|
123
99
|
|
|
124
100
|
kwargs = _get_kwargs(
|
|
125
101
|
operation_id=operation_id,
|
|
126
|
-
token=token,
|
|
127
|
-
authorization=authorization,
|
|
128
102
|
)
|
|
129
103
|
|
|
130
104
|
response = client.get_httpx_client().request(
|
|
@@ -138,8 +112,6 @@ def sync(
|
|
|
138
112
|
operation_id: str,
|
|
139
113
|
*,
|
|
140
114
|
client: AuthenticatedClient,
|
|
141
|
-
token: Union[None, Unset, str] = UNSET,
|
|
142
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
143
115
|
) -> Optional[Union[Any, CancelOperationResponseCanceloperation, HTTPValidationError]]:
|
|
144
116
|
"""Cancel Operation
|
|
145
117
|
|
|
@@ -155,8 +127,6 @@ def sync(
|
|
|
155
127
|
|
|
156
128
|
Args:
|
|
157
129
|
operation_id (str): Operation identifier
|
|
158
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
159
|
-
authorization (Union[None, Unset, str]):
|
|
160
130
|
|
|
161
131
|
Raises:
|
|
162
132
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -169,8 +139,6 @@ def sync(
|
|
|
169
139
|
return sync_detailed(
|
|
170
140
|
operation_id=operation_id,
|
|
171
141
|
client=client,
|
|
172
|
-
token=token,
|
|
173
|
-
authorization=authorization,
|
|
174
142
|
).parsed
|
|
175
143
|
|
|
176
144
|
|
|
@@ -178,8 +146,6 @@ async def asyncio_detailed(
|
|
|
178
146
|
operation_id: str,
|
|
179
147
|
*,
|
|
180
148
|
client: AuthenticatedClient,
|
|
181
|
-
token: Union[None, Unset, str] = UNSET,
|
|
182
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
183
149
|
) -> Response[Union[Any, CancelOperationResponseCanceloperation, HTTPValidationError]]:
|
|
184
150
|
"""Cancel Operation
|
|
185
151
|
|
|
@@ -195,8 +161,6 @@ async def asyncio_detailed(
|
|
|
195
161
|
|
|
196
162
|
Args:
|
|
197
163
|
operation_id (str): Operation identifier
|
|
198
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
199
|
-
authorization (Union[None, Unset, str]):
|
|
200
164
|
|
|
201
165
|
Raises:
|
|
202
166
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -208,8 +172,6 @@ async def asyncio_detailed(
|
|
|
208
172
|
|
|
209
173
|
kwargs = _get_kwargs(
|
|
210
174
|
operation_id=operation_id,
|
|
211
|
-
token=token,
|
|
212
|
-
authorization=authorization,
|
|
213
175
|
)
|
|
214
176
|
|
|
215
177
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -221,8 +183,6 @@ async def asyncio(
|
|
|
221
183
|
operation_id: str,
|
|
222
184
|
*,
|
|
223
185
|
client: AuthenticatedClient,
|
|
224
|
-
token: Union[None, Unset, str] = UNSET,
|
|
225
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
226
186
|
) -> Optional[Union[Any, CancelOperationResponseCanceloperation, HTTPValidationError]]:
|
|
227
187
|
"""Cancel Operation
|
|
228
188
|
|
|
@@ -238,8 +198,6 @@ async def asyncio(
|
|
|
238
198
|
|
|
239
199
|
Args:
|
|
240
200
|
operation_id (str): Operation identifier
|
|
241
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
242
|
-
authorization (Union[None, Unset, str]):
|
|
243
201
|
|
|
244
202
|
Raises:
|
|
245
203
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -253,7 +211,5 @@ async def asyncio(
|
|
|
253
211
|
await asyncio_detailed(
|
|
254
212
|
operation_id=operation_id,
|
|
255
213
|
client=client,
|
|
256
|
-
token=token,
|
|
257
|
-
authorization=authorization,
|
|
258
214
|
)
|
|
259
215
|
).parsed
|
|
@@ -9,37 +9,17 @@ from ...models.get_operation_status_response_getoperationstatus import (
|
|
|
9
9
|
GetOperationStatusResponseGetoperationstatus,
|
|
10
10
|
)
|
|
11
11
|
from ...models.http_validation_error import HTTPValidationError
|
|
12
|
-
from ...types import
|
|
12
|
+
from ...types import Response
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
def _get_kwargs(
|
|
16
16
|
operation_id: str,
|
|
17
|
-
*,
|
|
18
|
-
token: Union[None, Unset, str] = UNSET,
|
|
19
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
20
17
|
) -> dict[str, Any]:
|
|
21
|
-
headers: dict[str, Any] = {}
|
|
22
|
-
if not isinstance(authorization, Unset):
|
|
23
|
-
headers["authorization"] = authorization
|
|
24
|
-
|
|
25
|
-
params: dict[str, Any] = {}
|
|
26
|
-
|
|
27
|
-
json_token: Union[None, Unset, str]
|
|
28
|
-
if isinstance(token, Unset):
|
|
29
|
-
json_token = UNSET
|
|
30
|
-
else:
|
|
31
|
-
json_token = token
|
|
32
|
-
params["token"] = json_token
|
|
33
|
-
|
|
34
|
-
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
35
|
-
|
|
36
18
|
_kwargs: dict[str, Any] = {
|
|
37
19
|
"method": "get",
|
|
38
20
|
"url": f"/v1/operations/{operation_id}/status",
|
|
39
|
-
"params": params,
|
|
40
21
|
}
|
|
41
22
|
|
|
42
|
-
_kwargs["headers"] = headers
|
|
43
23
|
return _kwargs
|
|
44
24
|
|
|
45
25
|
|
|
@@ -95,8 +75,6 @@ def sync_detailed(
|
|
|
95
75
|
operation_id: str,
|
|
96
76
|
*,
|
|
97
77
|
client: AuthenticatedClient,
|
|
98
|
-
token: Union[None, Unset, str] = UNSET,
|
|
99
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
100
78
|
) -> Response[
|
|
101
79
|
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
102
80
|
]:
|
|
@@ -118,8 +96,6 @@ def sync_detailed(
|
|
|
118
96
|
|
|
119
97
|
Args:
|
|
120
98
|
operation_id (str): Operation identifier
|
|
121
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
122
|
-
authorization (Union[None, Unset, str]):
|
|
123
99
|
|
|
124
100
|
Raises:
|
|
125
101
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -131,8 +107,6 @@ def sync_detailed(
|
|
|
131
107
|
|
|
132
108
|
kwargs = _get_kwargs(
|
|
133
109
|
operation_id=operation_id,
|
|
134
|
-
token=token,
|
|
135
|
-
authorization=authorization,
|
|
136
110
|
)
|
|
137
111
|
|
|
138
112
|
response = client.get_httpx_client().request(
|
|
@@ -146,8 +120,6 @@ def sync(
|
|
|
146
120
|
operation_id: str,
|
|
147
121
|
*,
|
|
148
122
|
client: AuthenticatedClient,
|
|
149
|
-
token: Union[None, Unset, str] = UNSET,
|
|
150
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
151
123
|
) -> Optional[
|
|
152
124
|
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
153
125
|
]:
|
|
@@ -169,8 +141,6 @@ def sync(
|
|
|
169
141
|
|
|
170
142
|
Args:
|
|
171
143
|
operation_id (str): Operation identifier
|
|
172
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
173
|
-
authorization (Union[None, Unset, str]):
|
|
174
144
|
|
|
175
145
|
Raises:
|
|
176
146
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -183,8 +153,6 @@ def sync(
|
|
|
183
153
|
return sync_detailed(
|
|
184
154
|
operation_id=operation_id,
|
|
185
155
|
client=client,
|
|
186
|
-
token=token,
|
|
187
|
-
authorization=authorization,
|
|
188
156
|
).parsed
|
|
189
157
|
|
|
190
158
|
|
|
@@ -192,8 +160,6 @@ async def asyncio_detailed(
|
|
|
192
160
|
operation_id: str,
|
|
193
161
|
*,
|
|
194
162
|
client: AuthenticatedClient,
|
|
195
|
-
token: Union[None, Unset, str] = UNSET,
|
|
196
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
197
163
|
) -> Response[
|
|
198
164
|
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
199
165
|
]:
|
|
@@ -215,8 +181,6 @@ async def asyncio_detailed(
|
|
|
215
181
|
|
|
216
182
|
Args:
|
|
217
183
|
operation_id (str): Operation identifier
|
|
218
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
219
|
-
authorization (Union[None, Unset, str]):
|
|
220
184
|
|
|
221
185
|
Raises:
|
|
222
186
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -228,8 +192,6 @@ async def asyncio_detailed(
|
|
|
228
192
|
|
|
229
193
|
kwargs = _get_kwargs(
|
|
230
194
|
operation_id=operation_id,
|
|
231
|
-
token=token,
|
|
232
|
-
authorization=authorization,
|
|
233
195
|
)
|
|
234
196
|
|
|
235
197
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -241,8 +203,6 @@ async def asyncio(
|
|
|
241
203
|
operation_id: str,
|
|
242
204
|
*,
|
|
243
205
|
client: AuthenticatedClient,
|
|
244
|
-
token: Union[None, Unset, str] = UNSET,
|
|
245
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
246
206
|
) -> Optional[
|
|
247
207
|
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
248
208
|
]:
|
|
@@ -264,8 +224,6 @@ async def asyncio(
|
|
|
264
224
|
|
|
265
225
|
Args:
|
|
266
226
|
operation_id (str): Operation identifier
|
|
267
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
268
|
-
authorization (Union[None, Unset, str]):
|
|
269
227
|
|
|
270
228
|
Raises:
|
|
271
229
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -279,7 +237,5 @@ async def asyncio(
|
|
|
279
237
|
await asyncio_detailed(
|
|
280
238
|
operation_id=operation_id,
|
|
281
239
|
client=client,
|
|
282
|
-
token=token,
|
|
283
|
-
authorization=authorization,
|
|
284
240
|
)
|
|
285
241
|
).parsed
|