robosystems-client 0.1.18__py3-none-any.whl → 0.2.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.
Potentially problematic release.
This version of robosystems-client might be problematic. Click here for more details.
- robosystems_client/api/agent/auto_select_agent.py +10 -4
- robosystems_client/api/agent/batch_process_queries.py +9 -4
- robosystems_client/api/agent/execute_specific_agent.py +11 -4
- robosystems_client/api/agent/get_agent_metadata.py +4 -1
- robosystems_client/api/agent/list_agents.py +4 -1
- robosystems_client/api/agent/recommend_agent.py +4 -1
- robosystems_client/api/auth/check_password_strength.py +2 -0
- robosystems_client/api/auth/complete_sso_auth.py +3 -0
- robosystems_client/api/auth/forgot_password.py +6 -3
- robosystems_client/api/auth/generate_sso_token.py +3 -0
- robosystems_client/api/auth/get_captcha_config.py +1 -0
- robosystems_client/api/auth/get_current_auth_user.py +3 -0
- robosystems_client/api/auth/get_password_policy.py +1 -0
- robosystems_client/api/auth/login_user.py +7 -3
- robosystems_client/api/auth/logout_user.py +2 -0
- robosystems_client/api/auth/refresh_auth_session.py +3 -0
- robosystems_client/api/auth/register_user.py +11 -6
- robosystems_client/api/auth/resend_verification_email.py +8 -3
- robosystems_client/api/auth/reset_password.py +3 -0
- robosystems_client/api/auth/sso_token_exchange.py +7 -3
- robosystems_client/api/auth/validate_reset_token.py +2 -0
- robosystems_client/api/auth/verify_email.py +3 -0
- robosystems_client/api/backup/create_backup.py +14 -8
- robosystems_client/api/backup/get_backup_download_url.py +9 -4
- robosystems_client/api/backup/get_backup_stats.py +3 -1
- robosystems_client/api/backup/list_backups.py +7 -5
- robosystems_client/api/backup/restore_backup.py +27 -8
- robosystems_client/api/connections/create_connection.py +14 -8
- robosystems_client/api/connections/create_link_token.py +9 -4
- robosystems_client/api/connections/delete_connection.py +13 -8
- robosystems_client/api/connections/exchange_link_token.py +9 -4
- robosystems_client/api/connections/get_connection.py +9 -4
- robosystems_client/api/connections/get_connection_options.py +8 -4
- robosystems_client/api/connections/init_o_auth.py +3 -1
- robosystems_client/api/connections/list_connections.py +8 -4
- robosystems_client/api/connections/oauth_callback.py +10 -4
- robosystems_client/api/connections/sync_connection.py +13 -8
- robosystems_client/api/graph_analytics/get_graph_metrics.py +13 -8
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +12 -8
- robosystems_client/api/graph_billing/get_current_graph_bill.py +9 -4
- robosystems_client/api/graph_billing/get_graph_billing_history.py +9 -4
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +10 -4
- robosystems_client/api/graph_billing/get_graph_usage_details.py +10 -4
- robosystems_client/api/graph_credits/check_credit_balance.py +9 -4
- robosystems_client/api/graph_credits/check_storage_limits.py +9 -4
- robosystems_client/api/graph_credits/get_credit_summary.py +9 -4
- robosystems_client/api/graph_credits/get_storage_usage.py +8 -4
- robosystems_client/api/graph_credits/list_credit_transactions.py +9 -4
- robosystems_client/api/graph_health/get_database_health.py +9 -4
- robosystems_client/api/graph_info/get_database_info.py +9 -4
- robosystems_client/api/graph_limits/get_graph_limits.py +9 -4
- robosystems_client/api/{create → graphs}/create_graph.py +7 -5
- robosystems_client/api/{create → graphs}/get_available_extensions.py +2 -1
- robosystems_client/api/{user/get_user_graphs.py → graphs/get_graphs.py} +3 -1
- robosystems_client/api/{user/select_user_graph.py → graphs/select_graph.py} +13 -8
- robosystems_client/api/mcp/call_mcp_tool.py +18 -8
- robosystems_client/api/mcp/list_mcp_tools.py +12 -8
- robosystems_client/api/operations/cancel_operation.py +9 -3
- robosystems_client/api/operations/get_operation_status.py +8 -3
- robosystems_client/api/operations/stream_operation_events.py +8 -3
- robosystems_client/api/query/execute_cypher_query.py +49 -16
- robosystems_client/api/schema/export_graph_schema.py +3 -1
- robosystems_client/api/schema/{get_graph_schema_info.py → get_graph_schema.py} +37 -47
- robosystems_client/api/schema/validate_schema.py +10 -5
- robosystems_client/api/service_offerings/get_service_offerings.py +2 -0
- robosystems_client/api/status/get_service_status.py +1 -0
- robosystems_client/api/subgraphs/create_subgraph.py +3 -1
- robosystems_client/api/subgraphs/delete_subgraph.py +15 -7
- robosystems_client/api/subgraphs/get_subgraph_info.py +14 -7
- robosystems_client/api/subgraphs/get_subgraph_quota.py +10 -4
- robosystems_client/api/subgraphs/list_subgraphs.py +3 -1
- robosystems_client/api/tables/delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py +287 -0
- robosystems_client/api/tables/get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py +283 -0
- robosystems_client/api/tables/get_upload_url_v1_graphs_graph_id_tables_table_name_files_post.py +260 -0
- robosystems_client/api/tables/ingest_tables_v1_graphs_graph_id_tables_ingest_post.py +251 -0
- robosystems_client/api/tables/list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +283 -0
- robosystems_client/api/{backup/export_backup.py → tables/list_tables_v1_graphs_graph_id_tables_get.py} +36 -36
- robosystems_client/api/{schema/list_schema_extensions.py → tables/query_tables_v1_graphs_graph_id_tables_query_post.py} +67 -43
- robosystems_client/api/tables/update_file_v1_graphs_graph_id_tables_files_file_id_patch.py +306 -0
- robosystems_client/api/user/create_user_api_key.py +2 -0
- robosystems_client/api/user/get_all_credit_summaries.py +6 -3
- robosystems_client/api/user/get_current_user.py +2 -0
- robosystems_client/api/user/list_user_api_keys.py +2 -0
- robosystems_client/api/user/revoke_user_api_key.py +7 -3
- robosystems_client/api/user/update_user.py +2 -0
- robosystems_client/api/user/update_user_api_key.py +2 -0
- robosystems_client/api/user/update_user_password.py +8 -3
- robosystems_client/api/user_analytics/get_detailed_user_analytics.py +2 -0
- robosystems_client/api/user_analytics/get_user_usage_overview.py +2 -0
- robosystems_client/api/user_limits/get_all_shared_repository_limits.py +2 -0
- robosystems_client/api/user_limits/get_shared_repository_limits.py +6 -4
- robosystems_client/api/user_limits/get_user_limits.py +3 -0
- robosystems_client/api/user_limits/get_user_usage.py +2 -0
- robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +11 -6
- robosystems_client/api/user_subscriptions/get_repository_credits.py +7 -3
- robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +7 -3
- robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +7 -3
- robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +8 -3
- robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +12 -6
- robosystems_client/extensions/README.md +1 -212
- robosystems_client/extensions/__init__.py +12 -28
- robosystems_client/extensions/extensions.py +3 -17
- robosystems_client/extensions/operation_client.py +12 -4
- robosystems_client/extensions/query_client.py +38 -24
- robosystems_client/extensions/sse_client.py +11 -0
- robosystems_client/extensions/table_ingest_client.py +466 -0
- robosystems_client/models/__init__.py +39 -31
- robosystems_client/models/api_key_info.py +20 -0
- robosystems_client/models/backup_restore_request.py +1 -12
- robosystems_client/models/bulk_ingest_request.py +50 -0
- robosystems_client/models/bulk_ingest_response.py +137 -0
- robosystems_client/models/create_api_key_request.py +20 -0
- robosystems_client/models/create_graph_request.py +4 -3
- robosystems_client/models/{sso_login_request.py → delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py} +9 -22
- robosystems_client/models/file_update_request.py +62 -0
- robosystems_client/models/file_upload_request.py +51 -0
- robosystems_client/models/file_upload_response.py +83 -0
- robosystems_client/models/{get_graph_schema_info_response_getgraphschemainfo.py → get_file_info_v1_graphs_graph_id_tables_files_file_id_get_response_get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py} +8 -5
- robosystems_client/models/{copy_response_error_details_type_0.py → get_graph_schema_response_getgraphschema.py} +5 -5
- robosystems_client/models/list_table_files_v1_graphs_graph_id_tables_table_name_files_get_response_list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +47 -0
- robosystems_client/models/table_info.py +107 -0
- robosystems_client/models/table_ingest_result.py +107 -0
- robosystems_client/models/table_list_response.py +81 -0
- robosystems_client/models/table_query_request.py +40 -0
- robosystems_client/models/table_query_response.py +92 -0
- robosystems_client/models/{list_schema_extensions_response_listschemaextensions.py → update_file_v1_graphs_graph_id_tables_files_file_id_patch_response_update_file_v1_graphs_graph_id_tables_files_file_id_patch.py} +8 -5
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/METADATA +15 -3
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/RECORD +132 -127
- robosystems_client/api/auth/sso_login.py +0 -177
- robosystems_client/api/copy/copy_data_to_graph.py +0 -486
- robosystems_client/extensions/copy_client.py +0 -479
- robosystems_client/models/copy_response.py +0 -275
- robosystems_client/models/copy_response_status.py +0 -11
- robosystems_client/models/data_frame_copy_request.py +0 -125
- robosystems_client/models/data_frame_copy_request_format.py +0 -10
- robosystems_client/models/s3_copy_request.py +0 -378
- robosystems_client/models/s3_copy_request_file_format.py +0 -12
- robosystems_client/models/s3_copy_request_s3_url_style_type_0.py +0 -9
- robosystems_client/models/url_copy_request.py +0 -157
- robosystems_client/models/url_copy_request_file_format.py +0 -10
- robosystems_client/models/url_copy_request_headers_type_0.py +0 -44
- /robosystems_client/api/{copy → graphs}/__init__.py +0 -0
- /robosystems_client/api/{create → tables}/__init__.py +0 -0
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/WHEEL +0 -0
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -35,7 +35,7 @@ def _get_kwargs(
|
|
|
35
35
|
|
|
36
36
|
_kwargs: dict[str, Any] = {
|
|
37
37
|
"method": "get",
|
|
38
|
-
"url": f"/v1/{graph_id}/limits",
|
|
38
|
+
"url": f"/v1/graphs/{graph_id}/limits",
|
|
39
39
|
"params": params,
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -50,19 +50,24 @@ def _parse_response(
|
|
|
50
50
|
response_200 = GetGraphLimitsResponseGetgraphlimits.from_dict(response.json())
|
|
51
51
|
|
|
52
52
|
return response_200
|
|
53
|
+
|
|
53
54
|
if response.status_code == 403:
|
|
54
55
|
response_403 = cast(Any, None)
|
|
55
56
|
return response_403
|
|
57
|
+
|
|
56
58
|
if response.status_code == 404:
|
|
57
59
|
response_404 = cast(Any, None)
|
|
58
60
|
return response_404
|
|
59
|
-
|
|
60
|
-
response_500 = cast(Any, None)
|
|
61
|
-
return response_500
|
|
61
|
+
|
|
62
62
|
if response.status_code == 422:
|
|
63
63
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
64
64
|
|
|
65
65
|
return response_422
|
|
66
|
+
|
|
67
|
+
if response.status_code == 500:
|
|
68
|
+
response_500 = cast(Any, None)
|
|
69
|
+
return response_500
|
|
70
|
+
|
|
66
71
|
if client.raise_on_unexpected_status:
|
|
67
72
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
68
73
|
else:
|
|
@@ -33,7 +33,7 @@ def _get_kwargs(
|
|
|
33
33
|
|
|
34
34
|
_kwargs: dict[str, Any] = {
|
|
35
35
|
"method": "post",
|
|
36
|
-
"url": "/v1/
|
|
36
|
+
"url": "/v1/graphs",
|
|
37
37
|
"params": params,
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -51,10 +51,12 @@ def _parse_response(
|
|
|
51
51
|
if response.status_code == 202:
|
|
52
52
|
response_202 = response.json()
|
|
53
53
|
return response_202
|
|
54
|
+
|
|
54
55
|
if response.status_code == 422:
|
|
55
56
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
56
57
|
|
|
57
58
|
return response_422
|
|
59
|
+
|
|
58
60
|
if client.raise_on_unexpected_status:
|
|
59
61
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
60
62
|
else:
|
|
@@ -127,7 +129,7 @@ def sync_detailed(
|
|
|
127
129
|
authorization (Union[None, Unset, str]):
|
|
128
130
|
body (CreateGraphRequest): Request model for creating a new graph. Example:
|
|
129
131
|
{'initial_entity': {'cik': '0001234567', 'name': 'Acme Corp', 'uri': 'https://acme.com'},
|
|
130
|
-
'instance_tier': 'standard', 'metadata': {'description': 'Main production graph',
|
|
132
|
+
'instance_tier': 'kuzu-standard', 'metadata': {'description': 'Main production graph',
|
|
131
133
|
'graph_name': 'Production System', 'schema_extensions': ['roboledger']}, 'tags':
|
|
132
134
|
['production', 'finance']}.
|
|
133
135
|
|
|
@@ -207,7 +209,7 @@ def sync(
|
|
|
207
209
|
authorization (Union[None, Unset, str]):
|
|
208
210
|
body (CreateGraphRequest): Request model for creating a new graph. Example:
|
|
209
211
|
{'initial_entity': {'cik': '0001234567', 'name': 'Acme Corp', 'uri': 'https://acme.com'},
|
|
210
|
-
'instance_tier': 'standard', 'metadata': {'description': 'Main production graph',
|
|
212
|
+
'instance_tier': 'kuzu-standard', 'metadata': {'description': 'Main production graph',
|
|
211
213
|
'graph_name': 'Production System', 'schema_extensions': ['roboledger']}, 'tags':
|
|
212
214
|
['production', 'finance']}.
|
|
213
215
|
|
|
@@ -282,7 +284,7 @@ async def asyncio_detailed(
|
|
|
282
284
|
authorization (Union[None, Unset, str]):
|
|
283
285
|
body (CreateGraphRequest): Request model for creating a new graph. Example:
|
|
284
286
|
{'initial_entity': {'cik': '0001234567', 'name': 'Acme Corp', 'uri': 'https://acme.com'},
|
|
285
|
-
'instance_tier': 'standard', 'metadata': {'description': 'Main production graph',
|
|
287
|
+
'instance_tier': 'kuzu-standard', 'metadata': {'description': 'Main production graph',
|
|
286
288
|
'graph_name': 'Production System', 'schema_extensions': ['roboledger']}, 'tags':
|
|
287
289
|
['production', 'finance']}.
|
|
288
290
|
|
|
@@ -360,7 +362,7 @@ async def asyncio(
|
|
|
360
362
|
authorization (Union[None, Unset, str]):
|
|
361
363
|
body (CreateGraphRequest): Request model for creating a new graph. Example:
|
|
362
364
|
{'initial_entity': {'cik': '0001234567', 'name': 'Acme Corp', 'uri': 'https://acme.com'},
|
|
363
|
-
'instance_tier': 'standard', 'metadata': {'description': 'Main production graph',
|
|
365
|
+
'instance_tier': 'kuzu-standard', 'metadata': {'description': 'Main production graph',
|
|
364
366
|
'graph_name': 'Production System', 'schema_extensions': ['roboledger']}, 'tags':
|
|
365
367
|
['production', 'finance']}.
|
|
366
368
|
|
|
@@ -12,7 +12,7 @@ from ...types import Response
|
|
|
12
12
|
def _get_kwargs() -> dict[str, Any]:
|
|
13
13
|
_kwargs: dict[str, Any] = {
|
|
14
14
|
"method": "get",
|
|
15
|
-
"url": "/v1/
|
|
15
|
+
"url": "/v1/graphs/extensions",
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
return _kwargs
|
|
@@ -25,6 +25,7 @@ def _parse_response(
|
|
|
25
25
|
response_200 = AvailableExtensionsResponse.from_dict(response.json())
|
|
26
26
|
|
|
27
27
|
return response_200
|
|
28
|
+
|
|
28
29
|
if client.raise_on_unexpected_status:
|
|
29
30
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
30
31
|
else:
|
|
@@ -32,7 +32,7 @@ def _get_kwargs(
|
|
|
32
32
|
|
|
33
33
|
_kwargs: dict[str, Any] = {
|
|
34
34
|
"method": "get",
|
|
35
|
-
"url": "/v1/
|
|
35
|
+
"url": "/v1/graphs",
|
|
36
36
|
"params": params,
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -47,10 +47,12 @@ def _parse_response(
|
|
|
47
47
|
response_200 = UserGraphsResponse.from_dict(response.json())
|
|
48
48
|
|
|
49
49
|
return response_200
|
|
50
|
+
|
|
50
51
|
if response.status_code == 422:
|
|
51
52
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
52
53
|
|
|
53
54
|
return response_422
|
|
55
|
+
|
|
54
56
|
if client.raise_on_unexpected_status:
|
|
55
57
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
56
58
|
else:
|
|
@@ -34,7 +34,7 @@ def _get_kwargs(
|
|
|
34
34
|
|
|
35
35
|
_kwargs: dict[str, Any] = {
|
|
36
36
|
"method": "post",
|
|
37
|
-
"url": f"/v1/
|
|
37
|
+
"url": f"/v1/graphs/{graph_id}/select",
|
|
38
38
|
"params": params,
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -49,22 +49,27 @@ def _parse_response(
|
|
|
49
49
|
response_200 = SuccessResponse.from_dict(response.json())
|
|
50
50
|
|
|
51
51
|
return response_200
|
|
52
|
+
|
|
52
53
|
if response.status_code == 403:
|
|
53
54
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
54
55
|
|
|
55
56
|
return response_403
|
|
57
|
+
|
|
56
58
|
if response.status_code == 404:
|
|
57
59
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
58
60
|
|
|
59
61
|
return response_404
|
|
60
|
-
if response.status_code == 500:
|
|
61
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
62
62
|
|
|
63
|
-
return response_500
|
|
64
63
|
if response.status_code == 422:
|
|
65
64
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
66
65
|
|
|
67
66
|
return response_422
|
|
67
|
+
|
|
68
|
+
if response.status_code == 500:
|
|
69
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
70
|
+
|
|
71
|
+
return response_500
|
|
72
|
+
|
|
68
73
|
if client.raise_on_unexpected_status:
|
|
69
74
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
70
75
|
else:
|
|
@@ -89,7 +94,7 @@ def sync_detailed(
|
|
|
89
94
|
token: Union[None, Unset, str] = UNSET,
|
|
90
95
|
authorization: Union[None, Unset, str] = UNSET,
|
|
91
96
|
) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
92
|
-
"""Select
|
|
97
|
+
"""Select Graph
|
|
93
98
|
|
|
94
99
|
Select a specific graph as the active graph for the user.
|
|
95
100
|
|
|
@@ -126,7 +131,7 @@ def sync(
|
|
|
126
131
|
token: Union[None, Unset, str] = UNSET,
|
|
127
132
|
authorization: Union[None, Unset, str] = UNSET,
|
|
128
133
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
129
|
-
"""Select
|
|
134
|
+
"""Select Graph
|
|
130
135
|
|
|
131
136
|
Select a specific graph as the active graph for the user.
|
|
132
137
|
|
|
@@ -158,7 +163,7 @@ async def asyncio_detailed(
|
|
|
158
163
|
token: Union[None, Unset, str] = UNSET,
|
|
159
164
|
authorization: Union[None, Unset, str] = UNSET,
|
|
160
165
|
) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
161
|
-
"""Select
|
|
166
|
+
"""Select Graph
|
|
162
167
|
|
|
163
168
|
Select a specific graph as the active graph for the user.
|
|
164
169
|
|
|
@@ -193,7 +198,7 @@ async def asyncio(
|
|
|
193
198
|
token: Union[None, Unset, str] = UNSET,
|
|
194
199
|
authorization: Union[None, Unset, str] = UNSET,
|
|
195
200
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
196
|
-
"""Select
|
|
201
|
+
"""Select Graph
|
|
197
202
|
|
|
198
203
|
Select a specific graph as the active graph for the user.
|
|
199
204
|
|
|
@@ -46,7 +46,7 @@ def _get_kwargs(
|
|
|
46
46
|
|
|
47
47
|
_kwargs: dict[str, Any] = {
|
|
48
48
|
"method": "post",
|
|
49
|
-
"url": f"/v1/{graph_id}/mcp/call-tool",
|
|
49
|
+
"url": f"/v1/graphs/{graph_id}/mcp/call-tool",
|
|
50
50
|
"params": params,
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -64,41 +64,51 @@ def _parse_response(
|
|
|
64
64
|
if response.status_code == 200:
|
|
65
65
|
response_200 = response.json()
|
|
66
66
|
return response_200
|
|
67
|
+
|
|
67
68
|
if response.status_code == 202:
|
|
68
69
|
response_202 = cast(Any, None)
|
|
69
70
|
return response_202
|
|
71
|
+
|
|
70
72
|
if response.status_code == 400:
|
|
71
73
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
72
74
|
|
|
73
75
|
return response_400
|
|
76
|
+
|
|
74
77
|
if response.status_code == 402:
|
|
75
78
|
response_402 = ErrorResponse.from_dict(response.json())
|
|
76
79
|
|
|
77
80
|
return response_402
|
|
81
|
+
|
|
78
82
|
if response.status_code == 403:
|
|
79
83
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
80
84
|
|
|
81
85
|
return response_403
|
|
86
|
+
|
|
82
87
|
if response.status_code == 408:
|
|
83
88
|
response_408 = ErrorResponse.from_dict(response.json())
|
|
84
89
|
|
|
85
90
|
return response_408
|
|
91
|
+
|
|
92
|
+
if response.status_code == 422:
|
|
93
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
94
|
+
|
|
95
|
+
return response_422
|
|
96
|
+
|
|
86
97
|
if response.status_code == 429:
|
|
87
98
|
response_429 = ErrorResponse.from_dict(response.json())
|
|
88
99
|
|
|
89
100
|
return response_429
|
|
101
|
+
|
|
90
102
|
if response.status_code == 500:
|
|
91
103
|
response_500 = ErrorResponse.from_dict(response.json())
|
|
92
104
|
|
|
93
105
|
return response_500
|
|
106
|
+
|
|
94
107
|
if response.status_code == 503:
|
|
95
108
|
response_503 = ErrorResponse.from_dict(response.json())
|
|
96
109
|
|
|
97
110
|
return response_503
|
|
98
|
-
if response.status_code == 422:
|
|
99
|
-
response_422 = HTTPValidationError.from_dict(response.json())
|
|
100
111
|
|
|
101
|
-
return response_422
|
|
102
112
|
if client.raise_on_unexpected_status:
|
|
103
113
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
104
114
|
else:
|
|
@@ -161,7 +171,7 @@ def sync_detailed(
|
|
|
161
171
|
- Clients should implement exponential backoff on errors
|
|
162
172
|
|
|
163
173
|
**Note:**
|
|
164
|
-
MCP tool calls are
|
|
174
|
+
MCP tool calls are included and do not consume credits.
|
|
165
175
|
|
|
166
176
|
Args:
|
|
167
177
|
graph_id (str): Graph database identifier
|
|
@@ -240,7 +250,7 @@ def sync(
|
|
|
240
250
|
- Clients should implement exponential backoff on errors
|
|
241
251
|
|
|
242
252
|
**Note:**
|
|
243
|
-
MCP tool calls are
|
|
253
|
+
MCP tool calls are included and do not consume credits.
|
|
244
254
|
|
|
245
255
|
Args:
|
|
246
256
|
graph_id (str): Graph database identifier
|
|
@@ -314,7 +324,7 @@ async def asyncio_detailed(
|
|
|
314
324
|
- Clients should implement exponential backoff on errors
|
|
315
325
|
|
|
316
326
|
**Note:**
|
|
317
|
-
MCP tool calls are
|
|
327
|
+
MCP tool calls are included and do not consume credits.
|
|
318
328
|
|
|
319
329
|
Args:
|
|
320
330
|
graph_id (str): Graph database identifier
|
|
@@ -391,7 +401,7 @@ async def asyncio(
|
|
|
391
401
|
- Clients should implement exponential backoff on errors
|
|
392
402
|
|
|
393
403
|
**Note:**
|
|
394
|
-
MCP tool calls are
|
|
404
|
+
MCP tool calls are included and do not consume credits.
|
|
395
405
|
|
|
396
406
|
Args:
|
|
397
407
|
graph_id (str): Graph database identifier
|
|
@@ -34,7 +34,7 @@ def _get_kwargs(
|
|
|
34
34
|
|
|
35
35
|
_kwargs: dict[str, Any] = {
|
|
36
36
|
"method": "get",
|
|
37
|
-
"url": f"/v1/{graph_id}/mcp/tools",
|
|
37
|
+
"url": f"/v1/graphs/{graph_id}/mcp/tools",
|
|
38
38
|
"params": params,
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -49,18 +49,22 @@ def _parse_response(
|
|
|
49
49
|
response_200 = MCPToolsResponse.from_dict(response.json())
|
|
50
50
|
|
|
51
51
|
return response_200
|
|
52
|
+
|
|
52
53
|
if response.status_code == 403:
|
|
53
54
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
54
55
|
|
|
55
56
|
return response_403
|
|
56
|
-
if response.status_code == 500:
|
|
57
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
58
57
|
|
|
59
|
-
return response_500
|
|
60
58
|
if response.status_code == 422:
|
|
61
59
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
62
60
|
|
|
63
61
|
return response_422
|
|
62
|
+
|
|
63
|
+
if response.status_code == 500:
|
|
64
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
65
|
+
|
|
66
|
+
return response_500
|
|
67
|
+
|
|
64
68
|
if client.raise_on_unexpected_status:
|
|
65
69
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
66
70
|
else:
|
|
@@ -100,7 +104,7 @@ def sync_detailed(
|
|
|
100
104
|
- Backend capabilities (Kuzu, Neo4j, etc.)
|
|
101
105
|
|
|
102
106
|
Credit consumption:
|
|
103
|
-
- Listing tools is
|
|
107
|
+
- Listing tools is included to encourage exploration
|
|
104
108
|
- Tool execution costs vary by operation complexity
|
|
105
109
|
|
|
106
110
|
Args:
|
|
@@ -151,7 +155,7 @@ def sync(
|
|
|
151
155
|
- Backend capabilities (Kuzu, Neo4j, etc.)
|
|
152
156
|
|
|
153
157
|
Credit consumption:
|
|
154
|
-
- Listing tools is
|
|
158
|
+
- Listing tools is included to encourage exploration
|
|
155
159
|
- Tool execution costs vary by operation complexity
|
|
156
160
|
|
|
157
161
|
Args:
|
|
@@ -197,7 +201,7 @@ async def asyncio_detailed(
|
|
|
197
201
|
- Backend capabilities (Kuzu, Neo4j, etc.)
|
|
198
202
|
|
|
199
203
|
Credit consumption:
|
|
200
|
-
- Listing tools is
|
|
204
|
+
- Listing tools is included to encourage exploration
|
|
201
205
|
- Tool execution costs vary by operation complexity
|
|
202
206
|
|
|
203
207
|
Args:
|
|
@@ -246,7 +250,7 @@ async def asyncio(
|
|
|
246
250
|
- Backend capabilities (Kuzu, Neo4j, etc.)
|
|
247
251
|
|
|
248
252
|
Credit consumption:
|
|
249
|
-
- Listing tools is
|
|
253
|
+
- Listing tools is included to encourage exploration
|
|
250
254
|
- Tool execution costs vary by operation complexity
|
|
251
255
|
|
|
252
256
|
Args:
|
|
@@ -50,22 +50,28 @@ def _parse_response(
|
|
|
50
50
|
response_200 = CancelOperationResponseCanceloperation.from_dict(response.json())
|
|
51
51
|
|
|
52
52
|
return response_200
|
|
53
|
+
|
|
53
54
|
if response.status_code == 403:
|
|
54
55
|
response_403 = cast(Any, None)
|
|
55
56
|
return response_403
|
|
57
|
+
|
|
56
58
|
if response.status_code == 404:
|
|
57
59
|
response_404 = cast(Any, None)
|
|
58
60
|
return response_404
|
|
61
|
+
|
|
59
62
|
if response.status_code == 409:
|
|
60
63
|
response_409 = cast(Any, None)
|
|
61
64
|
return response_409
|
|
62
|
-
|
|
63
|
-
response_500 = cast(Any, None)
|
|
64
|
-
return response_500
|
|
65
|
+
|
|
65
66
|
if response.status_code == 422:
|
|
66
67
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
67
68
|
|
|
68
69
|
return response_422
|
|
70
|
+
|
|
71
|
+
if response.status_code == 500:
|
|
72
|
+
response_500 = cast(Any, None)
|
|
73
|
+
return response_500
|
|
74
|
+
|
|
69
75
|
if client.raise_on_unexpected_status:
|
|
70
76
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
71
77
|
else:
|
|
@@ -54,19 +54,24 @@ def _parse_response(
|
|
|
54
54
|
)
|
|
55
55
|
|
|
56
56
|
return response_200
|
|
57
|
+
|
|
57
58
|
if response.status_code == 403:
|
|
58
59
|
response_403 = cast(Any, None)
|
|
59
60
|
return response_403
|
|
61
|
+
|
|
60
62
|
if response.status_code == 404:
|
|
61
63
|
response_404 = cast(Any, None)
|
|
62
64
|
return response_404
|
|
63
|
-
|
|
64
|
-
response_500 = cast(Any, None)
|
|
65
|
-
return response_500
|
|
65
|
+
|
|
66
66
|
if response.status_code == 422:
|
|
67
67
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
68
68
|
|
|
69
69
|
return response_422
|
|
70
|
+
|
|
71
|
+
if response.status_code == 500:
|
|
72
|
+
response_500 = cast(Any, None)
|
|
73
|
+
return response_500
|
|
74
|
+
|
|
70
75
|
if client.raise_on_unexpected_status:
|
|
71
76
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
72
77
|
else:
|
|
@@ -49,19 +49,24 @@ def _parse_response(
|
|
|
49
49
|
if response.status_code == 200:
|
|
50
50
|
response_200 = response.json()
|
|
51
51
|
return response_200
|
|
52
|
+
|
|
52
53
|
if response.status_code == 403:
|
|
53
54
|
response_403 = cast(Any, None)
|
|
54
55
|
return response_403
|
|
56
|
+
|
|
55
57
|
if response.status_code == 404:
|
|
56
58
|
response_404 = cast(Any, None)
|
|
57
59
|
return response_404
|
|
58
|
-
|
|
59
|
-
response_500 = cast(Any, None)
|
|
60
|
-
return response_500
|
|
60
|
+
|
|
61
61
|
if response.status_code == 422:
|
|
62
62
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
63
63
|
|
|
64
64
|
return response_422
|
|
65
|
+
|
|
66
|
+
if response.status_code == 500:
|
|
67
|
+
response_500 = cast(Any, None)
|
|
68
|
+
return response_500
|
|
69
|
+
|
|
65
70
|
if client.raise_on_unexpected_status:
|
|
66
71
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
67
72
|
else:
|
|
@@ -51,7 +51,7 @@ def _get_kwargs(
|
|
|
51
51
|
|
|
52
52
|
_kwargs: dict[str, Any] = {
|
|
53
53
|
"method": "post",
|
|
54
|
-
"url": f"/v1/{graph_id}/query",
|
|
54
|
+
"url": f"/v1/graphs/{graph_id}/query",
|
|
55
55
|
"params": params,
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -69,31 +69,40 @@ def _parse_response(
|
|
|
69
69
|
if response.status_code == 200:
|
|
70
70
|
response_200 = response.json()
|
|
71
71
|
return response_200
|
|
72
|
+
|
|
72
73
|
if response.status_code == 202:
|
|
73
74
|
response_202 = cast(Any, None)
|
|
74
75
|
return response_202
|
|
76
|
+
|
|
75
77
|
if response.status_code == 400:
|
|
76
78
|
response_400 = cast(Any, None)
|
|
77
79
|
return response_400
|
|
80
|
+
|
|
78
81
|
if response.status_code == 403:
|
|
79
82
|
response_403 = cast(Any, None)
|
|
80
83
|
return response_403
|
|
84
|
+
|
|
81
85
|
if response.status_code == 408:
|
|
82
86
|
response_408 = cast(Any, None)
|
|
83
87
|
return response_408
|
|
88
|
+
|
|
89
|
+
if response.status_code == 422:
|
|
90
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
91
|
+
|
|
92
|
+
return response_422
|
|
93
|
+
|
|
84
94
|
if response.status_code == 429:
|
|
85
95
|
response_429 = cast(Any, None)
|
|
86
96
|
return response_429
|
|
97
|
+
|
|
87
98
|
if response.status_code == 500:
|
|
88
99
|
response_500 = cast(Any, None)
|
|
89
100
|
return response_500
|
|
101
|
+
|
|
90
102
|
if response.status_code == 503:
|
|
91
103
|
response_503 = cast(Any, None)
|
|
92
104
|
return response_503
|
|
93
|
-
if response.status_code == 422:
|
|
94
|
-
response_422 = HTTPValidationError.from_dict(response.json())
|
|
95
105
|
|
|
96
|
-
return response_422
|
|
97
106
|
if client.raise_on_unexpected_status:
|
|
98
107
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
99
108
|
else:
|
|
@@ -122,9 +131,15 @@ def sync_detailed(
|
|
|
122
131
|
token: Union[None, Unset, str] = UNSET,
|
|
123
132
|
authorization: Union[None, Unset, str] = UNSET,
|
|
124
133
|
) -> Response[Union[Any, HTTPValidationError]]:
|
|
125
|
-
"""Execute Cypher Query
|
|
134
|
+
"""Execute Cypher Query (Read-Only)
|
|
126
135
|
|
|
127
|
-
Execute a Cypher query with intelligent response optimization.
|
|
136
|
+
Execute a read-only Cypher query with intelligent response optimization.
|
|
137
|
+
|
|
138
|
+
**IMPORTANT: This endpoint is READ-ONLY.** Write operations (CREATE, MERGE, SET, DELETE) are not
|
|
139
|
+
allowed.
|
|
140
|
+
To load data into your graph, use the staging pipeline:
|
|
141
|
+
1. Create file upload: `POST /v1/graphs/{graph_id}/tables/{table_name}/files`
|
|
142
|
+
2. Ingest to graph: `POST /v1/graphs/{graph_id}/tables/ingest`
|
|
128
143
|
|
|
129
144
|
This endpoint automatically selects the best execution strategy based on:
|
|
130
145
|
- Query characteristics (size, complexity)
|
|
@@ -169,7 +184,7 @@ def sync_detailed(
|
|
|
169
184
|
- Clients should implement exponential backoff
|
|
170
185
|
|
|
171
186
|
**Note:**
|
|
172
|
-
Query operations are
|
|
187
|
+
Query operations are included - no credit consumption required.
|
|
173
188
|
Queue position is based on subscription tier for priority.
|
|
174
189
|
|
|
175
190
|
Args:
|
|
@@ -217,9 +232,15 @@ def sync(
|
|
|
217
232
|
token: Union[None, Unset, str] = UNSET,
|
|
218
233
|
authorization: Union[None, Unset, str] = UNSET,
|
|
219
234
|
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
220
|
-
"""Execute Cypher Query
|
|
235
|
+
"""Execute Cypher Query (Read-Only)
|
|
236
|
+
|
|
237
|
+
Execute a read-only Cypher query with intelligent response optimization.
|
|
221
238
|
|
|
222
|
-
|
|
239
|
+
**IMPORTANT: This endpoint is READ-ONLY.** Write operations (CREATE, MERGE, SET, DELETE) are not
|
|
240
|
+
allowed.
|
|
241
|
+
To load data into your graph, use the staging pipeline:
|
|
242
|
+
1. Create file upload: `POST /v1/graphs/{graph_id}/tables/{table_name}/files`
|
|
243
|
+
2. Ingest to graph: `POST /v1/graphs/{graph_id}/tables/ingest`
|
|
223
244
|
|
|
224
245
|
This endpoint automatically selects the best execution strategy based on:
|
|
225
246
|
- Query characteristics (size, complexity)
|
|
@@ -264,7 +285,7 @@ def sync(
|
|
|
264
285
|
- Clients should implement exponential backoff
|
|
265
286
|
|
|
266
287
|
**Note:**
|
|
267
|
-
Query operations are
|
|
288
|
+
Query operations are included - no credit consumption required.
|
|
268
289
|
Queue position is based on subscription tier for priority.
|
|
269
290
|
|
|
270
291
|
Args:
|
|
@@ -307,9 +328,15 @@ async def asyncio_detailed(
|
|
|
307
328
|
token: Union[None, Unset, str] = UNSET,
|
|
308
329
|
authorization: Union[None, Unset, str] = UNSET,
|
|
309
330
|
) -> Response[Union[Any, HTTPValidationError]]:
|
|
310
|
-
"""Execute Cypher Query
|
|
331
|
+
"""Execute Cypher Query (Read-Only)
|
|
311
332
|
|
|
312
|
-
Execute a Cypher query with intelligent response optimization.
|
|
333
|
+
Execute a read-only Cypher query with intelligent response optimization.
|
|
334
|
+
|
|
335
|
+
**IMPORTANT: This endpoint is READ-ONLY.** Write operations (CREATE, MERGE, SET, DELETE) are not
|
|
336
|
+
allowed.
|
|
337
|
+
To load data into your graph, use the staging pipeline:
|
|
338
|
+
1. Create file upload: `POST /v1/graphs/{graph_id}/tables/{table_name}/files`
|
|
339
|
+
2. Ingest to graph: `POST /v1/graphs/{graph_id}/tables/ingest`
|
|
313
340
|
|
|
314
341
|
This endpoint automatically selects the best execution strategy based on:
|
|
315
342
|
- Query characteristics (size, complexity)
|
|
@@ -354,7 +381,7 @@ async def asyncio_detailed(
|
|
|
354
381
|
- Clients should implement exponential backoff
|
|
355
382
|
|
|
356
383
|
**Note:**
|
|
357
|
-
Query operations are
|
|
384
|
+
Query operations are included - no credit consumption required.
|
|
358
385
|
Queue position is based on subscription tier for priority.
|
|
359
386
|
|
|
360
387
|
Args:
|
|
@@ -400,9 +427,15 @@ async def asyncio(
|
|
|
400
427
|
token: Union[None, Unset, str] = UNSET,
|
|
401
428
|
authorization: Union[None, Unset, str] = UNSET,
|
|
402
429
|
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
403
|
-
"""Execute Cypher Query
|
|
430
|
+
"""Execute Cypher Query (Read-Only)
|
|
431
|
+
|
|
432
|
+
Execute a read-only Cypher query with intelligent response optimization.
|
|
404
433
|
|
|
405
|
-
|
|
434
|
+
**IMPORTANT: This endpoint is READ-ONLY.** Write operations (CREATE, MERGE, SET, DELETE) are not
|
|
435
|
+
allowed.
|
|
436
|
+
To load data into your graph, use the staging pipeline:
|
|
437
|
+
1. Create file upload: `POST /v1/graphs/{graph_id}/tables/{table_name}/files`
|
|
438
|
+
2. Ingest to graph: `POST /v1/graphs/{graph_id}/tables/ingest`
|
|
406
439
|
|
|
407
440
|
This endpoint automatically selects the best execution strategy based on:
|
|
408
441
|
- Query characteristics (size, complexity)
|
|
@@ -447,7 +480,7 @@ async def asyncio(
|
|
|
447
480
|
- Clients should implement exponential backoff
|
|
448
481
|
|
|
449
482
|
**Note:**
|
|
450
|
-
Query operations are
|
|
483
|
+
Query operations are included - no credit consumption required.
|
|
451
484
|
Queue position is based on subscription tier for priority.
|
|
452
485
|
|
|
453
486
|
Args:
|
|
@@ -39,7 +39,7 @@ def _get_kwargs(
|
|
|
39
39
|
|
|
40
40
|
_kwargs: dict[str, Any] = {
|
|
41
41
|
"method": "get",
|
|
42
|
-
"url": f"/v1/{graph_id}/schema/export",
|
|
42
|
+
"url": f"/v1/graphs/{graph_id}/schema/export",
|
|
43
43
|
"params": params,
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -54,10 +54,12 @@ def _parse_response(
|
|
|
54
54
|
response_200 = SchemaExportResponse.from_dict(response.json())
|
|
55
55
|
|
|
56
56
|
return response_200
|
|
57
|
+
|
|
57
58
|
if response.status_code == 422:
|
|
58
59
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
59
60
|
|
|
60
61
|
return response_422
|
|
62
|
+
|
|
61
63
|
if client.raise_on_unexpected_status:
|
|
62
64
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
63
65
|
else:
|