robosystems-client 0.1.15__py3-none-any.whl → 0.1.17__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 (130) hide show
  1. robosystems_client/api/agent/auto_select_agent.py +246 -0
  2. robosystems_client/api/agent/batch_process_queries.py +261 -0
  3. robosystems_client/api/agent/execute_specific_agent.py +258 -0
  4. robosystems_client/api/agent/get_agent_metadata.py +238 -0
  5. robosystems_client/api/agent/list_agents.py +246 -0
  6. robosystems_client/api/agent/recommend_agent.py +255 -0
  7. robosystems_client/api/auth/forgot_password.py +191 -0
  8. robosystems_client/api/auth/generate_sso_token.py +18 -0
  9. robosystems_client/api/auth/get_current_auth_user.py +4 -22
  10. robosystems_client/api/auth/logout_user.py +17 -17
  11. robosystems_client/api/auth/{refresh_session.py → refresh_auth_session.py} +21 -21
  12. robosystems_client/api/auth/resend_verification_email.py +222 -0
  13. robosystems_client/api/auth/reset_password.py +177 -0
  14. robosystems_client/api/auth/validate_reset_token.py +171 -0
  15. robosystems_client/api/auth/verify_email.py +177 -0
  16. robosystems_client/api/backup/create_backup.py +0 -18
  17. robosystems_client/api/backup/export_backup.py +0 -18
  18. robosystems_client/api/backup/get_backup_download_url.py +0 -18
  19. robosystems_client/api/backup/get_backup_stats.py +0 -18
  20. robosystems_client/api/backup/list_backups.py +0 -18
  21. robosystems_client/api/backup/restore_backup.py +0 -18
  22. robosystems_client/api/connections/create_connection.py +0 -18
  23. robosystems_client/api/connections/create_link_token.py +0 -18
  24. robosystems_client/api/connections/delete_connection.py +0 -18
  25. robosystems_client/api/connections/exchange_link_token.py +0 -18
  26. robosystems_client/api/connections/get_connection.py +0 -18
  27. robosystems_client/api/connections/get_connection_options.py +0 -18
  28. robosystems_client/api/connections/init_o_auth.py +0 -18
  29. robosystems_client/api/connections/list_connections.py +0 -18
  30. robosystems_client/api/connections/oauth_callback.py +4 -22
  31. robosystems_client/api/connections/sync_connection.py +0 -18
  32. robosystems_client/api/copy/copy_data_to_graph.py +0 -18
  33. robosystems_client/api/create/create_graph.py +0 -18
  34. robosystems_client/api/graph_analytics/get_graph_metrics.py +0 -18
  35. robosystems_client/api/graph_analytics/get_graph_usage_stats.py +0 -18
  36. robosystems_client/api/graph_billing/get_current_graph_bill.py +0 -18
  37. robosystems_client/api/graph_billing/get_graph_billing_history.py +0 -18
  38. robosystems_client/api/graph_billing/get_graph_monthly_bill.py +0 -18
  39. robosystems_client/api/graph_billing/get_graph_usage_details.py +0 -18
  40. robosystems_client/api/graph_credits/check_credit_balance.py +14 -28
  41. robosystems_client/api/graph_credits/check_storage_limits.py +0 -18
  42. robosystems_client/api/graph_credits/get_credit_summary.py +0 -18
  43. robosystems_client/api/graph_credits/get_storage_usage.py +0 -18
  44. robosystems_client/api/graph_credits/list_credit_transactions.py +0 -18
  45. robosystems_client/api/graph_health/get_database_health.py +0 -18
  46. robosystems_client/api/graph_info/get_database_info.py +0 -18
  47. robosystems_client/api/graph_limits/get_graph_limits.py +0 -18
  48. robosystems_client/api/mcp/call_mcp_tool.py +0 -18
  49. robosystems_client/api/mcp/list_mcp_tools.py +0 -18
  50. robosystems_client/api/operations/cancel_operation.py +0 -18
  51. robosystems_client/api/operations/get_operation_status.py +0 -18
  52. robosystems_client/api/operations/stream_operation_events.py +0 -18
  53. robosystems_client/api/query/execute_cypher_query.py +0 -18
  54. robosystems_client/api/schema/export_graph_schema.py +0 -18
  55. robosystems_client/api/schema/get_graph_schema_info.py +0 -18
  56. robosystems_client/api/schema/list_schema_extensions.py +0 -18
  57. robosystems_client/api/schema/validate_schema.py +0 -18
  58. robosystems_client/api/subgraphs/create_subgraph.py +0 -18
  59. robosystems_client/api/subgraphs/delete_subgraph.py +0 -18
  60. robosystems_client/api/subgraphs/get_subgraph_info.py +0 -18
  61. robosystems_client/api/subgraphs/get_subgraph_quota.py +0 -18
  62. robosystems_client/api/subgraphs/list_subgraphs.py +0 -18
  63. robosystems_client/api/user/create_user_api_key.py +0 -18
  64. robosystems_client/api/user/get_all_credit_summaries.py +0 -18
  65. robosystems_client/api/user/get_current_user.py +0 -18
  66. robosystems_client/api/user/get_user_graphs.py +0 -18
  67. robosystems_client/api/user/list_user_api_keys.py +0 -18
  68. robosystems_client/api/user/revoke_user_api_key.py +0 -18
  69. robosystems_client/api/user/select_user_graph.py +0 -18
  70. robosystems_client/api/user/update_user.py +0 -18
  71. robosystems_client/api/user/update_user_api_key.py +0 -18
  72. robosystems_client/api/user/update_user_password.py +0 -18
  73. robosystems_client/api/user_analytics/get_detailed_user_analytics.py +0 -18
  74. robosystems_client/api/user_analytics/get_user_usage_overview.py +0 -18
  75. robosystems_client/api/user_limits/get_all_shared_repository_limits.py +0 -18
  76. robosystems_client/api/user_limits/get_shared_repository_limits.py +0 -18
  77. robosystems_client/api/user_limits/get_user_limits.py +0 -18
  78. robosystems_client/api/user_limits/get_user_usage.py +0 -18
  79. robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +0 -18
  80. robosystems_client/api/user_subscriptions/get_repository_credits.py +0 -18
  81. robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +0 -18
  82. robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +0 -18
  83. robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +0 -18
  84. robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +0 -18
  85. robosystems_client/models/__init__.py +51 -3
  86. robosystems_client/models/agent_list_response.py +74 -0
  87. robosystems_client/models/agent_list_response_agents.py +67 -0
  88. robosystems_client/models/{credits_summary_response_credits_by_addon_item.py → agent_list_response_agents_additional_property.py} +5 -5
  89. robosystems_client/models/agent_message.py +35 -1
  90. robosystems_client/models/agent_metadata_response.py +133 -0
  91. robosystems_client/models/agent_mode.py +11 -0
  92. robosystems_client/models/agent_recommendation.py +106 -0
  93. robosystems_client/models/agent_recommendation_request.py +108 -0
  94. robosystems_client/models/agent_recommendation_request_context_type_0.py +44 -0
  95. robosystems_client/models/agent_recommendation_response.py +82 -0
  96. robosystems_client/models/agent_request.py +110 -6
  97. robosystems_client/models/agent_response.py +161 -11
  98. robosystems_client/models/agent_response_error_details_type_0.py +44 -0
  99. robosystems_client/models/agent_response_tokens_used_type_0.py +44 -0
  100. robosystems_client/models/auth_response.py +20 -6
  101. robosystems_client/models/batch_agent_request.py +85 -0
  102. robosystems_client/models/batch_agent_response.py +90 -0
  103. robosystems_client/models/credit_summary.py +35 -9
  104. robosystems_client/models/credits_summary_response.py +47 -21
  105. robosystems_client/models/credits_summary_response_credits_by_addon_type_0_item.py +44 -0
  106. robosystems_client/models/custom_schema_definition.py +7 -14
  107. robosystems_client/models/custom_schema_definition_metadata.py +1 -6
  108. robosystems_client/models/database_health_response.py +11 -11
  109. robosystems_client/models/database_info_response.py +13 -14
  110. robosystems_client/models/email_verification_request.py +60 -0
  111. robosystems_client/models/error_response.py +4 -8
  112. robosystems_client/models/forgot_password_request.py +60 -0
  113. robosystems_client/models/forgot_password_response_forgotpassword.py +44 -0
  114. robosystems_client/models/graph_metadata.py +4 -5
  115. robosystems_client/models/health_status.py +2 -2
  116. robosystems_client/models/repository_credits_response.py +43 -16
  117. robosystems_client/models/resend_verification_email_response_resendverificationemail.py +44 -0
  118. robosystems_client/models/reset_password_request.py +68 -0
  119. robosystems_client/models/reset_password_validate_response.py +82 -0
  120. robosystems_client/models/schema_export_response.py +5 -8
  121. robosystems_client/models/schema_validation_request.py +3 -5
  122. robosystems_client/models/schema_validation_response.py +5 -5
  123. robosystems_client/models/selection_criteria.py +122 -0
  124. robosystems_client/models/success_response.py +1 -1
  125. robosystems_client-0.1.17.dist-info/METADATA +89 -0
  126. {robosystems_client-0.1.15.dist-info → robosystems_client-0.1.17.dist-info}/RECORD +128 -97
  127. robosystems_client-0.1.17.dist-info/licenses/LICENSE +21 -0
  128. robosystems_client/api/agent/query_financial_agent.py +0 -423
  129. robosystems_client-0.1.15.dist-info/METADATA +0 -302
  130. {robosystems_client-0.1.15.dist-info → robosystems_client-0.1.17.dist-info}/WHEEL +0 -0
