Uploads a report snapshot. Requires the reports:write scope. Reports are immutable — a new upload to an existing name produces a new code and version rather than altering an existing one.
Limits: up to 100 files per request, 10 MB per decoded file, 20 MB total request body. Assets reference each other with relative paths; absolute src="/…" references and <base> are unsupported and reported in warnings.
Body Parameters
filesarray of objectsrequired
Non-empty. One entry must have path equal to index.html.
Show child attributes
pathstringrequired
Bare filename (no subdirectories). Exactly one entry must be index.html.
contentstringrequired
File contents. UTF-8 text, or base64 when encoding is base64.
encodingstring
Content encoding. Default "utf-8". One of utf-8, base64.
namestring
Group name. Re-uploading an existing name adds a version; a name owned by another account returns 409.
titlestring
Defaults to the document's <title> when omitted.
folderstring
Portal-only label, e.g. RD/2026/Q2. Never appears in URLs.
visibilitystring
Defaults to private. A public report is the one served from the content host. Default "private". One of public, private.