list_audit_logs
Retrieve and filter audit logs to track administrative actions, user management, and configuration changes in your Portkey organization.
Instructions
Retrieve audit logs for your Portkey organization. Audit logs track all administrative actions including user management, configuration changes, and access events. Supports filtering by time range, actor, action type, and resource.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No | Filter audit logs by workspace ID | |
| actor_id | No | Filter by the user ID who performed the action | |
| action | No | Filter by action type (e.g., 'create', 'update', 'delete', 'login') | |
| resource_type | No | Filter by resource type (e.g., 'user', 'workspace', 'config', 'virtual_key') | |
| resource_id | No | Filter by specific resource ID | |
| start_time | No | Start of time range filter (ISO 8601 format, e.g., '2024-01-01T00:00:00Z') | |
| end_time | No | End of time range filter (ISO 8601 format, e.g., '2024-01-31T23:59:59Z') | |
| current_page | No | Page number for pagination (starts at 1) | |
| page_size | No | Number of results per page (max 100) |