@@ -0,0 +1,258 @@
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.agent_request import AgentRequest
9
+ from ...models.agent_response import AgentResponse
10
+ from ...models.error_response import ErrorResponse
11
+ from ...models.http_validation_error import HTTPValidationError
12
+ from ...types import UNSET, Response, Unset
13
+
14
+
15
+ def _get_kwargs(
16
+ graph_id: str,
17
+ agent_type: str,
18
+ *,
19
+ body: AgentRequest,
20
+ authorization: Union[None, Unset, str] = UNSET,
21
+ ) -> dict[str, Any]:
22
+ headers: dict[str, Any] = {}
23
+ if not isinstance(authorization, Unset):
24
+ headers["authorization"] = authorization
25
+
26
+ _kwargs: dict[str, Any] = {
27
+ "method": "post",
28
+ "url": f"/v1/{graph_id}/agent/{agent_type}",
29
+ }
30
+
31
+ _kwargs["json"] = body.to_dict()
32
+
33
+ headers["Content-Type"] = "application/json"
34
+
35
+ _kwargs["headers"] = headers
36
+ return _kwargs
37
+
38
+
39
+ def _parse_response(
40
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
41
+ ) -> Optional[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
42
+ if response.status_code == 200:
43
+ response_200 = AgentResponse.from_dict(response.json())
44
+
45
+ return response_200
46
+ if response.status_code == 400:
47
+ response_400 = cast(Any, None)
48
+ return response_400
49
+ if response.status_code == 402:
50
+ response_402 = cast(Any, None)
51
+ return response_402
52
+ if response.status_code == 404:
53
+ response_404 = cast(Any, None)
54
+ return response_404
55
+ if response.status_code == 429:
56
+ response_429 = cast(Any, None)
57
+ return response_429
58
+ if response.status_code == 500:
59
+ response_500 = ErrorResponse.from_dict(response.json())
60
+
61
+ return response_500
62
+ if response.status_code == 422:
63
+ response_422 = HTTPValidationError.from_dict(response.json())
64
+
65
+ return response_422
66
+ if client.raise_on_unexpected_status:
67
+ raise errors.UnexpectedStatus(response.status_code, response.content)
68
+ else:
69
+ return None
70
+
71
+
72
+ def _build_response(
73
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
74
+ ) -> Response[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
75
+ return Response(
76
+ status_code=HTTPStatus(response.status_code),
77
+ content=response.content,
78
+ headers=response.headers,
79
+ parsed=_parse_response(client=client, response=response),
80
+ )
81
+
82
+
83
+ def sync_detailed(
84
+ graph_id: str,
85
+ agent_type: str,
86
+ *,
87
+ client: AuthenticatedClient,
88
+ body: AgentRequest,
89
+ authorization: Union[None, Unset, str] = UNSET,
90
+ ) -> Response[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
91
+ """Execute specific agent
92
+
93
+ Execute a specific agent type directly.
94
+
95
+ Available agents:
96
+ - **financial**: Financial analysis, SEC filings, accounting data
97
+ - **research**: Deep research and comprehensive analysis
98
+ - **rag**: Fast retrieval without AI (no credits required)
99
+
100
+ Use this endpoint when you know which agent you want to use.
101
+
102
+ Args:
103
+ graph_id (str):
104
+ agent_type (str):
105
+ authorization (Union[None, Unset, str]):
106
+ body (AgentRequest): Request model for agent interactions.
107
+
108
+ Raises:
109
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
110
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
111
+
112
+ Returns:
113
+ Response[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]
114
+ """
115
+
116
+ kwargs = _get_kwargs(
117
+ graph_id=graph_id,
118
+ agent_type=agent_type,
119
+ body=body,
120
+ authorization=authorization,
121
+ )
122
+
123
+ response = client.get_httpx_client().request(
124
+ **kwargs,
125
+ )
126
+
127
+ return _build_response(client=client, response=response)
128
+
129
+
130
+ def sync(
131
+ graph_id: str,
132
+ agent_type: str,
133
+ *,
134
+ client: AuthenticatedClient,
135
+ body: AgentRequest,
136
+ authorization: Union[None, Unset, str] = UNSET,
137
+ ) -> Optional[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
138
+ """Execute specific agent
139
+
140
+ Execute a specific agent type directly.
141
+
142
+ Available agents:
143
+ - **financial**: Financial analysis, SEC filings, accounting data
144
+ - **research**: Deep research and comprehensive analysis
145
+ - **rag**: Fast retrieval without AI (no credits required)
146
+
147
+ Use this endpoint when you know which agent you want to use.
148
+
149
+ Args:
150
+ graph_id (str):
151
+ agent_type (str):
152
+ authorization (Union[None, Unset, str]):
153
+ body (AgentRequest): Request model for agent interactions.
154
+
155
+ Raises:
156
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
157
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
158
+
159
+ Returns:
160
+ Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]
161
+ """
162
+
163
+ return sync_detailed(
164
+ graph_id=graph_id,
165
+ agent_type=agent_type,
166
+ client=client,
167
+ body=body,
168
+ authorization=authorization,
169
+ ).parsed
170
+
171
+
172
+ async def asyncio_detailed(
173
+ graph_id: str,
174
+ agent_type: str,
175
+ *,
176
+ client: AuthenticatedClient,
177
+ body: AgentRequest,
178
+ authorization: Union[None, Unset, str] = UNSET,
179
+ ) -> Response[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
180
+ """Execute specific agent
181
+
182
+ Execute a specific agent type directly.
183
+
184
+ Available agents:
185
+ - **financial**: Financial analysis, SEC filings, accounting data
186
+ - **research**: Deep research and comprehensive analysis
187
+ - **rag**: Fast retrieval without AI (no credits required)
188
+
189
+ Use this endpoint when you know which agent you want to use.
190
+
191
+ Args:
192
+ graph_id (str):
193
+ agent_type (str):
194
+ authorization (Union[None, Unset, str]):
195
+ body (AgentRequest): Request model for agent interactions.
196
+
197
+ Raises:
198
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
199
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
200
+
201
+ Returns:
202
+ Response[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]
203
+ """
204
+
205
+ kwargs = _get_kwargs(
206
+ graph_id=graph_id,
207
+ agent_type=agent_type,
208
+ body=body,
209
+ authorization=authorization,
210
+ )
211
+
212
+ response = await client.get_async_httpx_client().request(**kwargs)
213
+
214
+ return _build_response(client=client, response=response)
215
+
216
+
217
+ async def asyncio(
218
+ graph_id: str,
219
+ agent_type: str,
220
+ *,
221
+ client: AuthenticatedClient,
222
+ body: AgentRequest,
223
+ authorization: Union[None, Unset, str] = UNSET,
224
+ ) -> Optional[Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]]:
225
+ """Execute specific agent
226
+
227
+ Execute a specific agent type directly.
228
+
229
+ Available agents:
230
+ - **financial**: Financial analysis, SEC filings, accounting data
231
+ - **research**: Deep research and comprehensive analysis
232
+ - **rag**: Fast retrieval without AI (no credits required)
233
+
234
+ Use this endpoint when you know which agent you want to use.
235
+
236
+ Args:
237
+ graph_id (str):
238
+ agent_type (str):
239
+ authorization (Union[None, Unset, str]):
240
+ body (AgentRequest): Request model for agent interactions.
241
+
242
+ Raises:
243
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
244
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
245
+
246
+ Returns:
247
+ Union[AgentResponse, Any, ErrorResponse, HTTPValidationError]
248
+ """
249
+
250
+ return (
251
+ await asyncio_detailed(
252
+ graph_id=graph_id,
253
+ agent_type=agent_type,
254
+ client=client,
255
+ body=body,
256
+ authorization=authorization,
257
+ )
258
+ ).parsed
@@ -0,0 +1,238 @@
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.agent_metadata_response import AgentMetadataResponse
9
+ from ...models.http_validation_error import HTTPValidationError
10
+ from ...types import UNSET, Response, Unset
11
+
12
+
13
+ def _get_kwargs(
14
+ graph_id: str,
15
+ agent_type: str,
16
+ *,
17
+ authorization: Union[None, Unset, str] = UNSET,
18
+ ) -> dict[str, Any]:
19
+ headers: dict[str, Any] = {}
20
+ if not isinstance(authorization, Unset):
21
+ headers["authorization"] = authorization
22
+
23
+ _kwargs: dict[str, Any] = {
24
+ "method": "get",
25
+ "url": f"/v1/{graph_id}/agent/{agent_type}/metadata",
26
+ }
27
+
28
+ _kwargs["headers"] = headers
29
+ return _kwargs
30
+
31
+
32
+ def _parse_response(
33
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
34
+ ) -> Optional[Union[AgentMetadataResponse, Any, HTTPValidationError]]:
35
+ if response.status_code == 200:
36
+ response_200 = AgentMetadataResponse.from_dict(response.json())
37
+
38
+ return response_200
39
+ if response.status_code == 404:
40
+ response_404 = cast(Any, None)
41
+ return response_404
42
+ if response.status_code == 422:
43
+ response_422 = HTTPValidationError.from_dict(response.json())
44
+
45
+ return response_422
46
+ if client.raise_on_unexpected_status:
47
+ raise errors.UnexpectedStatus(response.status_code, response.content)
48
+ else:
49
+ return None
50
+
51
+
52
+ def _build_response(
53
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
54
+ ) -> Response[Union[AgentMetadataResponse, Any, HTTPValidationError]]:
55
+ return Response(
56
+ status_code=HTTPStatus(response.status_code),
57
+ content=response.content,
58
+ headers=response.headers,
59
+ parsed=_parse_response(client=client, response=response),
60
+ )
61
+
62
+
63
+ def sync_detailed(
64
+ graph_id: str,
65
+ agent_type: str,
66
+ *,
67
+ client: AuthenticatedClient,
68
+ authorization: Union[None, Unset, str] = UNSET,
69
+ ) -> Response[Union[AgentMetadataResponse, Any, HTTPValidationError]]:
70
+ """Get agent metadata
71
+
72
+ Get comprehensive metadata for a specific agent type.
73
+
74
+ **Returns:**
75
+ - Agent name and description
76
+ - Version information
77
+ - Supported capabilities and modes
78
+ - Credit requirements
79
+ - Author and tags
80
+ - Configuration options
81
+
82
+ Use this to understand agent capabilities before execution.
83
+
84
+ Args:
85
+ graph_id (str): Graph database identifier
86
+ agent_type (str): Agent type identifier (e.g., 'financial', 'research', 'rag')
87
+ authorization (Union[None, Unset, str]):
88
+
89
+ Raises:
90
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
91
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
92
+
93
+ Returns:
94
+ Response[Union[AgentMetadataResponse, Any, HTTPValidationError]]
95
+ """
96
+
97
+ kwargs = _get_kwargs(
98
+ graph_id=graph_id,
99
+ agent_type=agent_type,
100
+ authorization=authorization,
101
+ )
102
+
103
+ response = client.get_httpx_client().request(
104
+ **kwargs,
105
+ )
106
+
107
+ return _build_response(client=client, response=response)
108
+
109
+
110
+ def sync(
111
+ graph_id: str,
112
+ agent_type: str,
113
+ *,
114
+ client: AuthenticatedClient,
115
+ authorization: Union[None, Unset, str] = UNSET,
116
+ ) -> Optional[Union[AgentMetadataResponse, Any, HTTPValidationError]]:
117
+ """Get agent metadata
118
+
119
+ Get comprehensive metadata for a specific agent type.
120
+
121
+ **Returns:**
122
+ - Agent name and description
123
+ - Version information
124
+ - Supported capabilities and modes
125
+ - Credit requirements
126
+ - Author and tags
127
+ - Configuration options
128
+
129
+ Use this to understand agent capabilities before execution.
130
+
131
+ Args:
132
+ graph_id (str): Graph database identifier
133
+ agent_type (str): Agent type identifier (e.g., 'financial', 'research', 'rag')
134
+ authorization (Union[None, Unset, str]):
135
+
136
+ Raises:
137
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
138
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
139
+
140
+ Returns:
141
+ Union[AgentMetadataResponse, Any, HTTPValidationError]
142
+ """
143
+
144
+ return sync_detailed(
145
+ graph_id=graph_id,
146
+ agent_type=agent_type,
147
+ client=client,
148
+ authorization=authorization,
149
+ ).parsed
150
+
151
+
152
+ async def asyncio_detailed(
153
+ graph_id: str,
154
+ agent_type: str,
155
+ *,
156
+ client: AuthenticatedClient,
157
+ authorization: Union[None, Unset, str] = UNSET,
158
+ ) -> Response[Union[AgentMetadataResponse, Any, HTTPValidationError]]:
159
+ """Get agent metadata
160
+
161
+ Get comprehensive metadata for a specific agent type.
162
+
163
+ **Returns:**
164
+ - Agent name and description
165
+ - Version information
166
+ - Supported capabilities and modes
167
+ - Credit requirements
168
+ - Author and tags
169
+ - Configuration options
170
+
171
+ Use this to understand agent capabilities before execution.
172
+
173
+ Args:
174
+ graph_id (str): Graph database identifier
175
+ agent_type (str): Agent type identifier (e.g., 'financial', 'research', 'rag')
176
+ authorization (Union[None, Unset, str]):
177
+
178
+ Raises:
179
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
180
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
181
+
182
+ Returns:
183
+ Response[Union[AgentMetadataResponse, Any, HTTPValidationError]]
184
+ """
185
+
186
+ kwargs = _get_kwargs(
187
+ graph_id=graph_id,
188
+ agent_type=agent_type,
189
+ authorization=authorization,
190
+ )
191
+
192
+ response = await client.get_async_httpx_client().request(**kwargs)
193
+
194
+ return _build_response(client=client, response=response)
195
+
196
+
197
+ async def asyncio(
198
+ graph_id: str,
199
+ agent_type: str,
200
+ *,
201
+ client: AuthenticatedClient,
202
+ authorization: Union[None, Unset, str] = UNSET,
203
+ ) -> Optional[Union[AgentMetadataResponse, Any, HTTPValidationError]]:
204
+ """Get agent metadata
205
+
206
+ Get comprehensive metadata for a specific agent type.
207
+
208
+ **Returns:**
209
+ - Agent name and description
210
+ - Version information
211
+ - Supported capabilities and modes
212
+ - Credit requirements
213
+ - Author and tags
214
+ - Configuration options
215
+
216
+ Use this to understand agent capabilities before execution.
217
+
218
+ Args:
219
+ graph_id (str): Graph database identifier
220
+ agent_type (str): Agent type identifier (e.g., 'financial', 'research', 'rag')
221
+ authorization (Union[None, Unset, str]):
222
+
223
+ Raises:
224
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
225
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
226
+
227
+ Returns:
228
+ Union[AgentMetadataResponse, Any, HTTPValidationError]
229
+ """
230
+
231
+ return (
232
+ await asyncio_detailed(
233
+ graph_id=graph_id,
234
+ agent_type=agent_type,
235
+ client=client,
236
+ authorization=authorization,
237
+ )
238
+ ).parsed