Reports
Add rows
Add up to 10 files to a report, one row per file.
POST
Adds one row per file to a report. Each file is copied into the report, and the row’s
file_id is that copy. A file named twice in one request gets one row. A file already in the report gets another row, so check List rows before adding it again.
On a report created through the API over files, new rows start with every cell empty, and adding them computes nothing and uses no credits. Fill them with Run report, passing the new row ids as row_ids. A report whose repository documents were imported once, and a report made in the app with auto-run on, compute new rows straight away.
This endpoint does not work on a report whose rows follow a repository (its repository_id is set): add the files to the repository instead. A report whose repository documents were imported once does not follow the repository, so you can add rows to it.
Authentication
Requires an API key, or an OAuth token withreports:write and files:read. The caller needs edit access to the report and read access to every file.
Path parameters
Body parameters
The files to add, from
1 to 10 ids. Each must be a .pdf, .docx, .doc, .pptx or .png file.Response
Returns201 with the new rows in items, in the order of file_ids. failed_file_ids lists the files that could not be copied into the report; add them again.