robosystems-client 0.2.2__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.

Files changed (121) hide show
  1. robosystems_client/api/agent/auto_select_agent.py +1 -41
  2. robosystems_client/api/agent/batch_process_queries.py +1 -41
  3. robosystems_client/api/agent/execute_specific_agent.py +1 -41
  4. robosystems_client/api/agent/get_agent_metadata.py +5 -49
  5. robosystems_client/api/agent/list_agents.py +4 -42
  6. robosystems_client/api/agent/recommend_agent.py +5 -45
  7. robosystems_client/api/auth/generate_sso_token.py +0 -18
  8. robosystems_client/api/auth/get_current_auth_user.py +14 -74
  9. robosystems_client/api/auth/logout_user.py +14 -50
  10. robosystems_client/api/auth/refresh_auth_session.py +14 -50
  11. robosystems_client/api/auth/resend_verification_email.py +14 -74
  12. robosystems_client/api/backup/create_backup.py +5 -45
  13. robosystems_client/api/backup/get_backup_download_url.py +4 -42
  14. robosystems_client/api/backup/get_backup_stats.py +5 -49
  15. robosystems_client/api/backup/list_backups.py +4 -42
  16. robosystems_client/api/backup/restore_backup.py +5 -45
  17. robosystems_client/api/connections/create_connection.py +5 -45
  18. robosystems_client/api/connections/create_link_token.py +5 -45
  19. robosystems_client/api/connections/delete_connection.py +5 -49
  20. robosystems_client/api/connections/exchange_link_token.py +5 -45
  21. robosystems_client/api/connections/get_connection.py +5 -49
  22. robosystems_client/api/connections/get_connection_options.py +5 -49
  23. robosystems_client/api/connections/init_o_auth.py +5 -45
  24. robosystems_client/api/connections/list_connections.py +4 -42
  25. robosystems_client/api/connections/oauth_callback.py +5 -45
  26. robosystems_client/api/connections/sync_connection.py +5 -45
  27. robosystems_client/api/graph_analytics/get_graph_metrics.py +5 -49
  28. robosystems_client/api/graph_analytics/get_graph_usage_stats.py +4 -42
  29. robosystems_client/api/graph_billing/get_current_graph_bill.py +5 -49
  30. robosystems_client/api/graph_billing/get_graph_billing_history.py +4 -42
  31. robosystems_client/api/graph_billing/get_graph_monthly_bill.py +5 -49
  32. robosystems_client/api/graph_billing/get_graph_usage_details.py +4 -42
  33. robosystems_client/api/graph_credits/check_credit_balance.py +0 -38
  34. robosystems_client/api/graph_credits/check_storage_limits.py +1 -45
  35. robosystems_client/api/graph_credits/get_credit_summary.py +1 -45
  36. robosystems_client/api/graph_credits/get_storage_usage.py +0 -38
  37. robosystems_client/api/graph_credits/list_credit_transactions.py +4 -42
  38. robosystems_client/api/graph_health/get_database_health.py +5 -49
  39. robosystems_client/api/graph_info/get_database_info.py +5 -49
  40. robosystems_client/api/graph_limits/get_graph_limits.py +5 -49
  41. robosystems_client/api/graphs/create_graph.py +21 -57
  42. robosystems_client/api/graphs/get_available_extensions.py +131 -15
  43. robosystems_client/api/graphs/get_graphs.py +154 -79
  44. robosystems_client/api/graphs/select_graph.py +117 -49
  45. robosystems_client/api/mcp/call_mcp_tool.py +24 -47
  46. robosystems_client/api/mcp/list_mcp_tools.py +13 -61
  47. robosystems_client/api/operations/cancel_operation.py +1 -45
  48. robosystems_client/api/operations/get_operation_status.py +1 -45
  49. robosystems_client/api/query/execute_cypher_query.py +68 -57
  50. robosystems_client/api/schema/export_graph_schema.py +223 -65
  51. robosystems_client/api/schema/get_graph_schema.py +137 -79
  52. robosystems_client/api/schema/validate_schema.py +5 -45
  53. robosystems_client/api/subgraphs/create_subgraph.py +5 -45
  54. robosystems_client/api/subgraphs/delete_subgraph.py +5 -45
  55. robosystems_client/api/subgraphs/get_subgraph_info.py +5 -49
  56. robosystems_client/api/subgraphs/get_subgraph_quota.py +5 -49
  57. robosystems_client/api/subgraphs/list_subgraphs.py +5 -49
  58. robosystems_client/api/tables/delete_file.py +317 -0
  59. robosystems_client/api/tables/get_file_info.py +249 -0
  60. robosystems_client/api/tables/get_upload_url.py +352 -0
  61. robosystems_client/api/tables/ingest_tables.py +428 -0
  62. robosystems_client/api/tables/list_table_files.py +329 -0
  63. robosystems_client/api/tables/list_tables.py +316 -0
  64. robosystems_client/api/tables/query_tables.py +431 -0
  65. robosystems_client/api/tables/update_file_status.py +395 -0
  66. robosystems_client/api/user/create_user_api_key.py +1 -41
  67. robosystems_client/api/user/get_all_credit_summaries.py +14 -111
  68. robosystems_client/api/user/get_current_user.py +14 -75
  69. robosystems_client/api/user/list_user_api_keys.py +14 -75
  70. robosystems_client/api/user/revoke_user_api_key.py +1 -45
  71. robosystems_client/api/user/update_user.py +1 -41
  72. robosystems_client/api/user/update_user_api_key.py +1 -41
  73. robosystems_client/api/user/update_user_password.py +1 -41
  74. robosystems_client/api/user_analytics/get_detailed_user_analytics.py +0 -38
  75. robosystems_client/api/user_analytics/get_user_usage_overview.py +14 -75
  76. robosystems_client/api/user_limits/get_all_shared_repository_limits.py +14 -105
  77. robosystems_client/api/user_limits/get_shared_repository_limits.py +1 -45
  78. robosystems_client/api/user_limits/get_user_limits.py +14 -75
  79. robosystems_client/api/user_limits/get_user_usage.py +14 -75
  80. robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +1 -45
  81. robosystems_client/api/user_subscriptions/get_repository_credits.py +1 -45
  82. robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +14 -75
  83. robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +0 -38
  84. robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +1 -41
  85. robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +1 -41
  86. robosystems_client/extensions/__init__.py +8 -1
  87. robosystems_client/extensions/auth_integration.py +1 -2
  88. robosystems_client/extensions/graph_client.py +5 -0
  89. robosystems_client/extensions/query_client.py +3 -2
  90. robosystems_client/extensions/sse_client.py +1 -1
  91. robosystems_client/extensions/table_ingest_client.py +36 -40
  92. robosystems_client/extensions/utils.py +2 -2
  93. robosystems_client/models/__init__.py +17 -21
  94. robosystems_client/models/create_graph_request.py +15 -3
  95. robosystems_client/models/cypher_query_request.py +5 -22
  96. robosystems_client/models/{delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py → delete_file_response.py} +45 -9
  97. robosystems_client/models/file_info.py +169 -0
  98. robosystems_client/models/file_status_update.py +41 -0
  99. robosystems_client/models/get_file_info_response.py +205 -0
  100. robosystems_client/models/list_table_files_response.py +105 -0
  101. robosystems_client/models/schema_export_response.py +4 -2
  102. robosystems_client/models/schema_info_response.py +77 -0
  103. robosystems_client/models/{get_graph_schema_response_getgraphschema.py → schema_info_response_schema.py} +6 -6
  104. robosystems_client/models/schema_validation_response.py +7 -6
  105. robosystems_client/models/table_query_request.py +37 -2
  106. robosystems_client/models/{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 → update_file_status_response_updatefilestatus.py} +5 -8
  107. {robosystems_client-0.2.2.dist-info → robosystems_client-0.2.4.dist-info}/METADATA +2 -4
  108. {robosystems_client-0.2.2.dist-info → robosystems_client-0.2.4.dist-info}/RECORD +110 -108
  109. robosystems_client/api/tables/delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py +0 -287
  110. robosystems_client/api/tables/get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py +0 -283
  111. robosystems_client/api/tables/get_upload_url_v1_graphs_graph_id_tables_table_name_files_post.py +0 -260
  112. robosystems_client/api/tables/ingest_tables_v1_graphs_graph_id_tables_ingest_post.py +0 -251
  113. robosystems_client/api/tables/list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +0 -283
  114. robosystems_client/api/tables/list_tables_v1_graphs_graph_id_tables_get.py +0 -224
  115. robosystems_client/api/tables/query_tables_v1_graphs_graph_id_tables_query_post.py +0 -247
  116. robosystems_client/api/tables/update_file_v1_graphs_graph_id_tables_files_file_id_patch.py +0 -306
  117. robosystems_client/models/file_update_request.py +0 -62
  118. 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 +0 -47
  119. robosystems_client/models/update_file_v1_graphs_graph_id_tables_files_file_id_patch_response_update_file_v1_graphs_graph_id_tables_files_file_id_patch.py +0 -47
  120. {robosystems_client-0.2.2.dist-info → robosystems_client-0.2.4.dist-info}/WHEEL +0 -0
  121. {robosystems_client-0.2.2.dist-info → robosystems_client-0.2.4.dist-info}/licenses/LICENSE +0 -0
