robosystems-client 0.1.12__py3-none-any.whl → 0.1.14__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.
Files changed (61) hide show
  1. robosystems_client/api/backup/create_backup.py +1 -1
  2. robosystems_client/api/backup/export_backup.py +14 -19
  3. robosystems_client/api/backup/get_backup_download_url.py +1 -1
  4. robosystems_client/api/backup/get_backup_stats.py +19 -1
  5. robosystems_client/api/backup/list_backups.py +19 -1
  6. robosystems_client/api/backup/restore_backup.py +1 -1
  7. robosystems_client/api/copy/copy_data_to_graph.py +479 -0
  8. robosystems_client/api/{credits_ → graph_credits}/check_credit_balance.py +42 -20
  9. robosystems_client/api/graph_health/__init__.py +1 -0
  10. robosystems_client/api/{graph_status → graph_health}/get_database_health.py +1 -1
  11. robosystems_client/api/graph_info/__init__.py +1 -0
  12. robosystems_client/api/{graph_status → graph_info}/get_database_info.py +1 -1
  13. robosystems_client/api/graph_limits/__init__.py +1 -0
  14. robosystems_client/api/graph_limits/get_graph_limits.py +259 -0
  15. robosystems_client/api/subgraphs/create_subgraph.py +63 -173
  16. robosystems_client/api/subgraphs/delete_subgraph.py +14 -14
  17. robosystems_client/api/subgraphs/get_subgraph_info.py +14 -14
  18. robosystems_client/api/subgraphs/get_subgraph_quota.py +8 -4
  19. robosystems_client/api/subgraphs/list_subgraphs.py +39 -75
  20. robosystems_client/api/user/get_all_credit_summaries.py +1 -1
  21. robosystems_client/extensions/README.md +211 -0
  22. robosystems_client/extensions/__init__.py +29 -0
  23. robosystems_client/extensions/copy_client.py +469 -0
  24. robosystems_client/extensions/extensions.py +17 -0
  25. robosystems_client/models/__init__.py +26 -10
  26. robosystems_client/models/copy_response.py +275 -0
  27. robosystems_client/models/{kuzu_backup_health_response_kuzubackuphealth.py → copy_response_error_details_type_0.py} +5 -5
  28. robosystems_client/models/copy_response_status.py +11 -0
  29. robosystems_client/models/custom_schema_definition.py +2 -2
  30. robosystems_client/models/data_frame_copy_request.py +125 -0
  31. robosystems_client/models/data_frame_copy_request_format.py +10 -0
  32. robosystems_client/models/get_graph_limits_response_getgraphlimits.py +44 -0
  33. robosystems_client/models/s3_copy_request.py +378 -0
  34. robosystems_client/models/s3_copy_request_file_format.py +12 -0
  35. robosystems_client/models/s3_copy_request_s3_url_style_type_0.py +9 -0
  36. robosystems_client/models/url_copy_request.py +157 -0
  37. robosystems_client/models/url_copy_request_file_format.py +10 -0
  38. robosystems_client/models/url_copy_request_headers_type_0.py +44 -0
  39. {robosystems_client-0.1.12.dist-info → robosystems_client-0.1.14.dist-info}/METADATA +1 -1
  40. {robosystems_client-0.1.12.dist-info → robosystems_client-0.1.14.dist-info}/RECORD +52 -44
  41. robosystems_client/api/backup/kuzu_backup_health.py +0 -202
  42. robosystems_client/api/billing/get_available_subscription_plans_v1_graph_id_billing_available_plans_get.py +0 -198
  43. robosystems_client/api/billing/get_credit_billing_info_v1_graph_id_billing_credits_get.py +0 -210
  44. robosystems_client/api/billing/get_graph_pricing_info_v1_graph_id_billing_pricing_get.py +0 -198
  45. robosystems_client/api/billing/get_graph_subscription_v1_graph_id_billing_subscription_get.py +0 -198
  46. robosystems_client/api/billing/upgrade_graph_subscription_v1_graph_id_billing_subscription_upgrade_post.py +0 -216
  47. robosystems_client/models/backup_export_request.py +0 -72
  48. robosystems_client/models/credit_check_request.py +0 -82
  49. robosystems_client/models/upgrade_subscription_request.py +0 -82
  50. /robosystems_client/api/{billing → copy}/__init__.py +0 -0
  51. /robosystems_client/api/{credits_ → graph_billing}/__init__.py +0 -0
  52. /robosystems_client/api/{billing → graph_billing}/get_current_graph_bill.py +0 -0
  53. /robosystems_client/api/{billing → graph_billing}/get_graph_billing_history.py +0 -0
  54. /robosystems_client/api/{billing → graph_billing}/get_graph_monthly_bill.py +0 -0
  55. /robosystems_client/api/{billing → graph_billing}/get_graph_usage_details.py +0 -0
  56. /robosystems_client/api/{graph_status → graph_credits}/__init__.py +0 -0
  57. /robosystems_client/api/{credits_ → graph_credits}/check_storage_limits.py +0 -0
  58. /robosystems_client/api/{credits_ → graph_credits}/get_credit_summary.py +0 -0
  59. /robosystems_client/api/{credits_ → graph_credits}/get_storage_usage.py +0 -0
  60. /robosystems_client/api/{credits_ → graph_credits}/list_credit_transactions.py +0 -0
  61. {robosystems_client-0.1.12.dist-info → robosystems_client-0.1.14.dist-info}/WHEEL +0 -0
