AI report suggestions

POST /api/v1/reports/suggest

Get AI-powered report suggestions for the business.

Operation ID: suggest_reports_api_v1_reports_suggest_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Responses

201 Successful Response

suggestions array · ReportSuggestionItem ReportSuggestionItem
4 fields
report_type string required

Type of report

title string required

Suggested report title

description string required

Why this report is useful

params object

Suggested report parameters

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object