Skip to main content
Use organization tools to list your teams, retrieve audit events, and export organization data.

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:
  1. Call export_data with a data_type, date range, and export_fields.
  2. Poll get_export_status with the returned data_export_id until it reports COMPLETED.
  3. Request the download URL.
Supported 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.