create_report
Create a SAS Visual Analytics report and get its ID for editing. Optionally build the full report in one atomic call, binding data and adding pages/objects, to avoid leftover empty reports.
Instructions
Create a Visual Analytics report and return its id for further edits.
Creates an empty report shell, or — if you pass operations — builds
the whole report in one atomic call (bind data, add pages, add objects).
Building at creation avoids leaving an empty report behind if a later
edit fails. Returns {"status": "created", "id": ..., "name": ...}
plus a created summary whose object names/labels are what follow-up
placement and exports target; feed the id to apply_report_operations
to keep editing. Note: VA prepends an empty default "Page 1" before any
pages your operations add, so verify page-by-page with export_report
(see the result's verify_hint) rather than a whole-report export.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Report name (``resultReportName``). Must be unique in the folder unless ``on_conflict`` resolves it. | |
| folder | No | Optional target folder URI (``resultFolder``); omit for the caller's My Folder. | |
| operations | No | Optional native operations array to apply at creation, in the same shape ``apply_report_operations`` takes. Call ``describe_report_objects`` for the operation and object formats. | |
| on_conflict | No | Name-conflict policy — ``rename`` (default), ``abort``, or ``replace``. | rename |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||