Skip to main content
Server path: /charting | Type: Embedded | PCID required: No Deploy pre-built Chart.js visualizations to a shareable URL.

Tools

ToolDescription
charting_deploy_chartDeploy a Chart.js chart to a shareable URL

charting_deploy_chart

Deploy a Chart.js visualization to a shareable URL. Parameters:
ParameterTypeRequiredDefaultDescription
html_contentstringYesChart.js HTML code to deploy
collectionIdstringYesFilestorage collection to store the deployed file
sdk_file_idstringNoFile ID to resolve for data URL placeholder
filestorage_idstringNoPreferred data source for URL placeholder
output_filenamestringNo"chart.html"Output filename for the deployed file
file_links_expire_in_daysnumber or "never"No7Link expiration in days (1–30) or "never"
Response fields:
FieldTypeDescription
successbooleanWhether the deployment succeeded
statusstringDeployment status
html_urlstringShareable URL for the deployed chart
html_sizenumberSize of the deployed HTML in bytes
filenamestringName of the deployed file
idstringUnique identifier for the deployed file