cURL
curl --request GET \ --url https://api.portkey.ai/v1/mcp-integrations/{mcpIntegrationId}/workspaces \ --header 'x-portkey-api-key: <api-key>'
{ "data": [ { "id": "<string>", "enabled": true, "status": "<string>", "created_at": "2023-11-07T05:31:56Z", "last_updated_at": "2023-11-07T05:31:56Z" } ], "global_workspace_access": {}, "total": 123 }
MCP Integration ID (UUID) or slug
When set, response uses data/total shape instead of workspaces
OK
Show child attributes
Was this page helpful?