robosystems-client 0.2.14__py3-none-any.whl → 0.2.16__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.
- robosystems_client/api/agent/auto_select_agent.py +51 -27
- robosystems_client/api/agent/batch_process_queries.py +13 -13
- robosystems_client/api/agent/execute_specific_agent.py +23 -27
- robosystems_client/api/agent/get_agent_metadata.py +13 -13
- robosystems_client/api/agent/list_agents.py +23 -23
- robosystems_client/api/agent/recommend_agent.py +13 -13
- robosystems_client/api/auth/check_password_strength.py +17 -17
- robosystems_client/api/auth/complete_sso_auth.py +17 -17
- robosystems_client/api/auth/forgot_password.py +17 -23
- robosystems_client/api/auth/generate_sso_token.py +26 -26
- robosystems_client/api/auth/get_captcha_config.py +6 -6
- robosystems_client/api/auth/get_current_auth_user.py +17 -17
- robosystems_client/api/auth/get_password_policy.py +10 -10
- robosystems_client/api/auth/login_user.py +17 -17
- robosystems_client/api/auth/logout_user.py +10 -10
- robosystems_client/api/auth/refresh_auth_session.py +17 -17
- robosystems_client/api/auth/register_user.py +17 -17
- robosystems_client/api/auth/resend_verification_email.py +17 -29
- robosystems_client/api/auth/reset_password.py +17 -17
- robosystems_client/api/auth/sso_token_exchange.py +17 -17
- robosystems_client/api/auth/validate_reset_token.py +17 -17
- robosystems_client/api/auth/verify_email.py +17 -17
- robosystems_client/api/backup/create_backup.py +13 -13
- robosystems_client/api/backup/get_backup_download_url.py +22 -22
- robosystems_client/api/backup/get_backup_stats.py +13 -13
- robosystems_client/api/backup/list_backups.py +31 -31
- robosystems_client/api/backup/restore_backup.py +13 -13
- robosystems_client/api/billing/cancel_org_subscription.py +13 -13
- robosystems_client/api/billing/create_checkout_session.py +13 -13
- robosystems_client/api/billing/create_portal_session.py +13 -13
- robosystems_client/api/billing/get_checkout_status.py +13 -13
- robosystems_client/api/billing/get_org_billing_customer.py +13 -13
- robosystems_client/api/billing/get_org_subscription.py +13 -13
- robosystems_client/api/billing/get_org_upcoming_invoice.py +16 -16
- robosystems_client/api/billing/list_org_invoices.py +22 -22
- robosystems_client/api/billing/list_org_subscriptions.py +13 -13
- robosystems_client/api/connections/create_connection.py +13 -13
- robosystems_client/api/connections/create_link_token.py +13 -13
- robosystems_client/api/connections/delete_connection.py +13 -13
- robosystems_client/api/connections/exchange_link_token.py +13 -13
- robosystems_client/api/connections/get_connection.py +13 -13
- robosystems_client/api/connections/get_connection_options.py +13 -13
- robosystems_client/api/connections/init_o_auth.py +13 -13
- robosystems_client/api/connections/list_connections.py +33 -33
- robosystems_client/api/connections/oauth_callback.py +13 -13
- robosystems_client/api/connections/sync_connection.py +13 -19
- robosystems_client/api/credits_/check_credit_balance.py +38 -45
- robosystems_client/api/credits_/check_storage_limits.py +13 -13
- robosystems_client/api/credits_/get_credit_summary.py +13 -13
- robosystems_client/api/credits_/get_storage_usage.py +28 -28
- robosystems_client/api/credits_/list_credit_transactions.py +71 -71
- robosystems_client/api/files/__init__.py +1 -0
- robosystems_client/api/files/create_file_upload.py +311 -0
- robosystems_client/api/files/delete_file.py +354 -0
- robosystems_client/api/files/get_file.py +329 -0
- robosystems_client/api/files/list_files.py +346 -0
- robosystems_client/api/files/update_file.py +320 -0
- robosystems_client/api/graph_health/get_database_health.py +41 -13
- robosystems_client/api/graph_info/get_database_info.py +41 -13
- robosystems_client/api/graph_limits/get_graph_limits.py +17 -17
- robosystems_client/api/graphs/create_graph.py +13 -13
- robosystems_client/api/graphs/get_available_extensions.py +13 -13
- robosystems_client/api/graphs/get_available_graph_tiers.py +22 -22
- robosystems_client/api/graphs/get_graphs.py +13 -13
- robosystems_client/api/graphs/select_graph.py +13 -13
- robosystems_client/api/materialization/__init__.py +1 -0
- robosystems_client/api/materialization/get_materialization_status.py +272 -0
- robosystems_client/api/materialization/materialize_graph.py +416 -0
- robosystems_client/api/mcp/call_mcp_tool.py +60 -32
- robosystems_client/api/mcp/list_mcp_tools.py +41 -13
- robosystems_client/api/operations/cancel_operation.py +13 -13
- robosystems_client/api/operations/get_operation_status.py +13 -25
- robosystems_client/api/operations/stream_operation_events.py +41 -41
- robosystems_client/api/org/create_org.py +13 -13
- robosystems_client/api/org/get_org.py +13 -13
- robosystems_client/api/org/list_org_graphs.py +13 -13
- robosystems_client/api/org/list_user_orgs.py +6 -6
- robosystems_client/api/org/update_org.py +13 -13
- robosystems_client/api/org_members/invite_org_member.py +13 -13
- robosystems_client/api/org_members/list_org_members.py +13 -13
- robosystems_client/api/org_members/remove_org_member.py +13 -13
- robosystems_client/api/org_members/update_org_member_role.py +13 -13
- robosystems_client/api/org_usage/get_org_limits.py +13 -13
- robosystems_client/api/org_usage/get_org_usage.py +22 -22
- robosystems_client/api/query/execute_cypher_query.py +98 -62
- robosystems_client/api/schema/export_graph_schema.py +35 -35
- robosystems_client/api/schema/get_graph_schema.py +45 -13
- robosystems_client/api/schema/validate_schema.py +41 -13
- robosystems_client/api/service_offerings/get_service_offerings.py +17 -17
- robosystems_client/api/status/get_service_status.py +10 -10
- robosystems_client/api/subgraphs/create_subgraph.py +84 -24
- robosystems_client/api/subgraphs/delete_subgraph.py +51 -27
- robosystems_client/api/subgraphs/get_subgraph_info.py +47 -27
- robosystems_client/api/subgraphs/get_subgraph_quota.py +13 -13
- robosystems_client/api/subgraphs/list_subgraphs.py +13 -13
- robosystems_client/api/subscriptions/create_repository_subscription.py +13 -13
- robosystems_client/api/subscriptions/get_graph_subscription.py +13 -13
- robosystems_client/api/subscriptions/upgrade_subscription.py +13 -13
- robosystems_client/api/tables/list_tables.py +13 -13
- robosystems_client/api/tables/query_tables.py +37 -13
- robosystems_client/api/usage/get_graph_metrics.py +13 -13
- robosystems_client/api/usage/get_graph_usage_analytics.py +66 -66
- robosystems_client/api/user/create_user_api_key.py +13 -13
- robosystems_client/api/user/get_current_user.py +6 -6
- robosystems_client/api/user/list_user_api_keys.py +6 -6
- robosystems_client/api/user/revoke_user_api_key.py +13 -13
- robosystems_client/api/user/update_user.py +13 -13
- robosystems_client/api/user/update_user_api_key.py +13 -13
- robosystems_client/api/user/update_user_password.py +13 -13
- robosystems_client/api/views/__init__.py +1 -0
- robosystems_client/api/views/create_view.py +245 -0
- robosystems_client/api/views/save_view.py +299 -0
- robosystems_client/client.py +13 -13
- robosystems_client/extensions/__init__.py +39 -0
- robosystems_client/extensions/element_mapping_client.py +585 -0
- robosystems_client/extensions/subgraph_workspace_client.py +744 -0
- robosystems_client/extensions/table_ingest_client.py +24 -23
- robosystems_client/extensions/view_builder_client.py +617 -0
- robosystems_client/models/__init__.py +34 -10
- robosystems_client/models/account_info.py +2 -0
- robosystems_client/models/agent_list_response.py +3 -1
- robosystems_client/models/agent_list_response_agents.py +5 -3
- robosystems_client/models/agent_list_response_agents_additional_property.py +2 -0
- robosystems_client/models/agent_message.py +9 -7
- robosystems_client/models/agent_metadata_response.py +11 -9
- robosystems_client/models/agent_recommendation.py +8 -6
- robosystems_client/models/agent_recommendation_request.py +9 -7
- robosystems_client/models/agent_recommendation_request_context_type_0.py +2 -0
- robosystems_client/models/agent_recommendation_response.py +4 -2
- robosystems_client/models/agent_request.py +41 -40
- robosystems_client/models/agent_request_context_type_0.py +2 -0
- robosystems_client/models/agent_response.py +42 -44
- robosystems_client/models/agent_response_error_details_type_0.py +2 -0
- robosystems_client/models/agent_response_metadata_type_0.py +2 -0
- robosystems_client/models/agent_response_tokens_used_type_0.py +2 -0
- robosystems_client/models/api_key_info.py +18 -16
- robosystems_client/models/api_keys_response.py +4 -2
- robosystems_client/models/auth_response.py +26 -24
- robosystems_client/models/auth_response_org_type_0.py +2 -0
- robosystems_client/models/auth_response_user.py +2 -0
- robosystems_client/models/available_extension.py +5 -3
- robosystems_client/models/available_extensions_response.py +4 -2
- robosystems_client/models/available_graph_tiers_response.py +4 -2
- robosystems_client/models/backup_create_request.py +18 -16
- robosystems_client/models/backup_download_url_response.py +2 -0
- robosystems_client/models/backup_limits.py +2 -0
- robosystems_client/models/backup_list_response.py +4 -2
- robosystems_client/models/backup_response.py +13 -11
- robosystems_client/models/backup_restore_request.py +7 -6
- robosystems_client/models/backup_stats_response.py +9 -7
- robosystems_client/models/backup_stats_response_backup_formats.py +2 -0
- robosystems_client/models/batch_agent_request.py +7 -5
- robosystems_client/models/batch_agent_response.py +4 -2
- robosystems_client/models/billing_customer.py +10 -8
- robosystems_client/models/cancel_operation_response_canceloperation.py +2 -0
- robosystems_client/models/check_credit_balance_response_checkcreditbalance.py +2 -0
- robosystems_client/models/checkout_response.py +22 -20
- robosystems_client/models/checkout_status_response.py +19 -17
- robosystems_client/models/connection_options_response.py +4 -2
- robosystems_client/models/connection_provider_info.py +26 -24
- robosystems_client/models/connection_response.py +14 -12
- robosystems_client/models/connection_response_metadata.py +2 -0
- robosystems_client/models/copy_operation_limits.py +2 -0
- robosystems_client/models/create_api_key_request.py +13 -11
- robosystems_client/models/create_api_key_response.py +3 -1
- robosystems_client/models/create_checkout_request.py +3 -1
- robosystems_client/models/create_checkout_request_resource_config.py +2 -0
- robosystems_client/models/create_connection_request.py +21 -21
- robosystems_client/models/create_graph_request.py +25 -25
- robosystems_client/models/create_org_request.py +7 -5
- robosystems_client/models/create_repository_subscription_request.py +2 -0
- robosystems_client/models/create_subgraph_request.py +30 -19
- robosystems_client/models/create_subgraph_request_metadata_type_0.py +2 -0
- robosystems_client/models/create_view_request.py +141 -0
- robosystems_client/models/credit_limits.py +2 -0
- robosystems_client/models/credit_summary.py +3 -1
- robosystems_client/models/credit_summary_operation_breakdown.py +2 -0
- robosystems_client/models/credit_summary_response.py +8 -6
- robosystems_client/models/custom_schema_definition.py +39 -33
- robosystems_client/models/custom_schema_definition_metadata.py +2 -0
- robosystems_client/models/custom_schema_definition_nodes_item.py +2 -0
- robosystems_client/models/custom_schema_definition_relationships_item.py +2 -0
- robosystems_client/models/cypher_query_request.py +15 -13
- robosystems_client/models/cypher_query_request_parameters_type_0.py +2 -0
- robosystems_client/models/database_health_response.py +21 -19
- robosystems_client/models/database_info_response.py +13 -11
- robosystems_client/models/delete_file_response.py +54 -1
- robosystems_client/models/delete_subgraph_request.py +12 -10
- robosystems_client/models/delete_subgraph_response.py +13 -11
- robosystems_client/models/detailed_transactions_response.py +6 -4
- robosystems_client/models/detailed_transactions_response_date_range.py +2 -0
- robosystems_client/models/detailed_transactions_response_summary.py +5 -3
- robosystems_client/models/email_verification_request.py +2 -0
- robosystems_client/models/enhanced_credit_transaction_response.py +24 -22
- robosystems_client/models/enhanced_credit_transaction_response_metadata.py +2 -0
- robosystems_client/models/enhanced_file_status_layers.py +83 -0
- robosystems_client/models/error_response.py +19 -17
- robosystems_client/models/exchange_token_request.py +9 -7
- robosystems_client/models/exchange_token_request_metadata_type_0.py +2 -0
- robosystems_client/models/execute_cypher_query_response_200.py +25 -21
- robosystems_client/models/execute_cypher_query_response_200_data_item.py +2 -0
- robosystems_client/models/fact_detail.py +109 -0
- robosystems_client/models/file_info.py +18 -16
- robosystems_client/models/file_layer_status.py +123 -0
- robosystems_client/models/file_status_update.py +14 -0
- robosystems_client/models/file_upload_request.py +25 -3
- robosystems_client/models/file_upload_response.py +2 -0
- robosystems_client/models/forgot_password_request.py +2 -0
- robosystems_client/models/forgot_password_response_forgotpassword.py +2 -0
- robosystems_client/models/get_current_auth_user_response_getcurrentauthuser.py +2 -0
- robosystems_client/models/get_file_info_response.py +62 -21
- robosystems_client/models/get_operation_status_response_getoperationstatus.py +2 -0
- robosystems_client/models/get_storage_usage_response_getstorageusage.py +2 -0
- robosystems_client/models/graph_info.py +10 -8
- robosystems_client/models/graph_limits_response.py +14 -12
- robosystems_client/models/graph_metadata.py +14 -12
- robosystems_client/models/graph_metrics_response.py +17 -15
- robosystems_client/models/graph_metrics_response_estimated_size.py +2 -0
- robosystems_client/models/graph_metrics_response_health_status.py +2 -0
- robosystems_client/models/graph_metrics_response_node_counts.py +2 -0
- robosystems_client/models/graph_metrics_response_relationship_counts.py +2 -0
- robosystems_client/models/graph_subscription_response.py +28 -26
- robosystems_client/models/graph_subscription_tier.py +15 -13
- robosystems_client/models/graph_subscriptions.py +5 -3
- robosystems_client/models/graph_tier_backup.py +2 -0
- robosystems_client/models/graph_tier_copy_operations.py +2 -0
- robosystems_client/models/graph_tier_info.py +15 -13
- robosystems_client/models/graph_tier_instance.py +2 -0
- robosystems_client/models/graph_tier_limits.py +10 -8
- robosystems_client/models/graph_usage_response.py +32 -30
- robosystems_client/models/graph_usage_response_recent_events_item.py +2 -0
- robosystems_client/models/health_status.py +9 -7
- robosystems_client/models/health_status_details_type_0.py +2 -0
- robosystems_client/models/http_validation_error.py +12 -8
- robosystems_client/models/initial_entity_data.py +38 -36
- robosystems_client/models/invite_member_request.py +9 -7
- robosystems_client/models/invoice.py +35 -33
- robosystems_client/models/invoice_line_item.py +13 -11
- robosystems_client/models/invoices_response.py +4 -2
- robosystems_client/models/link_token_request.py +21 -23
- robosystems_client/models/link_token_request_options_type_0.py +2 -0
- robosystems_client/models/list_org_graphs_response_200_item.py +2 -0
- robosystems_client/models/list_subgraphs_response.py +15 -13
- robosystems_client/models/list_table_files_response.py +27 -11
- robosystems_client/models/login_request.py +2 -0
- robosystems_client/models/logout_user_response_logoutuser.py +2 -0
- robosystems_client/models/{bulk_ingest_request.py → materialize_request.py} +25 -15
- robosystems_client/models/materialize_response.py +131 -0
- robosystems_client/models/materialize_status_response.py +172 -0
- robosystems_client/models/mcp_tool_call.py +7 -5
- robosystems_client/models/mcp_tool_call_arguments.py +2 -0
- robosystems_client/models/mcp_tools_response.py +4 -2
- robosystems_client/models/mcp_tools_response_tools_item.py +2 -0
- robosystems_client/models/o_auth_callback_request.py +18 -16
- robosystems_client/models/o_auth_init_request.py +14 -12
- robosystems_client/models/o_auth_init_request_additional_params_type_0.py +2 -0
- robosystems_client/models/o_auth_init_response.py +2 -0
- robosystems_client/models/offering_repository_plan.py +9 -7
- robosystems_client/models/offering_repository_plan_rate_limits_type_0.py +8 -8
- robosystems_client/models/operation_costs.py +4 -2
- robosystems_client/models/operation_costs_ai_operations.py +2 -0
- robosystems_client/models/operation_costs_token_pricing.py +5 -3
- robosystems_client/models/org_detail_response.py +13 -11
- robosystems_client/models/org_detail_response_graphs_item.py +2 -0
- robosystems_client/models/org_detail_response_limits_type_0.py +2 -0
- robosystems_client/models/org_detail_response_members_item.py +2 -0
- robosystems_client/models/org_limits_response.py +3 -1
- robosystems_client/models/org_limits_response_current_usage.py +2 -0
- robosystems_client/models/org_list_response.py +4 -2
- robosystems_client/models/org_member_list_response.py +4 -2
- robosystems_client/models/org_member_response.py +2 -0
- robosystems_client/models/org_response.py +2 -0
- robosystems_client/models/org_usage_response.py +7 -5
- robosystems_client/models/org_usage_response_daily_trend_item.py +2 -0
- robosystems_client/models/org_usage_response_graph_details_item.py +2 -0
- robosystems_client/models/org_usage_summary.py +18 -16
- robosystems_client/models/password_check_request.py +8 -6
- robosystems_client/models/password_check_response.py +3 -1
- robosystems_client/models/password_check_response_character_types.py +2 -0
- robosystems_client/models/password_policy_response.py +3 -1
- robosystems_client/models/password_policy_response_policy.py +2 -0
- robosystems_client/models/payment_method.py +23 -21
- robosystems_client/models/performance_insights.py +5 -3
- robosystems_client/models/performance_insights_operation_stats.py +2 -0
- robosystems_client/models/performance_insights_slow_queries_item.py +2 -0
- robosystems_client/models/plaid_connection_config.py +30 -30
- robosystems_client/models/plaid_connection_config_accounts_type_0_item.py +2 -0
- robosystems_client/models/plaid_connection_config_institution_type_0.py +2 -0
- robosystems_client/models/portal_session_response.py +2 -0
- robosystems_client/models/query_limits.py +2 -0
- robosystems_client/models/quick_books_connection_config.py +13 -11
- robosystems_client/models/rate_limits.py +2 -0
- robosystems_client/models/register_request.py +8 -6
- robosystems_client/models/repository_info.py +4 -2
- robosystems_client/models/repository_subscriptions.py +4 -2
- robosystems_client/models/resend_verification_email_response_resendverificationemail.py +2 -0
- robosystems_client/models/reset_password_request.py +2 -0
- robosystems_client/models/reset_password_validate_response.py +8 -6
- robosystems_client/models/save_view_request.py +138 -0
- robosystems_client/models/save_view_response.py +181 -0
- robosystems_client/models/schema_export_response.py +16 -14
- robosystems_client/models/schema_export_response_data_stats_type_0.py +2 -0
- robosystems_client/models/schema_export_response_schema_definition_type_0.py +2 -0
- robosystems_client/models/schema_info_response.py +3 -1
- robosystems_client/models/schema_info_response_schema.py +2 -0
- robosystems_client/models/schema_validation_request.py +18 -17
- robosystems_client/models/schema_validation_request_schema_definition_type_0.py +2 -0
- robosystems_client/models/schema_validation_response.py +28 -33
- robosystems_client/models/schema_validation_response_compatibility_type_0.py +2 -0
- robosystems_client/models/schema_validation_response_stats_type_0.py +2 -0
- robosystems_client/models/sec_connection_config.py +8 -6
- robosystems_client/models/selection_criteria.py +19 -17
- robosystems_client/models/service_offering_summary.py +2 -0
- robosystems_client/models/service_offerings_response.py +6 -4
- robosystems_client/models/sso_complete_request.py +2 -0
- robosystems_client/models/sso_exchange_request.py +8 -6
- robosystems_client/models/sso_exchange_response.py +2 -0
- robosystems_client/models/sso_token_response.py +2 -0
- robosystems_client/models/storage_info.py +4 -2
- robosystems_client/models/storage_info_included_per_tier.py +2 -0
- robosystems_client/models/storage_info_overage_pricing.py +2 -0
- robosystems_client/models/storage_limit_response.py +9 -7
- robosystems_client/models/storage_limits.py +8 -6
- robosystems_client/models/storage_summary.py +2 -0
- robosystems_client/models/structure_detail.py +85 -0
- robosystems_client/models/subgraph_quota_response.py +23 -21
- robosystems_client/models/subgraph_response.py +35 -35
- robosystems_client/models/subgraph_response_metadata_type_0.py +2 -0
- robosystems_client/models/subgraph_summary.py +14 -12
- robosystems_client/models/success_response.py +11 -9
- robosystems_client/models/success_response_data_type_0.py +2 -0
- robosystems_client/models/sync_connection_request.py +11 -9
- robosystems_client/models/sync_connection_request_sync_options_type_0.py +2 -0
- robosystems_client/models/sync_connection_response_syncconnection.py +2 -0
- robosystems_client/models/table_info.py +12 -10
- robosystems_client/models/table_list_response.py +4 -2
- robosystems_client/models/table_query_request.py +9 -7
- robosystems_client/models/table_query_response.py +2 -0
- robosystems_client/models/token_pricing.py +2 -0
- robosystems_client/models/transaction_summary_response.py +13 -11
- robosystems_client/models/upcoming_invoice.py +10 -8
- robosystems_client/models/update_api_key_request.py +13 -11
- robosystems_client/models/{update_file_status_response_updatefilestatus.py → update_file_response_updatefile.py} +7 -5
- robosystems_client/models/update_member_role_request.py +2 -0
- robosystems_client/models/update_org_request.py +14 -12
- robosystems_client/models/update_password_request.py +2 -0
- robosystems_client/models/update_user_request.py +13 -11
- robosystems_client/models/upgrade_subscription_request.py +2 -0
- robosystems_client/models/user_graphs_response.py +10 -8
- robosystems_client/models/user_response.py +22 -18
- robosystems_client/models/validation_error.py +8 -6
- robosystems_client/models/view_axis_config.py +276 -0
- robosystems_client/models/view_axis_config_element_labels_type_0.py +46 -0
- robosystems_client/models/view_axis_config_member_labels_type_0.py +46 -0
- robosystems_client/models/view_config.py +127 -0
- robosystems_client/models/view_source.py +144 -0
- robosystems_client/models/view_source_type.py +9 -0
- robosystems_client/types.py +9 -9
- {robosystems_client-0.2.14.dist-info → robosystems_client-0.2.16.dist-info}/METADATA +1 -1
- robosystems_client-0.2.16.dist-info/RECORD +418 -0
- robosystems_client/api/tables/delete_file.py +0 -317
- robosystems_client/api/tables/get_file_info.py +0 -249
- robosystems_client/api/tables/get_upload_url.py +0 -352
- robosystems_client/api/tables/ingest_tables.py +0 -428
- robosystems_client/api/tables/list_table_files.py +0 -329
- robosystems_client/api/tables/update_file_status.py +0 -395
- robosystems_client/models/bulk_ingest_response.py +0 -137
- robosystems_client/models/table_ingest_result.py +0 -107
- robosystems_client-0.2.14.dist-info/RECORD +0 -396
- {robosystems_client-0.2.14.dist-info → robosystems_client-0.2.16.dist-info}/WHEEL +0 -0
- {robosystems_client-0.2.14.dist-info → robosystems_client-0.2.16.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any,
|
|
2
|
+
from typing import Any, cast
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -17,13 +17,13 @@ def _get_kwargs(
|
|
|
17
17
|
graph_id: str,
|
|
18
18
|
*,
|
|
19
19
|
body: AgentRequest,
|
|
20
|
-
mode:
|
|
20
|
+
mode: None | ResponseMode | Unset = UNSET,
|
|
21
21
|
) -> dict[str, Any]:
|
|
22
22
|
headers: dict[str, Any] = {}
|
|
23
23
|
|
|
24
24
|
params: dict[str, Any] = {}
|
|
25
25
|
|
|
26
|
-
json_mode:
|
|
26
|
+
json_mode: None | str | Unset
|
|
27
27
|
if isinstance(mode, Unset):
|
|
28
28
|
json_mode = UNSET
|
|
29
29
|
elif isinstance(mode, ResponseMode):
|
|
@@ -49,8 +49,8 @@ def _get_kwargs(
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
def _parse_response(
|
|
52
|
-
*, client:
|
|
53
|
-
) ->
|
|
52
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
53
|
+
) -> AgentResponse | Any | ErrorResponse | HTTPValidationError | None:
|
|
54
54
|
if response.status_code == 200:
|
|
55
55
|
response_200 = AgentResponse.from_dict(response.json())
|
|
56
56
|
|
|
@@ -89,8 +89,8 @@ def _parse_response(
|
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
def _build_response(
|
|
92
|
-
*, client:
|
|
93
|
-
) -> Response[
|
|
92
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
93
|
+
) -> Response[AgentResponse | Any | ErrorResponse | HTTPValidationError]:
|
|
94
94
|
return Response(
|
|
95
95
|
status_code=HTTPStatus(response.status_code),
|
|
96
96
|
content=response.content,
|
|
@@ -104,8 +104,8 @@ def sync_detailed(
|
|
|
104
104
|
*,
|
|
105
105
|
client: AuthenticatedClient,
|
|
106
106
|
body: AgentRequest,
|
|
107
|
-
mode:
|
|
108
|
-
) -> Response[
|
|
107
|
+
mode: None | ResponseMode | Unset = UNSET,
|
|
108
|
+
) -> Response[AgentResponse | Any | ErrorResponse | HTTPValidationError]:
|
|
109
109
|
r"""Auto-select agent for query
|
|
110
110
|
|
|
111
111
|
Automatically select the best agent for your query with intelligent execution strategy.
|
|
@@ -158,12 +158,18 @@ def sync_detailed(
|
|
|
158
158
|
- Leverage conversation history for contextual understanding
|
|
159
159
|
- Enable RAG for knowledge base enrichment
|
|
160
160
|
|
|
161
|
+
**Subgraph Support:**
|
|
162
|
+
This endpoint accepts both parent graph IDs and subgraph IDs.
|
|
163
|
+
- Parent graph: Use `graph_id` like `kg0123456789abcdef`
|
|
164
|
+
- Subgraph: Use full subgraph ID like `kg0123456789abcdef_dev`
|
|
165
|
+
Agents operate on the specified graph/subgraph's data independently. RAG enrichment
|
|
166
|
+
and knowledge base search are scoped to the specific graph/subgraph.
|
|
167
|
+
|
|
161
168
|
See request/response examples in the \"Examples\" dropdown below.
|
|
162
169
|
|
|
163
170
|
Args:
|
|
164
171
|
graph_id (str):
|
|
165
|
-
mode (
|
|
166
|
-
auto
|
|
172
|
+
mode (None | ResponseMode | Unset): Override execution mode: sync, async, stream, or auto
|
|
167
173
|
body (AgentRequest): Request model for agent interactions.
|
|
168
174
|
|
|
169
175
|
Raises:
|
|
@@ -171,7 +177,7 @@ def sync_detailed(
|
|
|
171
177
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
172
178
|
|
|
173
179
|
Returns:
|
|
174
|
-
Response[
|
|
180
|
+
Response[AgentResponse | Any | ErrorResponse | HTTPValidationError]
|
|
175
181
|
"""
|
|
176
182
|
|
|
177
183
|
kwargs = _get_kwargs(
|
|
@@ -192,8 +198,8 @@ def sync(
|
|
|
192
198
|
*,
|
|
193
199
|
client: AuthenticatedClient,
|
|
194
200
|
body: AgentRequest,
|
|
195
|
-
mode:
|
|
196
|
-
) ->
|
|
201
|
+
mode: None | ResponseMode | Unset = UNSET,
|
|
202
|
+
) -> AgentResponse | Any | ErrorResponse | HTTPValidationError | None:
|
|
197
203
|
r"""Auto-select agent for query
|
|
198
204
|
|
|
199
205
|
Automatically select the best agent for your query with intelligent execution strategy.
|
|
@@ -246,12 +252,18 @@ def sync(
|
|
|
246
252
|
- Leverage conversation history for contextual understanding
|
|
247
253
|
- Enable RAG for knowledge base enrichment
|
|
248
254
|
|
|
255
|
+
**Subgraph Support:**
|
|
256
|
+
This endpoint accepts both parent graph IDs and subgraph IDs.
|
|
257
|
+
- Parent graph: Use `graph_id` like `kg0123456789abcdef`
|
|
258
|
+
- Subgraph: Use full subgraph ID like `kg0123456789abcdef_dev`
|
|
259
|
+
Agents operate on the specified graph/subgraph's data independently. RAG enrichment
|
|
260
|
+
and knowledge base search are scoped to the specific graph/subgraph.
|
|
261
|
+
|
|
249
262
|
See request/response examples in the \"Examples\" dropdown below.
|
|
250
263
|
|
|
251
264
|
Args:
|
|
252
265
|
graph_id (str):
|
|
253
|
-
mode (
|
|
254
|
-
auto
|
|
266
|
+
mode (None | ResponseMode | Unset): Override execution mode: sync, async, stream, or auto
|
|
255
267
|
body (AgentRequest): Request model for agent interactions.
|
|
256
268
|
|
|
257
269
|
Raises:
|
|
@@ -259,7 +271,7 @@ def sync(
|
|
|
259
271
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
260
272
|
|
|
261
273
|
Returns:
|
|
262
|
-
|
|
274
|
+
AgentResponse | Any | ErrorResponse | HTTPValidationError
|
|
263
275
|
"""
|
|
264
276
|
|
|
265
277
|
return sync_detailed(
|
|
@@ -275,8 +287,8 @@ async def asyncio_detailed(
|
|
|
275
287
|
*,
|
|
276
288
|
client: AuthenticatedClient,
|
|
277
289
|
body: AgentRequest,
|
|
278
|
-
mode:
|
|
279
|
-
) -> Response[
|
|
290
|
+
mode: None | ResponseMode | Unset = UNSET,
|
|
291
|
+
) -> Response[AgentResponse | Any | ErrorResponse | HTTPValidationError]:
|
|
280
292
|
r"""Auto-select agent for query
|
|
281
293
|
|
|
282
294
|
Automatically select the best agent for your query with intelligent execution strategy.
|
|
@@ -329,12 +341,18 @@ async def asyncio_detailed(
|
|
|
329
341
|
- Leverage conversation history for contextual understanding
|
|
330
342
|
- Enable RAG for knowledge base enrichment
|
|
331
343
|
|
|
344
|
+
**Subgraph Support:**
|
|
345
|
+
This endpoint accepts both parent graph IDs and subgraph IDs.
|
|
346
|
+
- Parent graph: Use `graph_id` like `kg0123456789abcdef`
|
|
347
|
+
- Subgraph: Use full subgraph ID like `kg0123456789abcdef_dev`
|
|
348
|
+
Agents operate on the specified graph/subgraph's data independently. RAG enrichment
|
|
349
|
+
and knowledge base search are scoped to the specific graph/subgraph.
|
|
350
|
+
|
|
332
351
|
See request/response examples in the \"Examples\" dropdown below.
|
|
333
352
|
|
|
334
353
|
Args:
|
|
335
354
|
graph_id (str):
|
|
336
|
-
mode (
|
|
337
|
-
auto
|
|
355
|
+
mode (None | ResponseMode | Unset): Override execution mode: sync, async, stream, or auto
|
|
338
356
|
body (AgentRequest): Request model for agent interactions.
|
|
339
357
|
|
|
340
358
|
Raises:
|
|
@@ -342,7 +360,7 @@ async def asyncio_detailed(
|
|
|
342
360
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
343
361
|
|
|
344
362
|
Returns:
|
|
345
|
-
Response[
|
|
363
|
+
Response[AgentResponse | Any | ErrorResponse | HTTPValidationError]
|
|
346
364
|
"""
|
|
347
365
|
|
|
348
366
|
kwargs = _get_kwargs(
|
|
@@ -361,8 +379,8 @@ async def asyncio(
|
|
|
361
379
|
*,
|
|
362
380
|
client: AuthenticatedClient,
|
|
363
381
|
body: AgentRequest,
|
|
364
|
-
mode:
|
|
365
|
-
) ->
|
|
382
|
+
mode: None | ResponseMode | Unset = UNSET,
|
|
383
|
+
) -> AgentResponse | Any | ErrorResponse | HTTPValidationError | None:
|
|
366
384
|
r"""Auto-select agent for query
|
|
367
385
|
|
|
368
386
|
Automatically select the best agent for your query with intelligent execution strategy.
|
|
@@ -415,12 +433,18 @@ async def asyncio(
|
|
|
415
433
|
- Leverage conversation history for contextual understanding
|
|
416
434
|
- Enable RAG for knowledge base enrichment
|
|
417
435
|
|
|
436
|
+
**Subgraph Support:**
|
|
437
|
+
This endpoint accepts both parent graph IDs and subgraph IDs.
|
|
438
|
+
- Parent graph: Use `graph_id` like `kg0123456789abcdef`
|
|
439
|
+
- Subgraph: Use full subgraph ID like `kg0123456789abcdef_dev`
|
|
440
|
+
Agents operate on the specified graph/subgraph's data independently. RAG enrichment
|
|
441
|
+
and knowledge base search are scoped to the specific graph/subgraph.
|
|
442
|
+
|
|
418
443
|
See request/response examples in the \"Examples\" dropdown below.
|
|
419
444
|
|
|
420
445
|
Args:
|
|
421
446
|
graph_id (str):
|
|
422
|
-
mode (
|
|
423
|
-
auto
|
|
447
|
+
mode (None | ResponseMode | Unset): Override execution mode: sync, async, stream, or auto
|
|
424
448
|
body (AgentRequest): Request model for agent interactions.
|
|
425
449
|
|
|
426
450
|
Raises:
|
|
@@ -428,7 +452,7 @@ async def asyncio(
|
|
|
428
452
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
429
453
|
|
|
430
454
|
Returns:
|
|
431
|
-
|
|
455
|
+
AgentResponse | Any | ErrorResponse | HTTPValidationError
|
|
432
456
|
"""
|
|
433
457
|
|
|
434
458
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any,
|
|
2
|
+
from typing import Any, cast
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -32,8 +32,8 @@ def _get_kwargs(
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
def _parse_response(
|
|
35
|
-
*, client:
|
|
36
|
-
) ->
|
|
35
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
36
|
+
) -> Any | BatchAgentResponse | HTTPValidationError | None:
|
|
37
37
|
if response.status_code == 200:
|
|
38
38
|
response_200 = BatchAgentResponse.from_dict(response.json())
|
|
39
39
|
|
|
@@ -63,8 +63,8 @@ def _parse_response(
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
def _build_response(
|
|
66
|
-
*, client:
|
|
67
|
-
) -> Response[
|
|
66
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
67
|
+
) -> Response[Any | BatchAgentResponse | HTTPValidationError]:
|
|
68
68
|
return Response(
|
|
69
69
|
status_code=HTTPStatus(response.status_code),
|
|
70
70
|
content=response.content,
|
|
@@ -78,7 +78,7 @@ def sync_detailed(
|
|
|
78
78
|
*,
|
|
79
79
|
client: AuthenticatedClient,
|
|
80
80
|
body: BatchAgentRequest,
|
|
81
|
-
) -> Response[
|
|
81
|
+
) -> Response[Any | BatchAgentResponse | HTTPValidationError]:
|
|
82
82
|
"""Batch process multiple queries
|
|
83
83
|
|
|
84
84
|
Process multiple queries either sequentially or in parallel.
|
|
@@ -105,7 +105,7 @@ def sync_detailed(
|
|
|
105
105
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
106
106
|
|
|
107
107
|
Returns:
|
|
108
|
-
Response[
|
|
108
|
+
Response[Any | BatchAgentResponse | HTTPValidationError]
|
|
109
109
|
"""
|
|
110
110
|
|
|
111
111
|
kwargs = _get_kwargs(
|
|
@@ -125,7 +125,7 @@ def sync(
|
|
|
125
125
|
*,
|
|
126
126
|
client: AuthenticatedClient,
|
|
127
127
|
body: BatchAgentRequest,
|
|
128
|
-
) ->
|
|
128
|
+
) -> Any | BatchAgentResponse | HTTPValidationError | None:
|
|
129
129
|
"""Batch process multiple queries
|
|
130
130
|
|
|
131
131
|
Process multiple queries either sequentially or in parallel.
|
|
@@ -152,7 +152,7 @@ def sync(
|
|
|
152
152
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
153
153
|
|
|
154
154
|
Returns:
|
|
155
|
-
|
|
155
|
+
Any | BatchAgentResponse | HTTPValidationError
|
|
156
156
|
"""
|
|
157
157
|
|
|
158
158
|
return sync_detailed(
|
|
@@ -167,7 +167,7 @@ async def asyncio_detailed(
|
|
|
167
167
|
*,
|
|
168
168
|
client: AuthenticatedClient,
|
|
169
169
|
body: BatchAgentRequest,
|
|
170
|
-
) -> Response[
|
|
170
|
+
) -> Response[Any | BatchAgentResponse | HTTPValidationError]:
|
|
171
171
|
"""Batch process multiple queries
|
|
172
172
|
|
|
173
173
|
Process multiple queries either sequentially or in parallel.
|
|
@@ -194,7 +194,7 @@ async def asyncio_detailed(
|
|
|
194
194
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
195
195
|
|
|
196
196
|
Returns:
|
|
197
|
-
Response[
|
|
197
|
+
Response[Any | BatchAgentResponse | HTTPValidationError]
|
|
198
198
|
"""
|
|
199
199
|
|
|
200
200
|
kwargs = _get_kwargs(
|
|
@@ -212,7 +212,7 @@ async def asyncio(
|
|
|
212
212
|
*,
|
|
213
213
|
client: AuthenticatedClient,
|
|
214
214
|
body: BatchAgentRequest,
|
|
215
|
-
) ->
|
|
215
|
+
) -> Any | BatchAgentResponse | HTTPValidationError | None:
|
|
216
216
|
"""Batch process multiple queries
|
|
217
217
|
|
|
218
218
|
Process multiple queries either sequentially or in parallel.
|
|
@@ -239,7 +239,7 @@ async def asyncio(
|
|
|
239
239
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
240
240
|
|
|
241
241
|
Returns:
|
|
242
|
-
|
|
242
|
+
Any | BatchAgentResponse | HTTPValidationError
|
|
243
243
|
"""
|
|
244
244
|
|
|
245
245
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any,
|
|
2
|
+
from typing import Any, cast
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -18,13 +18,13 @@ def _get_kwargs(
|
|
|
18
18
|
agent_type: str,
|
|
19
19
|
*,
|
|
20
20
|
body: AgentRequest,
|
|
21
|
-
mode:
|
|
21
|
+
mode: None | ResponseMode | Unset = UNSET,
|
|
22
22
|
) -> dict[str, Any]:
|
|
23
23
|
headers: dict[str, Any] = {}
|
|
24
24
|
|
|
25
25
|
params: dict[str, Any] = {}
|
|
26
26
|
|
|
27
|
-
json_mode:
|
|
27
|
+
json_mode: None | str | Unset
|
|
28
28
|
if isinstance(mode, Unset):
|
|
29
29
|
json_mode = UNSET
|
|
30
30
|
elif isinstance(mode, ResponseMode):
|
|
@@ -50,8 +50,8 @@ def _get_kwargs(
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
def _parse_response(
|
|
53
|
-
*, client:
|
|
54
|
-
) ->
|
|
53
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
54
|
+
) -> AgentResponse | Any | ErrorResponse | HTTPValidationError | None:
|
|
55
55
|
if response.status_code == 200:
|
|
56
56
|
response_200 = AgentResponse.from_dict(response.json())
|
|
57
57
|
|
|
@@ -94,8 +94,8 @@ def _parse_response(
|
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
def _build_response(
|
|
97
|
-
*, client:
|
|
98
|
-
) -> Response[
|
|
97
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
98
|
+
) -> Response[AgentResponse | Any | ErrorResponse | HTTPValidationError]:
|
|
99
99
|
return Response(
|
|
100
100
|
status_code=HTTPStatus(response.status_code),
|
|
101
101
|
content=response.content,
|
|
@@ -110,8 +110,8 @@ def sync_detailed(
|
|
|
110
110
|
*,
|
|
111
111
|
client: AuthenticatedClient,
|
|
112
112
|
body: AgentRequest,
|
|
113
|
-
mode:
|
|
114
|
-
) -> Response[
|
|
113
|
+
mode: None | ResponseMode | Unset = UNSET,
|
|
114
|
+
) -> Response[AgentResponse | Any | ErrorResponse | HTTPValidationError]:
|
|
115
115
|
"""Execute specific agent
|
|
116
116
|
|
|
117
117
|
Execute a specific agent type directly with intelligent execution strategy.
|
|
@@ -134,8 +134,7 @@ def sync_detailed(
|
|
|
134
134
|
Args:
|
|
135
135
|
graph_id (str):
|
|
136
136
|
agent_type (str):
|
|
137
|
-
mode (
|
|
138
|
-
auto
|
|
137
|
+
mode (None | ResponseMode | Unset): Override execution mode: sync, async, stream, or auto
|
|
139
138
|
body (AgentRequest): Request model for agent interactions.
|
|
140
139
|
|
|
141
140
|
Raises:
|
|
@@ -143,7 +142,7 @@ def sync_detailed(
|
|
|
143
142
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
144
143
|
|
|
145
144
|
Returns:
|
|
146
|
-
Response[
|
|
145
|
+
Response[AgentResponse | Any | ErrorResponse | HTTPValidationError]
|
|
147
146
|
"""
|
|
148
147
|
|
|
149
148
|
kwargs = _get_kwargs(
|
|
@@ -166,8 +165,8 @@ def sync(
|
|
|
166
165
|
*,
|
|
167
166
|
client: AuthenticatedClient,
|
|
168
167
|
body: AgentRequest,
|
|
169
|
-
mode:
|
|
170
|
-
) ->
|
|
168
|
+
mode: None | ResponseMode | Unset = UNSET,
|
|
169
|
+
) -> AgentResponse | Any | ErrorResponse | HTTPValidationError | None:
|
|
171
170
|
"""Execute specific agent
|
|
172
171
|
|
|
173
172
|
Execute a specific agent type directly with intelligent execution strategy.
|
|
@@ -190,8 +189,7 @@ def sync(
|
|
|
190
189
|
Args:
|
|
191
190
|
graph_id (str):
|
|
192
191
|
agent_type (str):
|
|
193
|
-
mode (
|
|
194
|
-
auto
|
|
192
|
+
mode (None | ResponseMode | Unset): Override execution mode: sync, async, stream, or auto
|
|
195
193
|
body (AgentRequest): Request model for agent interactions.
|
|
196
194
|
|
|
197
195
|
Raises:
|
|
@@ -199,7 +197,7 @@ def sync(
|
|
|
199
197
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
200
198
|
|
|
201
199
|
Returns:
|
|
202
|
-
|
|
200
|
+
AgentResponse | Any | ErrorResponse | HTTPValidationError
|
|
203
201
|
"""
|
|
204
202
|
|
|
205
203
|
return sync_detailed(
|
|
@@ -217,8 +215,8 @@ async def asyncio_detailed(
|
|
|
217
215
|
*,
|
|
218
216
|
client: AuthenticatedClient,
|
|
219
217
|
body: AgentRequest,
|
|
220
|
-
mode:
|
|
221
|
-
) -> Response[
|
|
218
|
+
mode: None | ResponseMode | Unset = UNSET,
|
|
219
|
+
) -> Response[AgentResponse | Any | ErrorResponse | HTTPValidationError]:
|
|
222
220
|
"""Execute specific agent
|
|
223
221
|
|
|
224
222
|
Execute a specific agent type directly with intelligent execution strategy.
|
|
@@ -241,8 +239,7 @@ async def asyncio_detailed(
|
|
|
241
239
|
Args:
|
|
242
240
|
graph_id (str):
|
|
243
241
|
agent_type (str):
|
|
244
|
-
mode (
|
|
245
|
-
auto
|
|
242
|
+
mode (None | ResponseMode | Unset): Override execution mode: sync, async, stream, or auto
|
|
246
243
|
body (AgentRequest): Request model for agent interactions.
|
|
247
244
|
|
|
248
245
|
Raises:
|
|
@@ -250,7 +247,7 @@ async def asyncio_detailed(
|
|
|
250
247
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
251
248
|
|
|
252
249
|
Returns:
|
|
253
|
-
Response[
|
|
250
|
+
Response[AgentResponse | Any | ErrorResponse | HTTPValidationError]
|
|
254
251
|
"""
|
|
255
252
|
|
|
256
253
|
kwargs = _get_kwargs(
|
|
@@ -271,8 +268,8 @@ async def asyncio(
|
|
|
271
268
|
*,
|
|
272
269
|
client: AuthenticatedClient,
|
|
273
270
|
body: AgentRequest,
|
|
274
|
-
mode:
|
|
275
|
-
) ->
|
|
271
|
+
mode: None | ResponseMode | Unset = UNSET,
|
|
272
|
+
) -> AgentResponse | Any | ErrorResponse | HTTPValidationError | None:
|
|
276
273
|
"""Execute specific agent
|
|
277
274
|
|
|
278
275
|
Execute a specific agent type directly with intelligent execution strategy.
|
|
@@ -295,8 +292,7 @@ async def asyncio(
|
|
|
295
292
|
Args:
|
|
296
293
|
graph_id (str):
|
|
297
294
|
agent_type (str):
|
|
298
|
-
mode (
|
|
299
|
-
auto
|
|
295
|
+
mode (None | ResponseMode | Unset): Override execution mode: sync, async, stream, or auto
|
|
300
296
|
body (AgentRequest): Request model for agent interactions.
|
|
301
297
|
|
|
302
298
|
Raises:
|
|
@@ -304,7 +300,7 @@ async def asyncio(
|
|
|
304
300
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
305
301
|
|
|
306
302
|
Returns:
|
|
307
|
-
|
|
303
|
+
AgentResponse | Any | ErrorResponse | HTTPValidationError
|
|
308
304
|
"""
|
|
309
305
|
|
|
310
306
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any,
|
|
2
|
+
from typing import Any, cast
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -23,8 +23,8 @@ def _get_kwargs(
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
def _parse_response(
|
|
26
|
-
*, client:
|
|
27
|
-
) ->
|
|
26
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
27
|
+
) -> AgentMetadataResponse | Any | HTTPValidationError | None:
|
|
28
28
|
if response.status_code == 200:
|
|
29
29
|
response_200 = AgentMetadataResponse.from_dict(response.json())
|
|
30
30
|
|
|
@@ -46,8 +46,8 @@ def _parse_response(
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
def _build_response(
|
|
49
|
-
*, client:
|
|
50
|
-
) -> Response[
|
|
49
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
50
|
+
) -> Response[AgentMetadataResponse | Any | HTTPValidationError]:
|
|
51
51
|
return Response(
|
|
52
52
|
status_code=HTTPStatus(response.status_code),
|
|
53
53
|
content=response.content,
|
|
@@ -61,7 +61,7 @@ def sync_detailed(
|
|
|
61
61
|
agent_type: str,
|
|
62
62
|
*,
|
|
63
63
|
client: AuthenticatedClient,
|
|
64
|
-
) -> Response[
|
|
64
|
+
) -> Response[AgentMetadataResponse | Any | HTTPValidationError]:
|
|
65
65
|
"""Get agent metadata
|
|
66
66
|
|
|
67
67
|
Get comprehensive metadata for a specific agent type.
|
|
@@ -85,7 +85,7 @@ def sync_detailed(
|
|
|
85
85
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
86
86
|
|
|
87
87
|
Returns:
|
|
88
|
-
Response[
|
|
88
|
+
Response[AgentMetadataResponse | Any | HTTPValidationError]
|
|
89
89
|
"""
|
|
90
90
|
|
|
91
91
|
kwargs = _get_kwargs(
|
|
@@ -105,7 +105,7 @@ def sync(
|
|
|
105
105
|
agent_type: str,
|
|
106
106
|
*,
|
|
107
107
|
client: AuthenticatedClient,
|
|
108
|
-
) ->
|
|
108
|
+
) -> AgentMetadataResponse | Any | HTTPValidationError | None:
|
|
109
109
|
"""Get agent metadata
|
|
110
110
|
|
|
111
111
|
Get comprehensive metadata for a specific agent type.
|
|
@@ -129,7 +129,7 @@ def sync(
|
|
|
129
129
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
130
130
|
|
|
131
131
|
Returns:
|
|
132
|
-
|
|
132
|
+
AgentMetadataResponse | Any | HTTPValidationError
|
|
133
133
|
"""
|
|
134
134
|
|
|
135
135
|
return sync_detailed(
|
|
@@ -144,7 +144,7 @@ async def asyncio_detailed(
|
|
|
144
144
|
agent_type: str,
|
|
145
145
|
*,
|
|
146
146
|
client: AuthenticatedClient,
|
|
147
|
-
) -> Response[
|
|
147
|
+
) -> Response[AgentMetadataResponse | Any | HTTPValidationError]:
|
|
148
148
|
"""Get agent metadata
|
|
149
149
|
|
|
150
150
|
Get comprehensive metadata for a specific agent type.
|
|
@@ -168,7 +168,7 @@ async def asyncio_detailed(
|
|
|
168
168
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
169
169
|
|
|
170
170
|
Returns:
|
|
171
|
-
Response[
|
|
171
|
+
Response[AgentMetadataResponse | Any | HTTPValidationError]
|
|
172
172
|
"""
|
|
173
173
|
|
|
174
174
|
kwargs = _get_kwargs(
|
|
@@ -186,7 +186,7 @@ async def asyncio(
|
|
|
186
186
|
agent_type: str,
|
|
187
187
|
*,
|
|
188
188
|
client: AuthenticatedClient,
|
|
189
|
-
) ->
|
|
189
|
+
) -> AgentMetadataResponse | Any | HTTPValidationError | None:
|
|
190
190
|
"""Get agent metadata
|
|
191
191
|
|
|
192
192
|
Get comprehensive metadata for a specific agent type.
|
|
@@ -210,7 +210,7 @@ async def asyncio(
|
|
|
210
210
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
211
211
|
|
|
212
212
|
Returns:
|
|
213
|
-
|
|
213
|
+
AgentMetadataResponse | Any | HTTPValidationError
|
|
214
214
|
"""
|
|
215
215
|
|
|
216
216
|
return (
|