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:

FieldDescription
TimestampDate and time when the action occurred
UserThe individual who performed the action
WorkspaceThe workspace context in which the action was performed (if applicable)
ActionThe type of operation performed (create, update, delete, etc.)
ResourceThe specific resource or entity that was affected
Response StatusHTTP status code indicating the result of the action
Client IPIP address from which the request originated
CountryGeographic location associated with the request

Setting up Audit Logs is straightforward:

  1. Access is available to org owners and admins
  2. Audit logs are automatically collected across all workspaces
  3. No additional configuration needed - just enable and go
  4. 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.”

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.