curl --request POST \
--url https://app.goosybear.ai/api/v1/tools/widget.add \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"title": "<string>",
"board_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metric_keys": [],
"window_periods": 183,
"link_target_id": "<string>",
"note_body": "<string>",
"site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"page_path": "<string>",
"label": "<string>",
"press_tool": "<string>",
"press_automation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_automation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_data_table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_row_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_column": "<string>",
"expires_in_days": 183,
"idempotency_key": "<string>",
"workspace": "<string>"
}
'import requests
url = "https://app.goosybear.ai/api/v1/tools/widget.add"
payload = {
"title": "<string>",
"board_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metric_keys": [],
"window_periods": 183,
"link_target_id": "<string>",
"note_body": "<string>",
"site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"page_path": "<string>",
"label": "<string>",
"press_tool": "<string>",
"press_automation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_automation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_data_table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_row_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_column": "<string>",
"expires_in_days": 183,
"idempotency_key": "<string>",
"workspace": "<string>"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
title: '<string>',
board_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
metric_keys: [],
window_periods: 183,
link_target_id: '<string>',
note_body: '<string>',
site_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
page_path: '<string>',
label: '<string>',
press_tool: '<string>',
press_automation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
switch_automation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
switch_data_table_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
switch_row_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
switch_column: '<string>',
expires_in_days: 183,
idempotency_key: '<string>',
workspace: '<string>'
})
};
fetch('https://app.goosybear.ai/api/v1/tools/widget.add', 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://app.goosybear.ai/api/v1/tools/widget.add",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'board_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'metric_keys' => [
],
'window_periods' => 183,
'link_target_id' => '<string>',
'note_body' => '<string>',
'site_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'page_path' => '<string>',
'label' => '<string>',
'press_tool' => '<string>',
'press_automation_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'switch_automation_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'switch_data_table_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'switch_row_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'switch_column' => '<string>',
'expires_in_days' => 183,
'idempotency_key' => '<string>',
'workspace' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-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://app.goosybear.ai/api/v1/tools/widget.add"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"board_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"metric_keys\": [],\n \"window_periods\": 183,\n \"link_target_id\": \"<string>\",\n \"note_body\": \"<string>\",\n \"site_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"page_path\": \"<string>\",\n \"label\": \"<string>\",\n \"press_tool\": \"<string>\",\n \"press_automation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_automation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_data_table_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_row_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_column\": \"<string>\",\n \"expires_in_days\": 183,\n \"idempotency_key\": \"<string>\",\n \"workspace\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
req.Header.Add("Authorization", "Bearer <token>")
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.post("https://app.goosybear.ai/api/v1/tools/widget.add")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"board_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"metric_keys\": [],\n \"window_periods\": 183,\n \"link_target_id\": \"<string>\",\n \"note_body\": \"<string>\",\n \"site_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"page_path\": \"<string>\",\n \"label\": \"<string>\",\n \"press_tool\": \"<string>\",\n \"press_automation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_automation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_data_table_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_row_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_column\": \"<string>\",\n \"expires_in_days\": 183,\n \"idempotency_key\": \"<string>\",\n \"workspace\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.goosybear.ai/api/v1/tools/widget.add")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"board_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"metric_keys\": [],\n \"window_periods\": 183,\n \"link_target_id\": \"<string>\",\n \"note_body\": \"<string>\",\n \"site_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"page_path\": \"<string>\",\n \"label\": \"<string>\",\n \"press_tool\": \"<string>\",\n \"press_automation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_automation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_data_table_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_row_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_column\": \"<string>\",\n \"expires_in_days\": 183,\n \"idempotency_key\": \"<string>\",\n \"workspace\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"widget_id": "<string>",
"board_id": "<string>",
"answer_note": "<string>",
"replayed": true,
"workspace": "<string>",
"working_in": {
"label": "<string>",
"note": "<string>",
"workspace": "<string>",
"source": "call-override"
}
}{
"ok": false,
"code": "<string>",
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"retry_after_seconds": 123
},
"retry_after_seconds": 123
}{
"ok": false,
"code": "<string>",
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"retry_after_seconds": 123
},
"retry_after_seconds": 123
}{
"ok": false,
"code": "<string>",
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"retry_after_seconds": 123
},
"retry_after_seconds": 123
}{
"ok": false,
"code": "<string>",
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"retry_after_seconds": 123
},
"retry_after_seconds": 123
}{
"ok": false,
"code": "<string>",
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"retry_after_seconds": 123
},
"retry_after_seconds": 123
}Call widget.add
Make a new widget and put it on a desk or project — ‘add a chart of our weekly visits’, ‘put a button that refreshes the briefing on the Client project’, ‘add a switch for the welcome automation to my Today desk’. A widget is a chart, a single number, a breakdown table, a monitor on one thing, a link straight back to a site, page, board or Data table, a note in their words, a button that presses one tool or starts one automation, or a switch that turns one automation on and off. Pass board_id for a desk or project (its id from widget.list or board.tree); with none it lands on the Dashboard’s first desk. For numbers, only call it when you know which numbers it shows and how far back it looks; if the ask is vague, ask one short question first. For one site or page use the site_* numbers with site_id (from page.list) or page_path. Never invent an id for a link, a button or a switch — read it from a tool that listed the thing. An expiry is a promise: pass expires_in_days when they said how long they want it. Not for a bespoke coded card — that is desk.build_card; not for showing an existing widget somewhere else — that is widget.place.
Every result names the workspace it ran in. Say which workspace the answer is about. When the account has more than one workspace and none is selected, this tool refuses with workspace_ambiguous and lists the choices — offer them, never pick one.
curl --request POST \
--url https://app.goosybear.ai/api/v1/tools/widget.add \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"title": "<string>",
"board_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metric_keys": [],
"window_periods": 183,
"link_target_id": "<string>",
"note_body": "<string>",
"site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"page_path": "<string>",
"label": "<string>",
"press_tool": "<string>",
"press_automation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_automation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_data_table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_row_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_column": "<string>",
"expires_in_days": 183,
"idempotency_key": "<string>",
"workspace": "<string>"
}
'import requests
url = "https://app.goosybear.ai/api/v1/tools/widget.add"
payload = {
"title": "<string>",
"board_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metric_keys": [],
"window_periods": 183,
"link_target_id": "<string>",
"note_body": "<string>",
"site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"page_path": "<string>",
"label": "<string>",
"press_tool": "<string>",
"press_automation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_automation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_data_table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_row_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"switch_column": "<string>",
"expires_in_days": 183,
"idempotency_key": "<string>",
"workspace": "<string>"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
title: '<string>',
board_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
metric_keys: [],
window_periods: 183,
link_target_id: '<string>',
note_body: '<string>',
site_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
page_path: '<string>',
label: '<string>',
press_tool: '<string>',
press_automation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
switch_automation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
switch_data_table_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
switch_row_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
switch_column: '<string>',
expires_in_days: 183,
idempotency_key: '<string>',
workspace: '<string>'
})
};
fetch('https://app.goosybear.ai/api/v1/tools/widget.add', 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://app.goosybear.ai/api/v1/tools/widget.add",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'board_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'metric_keys' => [
],
'window_periods' => 183,
'link_target_id' => '<string>',
'note_body' => '<string>',
'site_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'page_path' => '<string>',
'label' => '<string>',
'press_tool' => '<string>',
'press_automation_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'switch_automation_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'switch_data_table_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'switch_row_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'switch_column' => '<string>',
'expires_in_days' => 183,
'idempotency_key' => '<string>',
'workspace' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-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://app.goosybear.ai/api/v1/tools/widget.add"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"board_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"metric_keys\": [],\n \"window_periods\": 183,\n \"link_target_id\": \"<string>\",\n \"note_body\": \"<string>\",\n \"site_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"page_path\": \"<string>\",\n \"label\": \"<string>\",\n \"press_tool\": \"<string>\",\n \"press_automation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_automation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_data_table_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_row_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_column\": \"<string>\",\n \"expires_in_days\": 183,\n \"idempotency_key\": \"<string>\",\n \"workspace\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
req.Header.Add("Authorization", "Bearer <token>")
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.post("https://app.goosybear.ai/api/v1/tools/widget.add")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"board_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"metric_keys\": [],\n \"window_periods\": 183,\n \"link_target_id\": \"<string>\",\n \"note_body\": \"<string>\",\n \"site_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"page_path\": \"<string>\",\n \"label\": \"<string>\",\n \"press_tool\": \"<string>\",\n \"press_automation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_automation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_data_table_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_row_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_column\": \"<string>\",\n \"expires_in_days\": 183,\n \"idempotency_key\": \"<string>\",\n \"workspace\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.goosybear.ai/api/v1/tools/widget.add")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"board_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"metric_keys\": [],\n \"window_periods\": 183,\n \"link_target_id\": \"<string>\",\n \"note_body\": \"<string>\",\n \"site_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"page_path\": \"<string>\",\n \"label\": \"<string>\",\n \"press_tool\": \"<string>\",\n \"press_automation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_automation_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_data_table_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_row_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"switch_column\": \"<string>\",\n \"expires_in_days\": 183,\n \"idempotency_key\": \"<string>\",\n \"workspace\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"widget_id": "<string>",
"board_id": "<string>",
"answer_note": "<string>",
"replayed": true,
"workspace": "<string>",
"working_in": {
"label": "<string>",
"note": "<string>",
"workspace": "<string>",
"source": "call-override"
}
}{
"ok": false,
"code": "<string>",
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"retry_after_seconds": 123
},
"retry_after_seconds": 123
}{
"ok": false,
"code": "<string>",
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"retry_after_seconds": 123
},
"retry_after_seconds": 123
}{
"ok": false,
"code": "<string>",
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"retry_after_seconds": 123
},
"retry_after_seconds": 123
}{
"ok": false,
"code": "<string>",
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"retry_after_seconds": 123
},
"retry_after_seconds": 123
}{
"ok": false,
"code": "<string>",
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"retry_after_seconds": 123
},
"retry_after_seconds": 123
}Authorizations
An API key minted at Settings › API & MCP. Send it as Authorization: Bearer <key>. A key carries its holder's own permissions, resolved on every call — revoking a membership closes the key's reach immediately. Keep it in an environment variable (GOOSY_API_KEY), never in a committed file.
Headers
Your own id for this request, echoed back and recorded on the audit trail. 1–128 characters from A–Z a–z 0–9 . _ : -, starting with a letter or digit; anything else is replaced by a generated id.
128Your key for this write: send the same key when you retry and the first result comes back instead of a second action. Keys are honoured for at least 24 hours. 1–200 visible ASCII characters. Replaces the idempotency_key body field, which still works until 2026-12-31; this action needs a key on one of the two, and the header is the one to send.
200Body
chart for a trend over time · kpi for one number · table for a breakdown · monitor to watch one thing · link for a way straight back to a site, page, board or Data table · note for anything they want written down · button to press one tool or start one automation · switch to turn one automation on and off, or flip one yes/no cell of a Data table · briefing, needs_you and analytics for the week's briefing, what is waiting on them and their analytics panel.
chart, table, kpi, monitor, note, link, button, switch, briefing, needs_you, analytics What they will see on it. Plain business language, their words where you have them.
1The desk or project to put it on: a desk id from widget.list (the Dashboard's tabs) or a project id from board.tree. Omit for the Dashboard's first desk.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Which numbers it shows. Required on chart, table, kpi and monitor; omitted on every other kind.
1 - 6 elementsrev_leads, rev_booked_calls, rev_calls_showed, rev_show_rate, rev_sales_won, rev_revenue_won, rev_revenue_by_source, rev_open_pipeline_value, email_sent, email_delivered, email_delivery_rate, email_opened, email_open_rate, email_clicked, email_click_rate, email_replied, email_complaint_rate, email_bounce_rate, list_size, list_new_subscribers, list_unsubscribe_rate, ads_spend, ads_impressions, ads_clicks, ads_ctr, ads_cpc, ads_cpm, ads_reach, ads_frequency, ads_conversions, ads_cost_per_lead, ads_cost_per_booked_call, ads_attributed_revenue, vid_views, vid_watch_time_minutes, vid_avg_view_duration, vid_impressions, vid_impressions_ctr, vid_subscribers_gained, vid_net_subscribers, vid_breakout_score, soc_posts_published, soc_impressions, soc_engagements, soc_engagement_rate, soc_meta_impressions, soc_meta_engagements, soc_meta_engagement_rate, soc_fb_impressions, soc_fb_engagements, soc_fb_engagement_rate, soc_ig_impressions, soc_ig_reach, soc_ig_engagements, soc_ig_engagement_rate, soc_ig_profile_visits, soc_ig_new_follows, sys_produced, hyros_attributed_revenue, hyros_attributed_leads, web_sessions, web_active_users, web_conversions, web_revenue, web_search_impressions, web_search_clicks, web_search_ctr, web_search_position, site_views, site_visitors, site_sessions, site_conversions, site_conversion_rate How the numbers are bucketed. Use 'day' for a chart unless they asked for weeks or months.
hour, day, week, month, quarter, year, lifetime How far back it looks, counted in grain periods. 'the last 28 days' with grain=day is 28.
1 <= x <= 366What it compares against. 'previous_period' is the usual answer; 'none' shows a bare number.
none, previous_period, same_period_last_year The thing a monitor watches, e.g. {kind: 'ad_set', id: '...'}. Required for that kind.
Show child attributes
Show child attributes
The 'tell me when' threshold. 'no_change_for' takes a number of days as its value.
Show child attributes
Show child attributes
For a link: what it opens — a site, a page, a board (or project), or a Data table. Required for that kind.
page, site, board, data_table For a link: the id of the thing it opens, read from a tool that listed it — a link to an id that does not resolve is a dead widget.
1For a note: what it says, in their words where you have them. Markdown renders. Required for that kind.
1 - 8000For site_* numbers only: narrow it to one of their sites, by its id from page.list — never an invented id. Add page_path for one page of it.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$For site_* numbers only: narrow it to one page by its path, like /pricing — that path on every site unless site_id is also given.
1 - 1024For a button or a switch: the words on it.
1 - 200For a button that presses a tool: the tool's name, like 'briefing.regenerate'. Pressing it runs that tool behind the tool's own approval.
^[a-z][a-z0-9_]*(?:\.[a-z][a-z0-9_]*)+$For a button that starts an automation: its id, read from a tool that listed it.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$For a switch that turns an automation on and off: its id, read from a tool that listed it.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$For a switch on one yes/no cell: the Data table's id. Pass switch_row_id and switch_column with it.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$For a switch on one yes/no cell: the row's id.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$For a switch on one yes/no cell: the column's key.
^[a-z][a-z0-9_]{0,63}$Take it down again after this many days. 'for two weeks' is 14. Omit for a widget that stands until they remove it.
1 <= x <= 366Deprecated on REST: send the Idempotency-Key header instead. Still accepted until 2026-12-31; if both are sent they must match.
1 - 200Which workspace to run in — its slug. Omit to use your default. With more than one reachable workspace and no default, the call is refused and the choices are listed.
1Response
The call was admitted and dispatched. ok says whether the tool succeeded — a refusal the tool itself produced is still a 200, exactly as it is a successful JSON-RPC result over MCP.
- Option 1
- Option 2
The tool ran and answered.
True when this is the first result of an earlier call with the same idempotency_key, returned without writing anything again.
The slug of the workspace this call ran in.
Which workspace this call ran in, and how that was decided. Present on every workspace-scoped result.
Show child attributes
Show child attributes