curl --request PATCH \
--url https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"collapsed": true,
"members": [
{
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_output": true
}
],
"name": "<string>",
"run_condition": {
"default_value": "<string>",
"kind": "manual"
}
}
'import requests
url = "https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/"
payload = {
"collapsed": True,
"members": [
{
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_output": True
}
],
"name": "<string>",
"run_condition": {
"default_value": "<string>",
"kind": "manual"
}
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
collapsed: true,
members: [{column_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a', is_output: true}],
name: '<string>',
run_condition: {default_value: '<string>', kind: 'manual'}
})
};
fetch('https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'collapsed' => true,
'members' => [
[
'column_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'is_output' => true
]
],
'name' => '<string>',
'run_condition' => [
'default_value' => '<string>',
'kind' => 'manual'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/"
payload := strings.NewReader("{\n \"collapsed\": true,\n \"members\": [\n {\n \"column_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"is_output\": true\n }\n ],\n \"name\": \"<string>\",\n \"run_condition\": {\n \"default_value\": \"<string>\",\n \"kind\": \"manual\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"collapsed\": true,\n \"members\": [\n {\n \"column_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"is_output\": true\n }\n ],\n \"name\": \"<string>\",\n \"run_condition\": {\n \"default_value\": \"<string>\",\n \"kind\": \"manual\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"collapsed\": true,\n \"members\": [\n {\n \"column_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"is_output\": true\n }\n ],\n \"name\": \"<string>\",\n \"run_condition\": {\n \"default_value\": \"<string>\",\n \"kind\": \"manual\"\n }\n}"
response = http.request(request)
puts response.read_body{
"collapsed": true,
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"members": [
{
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_output": true
}
],
"name": "<string>",
"table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ui_color": "gray",
"updated_at": "2023-11-07T05:31:56Z",
"run_condition": {
"default_value": "<string>",
"kind": "manual"
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Update a column group
Rename a group, fold or expand it, or replace its membership wholesale. members is FULL-state: the entry order becomes the members’ physical order, newly listed columns join the group, and current members left out are removed and land immediately after the block. A group always has at least one member and at least one output: an empty list is refused (ungroup to dissolve a group), and so is a list with no output flagged (mark another column as output first). Collapse and ui_color are purely presentational. Folded members’ cells stay fetched, and a group’s colour is its own, independent of any tint its member columns carry.
curl --request PATCH \
--url https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"collapsed": true,
"members": [
{
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_output": true
}
],
"name": "<string>",
"run_condition": {
"default_value": "<string>",
"kind": "manual"
}
}
'import requests
url = "https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/"
payload = {
"collapsed": True,
"members": [
{
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_output": True
}
],
"name": "<string>",
"run_condition": {
"default_value": "<string>",
"kind": "manual"
}
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
collapsed: true,
members: [{column_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a', is_output: true}],
name: '<string>',
run_condition: {default_value: '<string>', kind: 'manual'}
})
};
fetch('https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'collapsed' => true,
'members' => [
[
'column_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'is_output' => true
]
],
'name' => '<string>',
'run_condition' => [
'default_value' => '<string>',
'kind' => 'manual'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/"
payload := strings.NewReader("{\n \"collapsed\": true,\n \"members\": [\n {\n \"column_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"is_output\": true\n }\n ],\n \"name\": \"<string>\",\n \"run_condition\": {\n \"default_value\": \"<string>\",\n \"kind\": \"manual\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"collapsed\": true,\n \"members\": [\n {\n \"column_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"is_output\": true\n }\n ],\n \"name\": \"<string>\",\n \"run_condition\": {\n \"default_value\": \"<string>\",\n \"kind\": \"manual\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/tables/{table_id}/columns/groups/{group_id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"collapsed\": true,\n \"members\": [\n {\n \"column_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"is_output\": true\n }\n ],\n \"name\": \"<string>\",\n \"run_condition\": {\n \"default_value\": \"<string>\",\n \"kind\": \"manual\"\n }\n}"
response = http.request(request)
puts response.read_body{
"collapsed": true,
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"members": [
{
"column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_output": true
}
],
"name": "<string>",
"table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ui_color": "gray",
"updated_at": "2023-11-07T05:31:56Z",
"run_condition": {
"default_value": "<string>",
"kind": "manual"
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Body
Request body for updating a group (tri-state PATCH; members are full-state).
Whether the grid folds the group down to its output members.
The FULL member list in its new order. Columns newly listed join the group and move into its block; current members left out are removed and land immediately after it. A group always has at least one member and at least one output: an empty list is refused (ungroup to dissolve the group), and so is a list with no output flagged.
Show child attributes
Show child attributes
New name. Set to null to restore the default label.
1 - 255Definition of a manual column: typed, user-editable cells.
Show child attributes
Show child attributes
Semantic tint token, shared by a column and by a column GROUP.
Stored as a token rather than a hex value because the grid renders in both a light and a dark theme, and a single stored colour is only legible in one of them. The client maps each token to a per-mode value.
Deliberately excludes teal: the brand primary is used for range selection and the anchor outline, so a teal column would read as permanently selected.
Lives HERE rather than in table_column_prefs, where it started, because
two domains now need it and the layering only allows one direction. A
column's tint is stored in table_column_prefs (org-shared appearance,
keyed by column) while a group's is a field on the group row itself in
table_column, and table_column_prefs sits ABOVE table_column in
the domain layers, so the token had to move DOWN to be reachable from both.
table_column_prefs.types re-exports it, which is why that move touched
no existing import.
One enum for both on purpose: a colour token is a shared vocabulary (a team
agreeing that amber means "needs review" is agreeing about it across
columns and groups alike) and the organisation's renaming of the palette
(table_column_color_labels) is keyed by this token, so a second enum
would give groups colours the rename dialog could not name.
gray, red, orange, amber, green, blue, purple, pink Response
Successful Response
A user-managed column group, membership resolved in position order.
Whether the grid folds the group down to its output members. Purely presentational: folded members' cells are still fetched, so expanding costs nothing.
The member columns in position order, with their output flags.
Show child attributes
Show child attributes
The group's name; null renders the client default label.
Palette token for the group's band, or null for a neutral band. A token rather than a hex: the grid renders light and dark, and one stored colour is only legible in one of them.
gray, red, orange, amber, green, blue, purple, pink The group's per-row gate, verbatim; null gates nothing. Every member without a gate of its own carries a copy in its run_condition (marked by run_condition_group_id), so the columns themselves say what runs.
- ManualColumnDefinition
- FormulaColumnDefinition
- EnrichmentColumnDefinition
- SourceColumnDefinition
- ExportColumnDefinition
- SequenceColumnDefinition
Show child attributes
Show child attributes
Was this page helpful?