🚀 Introducing Agent Gateway — governance, observability, and control for your AI agents.  Register for live webinar ↗
curl --request GET \
--url https://api.portkey.ai/v1/mcp-servers/{mcpServerId}/connections \
--header 'x-portkey-api-key: <api-key>'{
"data": [
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connected": true,
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"has_more": true
}curl --request GET \
--url https://api.portkey.ai/v1/mcp-servers/{mcpServerId}/connections \
--header 'x-portkey-api-key: <api-key>'{
"data": [
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connected": true,
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"has_more": true
}Documentation Index
Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
MCP Server ID (UUID) or slug
Optional. UUID of the user whose connections to list. If not provided, defaults to the current user for user API keys, and returns all connections on the MCP server for service API keys.
Workspace ID or slug. Required when using org admin API key; optional when API key is workspace-scoped.
x >= 01 <= x <= 500Was this page helpful?