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
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. Key features of Workspace API Keys:- Two types: Service Account and User
- Service Account: Used for automated processes and integrations
- User: Associated with individual user accounts for personal access
- Scoped to a single workspace by default
- Can only execute actions within the workspace they belong to
- Used for most day-to-day operations and integrations within a workspace
- Completion APIs are always scoped by workspace and can only be accessed using Workspace API Keys
- Can be created and managed by workspace managers
Workspace API Key Permission Scopes
Workspace Management
Workspace Management
LLM Operations
LLM Operations
Resources
Resources
Analytics and Logs
Analytics and Logs

