v1
latestOpenAPI 3.0.02026-07-26492143.5 KBExport data
This endpoint allows enterprise organization administrators to create and initiate a comprehensive data export for their organization or specific workspaces.
The export supports four data types:
- Workflow data (data_type: "workflows"): Includes workflow runs, workbook details, user information, and other organizational data.
- Agent data (data_type: "agents"): Includes agent configurations, metadata, tools, and creator information.
- Agent interaction data (data_type: "agent_interactions"): Includes agent interaction data with timestamps, credit costs, trigger types, and message counts.
- Credit log data (data_type: "credit_logs"): Includes credit transaction history with charges, balances, categories, and user attribution.
The available export_fields depend on the selected data_type. See the field descriptions below for details.
Scoping requirement: For non-credit-log exports, at least one scoping parameter must be provided: workspace_ids, include_all_workspaces, include_personal_workspaces, or entity_ids. Requests that omit all scoping parameters will receive a 400 error.
Note: Credit log exports work differently from workflow and agent exports. When data_type is "credit_logs", the following parameters are not applicable and will be ignored: export_level, workspace_ids, include_all_workspaces, include_personal_workspaces, and entity_ids. Credit log exports are always scoped to the entire organization. Use category_filter to filter by credit log category.
Request body
Response
Data export successfully initiated