We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Geoffrey-42/rag-groundx-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
get_customer_in_Groundx.py•538 B
from groundx import AsyncGroundX
async def get_customer_in_Groundx(groundx_api_key: str) -> dict:
"""
Get the account information associated with the API key.
See: https://docs.eyelevel.ai/reference/api-reference/customer/get
Args:
groundx_api_key (str): The API key for GroundX.
"""
client = AsyncGroundX(api_key=groundx_api_key)
try:
response = await client.customer.get()
return response
except Exception as e:
return {"error": f"Failed to get customer: {str(e)}"}