P
Portkey Inference API
Details
- URL
-
https://api.portkey.ai/v1 - Docs
- https://docs.portkey.ai/docs/api-reference/inference-api/introduction
Authentication
x-portkey-api-key: <credential> Sign up at Portkey or log in at Portkey, then open the API keys/settings area in the dashboard at app.portkey.ai/api-keys or the account Settings page referenced in the docs. Create a key, choose the needed permissions, name it, and save it. For MCP Gateway programmatic access, the docs specifically call for a workspace user API key with mcp invoke permission enabled.
Portkey JWT / IdP token for Portkey authentication jwt discovered
Portkey supports JWT-based authentication for some integrations. Configure JWT/IdP-based auth through Portkey's MCP Gateway or enterprise identity setup as described in MCP Advanced Configuration and Authorization. This is typically obtained by signing users into your configured identity provider and having Portkey validate the token via your configured jwksUri.