Teams
Audit logs
Audit logs are available through MCP and the REST API, with MCP accepting an optional
max_limit and handling pagination automatically.
REST also supports filters by event type, user, IP address, workspace, or entity.
Only organization Admins can read audit logs.
Data exports
Only organization Admins can create exports.
Use these steps to export organization data:
- Call
export_datawith adata_type, date range, andexport_fields. - Poll
get_export_statuswith the returneddata_export_iduntil it reportsCOMPLETED. - Request the download URL.
data_type values: workflows, agents, agent_interactions, credit_logs, and gumstack.
Audit logs are not an export type. Retrieve them with get_audit_logs or set up an audit log data drain.
The aggregated charts on the Organization Insights dashboard (overview totals, model usage, leaderboards, skill adoption, artifact analytics) aren’t available over MCP or the REST API. Use data exports for the underlying rows.
Example prompts
List the teams I belong to.
Pull our audit logs for the last 7 days and summarize the credential_retrieval events.
Export my organization's agent interactions for the last 30 days and tell me when the CSV is ready.