Skip to main content
POST
Gives one row colour a colour label, changes it, or removes it. Everyone who reads the report sees the label next to the colour in the app, and exports name it next to each row’s colour. A report has at most one label per colour. Colour rows gives rows the colour. Get report returns every label in row_color_labels, and List rows returns each row’s label as color_label. The MCP tool manage_report does the same with the set_color_label action.

Authentication

Requires an API key, or an OAuth token with reports:write. The caller needs edit access to the report.

Path parameters

string
required
The report id.

Body parameters

string
required
The row colour to label: one of red, orange_dark, orange, yellow, green, teal, cyan, blue_light, blue, gray_blue, violet, purple, fuchsia, pink, rose or gray.
string | null
required
Up to 40 characters, such as JS. Spaces around it are removed. null or a blank string removes the label.

Response

Returns 200 with row_color_labels: every colour label of the report after the change, keyed by row colour. A colour without a label is absent. Sending the label a colour already has changes nothing.

Errors