Skip to main content
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 with reports:write. The caller also needs edit access to the report.

Path parameters

string
required
The report id.

Body parameters

object[]
required
The columns to add, from 1 to 20.

Response

Returns 201 with { "items": Column[] }: the new columns, in the order you sent them.

Errors