robosystems-client 0.1.17__py3-none-any.whl → 0.1.19__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 (99) hide show
  1. robosystems_client/__init__.py +15 -4
  2. robosystems_client/api/agent/auto_select_agent.py +26 -1
  3. robosystems_client/api/agent/batch_process_queries.py +26 -1
  4. robosystems_client/api/agent/execute_specific_agent.py +26 -1
  5. robosystems_client/api/agent/get_agent_metadata.py +26 -1
  6. robosystems_client/api/agent/list_agents.py +21 -1
  7. robosystems_client/api/agent/recommend_agent.py +26 -1
  8. robosystems_client/api/backup/create_backup.py +26 -1
  9. robosystems_client/api/backup/export_backup.py +26 -1
  10. robosystems_client/api/backup/get_backup_download_url.py +21 -1
  11. robosystems_client/api/backup/get_backup_stats.py +26 -1
  12. robosystems_client/api/backup/list_backups.py +21 -1
  13. robosystems_client/api/backup/restore_backup.py +26 -1
  14. robosystems_client/api/connections/create_connection.py +26 -1
  15. robosystems_client/api/connections/create_link_token.py +26 -1
  16. robosystems_client/api/connections/delete_connection.py +26 -1
  17. robosystems_client/api/connections/exchange_link_token.py +26 -1
  18. robosystems_client/api/connections/get_connection.py +26 -1
  19. robosystems_client/api/connections/get_connection_options.py +26 -1
  20. robosystems_client/api/connections/init_o_auth.py +26 -1
  21. robosystems_client/api/connections/list_connections.py +21 -1
  22. robosystems_client/api/connections/oauth_callback.py +26 -1
  23. robosystems_client/api/connections/sync_connection.py +26 -1
  24. robosystems_client/api/copy/copy_data_to_graph.py +26 -1
  25. robosystems_client/api/graph_analytics/get_graph_metrics.py +26 -1
  26. robosystems_client/api/graph_analytics/get_graph_usage_stats.py +21 -1
  27. robosystems_client/api/graph_billing/get_current_graph_bill.py +26 -1
  28. robosystems_client/api/graph_billing/get_graph_billing_history.py +21 -1
  29. robosystems_client/api/graph_billing/get_graph_monthly_bill.py +26 -1
  30. robosystems_client/api/graph_billing/get_graph_usage_details.py +21 -1
  31. robosystems_client/api/graph_credits/check_credit_balance.py +21 -1
  32. robosystems_client/api/graph_credits/check_storage_limits.py +26 -1
  33. robosystems_client/api/graph_credits/get_credit_summary.py +26 -1
  34. robosystems_client/api/graph_credits/get_storage_usage.py +21 -1
  35. robosystems_client/api/graph_credits/list_credit_transactions.py +21 -1
  36. robosystems_client/api/graph_health/get_database_health.py +26 -1
  37. robosystems_client/api/graph_info/get_database_info.py +26 -1
  38. robosystems_client/api/graph_limits/get_graph_limits.py +26 -1
  39. robosystems_client/api/{create → graphs}/create_graph.py +26 -1
  40. robosystems_client/api/{create → graphs}/get_available_extensions.py +1 -1
  41. robosystems_client/api/{user/get_user_graphs.py → graphs/get_graphs.py} +26 -1
  42. robosystems_client/api/{user/select_user_graph.py → graphs/select_graph.py} +30 -5
  43. robosystems_client/api/mcp/call_mcp_tool.py +21 -1
  44. robosystems_client/api/mcp/list_mcp_tools.py +26 -1
  45. robosystems_client/api/operations/cancel_operation.py +25 -0
  46. robosystems_client/api/operations/get_operation_status.py +25 -0
  47. robosystems_client/api/operations/stream_operation_events.py +20 -0
  48. robosystems_client/api/query/execute_cypher_query.py +21 -1
  49. robosystems_client/api/schema/export_graph_schema.py +21 -1
  50. robosystems_client/api/schema/get_graph_schema_info.py +26 -1
  51. robosystems_client/api/schema/list_schema_extensions.py +26 -1
  52. robosystems_client/api/schema/validate_schema.py +26 -1
  53. robosystems_client/api/subgraphs/create_subgraph.py +26 -1
  54. robosystems_client/api/subgraphs/delete_subgraph.py +26 -1
  55. robosystems_client/api/subgraphs/get_subgraph_info.py +26 -1
  56. robosystems_client/api/subgraphs/get_subgraph_quota.py +26 -1
  57. robosystems_client/api/subgraphs/list_subgraphs.py +26 -1
  58. robosystems_client/api/user/create_user_api_key.py +25 -0
  59. robosystems_client/api/user/get_all_credit_summaries.py +25 -0
  60. robosystems_client/api/user/get_current_user.py +25 -0
  61. robosystems_client/api/user/list_user_api_keys.py +25 -0
  62. robosystems_client/api/user/revoke_user_api_key.py +25 -0
  63. robosystems_client/api/user/update_user.py +25 -0
  64. robosystems_client/api/user/update_user_api_key.py +25 -0
  65. robosystems_client/api/user/update_user_password.py +25 -0
  66. robosystems_client/api/user_analytics/get_detailed_user_analytics.py +20 -0
  67. robosystems_client/api/user_analytics/get_user_usage_overview.py +25 -0
  68. robosystems_client/api/user_limits/get_all_shared_repository_limits.py +25 -0
  69. robosystems_client/api/user_limits/get_shared_repository_limits.py +25 -0
  70. robosystems_client/api/user_limits/get_user_limits.py +25 -0
  71. robosystems_client/api/user_limits/get_user_usage.py +25 -0
  72. robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +25 -0
  73. robosystems_client/api/user_subscriptions/get_repository_credits.py +25 -0
  74. robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +25 -0
  75. robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +20 -0
  76. robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +25 -0
  77. robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +25 -0
  78. robosystems_client/extensions/__init__.py +70 -0
  79. robosystems_client/extensions/auth_integration.py +14 -1
  80. robosystems_client/extensions/copy_client.py +32 -22
  81. robosystems_client/extensions/dataframe_utils.py +455 -0
  82. robosystems_client/extensions/extensions.py +16 -0
  83. robosystems_client/extensions/operation_client.py +43 -21
  84. robosystems_client/extensions/query_client.py +109 -12
  85. robosystems_client/extensions/tests/test_dataframe_utils.py +334 -0
  86. robosystems_client/extensions/tests/test_integration.py +1 -1
  87. robosystems_client/extensions/tests/test_token_utils.py +274 -0
  88. robosystems_client/extensions/token_utils.py +417 -0
  89. robosystems_client/extensions/utils.py +32 -2
  90. robosystems_client/models/__init__.py +0 -2
  91. robosystems_client/models/api_key_info.py +20 -0
  92. robosystems_client/models/create_api_key_request.py +20 -0
  93. {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.19.dist-info}/METADATA +1 -1
  94. {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.19.dist-info}/RECORD +97 -95
  95. robosystems_client/api/auth/sso_login.py +0 -177
  96. robosystems_client/models/sso_login_request.py +0 -60
  97. /robosystems_client/api/{create → graphs}/__init__.py +0 -0
  98. {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.19.dist-info}/WHEEL +0 -0
  99. {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.19.dist-info}/licenses/LICENSE +0 -0
