Audit Trail

Every API operation executed through Toolcog is logged with full context. These audit logs help you understand what happened, debug issues, and meet compliance requirements.

What Gets Logged

Every API Call

When AI executes an operation via call_api, Toolcog records:

Authentication Events

Discovery Events

What’s Not Logged

Toolcog explicitly avoids logging:

Audit logs contain enough context to understand what happened without exposing secrets.

Log Structure

Each audit entry includes:

FieldDescription
timestampWhen the event occurred (UTC)
accountIdWhich account initiated the action
sessionIdWhich session (browser, API key, MCP)
operationThe operation name or event type
catalogIdWhich catalog was used (if applicable)
statusSuccess, failure, or pending
durationHow long the operation took
metadataAdditional context (varies by event type)

Accessing Audit Logs

In the Dashboard

  1. Navigate to your account or organization
  2. Go to SettingsAudit
  3. Browse or search the activity log

Filtering

Filter audit logs by:

Search across logs for:

Organization Audit Logs

Organizations have consolidated audit views:

Member Activity

See what each team member is doing:

Aggregated View

View all organization activity:

Access Control

RoleView Own ActivityView All ActivityExport Logs
OwnerYesYesYes
AdminYesYesYes
MemberYesNoNo
ViewerYesNoNo

Using Logs for Debugging

Troubleshooting Failed Calls

When an API call fails:

  1. Find the operation in audit logs
  2. Check the status and error details
  3. Review the arguments passed
  4. Compare with successful calls to the same operation

Common Issues Revealed by Logs

Timing Analysis

Use duration data to identify:

Retention

Default Retention

Extended Retention

Enterprise plans can configure:

Export and Integration

Manual Export

Export logs as CSV or JSON:

  1. Go to SettingsAudit
  2. Set your filters
  3. Click Export
  4. Choose format (CSV or JSON)

API Access

Query audit logs programmatically for integration with:

Compliance Considerations

SOC 2

Audit logs support SOC 2 requirements for:

GDPR

For GDPR compliance:

HIPAA

Healthcare organizations should:

Best Practices

Regular Review

Set Up Alerts

Configure alerts for:

Document Access

For compliance:

Privacy and Security

Log Access is Logged

Access to audit logs is itself audited. You can see who viewed logs and when.

No Credential Exposure

Even when debugging, audit logs never reveal:

You see that authentication was used, not what the credentials were.

Isolated by Account

Each account’s logs are isolated. Organization admins see org activity; they cannot see other organizations’ logs.

Next Steps