Reports
Add columns
Add up to 20 extraction columns to a report.
POST
Adds columns to a report. Each column is a question the AI answers for every row’s document. New columns go after the existing ones.
On a report created through the API over files, new columns start with every cell
empty, and adding them computes nothing and uses no credits. Fill the new cells with Run report, passing the new column ids as column_ids. The columns are added together or not at all: if one cannot be added, the ones added before it are removed, so you can retry the request.
A report whose rows follow a repository, a report whose repository documents were imported once, and a report made in the app with auto-run on compute new columns straight away, as the app does. Their credit cost is checked against your organisation’s per-operation limit first. While an import is still adding rows, the check also counts the rows it has still to add, because their cells for the new columns compute as they land.
Authentication
Requires an API key, or an OAuth token withreports:write. The caller also needs edit access to the report.
Path parameters
Body parameters
Response
Returns201 with { "items": Column[] }: the new columns, in the order you sent them.