robosystems-client 0.2.4__py3-none-any.whl → 0.2.6__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.

Files changed (31) hide show
  1. robosystems_client/api/agent/auto_select_agent.py +164 -32
  2. robosystems_client/api/backup/create_backup.py +72 -0
  3. robosystems_client/api/backup/get_backup_download_url.py +12 -28
  4. robosystems_client/api/backup/restore_backup.py +92 -0
  5. robosystems_client/api/graph_limits/get_graph_limits.py +12 -14
  6. robosystems_client/api/graphs/create_graph.py +136 -36
  7. robosystems_client/api/graphs/get_available_graph_tiers.py +279 -0
  8. robosystems_client/api/query/execute_cypher_query.py +13 -11
  9. robosystems_client/models/__init__.py +22 -8
  10. robosystems_client/models/agent_response.py +1 -1
  11. robosystems_client/models/auth_response.py +40 -0
  12. robosystems_client/models/backup_download_url_response.py +92 -0
  13. robosystems_client/models/backup_limits.py +76 -0
  14. robosystems_client/models/batch_agent_request.py +1 -1
  15. robosystems_client/models/batch_agent_response.py +2 -2
  16. robosystems_client/models/copy_operation_limits.py +100 -0
  17. robosystems_client/models/create_graph_request.py +16 -17
  18. robosystems_client/models/credit_limits.py +84 -0
  19. robosystems_client/models/custom_schema_definition.py +14 -10
  20. robosystems_client/models/execute_cypher_query_response_200.py +135 -0
  21. robosystems_client/models/{get_graph_limits_response_getgraphlimits.py → execute_cypher_query_response_200_data_item.py} +5 -5
  22. robosystems_client/models/graph_limits_response.py +174 -0
  23. robosystems_client/models/initial_entity_data.py +15 -12
  24. robosystems_client/models/query_limits.py +84 -0
  25. robosystems_client/models/rate_limits.py +76 -0
  26. robosystems_client/models/storage_limits.py +90 -0
  27. {robosystems_client-0.2.4.dist-info → robosystems_client-0.2.6.dist-info}/METADATA +1 -1
  28. {robosystems_client-0.2.4.dist-info → robosystems_client-0.2.6.dist-info}/RECORD +30 -21
  29. robosystems_client/models/get_backup_download_url_response_getbackupdownloadurl.py +0 -44
  30. {robosystems_client-0.2.4.dist-info → robosystems_client-0.2.6.dist-info}/WHEEL +0 -0
  31. {robosystems_client-0.2.4.dist-info → robosystems_client-0.2.6.dist-info}/licenses/LICENSE +0 -0
@@ -5,9 +5,7 @@ import httpx
5
5
 
6
6
  from ... import errors
7
7
  from ...client import AuthenticatedClient, Client
8
- from ...models.get_graph_limits_response_getgraphlimits import (
9
- GetGraphLimitsResponseGetgraphlimits,
10
- )
8
+ from ...models.graph_limits_response import GraphLimitsResponse
11
9
  from ...models.http_validation_error import HTTPValidationError
12
10
  from ...types import Response
13
11
 
