ENTERPRISE FEATURE

📋 Audit Logs

Track all organization activity with comprehensive audit logs. Monitor API usage, detect anomalies, and maintain compliance with detailed event history.

Track Everything

🔐
Authentication Events
API key usage, login attempts, and token generation
📊
API Calls
Every API request with model, tokens, and response time
👥
Member Changes
Invites, role changes, and removals
⚙️
Configuration
Settings changes, API key rotation, and policy updates
💳
Billing Events
Payment methods, invoices, and plan changes
🚨
Security Alerts
Suspicious activity, rate limit hits, and blocked requests

Log Viewer

Recent Activity

2025-01-15 14:32:01
ACCESS
API call to /v1/messages (mythic-4)
api-key-prod
2025-01-15 14:31:45
ACCESS
API call to /v1/messages (mythic-4)
api-key-prod
2025-01-15 14:28:12
CREATE
New API key created: "Production Key v2"
admin@company.com
2025-01-15 14:15:33
UPDATE
Rate limit changed to 5000 RPM
admin@company.com
2025-01-15 13:45:20
DELETE
API key revoked: "Old Production Key"
admin@company.com
2025-01-15 13:20:05
CREATE
Member invited: dev@company.com
admin@company.com

Query Audit Logs

Python
from mythicdot import MythicDot from datetime import datetime, timedelta client = MythicDot(api_key="mythic-admin-...") # Query recent audit logs logs = client.audit_logs.list( start_time=datetime.now() - timedelta(days=7), end_time=datetime.now(), event_types=["api_key.created", "api_key.deleted"], limit=100 ) for log in logs.data: print(f"{log.timestamp}: {log.event_type}") print(f" Actor: {log.actor.email}") print(f" Details: {log.details}") # Export logs for compliance export = client.audit_logs.export( start_time=datetime(2025, 1, 1), end_time=datetime(2025, 1, 31), format="csv" ) with open("audit_log_january.csv", "wb") as f: f.write(export.content)

Event Types

api_key.created
A new API key was created
api_key.deleted
An API key was revoked
member.invited
A new member was invited
member.removed
A member was removed
settings.updated
Organization settings changed
rate_limit.exceeded
Rate limit was exceeded
login.success
Successful login to dashboard
login.failed
Failed login attempt

📦 Log Retention

Audit logs are retained based on your plan tier. Enterprise customers can configure custom retention periods.

30 days
Pro Plan
1 year
Business Plan
Custom
Enterprise Plan

Need Compliance?

Audit logs help you meet SOC 2, HIPAA, and GDPR requirements.

Compliance Overview → Contact Sales