@@ -13,7 +13,7 @@ from ...types import UNSET, Response, Unset
13
13
 
14
14
  def _get_kwargs(
15
15
  graph_id: str,
16
- subgraph_name: str,
16
+ subgraph_id: str,
17
17
  *,
18
18
  body: DeleteSubgraphRequest,
19
19
  authorization: Union[None, Unset, str] = UNSET,
@@ -29,7 +29,7 @@ def _get_kwargs(
29
29
 
30
30
  _kwargs: dict[str, Any] = {
31
31
  "method": "delete",
32
- "url": f"/v1/{graph_id}/subgraphs/{subgraph_name}",
32
+ "url": f"/v1/{graph_id}/subgraphs/{subgraph_id}",
33
33
  "cookies": cookies,
34
34
  }
35
35
 
@@ -89,7 +89,7 @@ def _build_response(
89
89
 
90
90
  def sync_detailed(
91
91
  graph_id: str,
92
- subgraph_name: str,
92
+ subgraph_id: str,
93
93
  *,
94
94
  client: AuthenticatedClient,
95
95
  body: DeleteSubgraphRequest,
@@ -119,7 +119,7 @@ def sync_detailed(
119
119
 
120
120
  Args:
121
121
  graph_id (str): Parent graph identifier
122
- subgraph_name (str): Subgraph name to delete
122
+ subgraph_id (str): Subgraph identifier to delete
123
123
  authorization (Union[None, Unset, str]):
124
124
  auth_token (Union[None, Unset, str]):
125
125
  body (DeleteSubgraphRequest): Request model for deleting a subgraph.
@@ -134,7 +134,7 @@ def sync_detailed(
134
134
 
135
135
  kwargs = _get_kwargs(
136
136
  graph_id=graph_id,
137
- subgraph_name=subgraph_name,
137
+ subgraph_id=subgraph_id,
138
138
  body=body,
139
139
  authorization=authorization,
140
140
  auth_token=auth_token,
@@ -149,7 +149,7 @@ def sync_detailed(
149
149
 
150
150
  def sync(
151
151
  graph_id: str,
152
- subgraph_name: str,
152
+ subgraph_id: str,
153
153
  *,
154
154
  client: AuthenticatedClient,
155
155
  body: DeleteSubgraphRequest,
@@ -179,7 +179,7 @@ def sync(
179
179
 
180
180
  Args:
181
181
  graph_id (str): Parent graph identifier
182
- subgraph_name (str): Subgraph name to delete
182
+ subgraph_id (str): Subgraph identifier to delete
183
183
  authorization (Union[None, Unset, str]):
184
184
  auth_token (Union[None, Unset, str]):
185
185
  body (DeleteSubgraphRequest): Request model for deleting a subgraph.
@@ -194,7 +194,7 @@ def sync(
194
194
 
195
195
  return sync_detailed(
196
196
  graph_id=graph_id,
197
- subgraph_name=subgraph_name,
197
+ subgraph_id=subgraph_id,
198
198
  client=client,
199
199
  body=body,
200
200
  authorization=authorization,
@@ -204,7 +204,7 @@ def sync(
204
204
 
205
205
  async def asyncio_detailed(
206
206
  graph_id: str,
207
- subgraph_name: str,
207
+ subgraph_id: str,
208
208
  *,
209
209
  client: AuthenticatedClient,
210
210
  body: DeleteSubgraphRequest,
@@ -234,7 +234,7 @@ async def asyncio_detailed(
234
234
 
235
235
  Args:
236
236
  graph_id (str): Parent graph identifier
237
- subgraph_name (str): Subgraph name to delete
237
+ subgraph_id (str): Subgraph identifier to delete
238
238
  authorization (Union[None, Unset, str]):
239
239
  auth_token (Union[None, Unset, str]):
240
240
  body (DeleteSubgraphRequest): Request model for deleting a subgraph.
@@ -249,7 +249,7 @@ async def asyncio_detailed(
249
249
 
250
250
  kwargs = _get_kwargs(
251
251
  graph_id=graph_id,
252
- subgraph_name=subgraph_name,
252
+ subgraph_id=subgraph_id,
253
253
  body=body,
254
254
  authorization=authorization,
255
255
  auth_token=auth_token,
@@ -262,7 +262,7 @@ async def asyncio_detailed(
262
262
 
263
263
  async def asyncio(
264
264
  graph_id: str,
265
- subgraph_name: str,
265
+ subgraph_id: str,
266
266
  *,
267
267
  client: AuthenticatedClient,
268
268
  body: DeleteSubgraphRequest,
@@ -292,7 +292,7 @@ async def asyncio(
292
292
 
293
293
  Args:
294
294
  graph_id (str): Parent graph identifier
295
- subgraph_name (str): Subgraph name to delete
295
+ subgraph_id (str): Subgraph identifier to delete
296
296
  authorization (Union[None, Unset, str]):
297
297
  auth_token (Union[None, Unset, str]):
298
298
  body (DeleteSubgraphRequest): Request model for deleting a subgraph.
@@ -308,7 +308,7 @@ async def asyncio(
308
308
  return (
309
309
  await asyncio_detailed(
310
310
  graph_id=graph_id,
311
- subgraph_name=subgraph_name,
311
+ subgraph_id=subgraph_id,
312
312
  client=client,
313
313
  body=body,
314
314
  authorization=authorization,
@@ -12,7 +12,7 @@ from ...types import UNSET, Response, Unset
12
12
 
13
13
  def _get_kwargs(
14
14
  graph_id: str,
15
- subgraph_name: str,
15
+ subgraph_id: str,
16
16
  *,
17
17
  authorization: Union[None, Unset, str] = UNSET,
18
18
  auth_token: Union[None, Unset, str] = UNSET,
@@ -27,7 +27,7 @@ def _get_kwargs(
27
27
 
28
28
  _kwargs: dict[str, Any] = {
29
29
  "method": "get",
30
- "url": f"/v1/{graph_id}/subgraphs/{subgraph_name}/info",
30
+ "url": f"/v1/{graph_id}/subgraphs/{subgraph_id}/info",
31
31
  "cookies": cookies,
32
32
  }
33
33
 
@@ -80,7 +80,7 @@ def _build_response(
80
80
 
81
81
  def sync_detailed(
82
82
  graph_id: str,
83
- subgraph_name: str,
83
+ subgraph_id: str,
84
84
  *,
85
85
  client: AuthenticatedClient,
86
86
  authorization: Union[None, Unset, str] = UNSET,
@@ -110,7 +110,7 @@ def sync_detailed(
110
110
 
111
111
  Args:
112
112
  graph_id (str): Parent graph identifier
113
- subgraph_name (str): Subgraph name
113
+ subgraph_id (str): Subgraph identifier
114
114
  authorization (Union[None, Unset, str]):
115
115
  auth_token (Union[None, Unset, str]):
116
116
 
@@ -124,7 +124,7 @@ def sync_detailed(
124
124
 
125
125
  kwargs = _get_kwargs(
126
126
  graph_id=graph_id,
127
- subgraph_name=subgraph_name,
127
+ subgraph_id=subgraph_id,
128
128
  authorization=authorization,
129
129
  auth_token=auth_token,
130
130
  )
@@ -138,7 +138,7 @@ def sync_detailed(
138
138
 
139
139
  def sync(
140
140
  graph_id: str,
141
- subgraph_name: str,
141
+ subgraph_id: str,
142
142
  *,
143
143
  client: AuthenticatedClient,
144
144
  authorization: Union[None, Unset, str] = UNSET,
@@ -168,7 +168,7 @@ def sync(
168
168
 
169
169
  Args:
170
170
  graph_id (str): Parent graph identifier
171
- subgraph_name (str): Subgraph name
171
+ subgraph_id (str): Subgraph identifier
172
172
  authorization (Union[None, Unset, str]):
173
173
  auth_token (Union[None, Unset, str]):
174
174
 
@@ -182,7 +182,7 @@ def sync(
182
182
 
183
183
  return sync_detailed(
184
184
  graph_id=graph_id,
185
- subgraph_name=subgraph_name,
185
+ subgraph_id=subgraph_id,
186
186
  client=client,
187
187
  authorization=authorization,
188
188
  auth_token=auth_token,
@@ -191,7 +191,7 @@ def sync(
191
191
 
192
192
  async def asyncio_detailed(
193
193
  graph_id: str,
194
- subgraph_name: str,
194
+ subgraph_id: str,
195
195
  *,
196
196
  client: AuthenticatedClient,
197
197
  authorization: Union[None, Unset, str] = UNSET,
@@ -221,7 +221,7 @@ async def asyncio_detailed(
221
221
 
222
222
  Args:
223
223
  graph_id (str): Parent graph identifier
224
- subgraph_name (str): Subgraph name
224
+ subgraph_id (str): Subgraph identifier
225
225
  authorization (Union[None, Unset, str]):
226
226
  auth_token (Union[None, Unset, str]):
227
227
 
@@ -235,7 +235,7 @@ async def asyncio_detailed(
235
235
 
236
236
  kwargs = _get_kwargs(
237
237
  graph_id=graph_id,
238
- subgraph_name=subgraph_name,
238
+ subgraph_id=subgraph_id,
239
239
  authorization=authorization,
240
240
  auth_token=auth_token,
241
241
  )
@@ -247,7 +247,7 @@ async def asyncio_detailed(
247
247
 
248
248
  async def asyncio(
249
249
  graph_id: str,
250
- subgraph_name: str,
250
+ subgraph_id: str,
251
251
  *,
252
252
  client: AuthenticatedClient,
253
253
  authorization: Union[None, Unset, str] = UNSET,
@@ -277,7 +277,7 @@ async def asyncio(
277
277
 
278
278
  Args:
279
279
  graph_id (str): Parent graph identifier
280
- subgraph_name (str): Subgraph name
280
+ subgraph_id (str): Subgraph identifier
281
281
  authorization (Union[None, Unset, str]):
282
282
  auth_token (Union[None, Unset, str]):
283
283
 
@@ -292,7 +292,7 @@ async def asyncio(
292
292
  return (
293
293
  await asyncio_detailed(
294
294
  graph_id=graph_id,
295
- subgraph_name=subgraph_name,
295
+ subgraph_id=subgraph_id,
296
296
  client=client,
297
297
  authorization=authorization,
298
298
  auth_token=auth_token,
@@ -93,8 +93,9 @@ def sync_detailed(
93
93
 
94
94
  **Tier Limits:**
95
95
  - Standard: 0 subgraphs (not supported)
96
- - Enterprise: 10 subgraphs maximum
96
+ - Enterprise: Configurable limit (default: 10 subgraphs)
97
97
  - Premium: Unlimited subgraphs
98
+ - Limits are defined in deployment configuration
98
99
 
99
100
  **Size Tracking:**
100
101
  Provides aggregate size metrics when available.
@@ -145,8 +146,9 @@ def sync(
145
146
 
146
147
  **Tier Limits:**
147
148
  - Standard: 0 subgraphs (not supported)
148
- - Enterprise: 10 subgraphs maximum
149
+ - Enterprise: Configurable limit (default: 10 subgraphs)
149
150
  - Premium: Unlimited subgraphs
151
+ - Limits are defined in deployment configuration
150
152
 
151
153
  **Size Tracking:**
152
154
  Provides aggregate size metrics when available.
@@ -192,8 +194,9 @@ async def asyncio_detailed(
192
194
 
193
195
  **Tier Limits:**
194
196
  - Standard: 0 subgraphs (not supported)
195
- - Enterprise: 10 subgraphs maximum
197
+ - Enterprise: Configurable limit (default: 10 subgraphs)
196
198
  - Premium: Unlimited subgraphs
199
+ - Limits are defined in deployment configuration
197
200
 
198
201
  **Size Tracking:**
199
202
  Provides aggregate size metrics when available.
@@ -242,8 +245,9 @@ async def asyncio(
242
245
 
243
246
  **Tier Limits:**
244
247
  - Standard: 0 subgraphs (not supported)
245
- - Enterprise: 10 subgraphs maximum
248
+ - Enterprise: Configurable limit (default: 10 subgraphs)
246
249
  - Premium: Unlimited subgraphs
250
+ - Limits are defined in deployment configuration
247
251
 
248
252
  **Size Tracking:**
249
253
  Provides aggregate size metrics when available.
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, Optional, Union, cast
2
+ from typing import Any, Optional, Union
3
3
 
4
4
  import httpx
5
5
 
@@ -36,23 +36,11 @@ def _get_kwargs(
36
36
 
37
37
  def _parse_response(
38
38
  *, client: Union[AuthenticatedClient, Client], response: httpx.Response
39
- ) -> Optional[Union[Any, HTTPValidationError, ListSubgraphsResponse]]:
39
+ ) -> Optional[Union[HTTPValidationError, ListSubgraphsResponse]]:
40
40
  if response.status_code == 200:
41
41
  response_200 = ListSubgraphsResponse.from_dict(response.json())
42
42
 
43
43
  return response_200
44
- if response.status_code == 401:
45
- response_401 = cast(Any, None)
46
- return response_401
47
- if response.status_code == 403:
48
- response_403 = cast(Any, None)
49
- return response_403
50
- if response.status_code == 404:
51
- response_404 = cast(Any, None)
52
- return response_404
53
- if response.status_code == 500:
54
- response_500 = cast(Any, None)
55
- return response_500
56
44
  if response.status_code == 422:
57
45
  response_422 = HTTPValidationError.from_dict(response.json())
58
46
 
@@ -65,7 +53,7 @@ def _parse_response(
65
53
 
66
54
  def _build_response(
67
55
  *, client: Union[AuthenticatedClient, Client], response: httpx.Response
68
- ) -> Response[Union[Any, HTTPValidationError, ListSubgraphsResponse]]:
56
+ ) -> Response[Union[HTTPValidationError, ListSubgraphsResponse]]:
69
57
  return Response(
70
58
  status_code=HTTPStatus(response.status_code),
71
59
  content=response.content,
@@ -80,28 +68,22 @@ def sync_detailed(
80
68
  client: AuthenticatedClient,
81
69
  authorization: Union[None, Unset, str] = UNSET,
82
70
  auth_token: Union[None, Unset, str] = UNSET,
83
- ) -> Response[Union[Any, HTTPValidationError, ListSubgraphsResponse]]:
71
+ ) -> Response[Union[HTTPValidationError, ListSubgraphsResponse]]:
84
72
  """List Subgraphs
85
73
 
86
74
  List all subgraphs for a parent graph.
87
75
 
88
76
  **Requirements:**
89
- - User must have at least read access to parent graph
77
+ - Valid authentication
78
+ - Parent graph must exist and be accessible to the user
79
+ - User must have at least 'read' permission on the parent graph
90
80
 
91
- **Response includes:**
92
- - List of all subgraphs with metadata
93
- - Current usage vs limits
94
- - Size and statistics per subgraph
95
- - Creation timestamps
96
-
97
- **Filtering:**
98
- Currently returns all subgraphs. Future versions will support:
99
- - Filtering by status
100
- - Filtering by creation date
101
- - Pagination for large lists
81
+ **Returns:**
82
+ - List of all subgraphs for the parent graph
83
+ - Each subgraph includes its ID, name, description, type, status, and creation date
102
84
 
103
85
  Args:
104
- graph_id (str): Parent graph identifier
86
+ graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
105
87
  authorization (Union[None, Unset, str]):
106
88
  auth_token (Union[None, Unset, str]):
107
89
 
@@ -110,7 +92,7 @@ def sync_detailed(
110
92
  httpx.TimeoutException: If the request takes longer than Client.timeout.
111
93
 
112
94
  Returns:
113
- Response[Union[Any, HTTPValidationError, ListSubgraphsResponse]]
95
+ Response[Union[HTTPValidationError, ListSubgraphsResponse]]
114
96
  """
115
97
 
116
98
  kwargs = _get_kwargs(
@@ -132,28 +114,22 @@ def sync(
132
114
  client: AuthenticatedClient,
133
115
  authorization: Union[None, Unset, str] = UNSET,
134
116
  auth_token: Union[None, Unset, str] = UNSET,
135
- ) -> Optional[Union[Any, HTTPValidationError, ListSubgraphsResponse]]:
117
+ ) -> Optional[Union[HTTPValidationError, ListSubgraphsResponse]]:
136
118
  """List Subgraphs
137
119
 
138
120
  List all subgraphs for a parent graph.
139
121
 
140
122
  **Requirements:**
141
- - User must have at least read access to parent graph
142
-
143
- **Response includes:**
144
- - List of all subgraphs with metadata
145
- - Current usage vs limits
146
- - Size and statistics per subgraph
147
- - Creation timestamps
123
+ - Valid authentication
124
+ - Parent graph must exist and be accessible to the user
125
+ - User must have at least 'read' permission on the parent graph
148
126
 
149
- **Filtering:**
150
- Currently returns all subgraphs. Future versions will support:
151
- - Filtering by status
152
- - Filtering by creation date
153
- - Pagination for large lists
127
+ **Returns:**
128
+ - List of all subgraphs for the parent graph
129
+ - Each subgraph includes its ID, name, description, type, status, and creation date
154
130
 
155
131
  Args:
156
- graph_id (str): Parent graph identifier
132
+ graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
157
133
  authorization (Union[None, Unset, str]):
158
134
  auth_token (Union[None, Unset, str]):
159
135
 
@@ -162,7 +138,7 @@ def sync(
162
138
  httpx.TimeoutException: If the request takes longer than Client.timeout.
163
139
 
164
140
  Returns:
165
- Union[Any, HTTPValidationError, ListSubgraphsResponse]
141
+ Union[HTTPValidationError, ListSubgraphsResponse]
166
142
  """
167
143
 
168
144
  return sync_detailed(
@@ -179,28 +155,22 @@ async def asyncio_detailed(
179
155
  client: AuthenticatedClient,
180
156
  authorization: Union[None, Unset, str] = UNSET,
181
157
  auth_token: Union[None, Unset, str] = UNSET,
182
- ) -> Response[Union[Any, HTTPValidationError, ListSubgraphsResponse]]:
158
+ ) -> Response[Union[HTTPValidationError, ListSubgraphsResponse]]:
183
159
  """List Subgraphs
184
160
 
185
161
  List all subgraphs for a parent graph.
186
162
 
187
163
  **Requirements:**
188
- - User must have at least read access to parent graph
164
+ - Valid authentication
165
+ - Parent graph must exist and be accessible to the user
166
+ - User must have at least 'read' permission on the parent graph
189
167
 
190
- **Response includes:**
191
- - List of all subgraphs with metadata
192
- - Current usage vs limits
193
- - Size and statistics per subgraph
194
- - Creation timestamps
195
-
196
- **Filtering:**
197
- Currently returns all subgraphs. Future versions will support:
198
- - Filtering by status
199
- - Filtering by creation date
200
- - Pagination for large lists
168
+ **Returns:**
169
+ - List of all subgraphs for the parent graph
170
+ - Each subgraph includes its ID, name, description, type, status, and creation date
201
171
 
202
172
  Args:
203
- graph_id (str): Parent graph identifier
173
+ graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
204
174
  authorization (Union[None, Unset, str]):
205
175
  auth_token (Union[None, Unset, str]):
206
176
 
@@ -209,7 +179,7 @@ async def asyncio_detailed(
209
179
  httpx.TimeoutException: If the request takes longer than Client.timeout.
210
180
 
211
181
  Returns:
212
- Response[Union[Any, HTTPValidationError, ListSubgraphsResponse]]
182
+ Response[Union[HTTPValidationError, ListSubgraphsResponse]]
213
183
  """
214
184
 
215
185
  kwargs = _get_kwargs(
@@ -229,28 +199,22 @@ async def asyncio(
229
199
  client: AuthenticatedClient,
230
200
  authorization: Union[None, Unset, str] = UNSET,
231
201
  auth_token: Union[None, Unset, str] = UNSET,
232
- ) -> Optional[Union[Any, HTTPValidationError, ListSubgraphsResponse]]:
202
+ ) -> Optional[Union[HTTPValidationError, ListSubgraphsResponse]]:
233
203
  """List Subgraphs
234
204
 
235
205
  List all subgraphs for a parent graph.
236
206
 
237
207
  **Requirements:**
238
- - User must have at least read access to parent graph
239
-
240
- **Response includes:**
241
- - List of all subgraphs with metadata
242
- - Current usage vs limits
243
- - Size and statistics per subgraph
244
- - Creation timestamps
208
+ - Valid authentication
209
+ - Parent graph must exist and be accessible to the user
210
+ - User must have at least 'read' permission on the parent graph
245
211
 
246
- **Filtering:**
247
- Currently returns all subgraphs. Future versions will support:
248
- - Filtering by status
249
- - Filtering by creation date
250
- - Pagination for large lists
212
+ **Returns:**
213
+ - List of all subgraphs for the parent graph
214
+ - Each subgraph includes its ID, name, description, type, status, and creation date
251
215
 
252
216
  Args:
253
- graph_id (str): Parent graph identifier
217
+ graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
254
218
  authorization (Union[None, Unset, str]):
255
219
  auth_token (Union[None, Unset, str]):
256
220
 
@@ -259,7 +223,7 @@ async def asyncio(
259
223
  httpx.TimeoutException: If the request takes longer than Client.timeout.
260
224
 
261
225
  Returns:
262
- Union[Any, HTTPValidationError, ListSubgraphsResponse]
226
+ Union[HTTPValidationError, ListSubgraphsResponse]
263
227
  """
264
228
 
265
229
  return (
@@ -28,7 +28,7 @@ def _get_kwargs(
28
28
 
29
29
  _kwargs: dict[str, Any] = {
30
30
  "method": "get",
31
- "url": "/v1/user/credits/summary",
31
+ "url": "/v1/user/credits",
32
32
  "cookies": cookies,
33
33
  }
34
34