create_report
Create a workspace-visible Mode Analytics report in a specified space, with optional initial SQL queries, then check queries_added and queries_failed.
Instructions
Create a new report in a space, optionally with initial SQL queries.
This is a write operation — it creates a report visible to the workspace.
If any queries fail to add, the report is still created; inspect
queries_added and queries_failed in the result.
Args: space_token: Space to create the report in (use list_spaces to find it). name: Report name. description: Optional report description. queries: Optional list of queries to add. Each dict should have: - raw_query (str): The SQL text. - data_source_id (int): Data source ID (use list_data_sources). - name (str, optional): Query name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| queries | No | ||
| description | No | ||
| space_token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||