Skip to navigation

List report sources

View as Markdown

Get the data sources of a report given the reportId. The response can be a dataset (deprecated), table, custom SQL element, or the data model document and specific elements used as a source.

Usage notes

  • Retrieve the reportId by calling the /v2/reports endpoint.

Best practices

  • Validate the reportId on the client side before making a request to avoid unnecessary server load caused by invalid requests.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Path parameters

reportIdstringRequired
Unique identifier of the report.

Response

The response body.
Data model sourceobject
OR
Dataset source (deprecated)object
OR
Table sourceobject
OR
Custom SQL elementobject