@@ -1,14 +1,25 @@
1
1
  """RoboSystems Python Client."""
2
2
 
3
- __version__ = "0.1.0"
4
-
5
3
  from .client import AuthenticatedClient, Client
6
4
 
5
+ # Convenience alias for the main SDK
6
+ RoboSystemsSDK = AuthenticatedClient
7
+
7
8
  __all__ = (
8
9
  "AuthenticatedClient",
9
10
  "Client",
10
11
  "RoboSystemsSDK",
11
12
  )
12
13
 
13
- # Convenience alias for the main SDK
14
- RoboSystemsSDK = AuthenticatedClient
14
+
15
+ def _get_version() -> str:
16
+ """Get version from package metadata."""
17
+ try:
18
+ from importlib.metadata import version
19
+
20
+ return version("robosystems-client")
21
+ except Exception:
22
+ return "0.0.0+development"
23
+
24
+
25
+ __version__ = _get_version()
@@ -16,15 +16,28 @@ def _get_kwargs(
16
16
  graph_id: str,
17
17
  *,
18
18
  body: AgentRequest,
19
+ token: Union[None, Unset, str] = UNSET,
19
20
  authorization: Union[None, Unset, str] = UNSET,
20
21
  ) -> dict[str, Any]:
21
22
  headers: dict[str, Any] = {}
