Nikola Maletic
09/10/2025, 9:33 AMSandeep Yadav
09/11/2025, 6:39 AMPOST /api/rest/2.0/metadata/search
If the user has access to the metadata object, you can use the Metadata Search API.
• Pass include_details = true in the request.
• Example payload: {
"metadata": [
{
"type": "LIVEBOARD",
"identifier": "<liveboard_id>"
}
],
"include_details": true
}
• The response will contain metadata_details.
• Look under:
metadata_details.header.resolvedObjects
This lists all the questions used in the liveboard.
• Each visualization may be built on different data sources. Traverse into:
• reportContent.sheets[sheetContent.filter.filterContent.rows[column.referencedTableHeaders]
• reportContent.sheets[sheetContent.filter.filterContent.rows[column.allLevelReferencedTableHeaders]
These sections will tell you the source objects (worksheets/tables).
For example, if a viz is created on Worksheet W1, and W1 is derived from Table T1, the response will show both W1 and T1.
2. TML Export API
If the user has the DataDownload privilege, you can use the TML Export API:
• Endpoint: POST /api/rest/2.0/metadata/tml/export
• Example payload:
{
"metadata": [
{
"type": "LIVEBOARD",
"identifier": "<liveboard_name>"
}
],
"edoc_format": "JSON",
"export_associated": true
}
• With export_associated = true, the API returns:
• The liveboard TML
• The associated data sources (worksheets and tables) as TMLs
• Inside these TMLs, you can find the GUIDs for the worksheets and tables.
Hope this helpsNikola Maletic
09/11/2025, 11:11 AM{
"dependent_object_version": "V2",
"include_auto_created_objects": false,
"include_dependent_objects": false,
"dependent_objects_record_size": 50,
"include_details": true,
"include_headers": false,
"include_hidden_objects": false,
"include_incomplete_objects": false,
"include_visualization_headers": false,
"record_offset": 0,
"record_size": 100,
"include_stats": false,
"metadata": [
{
"type": "LIVEBOARD",
"identifier": "853c891b-a936-4595-8167-0f89092437fc"
}
]
}
https://cdn.discordapp.com/attachments/1415268957677686824/1415655942657147021/message.txt?ex=68c3ffd6&is=68c2ae56&hm=998d38de8cf4aa1465156482288b95a87d2a1fbca332a742173fd92784337e2f&Sandeep Yadav
09/11/2025, 12:47 PMNikola Maletic
09/11/2025, 1:30 PMSandeep Yadav
09/11/2025, 2:08 PMNikola Maletic
09/15/2025, 7:41 AMconst extractedWorksheetTmlId = exportedData?.find(
(item) => item?.info?.type === 'model'
)?.info?.id;
Thanks!
https://cdn.discordapp.com/attachments/1415268957677686824/1417052570366513182/message.txt?ex=68c9148c&is=68c7c30c&hm=68216ce3571fac873624dea7472a76b31e02d1be112e4d029c697b73eb15747b&