Audit Logs
Track and monitor all administrative activities across your Portkey organization with comprehensive audit logging.
This is a Portkey Enterprise plan feature.
Overview
Audit Logs in Portkey provide a comprehensive record of all administrative activities across your organization. These logs capture detailed information about who performed what actions, on which resources, and when those actions occurred. This level of visibility is crucial for security monitoring, compliance requirements, and troubleshooting operational issues.
Key Benefits
- Enhanced Security: Track all changes to your organization’s resources and configurations
- Compliance Support: Maintain detailed records to help meet regulatory requirements
- Operational Visibility: Understand who is making changes and when
- Troubleshooting: Investigate issues by reviewing recent configuration changes
- Accountability: Ensure users are responsible for their actions within the platform
Logged Information
Each audit log entry contains detailed information about administrative activities:
Field | Description |
---|---|
Timestamp | Date and time when the action occurred |
User | The individual who performed the action |
Workspace | The workspace context in which the action was performed (if applicable) |
Action | The type of operation performed (create, update, delete, etc.) |
Resource | The specific resource or entity that was affected |
Response Status | HTTP status code indicating the result of the action |
Client IP | IP address from which the request originated |
Country | Geographic location associated with the request |
Setting up Audit Logs is straightforward:
- Access is available to org owners and admins
- Audit logs are automatically collected across all workspaces
- No additional configuration needed - just enable and go
- Access audit logs through the
Admin Settings
>Audit Logs
page
Filtering Capabilities
Portkey provides powerful filtering options to help you find specific audit events quickly:
Available Filters
- Method: Filter by HTTP method (PUT, POST, DELETE)
- Request ID: Search for a specific request by its unique identifier
- Resource Type: Filter by type of resource affected:
- Workspaces
- API Keys
- Virtual Keys
- Configs
- Prompts
- Guardrails
- Integrations
- Collections
- Organization
- Labels
- Custom Resource Types
- Action: Filter by the type of action performed:
- Create
- Update
- Delete
- Publish
- Export
- Rotate
- Manage
- Duplicate
- Response Status: Filter by HTTP response status codes
- Workspace: Filter by specific workspace
- User: Filter by the user who performed the action
- Client IP: Filter by originating IP address
- Country: Filter by geographic location of requests
- Time Range: Filter logs within a specific time period
Enterprise Features
Portkey’s Audit Logs include enterprise-grade capabilities:
1. Complete Visibility
- Full user attribution for every action
- Detailed timestamps and change history
- Cross-workspace tracking
- Searchable audit trail
2. Compliance & Security
- SOC 2, ISO 27001, GDPR, and HIPAA compliant
- PII data protection
- Indefinite log retention
3. Enterprise-Grade Features
- Role-based access control
- Cross-organization visibility
- Custom retention policies
As a Director of AI Infrastructure at a Fortune 100 Healthcare company explained: “Having a detailed audit trail isn’t just about compliance. It’s about being able to debug production issues quickly, understand usage patterns, and make data-driven decisions about our AI infrastructure.”
Related Features
Access Control Management
Manage user roles and permissions across your organization
Organizations
Learn about organization structure and management
Workspaces
Understand workspace management within your organization
API Keys
Authentication and authorization with API keys
Support
For questions about Audit Logs or assistance with interpreting specific entries, contact Portkey support or reach out on Discord.
Schedule a Demo
Ready to bring enterprise-grade governance to your AI infrastructure? Learn more about Portkey’s Audit Logs and other enterprise features in a personalized demo.
Was this page helpful?