22
23
  if not isinstance(authorization, Unset):
23
24
  headers["authorization"] = authorization
24
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
+
25
37
  _kwargs: dict[str, Any] = {
26
38
  "method": "post",
27
- "url": f"/v1/{graph_id}/agent",
39
+ "url": f"/v1/graphs/{graph_id}/agent",
40
+ "params": params,
28
41
  }
29
42
 
30
43
  _kwargs["json"] = body.to_dict()
@@ -81,6 +94,7 @@ def sync_detailed(
81
94
  *,
82
95
  client: AuthenticatedClient,
83
96
  body: AgentRequest,
97
+ token: Union[None, Unset, str] = UNSET,
84
98
  authorization: Union[None, Unset, str] = UNSET,
85
99
  ) -> Response[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
86
100
  """Auto-select agent for query
@@ -97,6 +111,7 @@ def sync_detailed(
97
111
 
98
112
  Args:
99
113
  graph_id (str):
114
+ token (Union[None, Unset, str]): JWT token for SSE authentication
100
115
  authorization (Union[None, Unset, str]):
101
116
  body (AgentRequest): Request model for agent interactions.
102
117
 
@@ -111,6 +126,7 @@ def sync_detailed(
111
126
  kwargs = _get_kwargs(
112
127
  graph_id=graph_id,
113
128
  body=body,
129
+ token=token,
114
130
  authorization=authorization,
115
131
  )
116
132
 
@@ -126,6 +142,7 @@ def sync(
126
142
  *,
127
143
  client: AuthenticatedClient,
128
144
  body: AgentRequest,
145
+ token: Union[None, Unset, str] = UNSET,
129
146
  authorization: Union[None, Unset, str] = UNSET,
130
147
  ) -> Optional[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
131
148
  """Auto-select agent for query
@@ -142,6 +159,7 @@ def sync(
142
159
 
143
160
  Args:
144
161
  graph_id (str):
162
+ token (Union[None, Unset, str]): JWT token for SSE authentication
145
163
  authorization (Union[None, Unset, str]):
146
164
  body (AgentRequest): Request model for agent interactions.
147
165
 
@@ -157,6 +175,7 @@ def sync(
157
175
  graph_id=graph_id,
158
176
  client=client,
159
177
  body=body,
178
+ token=token,
160
179
  authorization=authorization,
161
180
  ).parsed
162
181
 
@@ -166,6 +185,7 @@ async def asyncio_detailed(
166
185
  *,
167
186
  client: AuthenticatedClient,
168
187
  body: AgentRequest,
188
+ token: Union[None, Unset, str] = UNSET,
169
189
  authorization: Union[None, Unset, str] = UNSET,
170
190
  ) -> Response[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
171
191
  """Auto-select agent for query
@@ -182,6 +202,7 @@ async def asyncio_detailed(
182
202
 
183
203
  Args:
184
204
  graph_id (str):
205
+ token (Union[None, Unset, str]): JWT token for SSE authentication
185
206
  authorization (Union[None, Unset, str]):
186
207
  body (AgentRequest): Request model for agent interactions.
187
208
 
@@ -196,6 +217,7 @@ async def asyncio_detailed(
196
217
  kwargs = _get_kwargs(
197
218
  graph_id=graph_id,
198
219
  body=body,
220
+ token=token,
199
221
  authorization=authorization,
200
222
  )
201
223
 
@@ -209,6 +231,7 @@ async def asyncio(
209
231
  *,
210
232
  client: AuthenticatedClient,
211
233
  body: AgentRequest,
234
+ token: Union[None, Unset, str] = UNSET,
212
235
  authorization: Union[None, Unset, str] = UNSET,
213
236
  ) -> Optional[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
214
237
  """Auto-select agent for query
@@ -225,6 +248,7 @@ async def asyncio(
225
248
 
226
249
  Args:
227
250
  graph_id (str):
251
+ token (Union[None, Unset, str]): JWT token for SSE authentication
228
252
  authorization (Union[None, Unset, str]):
229
253
  body (AgentRequest): Request model for agent interactions.
230
254
 
@@ -241,6 +265,7 @@ async def asyncio(
241
265
  graph_id=graph_id,
242
266
  client=client,
243
267
  body=body,
268
+ token=token,
244
269
  authorization=authorization,
245
270
  )
246
271
  ).parsed
@@ -15,15 +15,28 @@ def _get_kwargs(
15
15
  graph_id: str,
16
16
  *,
17
17
  body: BatchAgentRequest,
18
+ token: Union[None, Unset, str] = UNSET,
18
19
  authorization: Union[None, Unset, str] = UNSET,
19
20
  ) -> dict[str, Any]:
20
21
  headers: dict[str, Any] = {}
21
22
  if not isinstance(authorization, Unset):
22
23
  headers["authorization"] = authorization
23
24
 
25
+ params: dict[str, Any] = {}
26
+
27
+ json_token: Union[None, Unset, str]
28
+ if isinstance(token, Unset):
29
+ json_token = UNSET
30
+ else:
31
+ json_token = token
32
+ params["token"] = json_token
33
+
34
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
35
+
24
36
  _kwargs: dict[str, Any] = {
25
37
  "method": "post",
26
- "url": f"/v1/{graph_id}/agent/batch",
38
+ "url": f"/v1/graphs/{graph_id}/agent/batch",
39
+ "params": params,
27
40
  }
28
41
 
29
42
  _kwargs["json"] = body.to_dict()
@@ -76,6 +89,7 @@ def sync_detailed(
76
89
  *,
77
90
  client: AuthenticatedClient,
78
91
  body: BatchAgentRequest,
92
+ token: Union[None, Unset, str] = UNSET,
79
93
  authorization: Union[None, Unset, str] = UNSET,
80
94
  ) -> Response[Union[Any, BatchAgentResponse, HTTPValidationError]]:
81
95
  """Batch process multiple queries
@@ -97,6 +111,7 @@ def sync_detailed(
97
111
 
98
112
  Args:
99
113
  graph_id (str):
114
+ token (Union[None, Unset, str]): JWT token for SSE authentication
100
115
  authorization (Union[None, Unset, str]):
101
116
  body (BatchAgentRequest): Request for batch processing multiple queries.
102
117
 
@@ -111,6 +126,7 @@ def sync_detailed(
111
126
  kwargs = _get_kwargs(
112
127
  graph_id=graph_id,
113
128
  body=body,
129
+ token=token,
114
130
  authorization=authorization,
115
131
  )
116
132
 
@@ -126,6 +142,7 @@ def sync(
126
142
  *,
127
143
  client: AuthenticatedClient,
128
144
  body: BatchAgentRequest,
145
+ token: Union[None, Unset, str] = UNSET,
129
146
  authorization: Union[None, Unset, str] = UNSET,
130
147
  ) -> Optional[Union[Any, BatchAgentResponse, HTTPValidationError]]:
131
148
  """Batch process multiple queries
@@ -147,6 +164,7 @@ def sync(
147
164
 
148
165
  Args:
149
166
  graph_id (str):
167
+ token (Union[None, Unset, str]): JWT token for SSE authentication
150
168
  authorization (Union[None, Unset, str]):
151
169
  body (BatchAgentRequest): Request for batch processing multiple queries.
152
170
 
@@ -162,6 +180,7 @@ def sync(
162
180
  graph_id=graph_id,
163
181
  client=client,
164
182
  body=body,
183
+ token=token,
165
184
  authorization=authorization,
166
185
  ).parsed
167
186
 
@@ -171,6 +190,7 @@ async def asyncio_detailed(
171
190
  *,
172
191
  client: AuthenticatedClient,
173
192
  body: BatchAgentRequest,
193
+ token: Union[None, Unset, str] = UNSET,
174
194
  authorization: Union[None, Unset, str] = UNSET,
175
195
  ) -> Response[Union[Any, BatchAgentResponse, HTTPValidationError]]:
176
196
  """Batch process multiple queries
@@ -192,6 +212,7 @@ async def asyncio_detailed(
192
212
 
193
213
  Args:
194
214
  graph_id (str):
215
+ token (Union[None, Unset, str]): JWT token for SSE authentication
195
216
  authorization (Union[None, Unset, str]):
196
217
  body (BatchAgentRequest): Request for batch processing multiple queries.
197
218
 
@@ -206,6 +227,7 @@ async def asyncio_detailed(
206
227
  kwargs = _get_kwargs(
207
228
  graph_id=graph_id,
208
229
  body=body,
230
+ token=token,
209
231
  authorization=authorization,
210
232
  )
211
233
 
@@ -219,6 +241,7 @@ async def asyncio(
219
241
  *,
220
242
  client: AuthenticatedClient,
221
243
  body: BatchAgentRequest,
244
+ token: Union[None, Unset, str] = UNSET,
222
245
  authorization: Union[None, Unset, str] = UNSET,
223
246
  ) -> Optional[Union[Any, BatchAgentResponse, HTTPValidationError]]:
224
247
  """Batch process multiple queries
@@ -240,6 +263,7 @@ async def asyncio(
240
263
 
241
264
  Args:
242
265
  graph_id (str):
266
+ token (Union[None, Unset, str]): JWT token for SSE authentication
243
267
  authorization (Union[None, Unset, str]):
244
268
  body (BatchAgentRequest): Request for batch processing multiple queries.
245
269
 
@@ -256,6 +280,7 @@ async def asyncio(
256
280
  graph_id=graph_id,
257
281
  client=client,
258
282
  body=body,
283
+ token=token,
259
284
  authorization=authorization,
260
285
  )
261
286
  ).parsed
@@ -17,15 +17,28 @@ def _get_kwargs(
17
17
  agent_type: str,
18
18
  *,
19
19
  body: AgentRequest,
20
+ token: Union[None, Unset, str] = UNSET,
20
21
  authorization: Union[None, Unset, str] = UNSET,
21
22
  ) -> dict[str, Any]:
22
23
  headers: dict[str, Any] = {}
23
24
  if not isinstance(authorization, Unset):
24
25
  headers["authorization"] = authorization
25
26
 
27
+ params: dict[str, Any] = {}
28
+
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
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
37
+
26
38
  _kwargs: dict[str, Any] = {
27
39
  "method": "post",
28
- "url": f"/v1/{graph_id}/agent/{agent_type}",
40
+ "url": f"/v1/graphs/{graph_id}/agent/{agent_type}",
41
+ "params": params,
29
42
  }
30
43
 
31
44
  _kwargs["json"] = body.to_dict()
@@ -86,6 +99,7 @@ def sync_detailed(
86
99
  *,
87
100
  client: AuthenticatedClient,
88
101
  body: AgentRequest,
102
+ token: Union[None, Unset, str] = UNSET,
89
103
  authorization: Union[None, Unset, str] = UNSET,
90
104
  ) -> Response[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
91
105
  """Execute specific agent
@@ -102,6 +116,7 @@ def sync_detailed(
102
116
  Args:
103
117
  graph_id (str):
104
118
  agent_type (str):
119
+ token (Union[None, Unset, str]): JWT token for SSE authentication
105
120
  authorization (Union[None, Unset, str]):
106
121
  body (AgentRequest): Request model for agent interactions.
107
122
 
@@ -117,6 +132,7 @@ def sync_detailed(
117
132
  graph_id=graph_id,
118
133
  agent_type=agent_type,
119
134
  body=body,
135
+ token=token,
120
136
  authorization=authorization,
121
137
  )
122
138
 
@@ -133,6 +149,7 @@ def sync(
133
149
  *,
134
150
  client: AuthenticatedClient,
135
151
  body: AgentRequest,
152
+ token: Union[None, Unset, str] = UNSET,
136
153
  authorization: Union[None, Unset, str] = UNSET,
137
154
  ) -> Optional[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
138
155
  """Execute specific agent
@@ -149,6 +166,7 @@ def sync(
149
166
  Args:
150
167
  graph_id (str):
151
168
  agent_type (str):
169
+ token (Union[None, Unset, str]): JWT token for SSE authentication
152
170
  authorization (Union[None, Unset, str]):
153
171
  body (AgentRequest): Request model for agent interactions.
154
172
 
@@ -165,6 +183,7 @@ def sync(
165
183
  agent_type=agent_type,
166
184
  client=client,
167
185
  body=body,
186
+ token=token,
168
187
  authorization=authorization,
169
188
  ).parsed
170
189
 
@@ -175,6 +194,7 @@ async def asyncio_detailed(
175
194
  *,
176
195
  client: AuthenticatedClient,
177
196
  body: AgentRequest,
197
+ token: Union[None, Unset, str] = UNSET,
178
198
  authorization: Union[None, Unset, str] = UNSET,
179
199
  ) -> Response[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
180
200
  """Execute specific agent
@@ -191,6 +211,7 @@ async def asyncio_detailed(
191
211
  Args:
192
212
  graph_id (str):
193
213
  agent_type (str):
214
+ token (Union[None, Unset, str]): JWT token for SSE authentication
194
215
  authorization (Union[None, Unset, str]):
195
216
  body (AgentRequest): Request model for agent interactions.
196
217
 
@@ -206,6 +227,7 @@ async def asyncio_detailed(
206
227
  graph_id=graph_id,
207
228
  agent_type=agent_type,
208
229
  body=body,
230
+ token=token,
209
231
  authorization=authorization,
210
232
  )
211
233
 
@@ -220,6 +242,7 @@ async def asyncio(
220
242
  *,
221
243
  client: AuthenticatedClient,
222
244
  body: AgentRequest,
245
+ token: Union[None, Unset, str] = UNSET,
223
246
  authorization: Union[None, Unset, str] = UNSET,
224
247
  ) -> Optional[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
225
248
  """Execute specific agent
@@ -236,6 +259,7 @@ async def asyncio(
236
259
  Args:
237
260
  graph_id (str):
238
261
  agent_type (str):
262
+ token (Union[None, Unset, str]): JWT token for SSE authentication
239
263
  authorization (Union[None, Unset, str]):
240
264
  body (AgentRequest): Request model for agent interactions.
241
265
 
@@ -253,6 +277,7 @@ async def asyncio(
253
277
  agent_type=agent_type,
254
278
  client=client,
255
279
  body=body,
280
+ token=token,
256
281
  authorization=authorization,
257
282
  )
258
283
  ).parsed
@@ -14,15 +14,28 @@ def _get_kwargs(
14
14
  graph_id: str,
15
15
  agent_type: str,
16
16
  *,
17
+ token: Union[None, Unset, str] = UNSET,
17
18
  authorization: Union[None, Unset, str] = UNSET,
18
19
  ) -> dict[str, Any]:
19
20
  headers: dict[str, Any] = {}
20
21
  if not isinstance(authorization, Unset):
21
22
  headers["authorization"] = authorization
22
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
+
23
35
  _kwargs: dict[str, Any] = {
24
36
  "method": "get",
25
- "url": f"/v1/{graph_id}/agent/{agent_type}/metadata",
37
+ "url": f"/v1/graphs/{graph_id}/agent/{agent_type}/metadata",
38
+ "params": params,
26
39
  }
27
40
 
28
41
  _kwargs["headers"] = headers
@@ -65,6 +78,7 @@ def sync_detailed(
65
78
  agent_type: str,
66
79
  *,
67
80
  client: AuthenticatedClient,
81
+ token: Union[None, Unset, str] = UNSET,
68
82
  authorization: Union[None, Unset, str] = UNSET,
69
83
  ) -> Response[Union[AgentMetadataResponse, Any, HTTPValidationError]]:
70
84
  """Get agent metadata
@@ -84,6 +98,7 @@ def sync_detailed(
84
98
  Args:
85
99
  graph_id (str): Graph database identifier
86
100
  agent_type (str): Agent type identifier (e.g., 'financial', 'research', 'rag')
101
+ token (Union[None, Unset, str]): JWT token for SSE authentication
87
102
  authorization (Union[None, Unset, str]):
88
103
 
89
104
  Raises:
@@ -97,6 +112,7 @@ def sync_detailed(
97
112
  kwargs = _get_kwargs(
98
113
  graph_id=graph_id,
99
114
  agent_type=agent_type,
115
+ token=token,
100
116
  authorization=authorization,
101
117
  )
102
118
 
@@ -112,6 +128,7 @@ def sync(
112
128
  agent_type: str,
113
129
  *,
114
130
  client: AuthenticatedClient,
131
+ token: Union[None, Unset, str] = UNSET,
115
132
  authorization: Union[None, Unset, str] = UNSET,
116
133
  ) -> Optional[Union[AgentMetadataResponse, Any, HTTPValidationError]]:
117
134
  """Get agent metadata
@@ -131,6 +148,7 @@ def sync(
131
148
  Args:
132
149
  graph_id (str): Graph database identifier
133
150
  agent_type (str): Agent type identifier (e.g., 'financial', 'research', 'rag')
151
+ token (Union[None, Unset, str]): JWT token for SSE authentication
134
152
  authorization (Union[None, Unset, str]):
135
153
 
136
154
  Raises:
@@ -145,6 +163,7 @@ def sync(
145
163
  graph_id=graph_id,
146
164
  agent_type=agent_type,
147
165
  client=client,
166
+ token=token,
148
167
  authorization=authorization,
149
168
  ).parsed
150
169
 
@@ -154,6 +173,7 @@ async def asyncio_detailed(
154
173
  agent_type: str,
155
174
  *,
156
175
  client: AuthenticatedClient,
176
+ token: Union[None, Unset, str] = UNSET,
157
177
  authorization: Union[None, Unset, str] = UNSET,
158
178
  ) -> Response[Union[AgentMetadataResponse, Any, HTTPValidationError]]:
159
179
  """Get agent metadata
@@ -173,6 +193,7 @@ async def asyncio_detailed(
173
193
  Args:
174
194
  graph_id (str): Graph database identifier
175
195
  agent_type (str): Agent type identifier (e.g., 'financial', 'research', 'rag')
196
+ token (Union[None, Unset, str]): JWT token for SSE authentication
176
197
  authorization (Union[None, Unset, str]):
177
198
 
178
199
  Raises:
@@ -186,6 +207,7 @@ async def asyncio_detailed(
186
207
  kwargs = _get_kwargs(
187
208
  graph_id=graph_id,
188
209
  agent_type=agent_type,
210
+ token=token,
189
211
  authorization=authorization,
190
212
  )
191
213
 
@@ -199,6 +221,7 @@ async def asyncio(
199
221
  agent_type: str,
200
222
  *,
201
223
  client: AuthenticatedClient,
224
+ token: Union[None, Unset, str] = UNSET,
202
225
  authorization: Union[None, Unset, str] = UNSET,
203
226
  ) -> Optional[Union[AgentMetadataResponse, Any, HTTPValidationError]]:
204
227
  """Get agent metadata
@@ -218,6 +241,7 @@ async def asyncio(
218
241
  Args:
219
242
  graph_id (str): Graph database identifier
220
243
  agent_type (str): Agent type identifier (e.g., 'financial', 'research', 'rag')
244
+ token (Union[None, Unset, str]): JWT token for SSE authentication
221
245
  authorization (Union[None, Unset, str]):
222
246
 
223
247
  Raises:
@@ -233,6 +257,7 @@ async def asyncio(
233
257
  graph_id=graph_id,
234
258
  agent_type=agent_type,
235
259
  client=client,
260
+ token=token,
236
261
  authorization=authorization,
237
262
  )
238
263
  ).parsed
@@ -14,6 +14,7 @@ def _get_kwargs(
14
14
  graph_id: str,
15
15
  *,
16
16
  capability: Union[None, Unset, str] = UNSET,
17
+ token: Union[None, Unset, str] = UNSET,
17
18
  authorization: Union[None, Unset, str] = UNSET,
18
19
  ) -> dict[str, Any]:
19
20
  headers: dict[str, Any] = {}
@@ -29,11 +30,18 @@ def _get_kwargs(
29
30
  json_capability = capability
30
31
  params["capability"] = json_capability
31
32
 
33
+ json_token: Union[None, Unset, str]
34
+ if isinstance(token, Unset):
35
+ json_token = UNSET
36
+ else:
37
+ json_token = token
38
+ params["token"] = json_token
39
+
32
40
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
33
41
 
34
42
  _kwargs: dict[str, Any] = {
35
43
  "method": "get",
36
- "url": f"/v1/{graph_id}/agent/list",
44
+ "url": f"/v1/graphs/{graph_id}/agent/list",
37
45
  "params": params,
38
46
  }
39
47
 
@@ -77,6 +85,7 @@ def sync_detailed(
77
85
  *,
78
86
  client: AuthenticatedClient,
79
87
  capability: Union[None, Unset, str] = UNSET,
88
+ token: Union[None, Unset, str] = UNSET,
80
89
  authorization: Union[None, Unset, str] = UNSET,
81
90
  ) -> Response[Union[AgentListResponse, Any, HTTPValidationError]]:
82
91
  """List available agents
@@ -95,6 +104,7 @@ def sync_detailed(
95
104
  graph_id (str): Graph database identifier
96
105
  capability (Union[None, Unset, str]): Filter by capability (e.g., 'financial_analysis',
97
106
  'rag_search')
107
+ token (Union[None, Unset, str]): JWT token for SSE authentication
98
108
  authorization (Union[None, Unset, str]):
99
109
 
100
110
  Raises:
@@ -108,6 +118,7 @@ def sync_detailed(
108
118
  kwargs = _get_kwargs(
109
119
  graph_id=graph_id,
110
120
  capability=capability,
121
+ token=token,
111
122
  authorization=authorization,
112
123
  )
113
124
 
@@ -123,6 +134,7 @@ def sync(
123
134
  *,
124
135
  client: AuthenticatedClient,
125
136
  capability: Union[None, Unset, str] = UNSET,
137
+ token: Union[None, Unset, str] = UNSET,
126
138
  authorization: Union[None, Unset, str] = UNSET,
127
139
  ) -> Optional[Union[AgentListResponse, Any, HTTPValidationError]]:
128
140
  """List available agents
@@ -141,6 +153,7 @@ def sync(
141
153
  graph_id (str): Graph database identifier
142
154
  capability (Union[None, Unset, str]): Filter by capability (e.g., 'financial_analysis',
143
155
  'rag_search')
156
+ token (Union[None, Unset, str]): JWT token for SSE authentication
144
157
  authorization (Union[None, Unset, str]):
145
158
 
146
159
  Raises:
@@ -155,6 +168,7 @@ def sync(
155
168
  graph_id=graph_id,
156
169
  client=client,
157
170
  capability=capability,
171
+ token=token,
158
172
  authorization=authorization,
159
173
  ).parsed
160
174
 
@@ -164,6 +178,7 @@ async def asyncio_detailed(
164
178
  *,
165
179
  client: AuthenticatedClient,
166
180
  capability: Union[None, Unset, str] = UNSET,
181
+ token: Union[None, Unset, str] = UNSET,
167
182
  authorization: Union[None, Unset, str] = UNSET,
168
183
  ) -> Response[Union[AgentListResponse, Any, HTTPValidationError]]:
169
184
  """List available agents
@@ -182,6 +197,7 @@ async def asyncio_detailed(
182
197
  graph_id (str): Graph database identifier
183
198
  capability (Union[None, Unset, str]): Filter by capability (e.g., 'financial_analysis',
184
199
  'rag_search')
200
+ token (Union[None, Unset, str]): JWT token for SSE authentication
185
201
  authorization (Union[None, Unset, str]):
186
202
 
187
203
  Raises:
@@ -195,6 +211,7 @@ async def asyncio_detailed(
195
211
  kwargs = _get_kwargs(
196
212
  graph_id=graph_id,
197
213
  capability=capability,
214
+ token=token,
198
215
  authorization=authorization,
199
216
  )
200
217
 
@@ -208,6 +225,7 @@ async def asyncio(
208
225
  *,
209
226
  client: AuthenticatedClient,
210
227
  capability: Union[None, Unset, str] = UNSET,
228
+ token: Union[None, Unset, str] = UNSET,
211
229
  authorization: Union[None, Unset, str] = UNSET,
212
230
  ) -> Optional[Union[AgentListResponse, Any, HTTPValidationError]]:
213
231
  """List available agents
@@ -226,6 +244,7 @@ async def asyncio(
226
244
  graph_id (str): Graph database identifier
227
245
  capability (Union[None, Unset, str]): Filter by capability (e.g., 'financial_analysis',
228
246
  'rag_search')
247
+ token (Union[None, Unset, str]): JWT token for SSE authentication
229
248
  authorization (Union[None, Unset, str]):
230
249
 
231
250
  Raises:
@@ -241,6 +260,7 @@ async def asyncio(
241
260
  graph_id=graph_id,
242
261
  client=client,
243
262
  capability=capability,
263
+ token=token,
244
264
  authorization=authorization,
245
265
  )
246
266
  ).parsed