Skip to main content
GET
Get one ReportDefinition
A saved self-service report: a ReportQuery JSON document plus a visualization. Use report_catalog to discover fields, report_query to test a query before saving it, and report_run to execute a saved report.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the ReportDefinition-Read role.

Path Parameters

integer
required
The Id of the ReportDefinition record to retrieve.

Code Examples

Response

200

integer
ID of the business that owns this report.
string
Report name shown in the library.
string
Optional description of what the report shows.
string
Folder used to group reports in the library (e.g. Bookings, Billing).
string
Root entity of the query; derived from QueryJson on save.
string
Visualization type (table, number, bar, line, area, pie); derived from VisualizationJson on save.
string
ReportQuery JSON document (version 1). Use report_catalog to discover entities and field paths and report_query to test the query before saving..
string
VisualizationDocument JSON: { “type”: “table|number|bar|line|area|pie”, “settings”: { … } }.
integer
Version of the QueryJson schema.
boolean
Visible to every user of the business; when false only the owner sees it.
integer
User who created the report (set automatically).
string
Display value for Owner.FullName..
string
Display value for Owner.Email..
string
Key of the built-in template this report was copied from, if any.
string
UTC time the report was last run.
integer
Number of times the report has been run.
integer
Unique record identifier.
string
UUID of the record.
string
Date and time the record was created (ISO 8601).
string
Date and time the record was last updated (ISO 8601).
string
Email of the user who last updated this record.
boolean
Whether the record was recently created.
string
External system identifier.
Example Response