upload_report_asset
Attach a binary asset (image, video, font, CSS, JS, etc.) to a report. The returned url is a stable public link suitable for <img src>, <video src>, CSS url(...), or any other reference inside the report's HTML. Pass content_base64 as raw base64 (or a data:<mime>;base64,... URL — both work). Re-uploading the same relative_path replaces the previous asset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report_id | Yes | UUID of the target report. You must have edit permission on it. | |
| content_type | No | Optional MIME type (e.g. 'image/png', 'video/mp4'). Defaults to 'application/octet-stream' if omitted. | |
| relative_path | Yes | Path the asset will be addressable by, relative to the report (e.g. 'images/hero.png', 'fonts/inter.woff2'). No leading slash, no '.'/'..' segments, no '%', '?' or '#'. Max 512 chars. | |
| content_base64 | Yes | Asset bytes as base64. A `data:<mime>;base64,...` data URL is also accepted — the prefix is stripped automatically. Max 25 MB decoded. |