@@ -8,7 +8,7 @@ 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.o_auth_callback_request import OAuthCallbackRequest
11
- from ...types import UNSET, Response, Unset
11
+ from ...types import Response
12
12
 
13
13
 
14
14
  def _get_kwargs(
@@ -16,28 +16,12 @@ def _get_kwargs(
16
16
  provider: str,
17
17
  *,
18
18
  body: OAuthCallbackRequest,
19
- token: Union[None, Unset, str] = UNSET,
20
- authorization: Union[None, Unset, str] = UNSET,
21
19
  ) -> dict[str, Any]:
22
20
  headers: dict[str, Any] = {}
23
- if not isinstance(authorization, Unset):
24
- headers["authorization"] = authorization
25
-
26
- params: dict[str, Any] = {}
27
-
28
- json_token: Union[None, Unset, str]
29
- if isinstance(token, Unset):
30
- json_token = UNSET
31
- else:
32
- json_token = token
33
- params["token"] = json_token
34
-
35
- params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
36
21
 
37
22
  _kwargs: dict[str, Any] = {
38
23
  "method": "post",
39
24
  "url": f"/v1/graphs/{graph_id}/connections/oauth/callback/{provider}",
40
- "params": params,
41
25
  }
42
26
 
43
27
  _kwargs["json"] = body.to_dict()
@@ -103,8 +87,6 @@ def sync_detailed(
103
87
  *,
104
88
  client: AuthenticatedClient,
105
89
  body: OAuthCallbackRequest,
106
- token: Union[None, Unset, str] = UNSET,
107
- authorization: Union[None, Unset, str] = UNSET,
108
90
  ) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
109
91
  """OAuth Callback
110
92
 
@@ -129,10 +111,8 @@ def sync_detailed(
129
111
  No credits are consumed for OAuth callbacks.
130
112
 
131
113
  Args:
132
- graph_id (str): Graph database identifier
114
+ graph_id (str):
133
115
  provider (str): OAuth provider name
134
- token (Union[None, Unset, str]): JWT token for SSE authentication
135
- authorization (Union[None, Unset, str]):
136
116
  body (OAuthCallbackRequest): OAuth callback parameters.
137
117
 
138
118
  Raises:
@@ -147,8 +127,6 @@ def sync_detailed(
147
127
  graph_id=graph_id,
148
128
  provider=provider,
149
129
  body=body,
150
- token=token,
151
- authorization=authorization,
152
130
  )
153
131
 
154
132
  response = client.get_httpx_client().request(
@@ -164,8 +142,6 @@ def sync(
164
142
  *,
165
143
  client: AuthenticatedClient,
166
144
  body: OAuthCallbackRequest,
167
- token: Union[None, Unset, str] = UNSET,
168
- authorization: Union[None, Unset, str] = UNSET,
169
145
  ) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
170
146
  """OAuth Callback
171
147
 
@@ -190,10 +166,8 @@ def sync(
190
166
  No credits are consumed for OAuth callbacks.
191
167
 
192
168
  Args:
193
- graph_id (str): Graph database identifier
169
+ graph_id (str):
194
170
  provider (str): OAuth provider name
195
- token (Union[None, Unset, str]): JWT token for SSE authentication
196
- authorization (Union[None, Unset, str]):
197
171
  body (OAuthCallbackRequest): OAuth callback parameters.
198
172
 
199
173
  Raises:
@@ -209,8 +183,6 @@ def sync(
209
183
  provider=provider,
210
184
  client=client,
211
185
  body=body,
212
- token=token,
213
- authorization=authorization,
214
186
  ).parsed
215
187
 
216
188
 
@@ -220,8 +192,6 @@ async def asyncio_detailed(
220
192
  *,
221
193
  client: AuthenticatedClient,
222
194
  body: OAuthCallbackRequest,
223
- token: Union[None, Unset, str] = UNSET,
224
- authorization: Union[None, Unset, str] = UNSET,
225
195
  ) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
226
196
  """OAuth Callback
227
197
 
@@ -246,10 +216,8 @@ async def asyncio_detailed(
246
216
  No credits are consumed for OAuth callbacks.
247
217
 
248
218
  Args:
249
- graph_id (str): Graph database identifier
219
+ graph_id (str):
250
220
  provider (str): OAuth provider name
251
- token (Union[None, Unset, str]): JWT token for SSE authentication
252
- authorization (Union[None, Unset, str]):
253
221
  body (OAuthCallbackRequest): OAuth callback parameters.
254
222
 
255
223
  Raises:
@@ -264,8 +232,6 @@ async def asyncio_detailed(
264
232
  graph_id=graph_id,
265
233
  provider=provider,
266
234
  body=body,
267
- token=token,
268
- authorization=authorization,
269
235
  )
270
236
 
271
237
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -279,8 +245,6 @@ async def asyncio(
279
245
  *,
280
246
  client: AuthenticatedClient,
281
247
  body: OAuthCallbackRequest,
282
- token: Union[None, Unset, str] = UNSET,
283
- authorization: Union[None, Unset, str] = UNSET,
284
248
  ) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
285
249
  """OAuth Callback
286
250
 
@@ -305,10 +269,8 @@ async def asyncio(
305
269
  No credits are consumed for OAuth callbacks.
306
270
 
307
271
  Args:
308
- graph_id (str): Graph database identifier
272
+ graph_id (str):
309
273
  provider (str): OAuth provider name
310
- token (Union[None, Unset, str]): JWT token for SSE authentication
311
- authorization (Union[None, Unset, str]):
312
274
  body (OAuthCallbackRequest): OAuth callback parameters.
313
275
 
314
276
  Raises:
@@ -325,7 +287,5 @@ async def asyncio(
325
287
  provider=provider,
326
288
  client=client,
327
289
  body=body,
328
- token=token,
329
- authorization=authorization,
330
290
  )
331
291
  ).parsed
@@ -11,7 +11,7 @@ from ...models.sync_connection_request import SyncConnectionRequest
11
11
  from ...models.sync_connection_response_syncconnection import (
12
12
  SyncConnectionResponseSyncconnection,
13
13
  )
14
- from ...types import UNSET, Response, Unset
14
+ from ...types import Response
15
15
 
16
16
 
17
17
  def _get_kwargs(
@@ -19,28 +19,12 @@ def _get_kwargs(
19
19
  connection_id: str,
20
20
  *,
21
21
  body: SyncConnectionRequest,
22
- token: Union[None, Unset, str] = UNSET,
23
- authorization: Union[None, Unset, str] = UNSET,
24
22
  ) -> dict[str, Any]:
25
23
  headers: dict[str, Any] = {}
26
- if not isinstance(authorization, Unset):
27
- headers["authorization"] = authorization
28
-
29
- params: dict[str, Any] = {}
30
-
31
- json_token: Union[None, Unset, str]
32
- if isinstance(token, Unset):
33
- json_token = UNSET
34
- else:
35
- json_token = token
36
- params["token"] = json_token
37
-
38
- params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
39
24
 
40
25
  _kwargs: dict[str, Any] = {
41
26
  "method": "post",
42
27
  "url": f"/v1/graphs/{graph_id}/connections/{connection_id}/sync",
43
- "params": params,
44
28
  }
45
29
 
46
30
  _kwargs["json"] = body.to_dict()
@@ -106,8 +90,6 @@ def sync_detailed(
106
90
  *,
107
91
  client: AuthenticatedClient,
108
92
  body: SyncConnectionRequest,
109
- token: Union[None, Unset, str] = UNSET,
110
- authorization: Union[None, Unset, str] = UNSET,
111
93
  ) -> Response[
112
94
  Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]
113
95
  ]:
@@ -139,10 +121,8 @@ def sync_detailed(
139
121
  Returns a task ID for monitoring sync progress.
140
122
 
141
123
  Args:
142
- graph_id (str): Graph database identifier
124
+ graph_id (str):
143
125
  connection_id (str): Connection identifier
144
- token (Union[None, Unset, str]): JWT token for SSE authentication
145
- authorization (Union[None, Unset, str]):
146
126
  body (SyncConnectionRequest): Request to sync a connection.
147
127
 
148
128
  Raises:
@@ -157,8 +137,6 @@ def sync_detailed(
157
137
  graph_id=graph_id,
158
138
  connection_id=connection_id,
159
139
  body=body,
160
- token=token,
161
- authorization=authorization,
162
140
  )
163
141
 
164
142
  response = client.get_httpx_client().request(
@@ -174,8 +152,6 @@ def sync(
174
152
  *,
175
153
  client: AuthenticatedClient,
176
154
  body: SyncConnectionRequest,
177
- token: Union[None, Unset, str] = UNSET,
178
- authorization: Union[None, Unset, str] = UNSET,
179
155
  ) -> Optional[
180
156
  Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]
181
157
  ]:
@@ -207,10 +183,8 @@ def sync(
207
183
  Returns a task ID for monitoring sync progress.
208
184
 
209
185
  Args:
210
- graph_id (str): Graph database identifier
186
+ graph_id (str):
211
187
  connection_id (str): Connection identifier
212
- token (Union[None, Unset, str]): JWT token for SSE authentication
213
- authorization (Union[None, Unset, str]):
214
188
  body (SyncConnectionRequest): Request to sync a connection.
215
189
 
216
190
  Raises:
@@ -226,8 +200,6 @@ def sync(
226
200
  connection_id=connection_id,
227
201
  client=client,
228
202
  body=body,
229
- token=token,
230
- authorization=authorization,
231
203
  ).parsed
232
204
 
233
205
 
@@ -237,8 +209,6 @@ async def asyncio_detailed(
237
209
  *,
238
210
  client: AuthenticatedClient,
239
211
  body: SyncConnectionRequest,
240
- token: Union[None, Unset, str] = UNSET,
241
- authorization: Union[None, Unset, str] = UNSET,
242
212
  ) -> Response[
243
213
  Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]
244
214
  ]:
@@ -270,10 +240,8 @@ async def asyncio_detailed(
270
240
  Returns a task ID for monitoring sync progress.
271
241
 
272
242
  Args:
273
- graph_id (str): Graph database identifier
243
+ graph_id (str):
274
244
  connection_id (str): Connection identifier
275
- token (Union[None, Unset, str]): JWT token for SSE authentication
276
- authorization (Union[None, Unset, str]):
277
245
  body (SyncConnectionRequest): Request to sync a connection.
278
246
 
279
247
  Raises:
@@ -288,8 +256,6 @@ async def asyncio_detailed(
288
256
  graph_id=graph_id,
289
257
  connection_id=connection_id,
290
258
  body=body,
291
- token=token,
292
- authorization=authorization,
293
259
  )
294
260
 
295
261
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -303,8 +269,6 @@ async def asyncio(
303
269
  *,
304
270
  client: AuthenticatedClient,
305
271
  body: SyncConnectionRequest,
306
- token: Union[None, Unset, str] = UNSET,
307
- authorization: Union[None, Unset, str] = UNSET,
308
272
  ) -> Optional[
309
273
  Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]
310
274
  ]:
@@ -336,10 +300,8 @@ async def asyncio(
336
300
  Returns a task ID for monitoring sync progress.
337
301
 
338
302
  Args:
339
- graph_id (str): Graph database identifier
303
+ graph_id (str):
340
304
  connection_id (str): Connection identifier
341
- token (Union[None, Unset, str]): JWT token for SSE authentication
342
- authorization (Union[None, Unset, str]):
343
305
  body (SyncConnectionRequest): Request to sync a connection.
344
306
 
345
307
  Raises:
@@ -356,7 +318,5 @@ async def asyncio(
356
318
  connection_id=connection_id,
357
319
  client=client,
358
320
  body=body,
359
- token=token,
360
- authorization=authorization,
361
321
  )
362
322
  ).parsed
@@ -8,37 +8,17 @@ from ...client import AuthenticatedClient, Client
8
8
  from ...models.error_response import ErrorResponse
9
9
  from ...models.graph_metrics_response import GraphMetricsResponse
10
10
  from ...models.http_validation_error import HTTPValidationError
11
- from ...types import UNSET, Response, Unset
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}/analytics",
38
- "params": params,
39
20
  }
40
21
 
41
- _kwargs["headers"] = headers
42
22
  return _kwargs
43
23
 
44
24
 
@@ -91,8 +71,6 @@ def sync_detailed(
91
71
  graph_id: str,
92
72
  *,
93
73
  client: AuthenticatedClient,
94
- token: Union[None, Unset, str] = UNSET,
95
- authorization: Union[None, Unset, str] = UNSET,
96
74
  ) -> Response[Union[ErrorResponse, GraphMetricsResponse, HTTPValidationError]]:
97
75
  """Get Graph Metrics
98
76
 
@@ -115,9 +93,7 @@ def sync_detailed(
115
93
  This operation is included - no credit consumption required.
116
94
 
117
95
  Args:
118
- graph_id (str): The graph ID to get metrics for
119
- token (Union[None, Unset, str]): JWT token for SSE authentication
120
- authorization (Union[None, Unset, str]):
96
+ graph_id (str):
121
97
 
122
98
  Raises:
123
99
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -129,8 +105,6 @@ def sync_detailed(
129
105
 
130
106
  kwargs = _get_kwargs(
131
107
  graph_id=graph_id,
132
- token=token,
133
- authorization=authorization,
134
108
  )
135
109
 
136
110
  response = client.get_httpx_client().request(
@@ -144,8 +118,6 @@ def sync(
144
118
  graph_id: str,
145
119
  *,
146
120
  client: AuthenticatedClient,
147
- token: Union[None, Unset, str] = UNSET,
148
- authorization: Union[None, Unset, str] = UNSET,
149
121
  ) -> Optional[Union[ErrorResponse, GraphMetricsResponse, HTTPValidationError]]:
150
122
  """Get Graph Metrics
151
123
 
@@ -168,9 +140,7 @@ def sync(
168
140
  This operation is included - no credit consumption required.
169
141
 
170
142
  Args:
171
- graph_id (str): The graph ID to get metrics for
172
- token (Union[None, Unset, str]): JWT token for SSE authentication
173
- authorization (Union[None, Unset, str]):
143
+ graph_id (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
  graph_id=graph_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
  graph_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[Union[ErrorResponse, GraphMetricsResponse, HTTPValidationError]]:
198
164
  """Get Graph Metrics
199
165
 
@@ -216,9 +182,7 @@ async def asyncio_detailed(
216
182
  This operation is included - no credit consumption required.
217
183
 
218
184
  Args:
219
- graph_id (str): The graph ID to get metrics for
220
- token (Union[None, Unset, str]): JWT token for SSE authentication
221
- authorization (Union[None, Unset, str]):
185
+ graph_id (str):
222
186
 
223
187
  Raises:
224
188
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -230,8 +194,6 @@ async def asyncio_detailed(
230
194
 
231
195
  kwargs = _get_kwargs(
232
196
  graph_id=graph_id,
233
- token=token,
234
- authorization=authorization,
235
197
  )
236
198
 
237
199
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -243,8 +205,6 @@ async def asyncio(
243
205
  graph_id: str,
244
206
  *,
245
207
  client: AuthenticatedClient,
246
- token: Union[None, Unset, str] = UNSET,
247
- authorization: Union[None, Unset, str] = UNSET,
248
208
  ) -> Optional[Union[ErrorResponse, GraphMetricsResponse, HTTPValidationError]]:
249
209
  """Get Graph Metrics
250
210
 
@@ -267,9 +227,7 @@ async def asyncio(
267
227
  This operation is included - no credit consumption required.
268
228
 
269
229
  Args:
270
- graph_id (str): The graph ID to get metrics for
271
- token (Union[None, Unset, str]): JWT token for SSE authentication
272
- authorization (Union[None, Unset, str]):
230
+ graph_id (str):
273
231
 
274
232
  Raises:
275
233
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -283,7 +241,5 @@ async def asyncio(
283
241
  await asyncio_detailed(
284
242
  graph_id=graph_id,
285
243
  client=client,
286
- token=token,
287
- authorization=authorization,
288
244
  )
289
245
  ).parsed
@@ -15,24 +15,11 @@ def _get_kwargs(
15
15
  graph_id: str,
16
16
  *,
17
17
  include_details: Union[Unset, bool] = False,
18
- token: Union[None, Unset, str] = UNSET,
19
- authorization: Union[None, Unset, str] = UNSET,
20
18
  ) -> dict[str, Any]:
21
- headers: dict[str, Any] = {}
22
- if not isinstance(authorization, Unset):
23
- headers["authorization"] = authorization
24
-
25
19
  params: dict[str, Any] = {}
26
20
 
27
21
  params["include_details"] = include_details
28
22
 
29
- json_token: Union[None, Unset, str]
30
- if isinstance(token, Unset):
31
- json_token = UNSET
32
- else:
33
- json_token = token
34
- params["token"] = json_token
35
-
36
23
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
37
24
 
38
25
  _kwargs: dict[str, Any] = {
@@ -41,7 +28,6 @@ def _get_kwargs(
41
28
  "params": params,
42
29
  }
43
30
 
44
- _kwargs["headers"] = headers
45
31
  return _kwargs
46
32
 
47
33
 
@@ -90,8 +76,6 @@ def sync_detailed(
90
76
  *,
91
77
  client: AuthenticatedClient,
92
78
  include_details: Union[Unset, bool] = False,
93
- token: Union[None, Unset, str] = UNSET,
94
- authorization: Union[None, Unset, str] = UNSET,
95
79
  ) -> Response[Union[ErrorResponse, GraphUsageResponse, HTTPValidationError]]:
96
80
  """Get Usage Statistics
97
81
 
@@ -120,11 +104,9 @@ def sync_detailed(
120
104
  This operation is included - no credit consumption required.
121
105
 
122
106
  Args:
123
- graph_id (str): The graph ID to get usage stats for
107
+ graph_id (str):
124
108
  include_details (Union[Unset, bool]): Include detailed metrics (may be slower) Default:
125
109
  False.
126
- token (Union[None, Unset, str]): JWT token for SSE authentication
127
- authorization (Union[None, Unset, str]):
128
110
 
129
111
  Raises:
130
112
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -137,8 +119,6 @@ def sync_detailed(
137
119
  kwargs = _get_kwargs(
138
120
  graph_id=graph_id,
139
121
  include_details=include_details,
140
- token=token,
141
- authorization=authorization,
142
122
  )
143
123
 
144
124
  response = client.get_httpx_client().request(
@@ -153,8 +133,6 @@ def sync(
153
133
  *,
154
134
  client: AuthenticatedClient,
155
135
  include_details: Union[Unset, bool] = False,
156
- token: Union[None, Unset, str] = UNSET,
157
- authorization: Union[None, Unset, str] = UNSET,
158
136
  ) -> Optional[Union[ErrorResponse, GraphUsageResponse, HTTPValidationError]]:
159
137
  """Get Usage Statistics
160
138
 
@@ -183,11 +161,9 @@ def sync(
183
161
  This operation is included - no credit consumption required.
184
162
 
185
163
  Args:
186
- graph_id (str): The graph ID to get usage stats for
164
+ graph_id (str):
187
165
  include_details (Union[Unset, bool]): Include detailed metrics (may be slower) Default:
188
166
  False.
189
- token (Union[None, Unset, str]): JWT token for SSE authentication
190
- authorization (Union[None, Unset, str]):
191
167
 
192
168
  Raises:
193
169
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -201,8 +177,6 @@ def sync(
201
177
  graph_id=graph_id,
202
178
  client=client,
203
179
  include_details=include_details,
204
- token=token,
205
- authorization=authorization,
206
180
  ).parsed
207
181
 
208
182
 
@@ -211,8 +185,6 @@ async def asyncio_detailed(
211
185
  *,
212
186
  client: AuthenticatedClient,
213
187
  include_details: Union[Unset, bool] = False,
214
- token: Union[None, Unset, str] = UNSET,
215
- authorization: Union[None, Unset, str] = UNSET,
216
188
  ) -> Response[Union[ErrorResponse, GraphUsageResponse, HTTPValidationError]]:
217
189
  """Get Usage Statistics
218
190
 
@@ -241,11 +213,9 @@ async def asyncio_detailed(
241
213
  This operation is included - no credit consumption required.
242
214
 
243
215
  Args:
244
- graph_id (str): The graph ID to get usage stats for
216
+ graph_id (str):
245
217
  include_details (Union[Unset, bool]): Include detailed metrics (may be slower) Default:
246
218
  False.
247
- token (Union[None, Unset, str]): JWT token for SSE authentication
248
- authorization (Union[None, Unset, str]):
249
219
 
250
220
  Raises:
251
221
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -258,8 +228,6 @@ async def asyncio_detailed(
258
228
  kwargs = _get_kwargs(
259
229
  graph_id=graph_id,
260
230
  include_details=include_details,
261
- token=token,
262
- authorization=authorization,
263
231
  )
264
232
 
265
233
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -272,8 +240,6 @@ async def asyncio(
272
240
  *,
273
241
  client: AuthenticatedClient,
274
242
  include_details: Union[Unset, bool] = False,
275
- token: Union[None, Unset, str] = UNSET,
276
- authorization: Union[None, Unset, str] = UNSET,
277
243
  ) -> Optional[Union[ErrorResponse, GraphUsageResponse, HTTPValidationError]]:
278
244
  """Get Usage Statistics
279
245
 
@@ -302,11 +268,9 @@ async def asyncio(
302
268
  This operation is included - no credit consumption required.
303
269
 
304
270
  Args:
305
- graph_id (str): The graph ID to get usage stats for
271
+ graph_id (str):
306
272
  include_details (Union[Unset, bool]): Include detailed metrics (may be slower) Default:
307
273
  False.
308
- token (Union[None, Unset, str]): JWT token for SSE authentication
309
- authorization (Union[None, Unset, str]):
310
274
 
311
275
  Raises:
312
276
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -321,7 +285,5 @@ async def asyncio(
321
285
  graph_id=graph_id,
322
286
  client=client,
323
287
  include_details=include_details,
324
- token=token,
325
- authorization=authorization,
326
288
  )
327
289
  ).parsed