Reports
Create and manage model reports.
All methods are accessed via client.reports.
available_widgets()
Return the available widget tags and their descriptions. Visual widgets (baseValue, confusionMatrix, etc.) should be used at most once per report. Text widgets (h2, p, divider) can repeat.
Returns
dict
Example
create_report()
Start async report generation via the wizard.
Parameters
''FalseNone'dynamic'40NoneNoneReturns
dict — Dict with job_id and status ("accepted")
Example
get_job_status()
Get the status of a wizard report generation job. Pairs with the workflow create_report tool, which starts the wizard and returns the job_id to poll here. Status is one of 'pending' | 'running' | 'done' | 'error'. On 'done' the payload includes the generated report_id and version_id (open the report in the platform UI); on 'error' it includes the error detail. Generation typically finishes in under a minute — if still 'pending' or 'running', wait a few seconds and poll again.
Parameters
Returns
dict
Example
delete_report()
Delete a report and all of its versions. This permanently removes the report from the team. Use it to clean up draft or superseded reports created via create_report.
Parameters
Returns
dict — Dict with a confirmation message
Example
create_report_sync()
Create a report synchronously (polls until complete or timeout).
Parameters
''FalseNone'dynamic'40NoneNone1202.0Returns
dict — Dict with status, report_id, version_id