{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Health Check","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/agents/list":{"get":{"tags":["agents"],"summary":"List Agents","description":"Retrieve a list of indices for a given organization.\n\nThis endpoint allows users to fetch the indices associated with their organization by providing the organization ID.\nIt ensures that the user is authenticated before allowing access to the organization's indices.\n\nParameters:\n- orgID (str): The unique identifier of the organization whose indices are to be retrieved.\n- current_user (User): The current authenticated user. This parameter is automatically\n  resolved through dependency injection by verifying the user's authentication status.\n\nReturns:\n- dict: A dictionary containing the indices found for the given organization ID. If no indices are found,\n  the returned dictionary will be empty.","operationId":"list_agents_agents_list_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"orgId","in":"query","required":true,"schema":{"title":"Orgid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agents/create":{"post":{"tags":["agents"],"summary":"Create Agent","description":"_summary_\n\nArgs:\n    body (CreateAgentsRequest): _description_\n    current_user (User, optional): _description_. Defaults to Depends(global_config.auth.require_user).","operationId":"create_agent_agents_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAgentsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/agents/recommend_personality":{"post":{"tags":["agents"],"summary":"Generate Personality","description":"Generate personality for an agent.","operationId":"generate_personality_agents_recommend_personality_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratePersonalityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/agents/get_agent":{"get":{"tags":["agents"],"summary":"Get Agent","description":"Retrieve an agent by its ID.\n\nThis endpoint allows users to fetch an agent by providing the agent's ID.\nIt ensures that the user is authenticated before allowing access to the agent.\n\nParameters:\n- agentId (str): The unique identifier of the agent to be retrieved.\n- current_user (User): The current authenticated user. This parameter is automatically\n  resolved through dependency injection by verifying the user's authentication status.\n\nReturns:\n- dict: A dictionary containing the agent found for the given agent ID. If no agent is found,\n  the returned dictionary will be empty.","operationId":"get_agent_agents_get_agent_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"agentId","in":"query","required":true,"schema":{"type":"string","title":"Agentid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agents/get_agent_rag":{"get":{"tags":["agents"],"summary":"Get Rags","operationId":"get_rags_agents_get_agent_rag_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"agentId","in":"query","required":true,"schema":{"type":"string","title":"Agentid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agents/update_rag":{"post":{"tags":["agents"],"summary":"Update Agent Rag","operationId":"update_agent_rag_agents_update_rag_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDataUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/agents/update_agent":{"post":{"tags":["agents"],"summary":"Update Agent","description":"Update an agent.\n\nThis endpoint allows users to update an agent by providing the agent's ID and the new agent data.\nIt ensures that the user is authenticated before allowing access to the agent.\n\nParameters:\n- body (dict): A dictionary containing the agent ID and the new agent data to be updated.\n- current_user (User): The current authenticated user. This parameter is automatically\n  resolved through dependency injection by verifying the user's authentication status.\n\nReturns:\n- dict: A dictionary containing the updated agent data. If the agent ID is not found, the returned\n  dictionary will be empty.","operationId":"update_agent_agents_update_agent_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/indices/dashboard/metadata":{"post":{"tags":["indices","Indices, analyics"],"summary":"Get Metadata","description":"Get metadata for the specified index.\n\nThis endpoint retrieves the metadata for the specified index,\nreturning the index name, description, and the number of listings.\n\nParameters:\n- body: IndexRequest - The request body containing the index ID for which to retrieve metadata.\n- current_user: User - The current user, obtained through dependency injection, to ensure\n  that the user is authenticated.\n\nReturns:\n- dict: A dictionary containing the index name, description, and the number of listings.","operationId":"get_metadata_indices_dashboard_metadata_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/routes__indices__analytics__IndexRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/indices/dashboard/active_listings":{"post":{"tags":["indices","Indices, analyics"],"summary":"Get Active Listings","description":"Get current active listings for the specified index.\n\nThis endpoint retrieves the list of active listings for the specified index,\nreturning the list of listings along with the total number of listings.\n\nParameters:\n- body: IndexRequest - The request body containing the index ID for which to retrieve active listings.\n- current_user: User - The current user, obtained through dependency injection, to ensure\n  that the user is authenticated.\n\nReturns:\n- dict: A dictionary containing the list of active listings (`listings`) and the total number of listings (`total`).","operationId":"get_active_listings_indices_dashboard_active_listings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/routes__indices__analytics__IndexRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/indices/dashboard/top_keywords":{"post":{"tags":["indices","Indices, analyics"],"summary":"Top Keywords","operationId":"top_keywords_indices_dashboard_top_keywords_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/routes__indices__analytics__IndexRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/indices/dashboard/search_count":{"post":{"tags":["indices","Indices, analyics"],"summary":"Total Searches","description":"Get the total number of searches for the specified index.","operationId":"total_searches_indices_dashboard_search_count_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/routes__indices__analytics__IndexRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/indices/dashboard/search_count_30days":{"post":{"tags":["indices","Indices, analyics"],"summary":"Total Searches","operationId":"total_searches_indices_dashboard_search_count_30days_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/routes__indices__analytics__IndexRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/indices/dashboard/clickthrough_count":{"post":{"tags":["indices","Indices, analyics"],"summary":"Total Clickthroughs","description":"Get the total number of clickthroughs for the specified index.","operationId":"total_clickthroughs_indices_dashboard_clickthrough_count_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/routes__indices__analytics__IndexRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/indices/dashboard/roi_data":{"post":{"tags":["indices","Indices, analyics"],"summary":"Roi Data","description":"Get the data for calculating ROI for the specified index.","operationId":"roi_data_indices_dashboard_roi_data_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/routes__indices__analytics__IndexRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/indices/dashboard/search_conversion_data":{"post":{"tags":["indices","Indices, analyics"],"summary":"Status","operationId":"status_indices_dashboard_search_conversion_data_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/routes__indices__analytics__IndexRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/indices/dashboard/conversion_funnel":{"post":{"tags":["indices","Indices, analyics"],"summary":"Conversion Funnel","operationId":"conversion_funnel_indices_dashboard_conversion_funnel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversionFunnelRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/indices/delete_index":{"post":{"tags":["indices","Indices, management"],"summary":"Delete Index","description":"Delete an index for a given organization.\n\nThis endpoint allows users to delete an index for a given organization.\nIt ensures that the user is authenticated before allowing access to the organization's indices.","operationId":"delete_index_indices_delete_index_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/models__requests__IndexRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/indices/list_indices":{"post":{"tags":["indices"],"summary":"List Indices","description":"Retrieve a list of indices for a given organization.\n\nThis endpoint allows users to fetch the indices associated with their organization by providing the organization ID.\nIt ensures that the user is authenticated before allowing access to the organization's indices.\n\nParameters:\n- orgID (str): The unique identifier of the organization whose indices are to be retrieved.\n- current_user (User): The current authenticated user. This parameter is automatically\n  resolved through dependency injection by verifying the user's authentication status.\n\nReturns:\n- dict: A dictionary containing the indices found for the given organization ID. If no indices are found,\n  the returned dictionary will be empty.","operationId":"list_indices_indices_list_indices_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/indices/list":{"get":{"tags":["indices"],"summary":"Get Indices","description":"Retrieve a list of indices for a given organization.\n\nThis endpoint allows users to fetch the indices associated with their organization by providing the organization ID.\nIt ensures that the user is authenticated before allowing access to the organization's indices.\n\nParameters:\n- orgID (str): The unique identifier of the organization whose indices are to be retrieved.\n- current_user (User): The current authenticated user. This parameter is automatically\n  resolved through dependency injection by verifying the user's authentication status.\n\nReturns:\n- dict: A dictionary containing the indices found for the given organization ID. If no indices are found,\n  the returned dictionary will be empty.","operationId":"get_indices_indices_list_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"orgID","in":"query","required":true,"schema":{"title":"Orgid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/indices/create_index":{"post":{"tags":["indices"],"summary":"Create Index","description":"Create an index for a given organization.\n\nThis endpoint allows users to create an index for a given organization.\nIt ensures that the user is authenticated before allowing access to the organization's indices.","operationId":"create_index_indices_create_index_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_index_indices_create_index_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/keys/create":{"post":{"tags":["keys"],"summary":"Create Key","operationId":"create_key_keys_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/keys/fetch":{"post":{"tags":["keys"],"summary":"Fetch Key","operationId":"fetch_key_keys_fetch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/keys/delete":{"post":{"tags":["keys"],"summary":"Delete Key","operationId":"delete_key_keys_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/organizations/list":{"post":{"tags":["orgs"],"summary":"List Organizations","description":"Endpoint to list all organizations.","operationId":"list_organizations_organizations_list_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/organizations/getOrgDetails":{"post":{"tags":["orgs"],"summary":"Get Organization Details","description":"Endpoint to get organization details.","operationId":"get_organization_details_organizations_getOrgDetails_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"orgID","in":"query","required":true,"schema":{"type":"string","title":"Orgid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/organizations/create":{"post":{"tags":["orgs"],"summary":"Create Organization","description":"Endpoint to create organization.","operationId":"create_organization_organizations_create_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Request"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/organizations/credits_overview":{"post":{"tags":["orgs"],"summary":"Available Credits","description":"Endpoint to get available credits.","operationId":"available_credits_organizations_credits_overview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/organizations/fetchPaymentMethods":{"post":{"tags":["orgs"],"summary":"Fetch Payment Methods","description":"Endpoint to fetch payment methods.","operationId":"fetch_payment_methods_organizations_fetchPaymentMethods_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/organizations/fetchDefaultPaymentMethod":{"post":{"tags":["orgs"],"summary":"Update Payment Method","operationId":"update_payment_method_organizations_fetchDefaultPaymentMethod_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/organizations/add-credits":{"post":{"tags":["orgs"],"summary":"Add Credits","operationId":"add_credits_organizations_add_credits_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/organizations/confirm-transaction":{"post":{"tags":["orgs"],"summary":"Confirm Transaction","operationId":"confirm_transaction_organizations_confirm_transaction_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/organizations/cancel-transaction":{"post":{"tags":["orgs"],"summary":"Update Payment Method","operationId":"update_payment_method_organizations_cancel_transaction_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/create_index/register_index":{"post":{"tags":["create_index"],"summary":"Register Index","operationId":"register_index_create_index_register_index_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_register_index_create_index_register_index_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/create_index/process_source":{"post":{"tags":["create_index"],"summary":"Process Source","operationId":"process_source_create_index_process_source_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_process_source_create_index_process_source_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/dashboard/overview":{"get":{"tags":["dashboard"],"summary":"Get basic statistics overview","description":"Retrieve basic statistics for the specified index within the given date range.\n\nParameters:\n- index_id: The ID of the index to query\n- start_date: Start date for the query (defaults to 70 days ago)\n- end_date: End date for the query (defaults to current date)\n- granularity: Data granularity (currently unused)\n\nReturns:\n- A list of daily statistics sorted by date","operationId":"get_basic_stats_dashboard_overview_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"index_id","in":"query","required":true,"schema":{"type":"string","title":"Index Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},{"name":"granularity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Granularity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Get Basic Stats Dashboard Overview Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/sessions":{"get":{"tags":["dashboard"],"summary":"Get session data","description":"Retrieve session data for the specified index within the given date range.\n\nParameters:\n- index_id: The ID of the index to query\n- start_date: Start date for the query (defaults to 70 days ago)\n- end_date: End date for the query (defaults to current date)\n- granularity: Data granularity (currently unused)\n\nReturns:\n- A list of daily session statistics sorted by date","operationId":"get_sessions_dashboard_sessions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"index_id","in":"query","required":true,"schema":{"type":"string","title":"Index Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},{"name":"granularity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Granularity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Get Sessions Dashboard Sessions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/impact_analysis":{"get":{"tags":["dashboard"],"summary":"Get impact analysis data","description":"Retrieve impact analysis data for the specified index within the given date range.\n\nParameters:\n- index_id: The ID of the index to query\n- start_date: Start date for the query (defaults to 70 days ago)\n- end_date: End date for the query (defaults to current date)\n\nReturns:\n- A list of impact analysis statistics sorted by date","operationId":"get_impact_analysis_dashboard_impact_analysis_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"index_id","in":"query","required":true,"schema":{"type":"string","title":"Index Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/search_usage_analysis":{"get":{"tags":["dashboard"],"summary":"Get detailed search usage analysis","description":"Retrieve detailed search usage analytics including conversions and cart additions.\n\nParameters:\n- index_id: The ID of the index to query\n- start_date: Start date for the query (defaults to 70 days ago)\n- end_date: End date for the query (defaults to current date)\n\nReturns:\n- A list of daily search usage statistics with conversion metrics","operationId":"get_search_usage_analysis_dashboard_search_usage_analysis_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"index_id","in":"query","required":true,"schema":{"type":"string","title":"Index Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Get Search Usage Analysis Dashboard Search Usage Analysis Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/keyword_analysis":{"get":{"tags":["dashboard"],"summary":"Get keyword analysis data","description":"Retrieve keyword analysis including frequency, conversion rates, and cart addition rates.\n\nParameters:\n- index_id: The ID of the index to query\n- start_date: Start date for the query (defaults to 70 days ago)\n- end_date: End date for the query (defaults to current date)\n- limit: Maximum number of keywords to return (default 100)\n\nReturns:\n- A list of keyword statistics with search volume and performance metrics","operationId":"get_keyword_analysis_dashboard_keyword_analysis_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"index_id","in":"query","required":true,"schema":{"type":"string","title":"Index Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Get Keyword Analysis Dashboard Keyword Analysis Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/keyword_trend_analysis":{"get":{"tags":["dashboard"],"summary":"Get keyword trend data over time","description":"Retrieve keyword trend analysis over time for top keywords.\n\nParameters:\n- index_id: The ID of the index to query\n- start_date: Start date for the query (defaults to 70 days ago)\n- end_date: End date for the query (defaults to current date)\n- top_n: Number of top keywords to analyze trends for (default 10)\n\nReturns:\n- A dictionary containing dates and keyword performance data over time","operationId":"get_keyword_trend_analysis_dashboard_keyword_trend_analysis_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"index_id","in":"query","required":true,"schema":{"type":"string","title":"Index Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},{"name":"top_n","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":10,"title":"Top N"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Keyword Trend Analysis Dashboard Keyword Trend Analysis Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/keyword_performance_analysis":{"get":{"tags":["dashboard"],"summary":"Get categorized keyword performance analysis","description":"Analyze keyword performance and identify opportunities and issues.\n\nParameters:\n- index_id: The ID of the index to query\n- start_date: Start date for the query (defaults to 70 days ago)\n- end_date: End date for the query (defaults to current date)\n- min_searches: Minimum number of searches required for analysis (default 5)\n\nReturns:\n- A dictionary containing keywords categorized by performance levels (high performing, \n  potential opportunities, needs improvement, low performing, average performing)","operationId":"get_keyword_performance_analysis_dashboard_keyword_performance_analysis_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"index_id","in":"query","required":true,"schema":{"type":"string","title":"Index Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},{"name":"min_searches","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":5,"title":"Min Searches"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Keyword Performance Analysis Dashboard Keyword Performance Analysis Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/popular_products_by_keyword":{"get":{"tags":["dashboard"],"summary":"Get most popular products for search keywords","description":"Analyze which products are most frequently converted for specific search keywords.\n\nParameters:\n- index_id: The ID of the index to query\n- keyword: Optional specific keyword to analyze (if None, returns data for top keywords)\n- start_date: Start date for the query (defaults to 70 days ago)\n- end_date: End date for the query (defaults to current date)\n- limit: Maximum number of products to return per keyword (default 10)\n- return_full_data: When True, returns the complete JSON structure of the first conversion\n\nReturns:\n- A dictionary containing popular products by keyword, with product details and conversion counts","operationId":"get_popular_products_by_keyword_dashboard_popular_products_by_keyword_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"index_id","in":"query","required":true,"schema":{"type":"string","title":"Index Id"}},{"name":"keyword","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyword"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":10,"title":"Limit"}},{"name":"return_full_data","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"title":"Return Full Data"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Popular Products By Keyword Dashboard Popular Products By Keyword Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/agentic_deep_dive_insights":{"get":{"tags":["dashboard"],"summary":"Get agentic deep dive insights","description":"Retrieve agentic deep dive insights for the specified index.\n\nParameters:\n- index_id: The ID of the index to query\n- start_date: Start date for the query (defaults to 70 days ago)\n- end_date: End date for the query (defaults to current date)\n- framework: Framework to use for insight generation (\"native\", \"crewai\", or \"autogen\")\n\nReturns:\n- A dictionary containing agentic deep dive insights","operationId":"get_agentic_deep_dive_insights_dashboard_agentic_deep_dive_insights_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"index_id","in":"query","required":true,"schema":{"type":"string","title":"Index Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},{"name":"framework","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"native","title":"Framework"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Agentic Deep Dive Insights Dashboard Agentic Deep Dive Insights Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/is_shopify":{"get":{"tags":["dashboard"],"summary":"Check if index is from Shopify","description":"Determine if the specified index is from a Shopify source.\n\nParameters:\n- index_id: The ID of the index to check\n\nReturns:\n- A dictionary indicating whether the index is from Shopify","operationId":"is_shopify_dashboard_is_shopify_get","parameters":[{"name":"index_id","in":"query","required":true,"schema":{"type":"string","title":"Index Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Is Shopify Dashboard Is Shopify Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/get_similar_search_products":{"get":{"tags":["dashboard"],"summary":"Get list of products for similar search","description":"Retrieve a list of products that can be used for similar search functionality.\n\nParameters:\n- index_id: The ID of the index to query\n\nReturns:\n- A list of tuples containing product_id and product_name","operationId":"get_similar_search_products_dashboard_get_similar_search_products_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"index_id","in":"query","required":true,"schema":{"type":"string","title":"Index Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":"string"}],"minItems":2,"maxItems":2},"title":"Response Get Similar Search Products Dashboard Get Similar Search Products Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/settings/checkBoostsReady":{"post":{"tags":["settings"],"summary":"Check Boosts Ready","description":"Check if boosts are ready for a specific configuration.","operationId":"check_boosts_ready_settings_checkBoostsReady_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckBoostsReadyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/settings/getFieldNames":{"post":{"tags":["settings"],"summary":"Get Field Names","description":"Retrieve the list of field names from an index's metadata.","operationId":"get_field_names_settings_getFieldNames_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldExamplesRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/settings/getFieldValues":{"post":{"tags":["settings"],"summary":"Get Field Values","description":"Retrieve distinct values for a specific field in the documents collection.","operationId":"get_field_values_settings_getFieldValues_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldValuesRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/settings/updateBoosts":{"post":{"tags":["settings"],"summary":"Update Boosts","description":"Update the boosts for a specific configuration.","operationId":"update_boosts_settings_updateBoosts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBoostsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/settings/createConfiguration":{"post":{"tags":["settings"],"summary":"Create Configuration","description":"Create a new configuration.","operationId":"create_configuration_settings_createConfiguration_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConfigurationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/settings/deactivateConfiguration":{"post":{"tags":["settings"],"summary":"Deactivate Configuration","description":"Deactivate a specific configuration.","operationId":"deactivate_configuration_settings_deactivateConfiguration_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateConfigurationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/settings/deleteConfiguration":{"post":{"tags":["settings"],"summary":"Delete Configuration","description":"Delete a specific configuration.","operationId":"delete_configuration_settings_deleteConfiguration_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateConfigurationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/settings/activateConfiguration":{"post":{"tags":["settings"],"summary":"Activate Configuration","description":"Activate a specific configuration and deactivate others.","operationId":"activate_configuration_settings_activateConfiguration_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateConfigurationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/settings/getConfigurations":{"post":{"tags":["settings"],"summary":"Get Configurations","description":"Retrieve all configurations.","operationId":"get_configurations_settings_getConfigurations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetConfigurationsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/settings/getIndice":{"post":{"tags":["settings"],"summary":"Get Indice","description":"Retrieve the name and metadata of an index.","operationId":"get_indice_settings_getIndice_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetIndiceRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}}},"components":{"schemas":{"ActivateConfigurationRequest":{"properties":{"configurationId":{"type":"string","title":"Configurationid"},"indexId":{"type":"string","title":"Indexid"}},"type":"object","required":["configurationId","indexId"],"title":"ActivateConfigurationRequest"},"AgentDataUpdateRequest":{"properties":{"agentId":{"type":"string","title":"Agentid"},"faq":{"additionalProperties":true,"type":"object","title":"Faq"},"sizing":{"additionalProperties":true,"type":"object","title":"Sizing"}},"type":"object","required":["agentId","faq","sizing"],"title":"AgentDataUpdateRequest"},"Body_create_index_indices_create_index_post":{"properties":{"name":{"type":"string","title":"Name"},"metadata":{"type":"string","title":"Metadata"},"imageKey":{"type":"string","title":"Imagekey"},"idKey":{"type":"string","title":"Idkey"},"semanticIndex":{"type":"string","title":"Semanticindex"},"orgID":{"type":"string","title":"Orgid"},"file":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"File"}},"type":"object","required":["name","metadata","imageKey","idKey","semanticIndex","orgID"],"title":"Body_create_index_indices_create_index_post"},"Body_process_source_create_index_process_source_post":{"properties":{"org_id":{"type":"string","title":"Org Id"},"source":{"type":"string","title":"Source"},"file":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"File"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"auth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth"}},"type":"object","required":["org_id","source"],"title":"Body_process_source_create_index_process_source_post"},"Body_register_index_create_index_register_index_post":{"properties":{"name":{"type":"string","title":"Name"},"imageKey":{"type":"string","title":"Imagekey"},"idKey":{"type":"string","title":"Idkey"},"metadata":{"type":"string","title":"Metadata"},"semanticIndex":{"type":"string","title":"Semanticindex"},"source":{"type":"string","title":"Source"},"fieldTypes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fieldtypes"},"file":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"File"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"orgID":{"type":"string","title":"Orgid"}},"type":"object","required":["name","imageKey","idKey","metadata","semanticIndex","source","orgID"],"title":"Body_register_index_create_index_register_index_post"},"CheckBoostsReadyRequest":{"properties":{"indexId":{"type":"string","title":"Indexid"}},"type":"object","required":["indexId"],"title":"CheckBoostsReadyRequest"},"ConversionFunnelRequest":{"properties":{"index_id":{"type":"string","title":"Index Id"},"start_date":{"type":"string","format":"date-time","title":"Start Date"},"end_date":{"type":"string","format":"date-time","title":"End Date"}},"type":"object","required":["index_id","start_date","end_date"],"title":"ConversionFunnelRequest"},"CreateAgentsRequest":{"properties":{"orgID":{"type":"string","title":"Orgid"},"agentDetails":{"additionalProperties":true,"type":"object","title":"Agentdetails"}},"type":"object","required":["orgID","agentDetails"],"title":"CreateAgentsRequest"},"CreateConfigurationRequest":{"properties":{"indexId":{"type":"string","title":"Indexid"},"name":{"type":"string","title":"Name"}},"type":"object","required":["indexId","name"],"title":"CreateConfigurationRequest"},"CreditRequest":{"properties":{"orgID":{"type":"string","title":"Orgid"}},"type":"object","required":["orgID"],"title":"CreditRequest"},"DeleteRequest":{"properties":{"orgID":{"type":"string","title":"Orgid"},"api_key_id":{"type":"string","title":"Api Key Id"}},"type":"object","required":["orgID","api_key_id"],"title":"DeleteRequest"},"FieldExamplesRequest":{"properties":{"indexId":{"type":"string","title":"Indexid"}},"type":"object","required":["indexId"],"title":"FieldExamplesRequest"},"FieldValuesRequest":{"properties":{"indexId":{"type":"string","title":"Indexid"},"field":{"type":"string","title":"Field"}},"type":"object","required":["indexId","field"],"title":"FieldValuesRequest"},"GeneratePersonalityRequest":{"properties":{"orgId":{"type":"string","title":"Orgid"},"indexId":{"type":"string","title":"Indexid"},"indexDescription":{"type":"string","title":"Indexdescription"}},"type":"object","required":["orgId","indexId","indexDescription"],"title":"GeneratePersonalityRequest"},"GetConfigurationsRequest":{"properties":{"indexId":{"type":"string","title":"Indexid"}},"type":"object","required":["indexId"],"title":"GetConfigurationsRequest"},"GetIndiceRequest":{"properties":{"indexId":{"type":"string","title":"Indexid"}},"type":"object","required":["indexId"],"title":"GetIndiceRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"KeyRequest":{"properties":{"orgID":{"type":"string","title":"Orgid"}},"type":"object","required":["orgID"],"title":"KeyRequest"},"OrgRequest":{"properties":{"orgID":{"type":"string","title":"Organization ID","description":"The unique identifier of the organization"}},"type":"object","required":["orgID"],"title":"OrgRequest"},"PaymentRequest":{"properties":{"amount":{"type":"integer","title":"Amount"},"paymentMethodId":{"type":"string","title":"Paymentmethodid"},"orgID":{"type":"string","title":"Orgid"}},"type":"object","required":["amount","paymentMethodId","orgID"],"title":"PaymentRequest"},"TransactionRequest":{"properties":{"orgID":{"type":"string","title":"Orgid"},"transactionId":{"type":"string","title":"Transactionid"},"eventId":{"type":"string","title":"Eventid"}},"type":"object","required":["orgID","transactionId","eventId"],"title":"TransactionRequest"},"UpdateBoostsRequest":{"properties":{"indexId":{"type":"string","title":"Indexid"},"boosts":{"title":"Boosts"},"configurationId":{"type":"string","title":"Configurationid"}},"type":"object","required":["indexId","boosts","configurationId"],"title":"UpdateBoostsRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"models__requests__IndexRequest":{"properties":{"indexID":{"type":"string","title":"Index ID","description":"The unique identifier of the index."}},"type":"object","required":["indexID"],"title":"IndexRequest"},"routes__indices__analytics__IndexRequest":{"properties":{"index_id":{"type":"string","title":"Index Id"}},"type":"object","required":["index_id"],"title":"IndexRequest"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}