API Keys
Portkey uses two types of API keys to manage access to resources and operations: Admin API Keys and Workspace API Keys. These keys play crucial roles in authenticating and authorizing various operations within your organization and workspaces.Admin API Keys
Admin API Keys operate at the organization level and provide broad access across all workspaces within an organization. Key features of Admin API Keys:- Created and managed by organization owners and admins
- Provide access to organization-wide operations
- Can perform actions across all workspaces in the organization
- Used for administrative tasks and integrations that require broad access
- When making updates to entities, can specify a workspace_id to target specific workspaces
Admin API Key Permission Scopes
Organization Management
Organization Management
Workspace Management
Workspace Management
Resource Management
Resource Management
Integrations
Integrations
AI & Agent Gateway
AI & Agent Gateway
Analytics and Logs
Analytics and Logs
Workspace API Keys
Workspace API Keys are scoped to a specific workspace and are used for operations within that workspace only. There are two types β Service API Keys and User API Keys β which share most scopes. The only difference is that Service API Keys can also manage other API keys within the workspace; User API Keys cannot.Workspace Service API Keys
Used for automated processes, backend integrations, and CI pipelines. In addition to all operational scopes, service keys can create, update, rotate, and delete other workspace API keys.Key Management
Key Management
Workspace Management
Workspace Management
LLM Operations
LLM Operations
MCP Gateway
MCP Gateway
Agent Gateway
Agent Gateway
Resources
Resources
Integrations
Integrations
Analytics and Logs
Analytics and Logs
Workspace User API Keys
Associated with individual users within a workspace. Identical in scope to service keys except they cannot manage other API keys β use these for personal access and user-level integrations.Workspace Management
Workspace Management
LLM Operations
LLM Operations
MCP Gateway
MCP Gateway
Agent Gateway
Agent Gateway
Resources
Resources
Integrations
Integrations
Analytics and Logs
Analytics and Logs