@@ -25,9 +23,9 @@ def _get_kwargs(
25
23
 
26
24
  def _parse_response(
27
25
  *, client: Union[AuthenticatedClient, Client], response: httpx.Response
28
- ) -> Optional[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
26
+ ) -> Optional[Union[Any, GraphLimitsResponse, HTTPValidationError]]:
29
27
  if response.status_code == 200:
30
- response_200 = GetGraphLimitsResponseGetgraphlimits.from_dict(response.json())
28
+ response_200 = GraphLimitsResponse.from_dict(response.json())
31
29
 
32
30
  return response_200
33
31
 
@@ -56,7 +54,7 @@ def _parse_response(
56
54
 
57
55
  def _build_response(
58
56
  *, client: Union[AuthenticatedClient, Client], response: httpx.Response
59
- ) -> Response[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
57
+ ) -> Response[Union[Any, GraphLimitsResponse, HTTPValidationError]]:
60
58
  return Response(
61
59
  status_code=HTTPStatus(response.status_code),
62
60
  content=response.content,
@@ -69,7 +67,7 @@ def sync_detailed(
69
67
  graph_id: str,
70
68
  *,
71
69
  client: AuthenticatedClient,
72
- ) -> Response[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
70
+ ) -> Response[Union[Any, GraphLimitsResponse, HTTPValidationError]]:
73
71
  """Get Graph Operational Limits
74
72
 
75
73
  Get comprehensive operational limits for the graph database.
@@ -94,7 +92,7 @@ def sync_detailed(
94
92
  httpx.TimeoutException: If the request takes longer than Client.timeout.
95
93
 
96
94
  Returns:
97
- Response[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]
95
+ Response[Union[Any, GraphLimitsResponse, HTTPValidationError]]
98
96
  """
99
97
 
100
98
  kwargs = _get_kwargs(
@@ -112,7 +110,7 @@ def sync(
112
110
  graph_id: str,
113
111
  *,
114
112
  client: AuthenticatedClient,
115
- ) -> Optional[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
113
+ ) -> Optional[Union[Any, GraphLimitsResponse, HTTPValidationError]]:
116
114
  """Get Graph Operational Limits
117
115
 
118
116
  Get comprehensive operational limits for the graph database.
@@ -137,7 +135,7 @@ def sync(
137
135
  httpx.TimeoutException: If the request takes longer than Client.timeout.
138
136
 
139
137
  Returns:
140
- Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]
138
+ Union[Any, GraphLimitsResponse, HTTPValidationError]
141
139
  """
142
140
 
143
141
  return sync_detailed(
@@ -150,7 +148,7 @@ async def asyncio_detailed(
150
148
  graph_id: str,
151
149
  *,
152
150
  client: AuthenticatedClient,
153
- ) -> Response[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
151
+ ) -> Response[Union[Any, GraphLimitsResponse, HTTPValidationError]]:
154
152
  """Get Graph Operational Limits
155
153
 
156
154
  Get comprehensive operational limits for the graph database.
@@ -175,7 +173,7 @@ async def asyncio_detailed(
175
173
  httpx.TimeoutException: If the request takes longer than Client.timeout.
176
174
 
177
175
  Returns:
178
- Response[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]
176
+ Response[Union[Any, GraphLimitsResponse, HTTPValidationError]]
179
177
  """
180
178
 
181
179
  kwargs = _get_kwargs(
@@ -191,7 +189,7 @@ async def asyncio(
191
189
  graph_id: str,
192
190
  *,
193
191
  client: AuthenticatedClient,
194
- ) -> Optional[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
192
+ ) -> Optional[Union[Any, GraphLimitsResponse, HTTPValidationError]]:
195
193
  """Get Graph Operational Limits
196
194
 
197
195
  Get comprehensive operational limits for the graph database.
@@ -216,7 +214,7 @@ async def asyncio(
216
214
  httpx.TimeoutException: If the request takes longer than Client.timeout.
217
215
 
218
216
  Returns:
219
- Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]
217
+ Union[Any, GraphLimitsResponse, HTTPValidationError]
220
218
  """
221
219
 
222
220
  return (
@@ -70,9 +70,35 @@ def sync_detailed(
70
70
  This endpoint starts an asynchronous graph creation operation and returns
71
71
  connection details for monitoring progress via Server-Sent Events (SSE).
72
72
 
73
- **Operation Types:**
74
- - **Generic Graph**: Creates empty graph with schema extensions
75
- - **Entity Graph**: Creates graph with initial entity data
73
+ **Graph Creation Options:**
74
+
75
+ 1. **Entity Graph with Initial Entity** (`initial_entity` provided, `create_entity=True`):
76
+ - Creates graph structure with entity schema extensions
77
+ - Populates an initial entity node with provided data
78
+ - Useful when you want a pre-configured entity to start with
79
+ - Example: Creating a company graph with the company already populated
80
+
81
+ 2. **Entity Graph without Initial Entity** (`initial_entity=None`, `create_entity=False`):
82
+ - Creates graph structure with entity schema extensions
83
+ - Graph starts empty, ready for data import
84
+ - Useful for bulk data imports or custom workflows
85
+ - Example: Creating a graph structure before importing from CSV/API
86
+
87
+ 3. **Generic Graph** (no `initial_entity` provided):
88
+ - Creates empty graph with custom schema extensions
89
+ - General-purpose knowledge graph
90
+ - Example: Analytics graphs, custom data models
91
+
92
+ **Required Fields:**
93
+ - `metadata.graph_name`: Unique name for the graph
94
+ - `instance_tier`: Resource tier (kuzu-standard, kuzu-large, kuzu-xlarge)
95
+
96
+ **Optional Fields:**
97
+ - `metadata.description`: Human-readable description of the graph's purpose
98
+ - `metadata.schema_extensions`: List of schema extensions (roboledger, roboinvestor, etc.)
99
+ - `tags`: Organizational tags (max 10)
100
+ - `initial_entity`: Entity data (required for entity graphs with initial data)
101
+ - `create_entity`: Whether to populate initial entity (default: true when initial_entity provided)
76
102
 
77
103
  **Monitoring Progress:**
78
104
  Use the returned `operation_id` to connect to the SSE stream:
@@ -107,12 +133,11 @@ def sync_detailed(
107
133
  - `_links.status`: Point-in-time status check endpoint
108
134
 
109
135
  Args:
110
- body (CreateGraphRequest): Request model for creating a new graph. Example:
111
- {'initial_entity': {'cik': '0001234567', 'name': 'Acme Consulting LLC', 'uri':
112
- 'https://acmeconsulting.com'}, 'instance_tier': 'kuzu-standard', 'metadata':
113
- {'description': 'Professional consulting services with full accounting integration',
114
- 'graph_name': 'Acme Consulting LLC', 'schema_extensions': ['roboledger']}, 'tags':
115
- ['consulting', 'professional-services']}.
136
+ body (CreateGraphRequest): Request model for creating a new graph.
137
+
138
+ Use this to create either:
139
+ - **Entity graphs**: Standard graphs with entity schema and optional extensions
140
+ - **Custom graphs**: Generic graphs with fully custom schema definitions
116
141
 
117
142
  Raises:
118
143
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -145,9 +170,35 @@ def sync(
145
170
  This endpoint starts an asynchronous graph creation operation and returns
146
171
  connection details for monitoring progress via Server-Sent Events (SSE).
147
172
 
148
- **Operation Types:**
149
- - **Generic Graph**: Creates empty graph with schema extensions
150
- - **Entity Graph**: Creates graph with initial entity data
173
+ **Graph Creation Options:**
174
+
175
+ 1. **Entity Graph with Initial Entity** (`initial_entity` provided, `create_entity=True`):
176
+ - Creates graph structure with entity schema extensions
177
+ - Populates an initial entity node with provided data
178
+ - Useful when you want a pre-configured entity to start with
179
+ - Example: Creating a company graph with the company already populated
180
+
181
+ 2. **Entity Graph without Initial Entity** (`initial_entity=None`, `create_entity=False`):
182
+ - Creates graph structure with entity schema extensions
183
+ - Graph starts empty, ready for data import
184
+ - Useful for bulk data imports or custom workflows
185
+ - Example: Creating a graph structure before importing from CSV/API
186
+
187
+ 3. **Generic Graph** (no `initial_entity` provided):
188
+ - Creates empty graph with custom schema extensions
189
+ - General-purpose knowledge graph
190
+ - Example: Analytics graphs, custom data models
191
+
192
+ **Required Fields:**
193
+ - `metadata.graph_name`: Unique name for the graph
194
+ - `instance_tier`: Resource tier (kuzu-standard, kuzu-large, kuzu-xlarge)
195
+
196
+ **Optional Fields:**
197
+ - `metadata.description`: Human-readable description of the graph's purpose
198
+ - `metadata.schema_extensions`: List of schema extensions (roboledger, roboinvestor, etc.)
199
+ - `tags`: Organizational tags (max 10)
200
+ - `initial_entity`: Entity data (required for entity graphs with initial data)
201
+ - `create_entity`: Whether to populate initial entity (default: true when initial_entity provided)
151
202
 
152
203
  **Monitoring Progress:**
153
204
  Use the returned `operation_id` to connect to the SSE stream:
@@ -182,12 +233,11 @@ def sync(
182
233
  - `_links.status`: Point-in-time status check endpoint
183
234
 
184
235
  Args:
185
- body (CreateGraphRequest): Request model for creating a new graph. Example:
186
- {'initial_entity': {'cik': '0001234567', 'name': 'Acme Consulting LLC', 'uri':
187
- 'https://acmeconsulting.com'}, 'instance_tier': 'kuzu-standard', 'metadata':
188
- {'description': 'Professional consulting services with full accounting integration',
189
- 'graph_name': 'Acme Consulting LLC', 'schema_extensions': ['roboledger']}, 'tags':
190
- ['consulting', 'professional-services']}.
236
+ body (CreateGraphRequest): Request model for creating a new graph.
237
+
238
+ Use this to create either:
239
+ - **Entity graphs**: Standard graphs with entity schema and optional extensions
240
+ - **Custom graphs**: Generic graphs with fully custom schema definitions
191
241
 
192
242
  Raises:
193
243
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -215,9 +265,35 @@ async def asyncio_detailed(
215
265
  This endpoint starts an asynchronous graph creation operation and returns
216
266
  connection details for monitoring progress via Server-Sent Events (SSE).
217
267
 
218
- **Operation Types:**
219
- - **Generic Graph**: Creates empty graph with schema extensions
220
- - **Entity Graph**: Creates graph with initial entity data
268
+ **Graph Creation Options:**
269
+
270
+ 1. **Entity Graph with Initial Entity** (`initial_entity` provided, `create_entity=True`):
271
+ - Creates graph structure with entity schema extensions
272
+ - Populates an initial entity node with provided data
273
+ - Useful when you want a pre-configured entity to start with
274
+ - Example: Creating a company graph with the company already populated
275
+
276
+ 2. **Entity Graph without Initial Entity** (`initial_entity=None`, `create_entity=False`):
277
+ - Creates graph structure with entity schema extensions
278
+ - Graph starts empty, ready for data import
279
+ - Useful for bulk data imports or custom workflows
280
+ - Example: Creating a graph structure before importing from CSV/API
281
+
282
+ 3. **Generic Graph** (no `initial_entity` provided):
283
+ - Creates empty graph with custom schema extensions
284
+ - General-purpose knowledge graph
285
+ - Example: Analytics graphs, custom data models
286
+
287
+ **Required Fields:**
288
+ - `metadata.graph_name`: Unique name for the graph
289
+ - `instance_tier`: Resource tier (kuzu-standard, kuzu-large, kuzu-xlarge)
290
+
291
+ **Optional Fields:**
292
+ - `metadata.description`: Human-readable description of the graph's purpose
293
+ - `metadata.schema_extensions`: List of schema extensions (roboledger, roboinvestor, etc.)
294
+ - `tags`: Organizational tags (max 10)
295
+ - `initial_entity`: Entity data (required for entity graphs with initial data)
296
+ - `create_entity`: Whether to populate initial entity (default: true when initial_entity provided)
221
297
 
222
298
  **Monitoring Progress:**
223
299
  Use the returned `operation_id` to connect to the SSE stream:
@@ -252,12 +328,11 @@ async def asyncio_detailed(
252
328
  - `_links.status`: Point-in-time status check endpoint
253
329
 
254
330
  Args:
255
- body (CreateGraphRequest): Request model for creating a new graph. Example:
256
- {'initial_entity': {'cik': '0001234567', 'name': 'Acme Consulting LLC', 'uri':
257
- 'https://acmeconsulting.com'}, 'instance_tier': 'kuzu-standard', 'metadata':
258
- {'description': 'Professional consulting services with full accounting integration',
259
- 'graph_name': 'Acme Consulting LLC', 'schema_extensions': ['roboledger']}, 'tags':
260
- ['consulting', 'professional-services']}.
331
+ body (CreateGraphRequest): Request model for creating a new graph.
332
+
333
+ Use this to create either:
334
+ - **Entity graphs**: Standard graphs with entity schema and optional extensions
335
+ - **Custom graphs**: Generic graphs with fully custom schema definitions
261
336
 
262
337
  Raises:
263
338
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -288,9 +363,35 @@ async def asyncio(
288
363
  This endpoint starts an asynchronous graph creation operation and returns
289
364
  connection details for monitoring progress via Server-Sent Events (SSE).
290
365
 
291
- **Operation Types:**
292
- - **Generic Graph**: Creates empty graph with schema extensions
293
- - **Entity Graph**: Creates graph with initial entity data
366
+ **Graph Creation Options:**
367
+
368
+ 1. **Entity Graph with Initial Entity** (`initial_entity` provided, `create_entity=True`):
369
+ - Creates graph structure with entity schema extensions
370
+ - Populates an initial entity node with provided data
371
+ - Useful when you want a pre-configured entity to start with
372
+ - Example: Creating a company graph with the company already populated
373
+
374
+ 2. **Entity Graph without Initial Entity** (`initial_entity=None`, `create_entity=False`):
375
+ - Creates graph structure with entity schema extensions
376
+ - Graph starts empty, ready for data import
377
+ - Useful for bulk data imports or custom workflows
378
+ - Example: Creating a graph structure before importing from CSV/API
379
+
380
+ 3. **Generic Graph** (no `initial_entity` provided):
381
+ - Creates empty graph with custom schema extensions
382
+ - General-purpose knowledge graph
383
+ - Example: Analytics graphs, custom data models
384
+
385
+ **Required Fields:**
386
+ - `metadata.graph_name`: Unique name for the graph
387
+ - `instance_tier`: Resource tier (kuzu-standard, kuzu-large, kuzu-xlarge)
388
+
389
+ **Optional Fields:**
390
+ - `metadata.description`: Human-readable description of the graph's purpose
391
+ - `metadata.schema_extensions`: List of schema extensions (roboledger, roboinvestor, etc.)
392
+ - `tags`: Organizational tags (max 10)
393
+ - `initial_entity`: Entity data (required for entity graphs with initial data)
394
+ - `create_entity`: Whether to populate initial entity (default: true when initial_entity provided)
294
395
 
295
396
  **Monitoring Progress:**
296
397
  Use the returned `operation_id` to connect to the SSE stream:
@@ -325,12 +426,11 @@ async def asyncio(
325
426
  - `_links.status`: Point-in-time status check endpoint
326
427
 
327
428
  Args:
328
- body (CreateGraphRequest): Request model for creating a new graph. Example:
329
- {'initial_entity': {'cik': '0001234567', 'name': 'Acme Consulting LLC', 'uri':
330
- 'https://acmeconsulting.com'}, 'instance_tier': 'kuzu-standard', 'metadata':
331
- {'description': 'Professional consulting services with full accounting integration',
332
- 'graph_name': 'Acme Consulting LLC', 'schema_extensions': ['roboledger']}, 'tags':
333
- ['consulting', 'professional-services']}.
429
+ body (CreateGraphRequest): Request model for creating a new graph.
430
+
431
+ Use this to create either:
432
+ - **Entity graphs**: Standard graphs with entity schema and optional extensions
433
+ - **Custom graphs**: Generic graphs with fully custom schema definitions
334
434
 
335
435
  Raises:
336
436
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -0,0 +1,279 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union, cast
3
+
4
+ import httpx
5
+
6
+ from ... import errors
7
+ from ...client import AuthenticatedClient, Client
8
+ from ...models.http_validation_error import HTTPValidationError
9
+ from ...types import UNSET, Response, Unset
10
+
11
+
12
+ def _get_kwargs(
13
+ *,
14
+ include_disabled: Union[Unset, bool] = False,
15
+ ) -> dict[str, Any]:
16
+ params: dict[str, Any] = {}
17
+
18
+ params["include_disabled"] = include_disabled
19
+
20
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
21
+
22
+ _kwargs: dict[str, Any] = {
23
+ "method": "get",
24
+ "url": "/v1/graphs/tiers",
25
+ "params": params,
26
+ }
27
+
28
+ return _kwargs
29
+
30
+
31
+ def _parse_response(
32
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
33
+ ) -> Optional[Union[Any, HTTPValidationError]]:
34
+ if response.status_code == 200:
35
+ response_200 = response.json()
36
+ return response_200
37
+
38
+ if response.status_code == 422:
39
+ response_422 = HTTPValidationError.from_dict(response.json())
40
+
41
+ return response_422
42
+
43
+ if response.status_code == 500:
44
+ response_500 = cast(Any, None)
45
+ return response_500
46
+
47
+ if client.raise_on_unexpected_status:
48
+ raise errors.UnexpectedStatus(response.status_code, response.content)
49
+ else:
50
+ return None
51
+
52
+
53
+ def _build_response(
54
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
55
+ ) -> Response[Union[Any, HTTPValidationError]]:
56
+ return Response(
57
+ status_code=HTTPStatus(response.status_code),
58
+ content=response.content,
59
+ headers=response.headers,
60
+ parsed=_parse_response(client=client, response=response),
61
+ )
62
+
63
+
64
+ def sync_detailed(
65
+ *,
66
+ client: AuthenticatedClient,
67
+ include_disabled: Union[Unset, bool] = False,
68
+ ) -> Response[Union[Any, HTTPValidationError]]:
69
+ """Get Available Graph Tiers
70
+
71
+ List all available graph database tier configurations.
72
+
73
+ This endpoint provides comprehensive technical specifications for each available
74
+ graph database tier, including instance types, resource limits, and features.
75
+
76
+ **Tier Information:**
77
+ Each tier includes:
78
+ - Technical specifications (instance type, memory, storage)
79
+ - Resource limits (subgraphs, credits, rate limits)
80
+ - Feature list with capabilities
81
+ - Availability status
82
+
83
+ **Available Tiers:**
84
+ - **kuzu-standard**: Multi-tenant entry-level tier
85
+ - **kuzu-large**: Dedicated professional tier with subgraph support
86
+ - **kuzu-xlarge**: Enterprise tier with maximum resources
87
+ - **neo4j-community-large**: Neo4j Community Edition (optional, if enabled)
88
+ - **neo4j-enterprise-xlarge**: Neo4j Enterprise Edition (optional, if enabled)
89
+
90
+ **Use Cases:**
91
+ - Display tier options in graph creation UI
92
+ - Show technical specifications for tier selection
93
+ - Validate tier availability before graph creation
94
+ - Display feature comparisons
95
+
96
+ **Note:**
97
+ Tier listing is included - no credit consumption required.
98
+
99
+ Args:
100
+ include_disabled (Union[Unset, bool]): Default: False.
101
+
102
+ Raises:
103
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
104
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
105
+
106
+ Returns:
107
+ Response[Union[Any, HTTPValidationError]]
108
+ """
109
+
110
+ kwargs = _get_kwargs(
111
+ include_disabled=include_disabled,
112
+ )
113
+
114
+ response = client.get_httpx_client().request(
115
+ **kwargs,
116
+ )
117
+
118
+ return _build_response(client=client, response=response)
119
+
120
+
121
+ def sync(
122
+ *,
123
+ client: AuthenticatedClient,
124
+ include_disabled: Union[Unset, bool] = False,
125
+ ) -> Optional[Union[Any, HTTPValidationError]]:
126
+ """Get Available Graph Tiers
127
+
128
+ List all available graph database tier configurations.
129
+
130
+ This endpoint provides comprehensive technical specifications for each available
131
+ graph database tier, including instance types, resource limits, and features.
132
+
133
+ **Tier Information:**
134
+ Each tier includes:
135
+ - Technical specifications (instance type, memory, storage)
136
+ - Resource limits (subgraphs, credits, rate limits)
137
+ - Feature list with capabilities
138
+ - Availability status
139
+
140
+ **Available Tiers:**
141
+ - **kuzu-standard**: Multi-tenant entry-level tier
142
+ - **kuzu-large**: Dedicated professional tier with subgraph support
143
+ - **kuzu-xlarge**: Enterprise tier with maximum resources
144
+ - **neo4j-community-large**: Neo4j Community Edition (optional, if enabled)
145
+ - **neo4j-enterprise-xlarge**: Neo4j Enterprise Edition (optional, if enabled)
146
+
147
+ **Use Cases:**
148
+ - Display tier options in graph creation UI
149
+ - Show technical specifications for tier selection
150
+ - Validate tier availability before graph creation
151
+ - Display feature comparisons
152
+
153
+ **Note:**
154
+ Tier listing is included - no credit consumption required.
155
+
156
+ Args:
157
+ include_disabled (Union[Unset, bool]): Default: False.
158
+
159
+ Raises:
160
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
161
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
162
+
163
+ Returns:
164
+ Union[Any, HTTPValidationError]
165
+ """
166
+
167
+ return sync_detailed(
168
+ client=client,
169
+ include_disabled=include_disabled,
170
+ ).parsed
171
+
172
+
173
+ async def asyncio_detailed(
174
+ *,
175
+ client: AuthenticatedClient,
176
+ include_disabled: Union[Unset, bool] = False,
177
+ ) -> Response[Union[Any, HTTPValidationError]]:
178
+ """Get Available Graph Tiers
179
+
180
+ List all available graph database tier configurations.
181
+
182
+ This endpoint provides comprehensive technical specifications for each available
183
+ graph database tier, including instance types, resource limits, and features.
184
+
185
+ **Tier Information:**
186
+ Each tier includes:
187
+ - Technical specifications (instance type, memory, storage)
188
+ - Resource limits (subgraphs, credits, rate limits)
189
+ - Feature list with capabilities
190
+ - Availability status
191
+
192
+ **Available Tiers:**
193
+ - **kuzu-standard**: Multi-tenant entry-level tier
194
+ - **kuzu-large**: Dedicated professional tier with subgraph support
195
+ - **kuzu-xlarge**: Enterprise tier with maximum resources
196
+ - **neo4j-community-large**: Neo4j Community Edition (optional, if enabled)
197
+ - **neo4j-enterprise-xlarge**: Neo4j Enterprise Edition (optional, if enabled)
198
+
199
+ **Use Cases:**
200
+ - Display tier options in graph creation UI
201
+ - Show technical specifications for tier selection
202
+ - Validate tier availability before graph creation
203
+ - Display feature comparisons
204
+
205
+ **Note:**
206
+ Tier listing is included - no credit consumption required.
207
+
208
+ Args:
209
+ include_disabled (Union[Unset, bool]): Default: False.
210
+
211
+ Raises:
212
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
213
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
214
+
215
+ Returns:
216
+ Response[Union[Any, HTTPValidationError]]
217
+ """
218
+
219
+ kwargs = _get_kwargs(
220
+ include_disabled=include_disabled,
221
+ )
222
+
223
+ response = await client.get_async_httpx_client().request(**kwargs)
224
+
225
+ return _build_response(client=client, response=response)
226
+
227
+
228
+ async def asyncio(
229
+ *,
230
+ client: AuthenticatedClient,
231
+ include_disabled: Union[Unset, bool] = False,
232
+ ) -> Optional[Union[Any, HTTPValidationError]]:
233
+ """Get Available Graph Tiers
234
+
235
+ List all available graph database tier configurations.
236
+
237
+ This endpoint provides comprehensive technical specifications for each available
238
+ graph database tier, including instance types, resource limits, and features.
239
+
240
+ **Tier Information:**
241
+ Each tier includes:
242
+ - Technical specifications (instance type, memory, storage)
243
+ - Resource limits (subgraphs, credits, rate limits)
244
+ - Feature list with capabilities
245
+ - Availability status
246
+
247
+ **Available Tiers:**
248
+ - **kuzu-standard**: Multi-tenant entry-level tier
249
+ - **kuzu-large**: Dedicated professional tier with subgraph support
250
+ - **kuzu-xlarge**: Enterprise tier with maximum resources
251
+ - **neo4j-community-large**: Neo4j Community Edition (optional, if enabled)
252
+ - **neo4j-enterprise-xlarge**: Neo4j Enterprise Edition (optional, if enabled)
253
+
254
+ **Use Cases:**
255
+ - Display tier options in graph creation UI
256
+ - Show technical specifications for tier selection
257
+ - Validate tier availability before graph creation
258
+ - Display feature comparisons
259
+
260
+ **Note:**
261
+ Tier listing is included - no credit consumption required.
262
+
263
+ Args:
264
+ include_disabled (Union[Unset, bool]): Default: False.
265
+
266
+ Raises:
267
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
268
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
269
+
270
+ Returns:
271
+ Union[Any, HTTPValidationError]
272
+ """
273
+
274
+ return (
275
+ await asyncio_detailed(
276
+ client=client,
277
+ include_disabled=include_disabled,
278
+ )
279
+ ).parsed