Dashboards and widgets
A dashboard in a space or folder, a widget with its options and position in one request, chart options, PUT and PATCH, warnings and errors.
On this page
On this page
- Flow at a glance
- Dashboard
- Creating a dashboard
- Reading a dashboard
- Moving, renaming and deleting
- Widgets
- A widget in one request
- Resources referenced in options
- Several widgets at once
- Widget types
- Options schema
- Database view widget
- Map
- Chart options
- Chart types
- Value series
- Record count
- Date axis
- Category limit
- Changing options
- PATCH: only selected keys
- PUT: the whole configuration
- Changing the chart database
- Placement and name
- Grid
- Renaming, copying and deleting
- Checking the result
- Widget configuration
- Widget data
- Count as: data from the owner's permissions
- Who switches the mode on and off
- What the viewer sees
- When the mode switches off
- Suspension on read
- Copies and templates
- Warnings
- Errors
- Permissions
- Dashboards via MCP
A dashboard is a workspace resource, just like a database or a document. Its grid holds widgets (dashboardItem in the API): charts, maps, record lists, database views, time tracking, change history and chat channels. You can build a whole dashboard through the API: create it in a chosen space or folder, add each widget with its configuration and placement in a single request, then check what it actually shows.
Flow at a glance
Collect the IDs: workspace (
GET /me/workspaces), spaces (GET /workspace/:workspaceId/resource-spaces), folders (GET /workspace/:workspaceId/resource-groups), databases (GET /workspace/:workspaceId/databases), database fields (GET /database/:databaseId/properties) and, for adatabase-viewwidget, database views (GET /database/:databaseId/views).Create the dashboard:
POST /workspace/:workspaceId/dashboard.Add widgets:
POST /dashboard/:dashboardId/itemwithtype,optionsandplacement.GET /dashboard-item-type/:dashboardItemType/options-schemareturns theoptionskeys of a given widget type.Check the result:
POST /dashboard-item/:dashboardItemId/datareturns the widget data and warnings.Refine:
PATCH /dashboard-item/:dashboardItemId/optionschanges selected options, andPUT /dashboard-item/:dashboardItemId/placementmoves the widget.Optionally, show the result to people without access to the records:
PUT /dashboard-item/:dashboardItemId/data-accessswitches the chart to counting with your permissions, see Count as: data from the owner's permissions.
Every write completes before the response is sent, and the response contains the state after the write. You don't need to wait, poll or repeat the request.
Dashboard
Creating a dashboard
/workspace/:workspaceId/dashboard| Field | Meaning |
|---|---|
name | Dashboard name |
resourceSpaceId | The space the dashboard should appear in |
resourceGroupId | Folder (resource group). Without resourceSpaceId, the dashboard goes to that folder's space |
isPublic | true gives read access to the whole workspace. Omitted or false: the dashboard is visible to its author and to the people you grant access to |
If you give neither a space nor a folder, the dashboard goes to the workspace's default space. A space or folder from another workspace, or a folder outside the given space, ends with a 400 error with the path resourceSpaceId or resourceGroupId.
{
"name": "Sales",
"resourceSpaceId": "<space id>",
"resourceGroupId": "<folder id>"
}The response contains the dashboard and its entry in the sidebar:
{
"success": true,
"data": {
"dashboard": {
"id": "6703f1c2a9e4b10012d5e101",
"name": "Sales"
},
"resourceItem": {
"id": "6703f1c2a9e4b10012d5e102",
"resourceSpaceId": "<space id>",
"resourceGroupId": "<folder id>",
"position": 3
}
}
}You'll need dashboard.id for widgets. resourceItem.id is the dashboard's entry in the sidebar: you use it to move, rename or delete the dashboard. The shape of the object is described on the Dashboard page.
Reading a dashboard
/dashboard/:dashboardIdReturns dashboard and resourceItem, so you can also find the sidebar entry of a dashboard created earlier or in the app.
Moving, renaming and deleting
| Operation | Endpoint | Body |
|---|---|---|
| Moving to another space or folder | PUT /resource-item/:resourceItemId/position | {"resourceSpaceId": "…", "resourceGroupId": "…"} |
| Renaming | PUT /resource-item/:resourceItemId/name | {"name": "Sales 2026"} |
| Deleting | DELETE /resource-item/:resourceItemId | none |
When moving, resourceGroupId: null puts the dashboard directly in the space, outside any folder. resourceGroupId alone moves the dashboard to the folder together with that folder's space. If you send only resourceSpaceId while the dashboard sits in a folder of the old space, you get 400 with the path resourceGroupId: send resourceGroupId: null with it, or a folder of the new space. A folder and a space that don't match also end with 400. The position field (the place in the list, counted from zero) is optional. Without it, a dashboard moved elsewhere goes to the end of the list, and a dashboard that stays in the same place keeps its position.
A request that leaves the folder and space unchanged and sends the dashboard's current place in the list as position, or doesn't send position at all, saves nothing. It doesn't renumber neighboring entries, doesn't create an activity event and returns the current location. The position field in resourceItem is a sort key, not the place in the list. After other entries are deleted, gaps remain in the numbering, so this number can be greater than the dashboard's place. You work out the place by sorting the entries of the same folder and space by position. On a real change, the resource.item.position.updated event is created only for the sidebar entries whose folder, space or place in the list actually changed.
You list a workspace's dashboards with GET /workspace/:workspaceId/resource-items?resourceType=dashboard. You can also narrow the list with the resourceSpaceId and resourceId parameters. This endpoint acts on behalf of a user, so an app key gets 403. Database views aren't sidebar entries, so resourceType=database-view ends with a 400 error. You list a database's views with GET /database/:databaseId/views.
Widgets
A widget in one request
/dashboard/:dashboardId/item| Field | Meaning |
|---|---|
type | Widget type, required. The values are in the Widget types table |
name | Widget name. The server trims leading and trailing spaces. Omitted or empty: Hypris names a chart and a single-layer map after their database and field, for example “Tasks · Status”, and keeps updating that name until you give your own. Other widget types, a chart without an X axis field and a map with several layers get the type name, for example “Database view”, so send name to tell them apart. A widget named by Hypris has isNameGenerated: true in the response |
databaseId | The widget's database. In chart, database-view and time-tracer widgets, it goes into options.databaseId if the options don't contain it. Without options, a chart and a map configure themselves from this database, and a database-view widget shows its default view, see Database view widget. A time-tracer widget sent without options ignores it and counts sessions from the whole workspace; to limit it to one database, send options: {"databaseId": "..."}. In other widget types, and when options.databaseId is already given, the server ignores it and returns an unknown-option warning with the path databaseId |
options | Widget configuration. The shape depends on type |
placement | Position on the grid: {x, y, width, height}. Omitted: the first free spot, a 4 × 4 widget, see Several widgets at once. The server saves a spot that overlaps other widgets, including widgets created at the same moment, but returns a placement-overlaps warning, see Grid |
When you send options, the server validates them against the widget type and saves what you sent. A chart fills in missing keys with its database's defaults, and a map with the default look of its layers and view. Other widget types save the options as they came. Each fill-in is described by a default-applied warning. A database referenced in the options (databaseId, databaseIds, layers[].databaseId) must belong to the dashboard's workspace and you must have read access to it. Otherwise you get 400 with the path of that database. The same applies to other resources in the options, see Resources referenced in options. Without options, a chart and a map configure themselves: from the databaseId database if you can read it and it suits that widget type, and otherwise from the largest database you have access to.
curl -X POST "https://api.hypris.com/v1/dashboard/$DASHBOARD_ID/item" \
-u "$KEY_ID:$SECRET" \
-H "Content-Type: application/json" \
-d '{
"type": "chart",
"name": "Tasks by status",
"databaseId": "'$DATABASE_ID'",
"options": {
"chartType": "bar",
"columnPropertyIds": ["'$STATUS_PROPERTY_ID'"],
"rowPropertiesPayload": [
{
"rowPropertyId": "'$STATUS_PROPERTY_ID'",
"aggregationType": "count",
"position": 0,
"selectedColor": {"colorType": "palette", "payload": 2}
}
]
},
"placement": {"x": 0, "y": 0, "width": 6, "height": 4}
}'The response contains the saved widget and a list of warnings. The widget has the same shape as in GET /dashboard-item/:dashboardItemId: the options are filled in with the database's defaults, so you'll see more keys in them than you sent.
{
"success": true,
"data": {
"dashboardItem": {
"id": "6703f1c2a9e4b10012d5e201",
"dashboardId": "6703f1c2a9e4b10012d5e101",
"name": "Tasks by status",
"isNameGenerated": false,
"type": "chart",
"placement": {"x": 0, "y": 0, "width": 6, "height": 4},
"options": {
"databaseId": "<database id>",
"chartType": "bar",
"columnPropertyIds": ["<status field id>"],
"rowPropertiesPayload": [
{
"rowPropertyId": "<status field id>",
"aggregationType": "count",
"position": 0,
"selectedColor": {"colorType": "palette", "payload": 2}
}
]
}
},
"warnings": []
}
}An empty warnings list means the server didn't skip or fix anything from your request. isNameGenerated tells you where the widget's name comes from: true is a name given by Hypris, which follows the widget's database and field, and false is a name you gave, which stays permanently. The widget's shape is described on the DashboardItem page.
Resources referenced in options
Every resource the options point to must belong to the dashboard's workspace, and you must have read access to it:
| Key | Resource | List to choose from |
|---|---|---|
databaseId, databaseIds, layers[].databaseId | Database | GET /workspace/:workspaceId/databases |
databaseViewId (database-view widget), drilldownViewId (chart) | Database view | GET /database/:databaseId/views |
conversationId | Conversation | GET /workspace/:workspaceId/conversations |
resourceType with resourceId (activity widget) | The resource whose history the widget shows | For example GET /workspace/:workspaceId/databases |
Otherwise you get 400 with the path of that key, for example options.databaseViewId, and in an activity widget always options.resourceId. All such problems come back in one error, and the widget isn't created. The message says where to get a valid ID:
Invalid request: options.databaseViewId: "6703f1c2a9e4b10012d5e301" is not a view of this workspace that you can read. Send the id of a view listed by GET /database/6703f1c2a9e4b10012d5e111/views.When options change, the server checks only the resources the request changes. It doesn't recheck references saved earlier and sent unchanged.
Several widgets at once
You can create widgets in parallel. The server places the widgets of one dashboard one after another, one at a time. A widget without placement gets a free spot only once the previous one is already on the grid, so no two land in the same spot. A widget with placement goes where you put it, and the placement-overlaps warning also takes into account widgets created at the same moment. The same applies to widget copies. When so many widgets are being created at once in one dashboard that a widget can't be placed within a few seconds, you get 503 with the error name timeout:
{
"success": false,
"error": {
"message": "Too many widgets are being added to this dashboard at the same time, so this one could not be placed and nothing was created. Try again in a moment.",
"name": "timeout",
"requestId": "3f2c9a4e-8d1b-4c6f-9e2a-5b7d0c1e4f60"
}
}The widget wasn't created, so retry the request after a moment. This also applies to widgets with placement, because they wait in the same queue as the others.
Widget types
type | What it shows | Key options |
|---|---|---|
chart | A chart from one database's data | Described in the Chart options section |
map | Records with a location field on a map | databaseIds, locatePropertyIds, layers, viewPreferences |
database-view | A database view, for example a table or kanban | databaseId, databaseViewId |
time-tracer | Work time recorded in a time tracker field | databaseId, databasePropertyId, userIds, dynamicDateRange or dateRange, stacked, filter |
aggregated-item-list | Records from the whole workspace that match a shared filter | filter |
activity | A resource's change history | resourceType, resourceId |
conversation | A chat channel | conversationId |
In a time-tracer widget, the dynamicDateRange field takes Today, Yesterday, ThisWeek, LastWeek, ThisMonth, LastMonth, ThisYear or LastYear. As long as it's set, the server computes dateRange from it itself, on write and on read, so a dateRange you send changes nothing. When a request changes only dateRange and dynamicDateRange stays unchanged, for example in a PATCH, the response contains a date-range-ignored warning. To use a fixed window, send dateRange together with "dynamicDateRange": null. You give dates the same way as in a chart's fixed range, see Date axis. A day without a time covers that whole day in UTC, so ["2026-10-01", "2026-10-31"] also counts sessions started on October 31. A date with a time marks an exact moment. userIds narrows sessions to selected people, and null and an empty array [] mean the same thing: sessions of all people. The widget counts only sessions of records the caller can read, and its tooltips show only fields the caller has access to.
A time-tracer widget with "databaseId": null counts sessions from the whole workspace. If it also has a filter, it counts only sessions of records from the databases whose fields the filter uses: the filter lets through only matching records, and a record from another database doesn't have the fields the filter checks. The widget data then contains a value-normalized warning with the path options.filter that lists those databases. To count sessions of all databases, send "filter": null. A filter whose fields no longer exist or whose conditions are disabled doesn't narrow anything.
Options schema
/dashboard-item-type/:dashboardItemType/options-schemaReturns the JSON schema of the options of one widget type: every key with a description, type and allowed values. dashboardItemType is a value from the Widget types table. Any other value, for example time-tracker, ends with a 400 error with a list of valid types.
{
"success": true,
"data": {
"dashboardItemType": "chart",
"schema": {
"type": "object",
"properties": {
"chartType": {
"anyOf": [
{"type": "string", "enum": ["bar", "full-stack-bar", "cluster-bar", "stack-bar", "column"]},
{"type": "null"}
],
"description": "How the chart is drawn. …"
}
},
"additionalProperties": true
}
}
}Creating a widget and PUT and PATCH of options accept any object in options. Only then does the server validate it against the widget type and, in a 400 error, point to the path of every invalid key. That's why options is a plain object in the endpoint catalog, and this endpoint gives the full list of keys. Via MCP, it's the Get_dashboard_item_options_schema tool.
Database view widget
{
"type": "database-view",
"options": {
"databaseId": "<database id>",
"databaseViewId": "<view id from GET /database/:databaseId/views>"
}
}A new databaseViewId, when creating a widget or changing options, must belong to the dashboard's workspace and you must be able to read it, otherwise you get 400 with the path options.databaseViewId. Without databaseViewId, the server picks a view the way the app does when you open a database: the database's default view, or, if there's none or you don't have access to it, the first view in the list you can read. This works when creating a widget (also with just databaseId next to type, without options), in PUT and in PATCH. The response then contains a default-applied warning with the path options.databaseViewId that gives the ID and name of the chosen view. If the database has no view you can read, you get a widget-not-configured warning, and you list the database's views with GET /database/:databaseId/views.
A PATCH that changes only databaseId keeps the saved view of the old database, and the response warns that the view doesn't belong to the new database. Send the new database's view along with it, or "databaseViewId": null so the server picks the default view.
Map
{
"type": "map",
"options": {
"layers": [
{
"databaseId": "<database id>",
"propertyId": "<location field id>",
"options": {
"icon": {"name": "location-dot", "unicode": "f3c5", "size": 16},
"colorByField": false,
"colorPropertySourceId": "",
"color": {"colorType": "palette", "payload": 3},
"filter": null
}
}
],
"viewPreferences": {"mapType": "Street", "autoCenter": true, "autoZoom": true}
}
}In a map, the layer's databaseId and propertyId are enough. The server fills in a missing layer look and missing viewPreferences keys with defaults. The server keeps locatePropertyIds and databaseIds consistent with the layers: locatePropertyIds is always the location fields from layers[].propertyId, and the server adds to databaseIds the layer databases missing from it. databaseIds is the list of databases in the map settings from which the app lets you choose location fields, so a database can be on it without any layer. That's why the server doesn't remove databases from databaseIds on its own: a PATCH that removes a layer removes its field from locatePropertyIds, but its database stays in databaseIds. To remove it, send databaseIds without it. A PATCH without databaseIds keeps the saved list and adds the databases of new layers, and a PUT without databaseIds saves only the layer databases in it. So you can omit both keys, also in a PATCH that changes only layers. A map has at most 50 layers and at most 50 databases in databaseIds, including the layer databases the server adds. A request after which the list would have more databases ends with a 400 error with the path options.databaseIds and saves nothing. This also applies to a PATCH that adds a layer of a new database to a map with a full list: send databaseIds in it too, without the database you don't need.
Every fill-in or reconciliation that changes the result is described by a default-applied warning. The server compares the result with what you sent, and when you omit a key or send it as null in PUT or PATCH, with the value saved in the widget. null and a missing key mean the same thing, also in nested objects, and the order of IDs in databaseIds and locatePropertyIds doesn't matter. The server compares a layer sent without options with the saved layer of the same database and the same field, even if it moved in the list. That's why a PUT with layers and viewPreferences read through GET /dashboard-item/:dashboardItemId, even without databaseIds and locatePropertyIds, returns no warnings as long as the layers don't change and databaseIds has no database without a layer.
Chart options
A chart counts the records of one database. It groups them by the category axis field (X axis) and computes value series (Y axis) for each group.
| Key | Meaning |
|---|---|
databaseId | The database the chart counts from |
chartType | Chart type, see Chart types |
columnPropertyIds | Category axis (X): an array with the ID of one field, for example a status or a date |
rowPropertiesPayload | Value series (Y), see Value series |
stackPropertyId | A field that splits each category into groups, for example the assignee. Needed in stack-…, full-stack-… and cluster-… charts. null turns the split off |
filter | A filter for the records, the same tree as in the Filtering and sorting guide. null counts all records |
primaryAxisAggregationType | Bucket size on the date axis: day, week, month, quarter or year |
primaryAxisCalculationType | dynamic (a range relative to today, the default) or static (fixed dates). Chooses which of the two ranges below the chart uses |
primaryAxisRelativeDateRange | A range relative to today, used with primaryAxisCalculationType: "dynamic". See Date axis |
primaryAxisStaticDateRange | A fixed range, used only with primaryAxisCalculationType: "static", for example {"fromDate": "2026-01-01", "toDate": "2026-03-31"}. Both dates inclusive |
shouldShowDatesBetweenWithEmptyValues | true also shows date buckets without records |
sortPropertyId, axisSort | Category order. axisSort is category-field-order, category-field-reverse-order, primary-ascending, primary-descending, value-ascending or value-descending |
itemsLimit | Only the largest or smallest categories, see Category limit |
Presentation keys set the chart's look:
| Key | Values |
|---|---|
showLegend, legendPosition | true or false; position top, right, bottom or left |
dataLabels, dataLabelsContent | Value labels on the chart; in pie and doughnut charts value, percentage or percentageAndValue |
xAxisFontSize, yAxisFontSize, dataLabelsFontSize | small, medium or large |
showXAxisLabels, showYAxisLabels, linesX, linesY | true or false |
showTotal | true shows the total of the values |
shouldColorChartByField | true colors categories with the field's colors, for example status colors |
valueAxisScale | {"isAuto": false, "min": 0, "max": 100} pins the value axis. Omitted: the axis fits the data |
Other keys you see in the response, for example spaceId or tooltipConfig, are set by the server or the app. You can omit them.
A new chart without shouldShowDatesBetweenWithEmptyValues gets true, and without shouldColorChartByField it gets true when the database's default category axis is a status or labels. An older chart, saved without these keys, draws its data as if they were false. Reading then returns them as false, and PUT and PATCH that don't send them save false. So saving options read through GET /dashboard-item/:dashboardItemId won't change the colors or date buckets of such a chart. A chart that doesn't draw anything yet, because it lacks a database, a type, category axis fields or value series, doesn't get such a false on read. Reading returns the database's defaults for it, and without a database it omits these keys. So the first configuration of such a chart takes the defaults of the chosen database.
Chart types
chartType | Look |
|---|---|
bar | Vertical bars, categories on the X axis |
stack-bar | Stacked vertical bars, groups from stackPropertyId |
full-stack-bar | Vertical stack to 100% |
cluster-bar | Vertical bars side by side, one per group |
column, stack-column, full-stack-column, cluster-column | The same horizontally, categories on the Y axis |
line, line-smooth, line-point, line-step, line-dotted | Lines |
area | Area under the line |
pie, doughnut, polar-area | Each category's share of the whole |
radar | Radar chart |
bubble, scatter | Points |
Value series
[
{
"rowPropertyId": "<amount field id>",
"aggregationType": "number-sum",
"position": 0,
"selectedColor": {"colorType": "palette", "payload": 2}
}
]| Key | Meaning |
|---|---|
rowPropertyId | The field you compute from. With count you can omit it |
aggregationType | How to compute, required |
position | Series order. Omitted: the place in the array |
selectedColor | Series color: {"colorType": "palette", "payload": 2} (a palette color number from 0 to 119) or {"colorType": "custom", "payload": "#3366ff"}. Omitted: the default color |
A field can appear in only one series. The chart accepts these aggregation types:
aggregationType | What it computes | Field type |
|---|---|---|
count | The number of records | any |
count-empty | Records with an empty field | any |
count-non-empty | Records with a filled-in field | any |
number-sum | Sum | number, formula |
number-average | Average | number, formula |
number-min | Minimum | number, formula |
number-max | Maximum | number, formula |
rating-sum | Sum of ratings | rating |
time-tracker-sum | Total time of finished sessions in minutes | time tracker |
The aggregation type must match the field type. If it doesn't, for example number-sum on a status field, the server saves the series but returns an aggregation-type-not-supported warning with the list of types for that field, because such a series will most likely show only zeros. The AggregationType glossary has more values, but the chart accepts only those in the table. The server saves old names (sum, average, min, max, count-not-empty and formula-sum, formula-average, formula-min, formula-max) under the new name, for example number-sum, and returns a value-normalized warning. Any other value, for example median, ends with a 400 error with the list of allowed values.
Record count
The most common question, how many records are in each status, is a series with aggregationType: "count":
{
"databaseId": "<database id>",
"chartType": "bar",
"columnPropertyIds": ["<status field id>"],
"rowPropertiesPayload": [{"aggregationType": "count"}]
}Without rowPropertyId, position and selectedColor, the server fills in the series the way the default configuration does and adds a default-applied warning for each filled-in key to the response.
Date axis
When the category axis is a date field (date, created-at, updated-at, and also a teleport or formula that returns a date), records go into buckets of the primaryAxisAggregationType size, and the chart shows only the chosen date range. Buckets are computed in UTC, and the week starts on Monday (ISO 8601).
A relative range is described by its two ends. Each is an offset from today:
{
"primaryAxisAggregationType": "month",
"primaryAxisCalculationType": "dynamic",
"primaryAxisRelativeDateRange": {
"from": {"offset": -11, "unit": "month", "snap": "start"},
"to": {"offset": 0, "unit": "month", "snap": "end"}
}
}| Field | Meaning |
|---|---|
offset | The number of periods from today: negative into the past, 0 is the current period, positive into the future |
unit | day, week, month, quarter or year |
snap | start or end pins the end of the range to the start or end of the period, none keeps the exact day |
If you give only primaryAxisAggregationType, the server picks a range to match the bucket size: the last 14 days for day, and for longer periods the current one and the two previous ones. The response then contains a default-applied warning.
A fixed range works only together with primaryAxisCalculationType: "static":
{
"primaryAxisAggregationType": "month",
"primaryAxisCalculationType": "static",
"primaryAxisStaticDateRange": {"fromDate": "2026-01-01", "toDate": "2026-03-31"}
}Give range dates as a calendar day, for example 2026-01-01, optionally with an ISO time, for example 2026-01-01T08:30:00Z. The server also accepts the form in which the app saves dates, for example Thu, 01 Jan 2026 00:00:00 GMT. Any other format, for example 1, 2026 or 01/12/2026, and a day that doesn't exist in the calendar, for example 2026-02-30, end with a 400 error.
When you send one of the two ranges without primaryAxisCalculationType, the server assumes the chart should use it and sets the matching type: static for primaryAxisStaticDateRange and dynamic for primaryAxisRelativeDateRange. This works the same when creating a widget, in PUT and in PATCH, and the response contains a default-applied warning with the path options.primaryAxisCalculationType, not date-range-ignored. The server looks only at the keys sent in the request, not at the ranges saved earlier in the widget. For example, a PATCH with just {"primaryAxisStaticDateRange": {"fromDate": "2026-01-01", "toDate": "2026-03-31"}} switches a chart with the dynamic type to static. To save a fixed range and stay with the relative range, send it together with "primaryAxisCalculationType": "dynamic": the type doesn't change, and the response has a date-range-ignored warning. When the chart already has the type that matches the range you sent, there's no warning.
The chart saves both ranges but uses only the one primaryAxisCalculationType points to. You get a date-range-ignored warning when the request changes only the range the chart doesn't use and the type can't be inferred from it, because you also sent primaryAxisCalculationType or both ranges. That's the case, for example, in a PATCH with "primaryAxisCalculationType": "dynamic" and a new primaryAxisStaticDateRange, or in a PUT of full options in which you changed only the unused range. When creating a widget, every range you send counts as a change. When the request also changes the range the chart uses, or doesn't change any range, for example when you save back options read through GET /dashboard-item/:dashboardItemId, there's no warning. The server compares a relative range by the interval it denotes, not key by key. That's why a primaryAxisRelativeDateRange that reading derived from an old primaryAxisDynamicDateRange, and default ranges that reading added to a chart without saved ranges, don't count as a change. To switch the chart to the other range, send just that range, or the range together with the matching primaryAxisCalculationType.
The old primaryAxisDynamicDateRange key, for example {"type": "past", "periodType": "month", "numberOfPeriods": 3}, still works. The server converts it to primaryAxisRelativeDateRange and returns a deprecated-option warning. Use primaryAxisRelativeDateRange in new code.
When the category axis isn't a date, granularity and the date range change nothing. A request that changes the granularity then gets a date-granularity-ignored warning, and one that changes one of the two date ranges gets a date-range-ignored warning. Changing both ranges at once gives no warning.
Clicking a bar in the app, in a widget opened in full screen, opens a table of that category's records with the columns of the view from drilldownViewId. On a date axis, the table shows records from the bucket's days, also when the axis is a date teleport: it then filters it the same way as a table filter on that field, and a date with a range by its start date. On an axis with a formula that returns a date, clicking opens nothing, because the formula saves the date as formatted text that can't be compared with a date range. In the widget data, such categories have null in labelFilterFragments.
Category limit
{
"itemsLimit": {
"ranking": {"direction": "largest", "count": 10},
"threshold": null,
"groupRest": true
}
}ranking keeps the count (from 1 to 100) largest (largest) or smallest (smallest) categories. threshold keeps the categories whose total meets a condition, for example {"operator": "greater-than", "value": 1000}. The operators are greater-than, greater-than-or-equal, less-than and less-than-or-equal. groupRest: true gathers the remaining categories into one. null shows all of them. The server removes a limit that can't be used and returns a value-normalized warning.
Changing options
Both methods validate the options against the widget type and return {dashboardItem, warnings} with the state after the write. dashboardItem has the same shape as in GET /dashboard-item/:dashboardItemId, including the options filled in with defaults and the isNameGenerated field, so the response and a later read have the same keys. Changing options and the name requires the dashboard.item.update permission, and changing options also requires the widget type to be in the workspace plan, see Permissions. Changing the data of a chart that counts with its owner's permissions can switch it back to the viewer's permissions, see When the mode switches off.
The server checks new databases, views, conversations and resources in the options the same way as when creating a widget, see Resources referenced in options. A resource outside the dashboard's workspace, or one you can't read, ends with a 400 error, and the options stay unchanged.
PATCH: only selected keys
/dashboard-item/:dashboardItemId/options{
"options": {"chartType": "line"}
}A key you send replaces the saved value.
nullclears a key. For example,"stackPropertyId": nullturns off the split into groups, and"primaryAxisRelativeDateRange": nullrestores the default date range.Keys you don't send stay unchanged.
You replace objects and arrays as a whole. To change one series, send the whole
rowPropertiesPayload.
A key the chart can't be drawn without, for example chartType or columnPropertyIds, returns to its default value after being cleared, and the response contains a default-applied warning.
The server merges the change with the widget's latest saved state. When someone changes the widget at the same time, for example in the app, the server reads the widget again and merges your change with the new state, so no change is lost. When three attempts in a row fail, you get 409 with the error name conflict:
{
"success": false,
"error": {
"message": "The widget was changed by someone else while this PATCH was applied; read it again (GET /dashboard-item/6a69a7c976a3772753042350) and retry.",
"name": "conflict",
"requestId": "3f2c9a4e-8d1b-4c6f-9e2a-5b7d0c1e4f60"
}
}Then read the widget through GET /dashboard-item/:dashboardItemId, check whether your change still makes sense, and send the PATCH again. PUT doesn't merge changes, so the last write wins. The exception is a widget with the owner mode saved (see Count as: data from the owner's permissions): PUT saves it conditionally, like PATCH, so that the decision about the mode applies to the widget's latest state, so after three failed attempts it also returns 409.
PUT: the whole configuration
/dashboard-item/:dashboardItemId/optionsPUT replaces all of the widget's options. Keys you don't send return to the database's defaults. So a chart that already has a database requires options.databaseId. Without it, you get 400:
Invalid request: options.databaseId: options.databaseId is required: PUT replaces all options of the widget. Send the full options object, or use PATCH /dashboard-item/6a69a7c976a3772753042350/options to change only some keys.When a saved key you didn't send gets a different value because of this, the response contains a single default-applied warning with the path options. It lists those keys and the first changes in the form “old value → new value”:
options.legendPosition was not sent; PUT replaces all options, so it was reset (legendPosition: "right" → "top"). Send the full options object, or use PATCH /dashboard-item/6a69a7c976a3772753042350/options to change only some keys.A key that disappeared from the options after the write or has the value null has unset after the arrow. Long values are shortened to 40 characters, and when the old and new values look the same after shortening, the warning gives just the key with the word changed, for example filter: changed.
There's no warning when the omitted keys kept their values, or when changing the database restored the default configuration, because the options-reset-to-defaults warning describes that. null means the same as a missing key, also in nested objects, so the warning doesn't cover keys saved as null or changes in which only a nested key with a null value was added. It also doesn't cover keys that a separate warning with a more precise path already describes, for example default-applied for a map's options.viewPreferences, so the same change doesn't appear in the response twice. It also skips keys the server computes itself: a chart's spaceId, primaryAxisDynamicDateRange when you sent primaryAxisRelativeDateRange, a map's databaseIds and locatePropertyIds when you sent layers, and the dateRange of a time-tracer widget when you sent dynamicDateRange. PATCH and widget creation don't return this warning.
Use PUT when you have the whole configuration, for example copied from GET /dashboard-item/:dashboardItemId and modified. For small changes, choose PATCH.
Changing the chart database
When you change databaseId, the server checks the field IDs in the options: columnPropertyIds, rowPropertiesPayload[].rowPropertyId, stackPropertyId, sortPropertyId and timeTrackerSource.databasePropertyId, and in a work time chart also timeTrackerSource.columnDimension and timeTrackerSource.stackDimension when they point to a database field rather than a session dimension, such as person or week.
If they all belong to the new database, the options stay, and missing keys get the new database's defaults.
If any of them belongs to another database, or you don't give any, the chart returns to the new database's default configuration. The response then contains an
options-reset-to-defaultswarning with the list of fields from outside the new database.
When the chart reported work time, that is, it had a timeTrackerSource with a time tracker field, the reset also removes that report. The options-reset-to-defaults warning says so explicitly and gives the field the chart counted time from, and the response and a later read have "timeTrackerSource": null. To report time again, send timeTrackerSource with a time tracker field of the new database. Sending "timeTrackerSource": null means you turn off the report yourself, so the warning doesn't mention it.
A PATCH that changes databaseId doesn't take from the saved options the keys that point to fields or views of the old database (columnPropertyIds, rowPropertiesPayload, stackPropertyId, sortPropertyId, axisGroupedItemsSort, timeTrackerSource, filter, drilldownViewId, spaceId). So it's enough to send the new database and the fields of the new database you want to set, for example {"databaseId": "…", "columnPropertyIds": ["…"], "rowPropertiesPayload": [{"aggregationType": "count"}]}. The rest of these keys get the new database's defaults. The new database must belong to the dashboard's workspace and you must have read access to it, otherwise you get 400.
When the database change keeps the options, the server also adapts to the new database keys you don't need to send. This works the same in PUT and in PATCH:
spaceIdgets the new database's space. If you sent a different one, the response contains avalue-normalizedwarning.The server clears a
drilldownViewIdthat isn't a table view of the new database tonulland returns avalue-normalizedwarning with that view's ID. Clicking a bar then opens the database's first table view.
The server checks a new drilldownViewId with the same database, and also when creating a chart, the same way: it clears a view of another database, or a view that isn't a table, with the same warning. A view outside the dashboard's workspace, or one you can't read, ends with a 400 error with the path options.drilldownViewId. GET /database/:databaseId/views returns the database's views.
Placement and name
Grid
/dashboard-item/:dashboardItemId/placementThe dashboard grid has 12 columns. A widget is a rectangle:
| Field | Meaning |
|---|---|
x | Column of the left edge, from 0 to 11 |
y | Row of the top edge, from 0 (the top of the dashboard) |
width | Width in columns, from 1 to 12. x + width can't exceed 12 |
height | Height in rows, from 1 to 100. A row is about 128 pixels |
{
"placement": {"x": 6, "y": 0, "width": 6, "height": 4}
}A sample layout of five widgets:
[
{"x": 0, "y": 0, "width": 6, "height": 4},
{"x": 6, "y": 0, "width": 6, "height": 4},
{"x": 0, "y": 4, "width": 4, "height": 3},
{"x": 4, "y": 4, "width": 4, "height": 3},
{"x": 8, "y": 4, "width": 4, "height": 3}
]The response contains the dashboardItem after the change, in the same shape as GET /dashboard-item/:dashboardItemId. Other keys, for example column or row, and out-of-range values end with a 400 error. The app spreads out overlapping widgets when it displays the dashboard, so the layout won't stay the way you sent it. Choose free spots: GET /dashboard/:dashboardId/items returns the placement of the other widgets. When creating a widget, the server checks this for you: it saves the widget in the given spot but returns a placement-overlaps warning with the IDs of the widgets it overlaps, including ones created at the same moment. Widgets that only touch at an edge don't overlap. PUT …/placement doesn't check this. On screens narrower than 1024 pixels, the app lays out widgets in a single column. Changing placement requires the dashboard.item.update.placement permission.
Renaming, copying and deleting
| Operation | Endpoint | Body |
|---|---|---|
| Renaming | PUT /dashboard-item/:dashboardItemId/name | {"name": "Sales this quarter"} |
| Copying a widget | POST /dashboard-item/:dashboardItemId/clone | none |
| Deleting a widget | DELETE /dashboard-item/:dashboardItemId | none |
The server trims leading and trailing spaces from the name. A name given through PUT …/name stays permanently, also when you change the chart's database or field. An empty name ("" or only spaces) restores the name given by Hypris: in a chart and a single-layer map, from the database and field, for example “Tasks · Status”, and in other widget types, in a chart without an X axis field and in a map with several layers, the widget type name. From then on, the name follows the widget's database and field again. The response contains dashboardItem with the name the server saved, and isNameGenerated: true when the name follows the widget again. A copy gets the original's name, isNameGenerated and options, and goes to the first free spot, with the same size as the original. A copy doesn't get the counting mode: it always counts with the viewer's permissions (dataAccess.mode: "viewer"), even when the original counts with its owner's permissions. Parallel copies don't land in the same spot, and with 503 the copy wasn't created, as in the Several widgets at once section.
Checking the result
Widget configuration
/dashboard-item/:dashboardItemIdReturns the widget with its options merged with defaults, which is exactly what the chart uses. That's why you'll see more keys in the response than you sent. GET /dashboard/:dashboardId/items returns all of the dashboard's widgets in the same shape. The dashboardItem in the response of every write has the same shape: widget creation and copy, PUT and PATCH of options, placement change, rename and counting mode change.
Every widget has an isNameGenerated field. true means Hypris gave the name and will change it along with the widget's database and field. false means someone gave the name manually, when creating the widget or through PUT /dashboard-item/:dashboardItemId/name, and it will stay unchanged. Older widgets, saved without this information, also have false.
Every widget also has a dataAccess field in the form {mode, ownerUserId, ownerName, setAt}. It tells you whose permissions compute the widget's data: viewer is the permissions of each viewer, and owner is the owner's permissions, see Count as: data from the owner's permissions.
Widget data
/dashboard-item/:dashboardItemId/dataThe body can be empty ({}). An aggregated-item-list widget accepts pagination in it: {"params": {"offset": 0, "limit": 50}}.
{
"success": true,
"data": {
"data": {
"labels": ["New", "In progress", "Done"],
"datasets": [
{"label": "Status", "data": [4, 7, 12], "rowPropertyId": "<status field id>"}
]
},
"warnings": [],
"dataAccess": {"mode": "viewer", "ownerName": null}
}
}The chart result is in data.data: the first data is the response envelope, the second is the widget data. labels are the X axis categories, and each element of datasets is one series with values in the same order as labels.
dataAccess tells you whose permissions the server actually used to compute this data: viewer means yours, and owner means those of the widget's owner, whose name ownerName gives. When a widget has the owner mode saved but can't use it at the moment, the data is computed with your permissions, mode is viewer, and a data-access-… warning gives the reason, see Suspension on read.
This is the widget's raw data, before it's laid out on screen:
Categories of a regular axis are sorted alphabetically by label. The order from
axisSortand the limit fromitemsLimit, together with the “Other” category, are applied only by the app. So the result from/datahas all categories, and you compute a “top 10” ranking yourself fromdatasets.On a date axis, labels come in order and have a fixed form:
2026-01-15forday,2026-W03forweek(ISO week),2026-01formonth,2026-Q1forquarterand2026foryear.labelFilterFragmentshas, for each label and in the same order aslabels, a filter condition that selects the records of that category, in the shape from the Filtering and sorting guide. The app combines it with the chart'sfilterwhen you click a bar.nullmeans the category can't be expressed as a filter, for example on an axis with a formula that returns a date, and in a work time chart.mapanddatabase-viewwidgets have no data to compute and returndata: null. Theirwarnings, however, say whether the configuration is complete, for example that a map layer points to a field without a location or that the view doesn't belong to the database. These warnings also follow the caller's permissions: a database outside the widget's workspace isdatabase-not-found, and a database or view you can't read isdatabase-not-accessiblewith only the ID from the widget's options.
An empty chart always has an explanation in warnings:
code | Meaning |
|---|---|
widget-not-configured | The chart type, category axis or series is missing |
property-not-in-database | A field from the options doesn't exist in the chart's database, for example it was deleted |
database-not-found | The database from the options doesn't exist or belongs to a different workspace than the dashboard. The chart counts only databases in its own workspace |
database-not-accessible | You can't read the records of the database the widget counts from |
property-not-accessible | You don't have access to an axis or series field, so the widget leaves it out of the result |
no-matching-records | The configuration is valid, but no record matches the filter or date range |
Widget data is computed with the permissions of whoever asks: from the records they can read (including their role's record filter) and from the fields they have access to. Dynamic values in the filter, such as me, point to the caller. So the same widget can show different results to different people. With an app key, me is empty and doesn't point to anyone.
The exception is a chart with dataAccess.mode: "owner". Records are then limited by the owner's record filter, not the caller's, so everyone sees the same numbers and axis labels. The fields are only those both the caller and the owner can read, and me still points to the caller. Reading records (database.item.read) then isn't needed for the numbers, but without it the data doesn't contain drill-down conditions. Details are in the Count as: data from the owner's permissions section.
Count as: data from the owner's permissions
By default, a chart counts with the permissions of whoever views it, so a person without read access to the database records sees an empty chart. When a guest, client or team should see the result without access to the records, switch the chart to counting with the permissions of one person, the widget's owner. Everyone who reads the widget and can open its database then sees the same numbers and axis labels.
/dashboard-item/:dashboardItemId/data-access{"mode": "owner"}mode | How the chart counts |
|---|---|
viewer | With the permissions of each viewer. This is the default |
owner | From the record filter of the person who sends the request. That person becomes the widget's owner |
The owner is always whoever sends the request. The body accepts no other keys, so, for example, ownerUserId ends with a 400 error. A request that changes nothing, that is viewer on a widget without the owner mode, or owner from the current owner with the chart data and its fields unchanged, saves nothing and doesn't go into the history.
The response contains dashboardItem in the same shape as GET /dashboard-item/:dashboardItemId:
{
"success": true,
"data": {
"dashboardItem": {
"id": "6703f1c2a9e4b10012d5e201",
"type": "chart",
"dataAccess": {
"mode": "owner",
"ownerUserId": "6703f1c2a9e4b10012d5e401",
"ownerName": "Anna Nowak",
"setAt": "2026-10-19T09:30:00.000Z"
}
}
}
}dataAccess field | Meaning |
|---|---|
mode | viewer or owner |
ownerUserId | The owner's ID. null in viewer mode |
ownerName | The owner's name, the same one the app shows. null in viewer mode and when the owner's account no longer exists |
setAt | The moment the owner switched the mode on. null in viewer mode |
A mode change goes into the dashboard history as a widget change, and the app refreshes the widget for everyone who has the dashboard open.
Who switches the mode on and off
| Operation | Who can |
|---|---|
{"mode": "owner"} | A person signed in with their own account, in the app or with a user key, who is an administrator of the chart's database (database.admin) or of the workspace (workspace.admin). They always switch the mode on for themselves |
{"mode": "viewer"} | Anyone who can change the widget (dashboard.item.update), including an app, an agent and the AI assistant |
Both operations require dashboard.item.update on the widget and the widget type in the workspace plan. The server checks these first, and only then, for owner, who sends the request, whether the chart qualifies and whether the sender is an administrator. The owner mode can't be switched on by an app key, an OAuth token (including an assistant connected via MCP with OAuth), the AI assistant or Hypris agents, even when they act on behalf of an administrator, nor through public link access or god mode. A database administrator who can't change the widget can't switch it on either.
The mode works only in a chart (chart) with a database selected that doesn't report work time (timeTrackerSource). Any other widget ends with a 400 error with a path that says why:
This widget cannot count with the permissions of its owner: options.timeTrackerSource: a time tracker chart always counts the sessions each viewer may readAnother administrator who sends {"mode": "owner"} takes over the widget: from then on, the chart counts with their permissions.
What the viewer sees
In owner mode, the server computes chart data like this:
Records: all records the owner's record filter lets through. The owner is an administrator of the database or workspace, and an administrator has no base filter, so the chart counts the whole database, narrowed only by the chart's
filter. Every aggregation type from the Value series table works.Fields: only those both the viewer and the owner can read. The widget leaves out an axis, series or split field the viewer can't read, with a
property-not-accessiblewarning, as inviewermode.Filter: the chart's
filterapplies in full, including conditions on fields the viewer can't read. Dynamic values, such asme, point to the viewer, not the owner.Labels: axis and split labels come from the records of the whole database. For a relation field, these are the titles of linked records in another database, including ones the viewer can't read, even when the owner doesn't administer that database.
Drill-down: a viewer with
database.item.readgetslabelFilterFragmentsandstackFilterFragmentas inviewermode. The record list with that condition goes through the regular database records, so it shows only records the viewer can read, including through their role's record filter. So a bar can say 1200 while the list after clicking shows 300. A viewer withoutdatabase.item.readgetsnullfor every label and"stackFilterFragment": null, and clicking a bar in the app opens nothing.Look: the data has all categories with labels and values.
itemsLimitwith the “Other” category, hidden axis labels (showXAxisLabels,showYAxisLabels), hidden names (namesToggled) andshowAbsoluteValuesonly change the drawing in the app. Anyone who reads the widget can read the full data through the API or MCP.
The viewer needs dashboard.item.read on the widget, database.read on the chart's database and database.property.read on the axis, series and split fields. Reading records (database.item.read) isn't needed. This also applies to an assistant connected via MCP with OAuth and to Hypris agents: their narrowed permissions must include these three permissions, but not reading records, so they get the numbers and labels of a widget in owner mode even when they can't read the records of its database. Without database.read, the data is empty, and the database-not-accessible warning says that the chart counts with its owner's permissions but you can't open its database. A guest from a public link sees the numbers only when the link also gives them database.read on the chart's database.
{
"success": true,
"data": {
"data": {
"labels": ["New", "In progress", "Done"],
"labelFilterFragments": [{"...": "condition for the New category"}, {"...": "condition for the In progress category"}, {"...": "condition for the Done category"}],
"datasets": [
{"label": "Status", "data": [41, 73, 120], "rowPropertyId": "<status field id>", "stackFilterFragment": null}
]
},
"warnings": [],
"dataAccess": {"mode": "owner", "ownerName": "Anna Nowak"}
}
}When the mode switches off
PUT and PATCH of options that don't change the chart data leave the mode unchanged. The chart data is every option key except the look keys: chartType, showLegend, legendPosition, tooltipConfig, dataLabels, dataLabelsContent, dataLabelsFontSize, xAxisFontSize, yAxisFontSize, showXAxisLabels, showYAxisLabels, linesX, linesY, showTotal, showAbsoluteValues, namesToggled, advancedSettings, shouldColorChartByField, shouldFormatDisplayValues, valueAxisScale, itemsLimit, axisSort, axisGroupedItemsSort, selectedChartParticularColor, drilldownViewId, spaceId, sortPropertyId and the deprecated lines, sortType, xAxisSort, yAxisSort, wasPrimaryAxisAggregationTypeChanged, rowPropertyIds, aggregationType, valueAxisCalculationType, columnPropertyTypes, rowPropertyTypes, sortPropertyType and groupByPropertyType, and in series selectedColor and position. A date range the chart doesn't use with its current primaryAxisCalculationType isn't data either. When the category axis isn't a date or the chart doesn't group dates (primaryAxisAggregationType), primaryAxisAggregationType, the date range and shouldShowDatesBetweenWithEmptyValues aren't data either. A deprecated series aggregation type, for example formula-sum, counts as its replacement (number-sum). Renaming and moving the widget don't touch the mode.
When a write changes the chart data, for example the database, axis, series, split, filter or the date range in use:
An owner who can still switch the mode on, that is, sends the write with their own account, is an administrator of the chart's database after the change, and whose chart still qualifies, keeps the mode for the new settings.
Any other write switches the widget to
viewerin the same request. This applies to a change by another person, an app, the AI assistant, an agent or OAuth, including on behalf of the owner, and to a change after which the owner could no longer switch the mode on. The response contains adata-access-resetwarning, and the dashboard history an entry about the automatic switch-off. The owner or another administrator can then switch the mode on again.A widget that was already counting as the viewer before the write, because its fields changed since the mode was switched on or it was moved to another dashboard (a
data-access-options-changedwarning on read), doesn't return toownermode on write. A write of the look alone leaves it suspended, even when the owner sends it. A data write switches it toviewer, even for the owner. The owner approves new settings only throughPUT /dashboard-item/:dashboardItemId/data-access.
The mode isn't a widget option. The server ignores options.dataAccess sent when creating a widget, in PUT or in PATCH, saves nothing and returns an unknown-option warning with the path options.dataAccess. You change the mode only through PUT /dashboard-item/:dashboardItemId/data-access.
Suspension on read
Before every data computation, the server checks whether the saved owner mode still applies. If it doesn't, the server counts with the caller's permissions, returns dataAccess.mode: "viewer" and one of these warnings with the path dataAccess:
code | When |
|---|---|
data-access-not-supported | The widget can't count with its owner's permissions: it isn't a chart, it reports work time, it has no database or the saved mode is incomplete |
data-access-options-changed | Since the mode was switched on, the chart data changed, the widget moved to another dashboard, or the fields it counts from changed, including the fields those fields are computed from, for example a field used by a series formula: the field type, the configuration of a computed field, for example a formula or teleport, or the field was deleted. Renaming a field and a new status or list option don't cause this |
data-access-suspended | The owner can no longer share these numbers: their account was deleted, they aren't in the workspace, they aren't an administrator of the database or the workspace, they have a base record filter or they can no longer see the widget. Only someone with dashboard.item.update on the widget sees the reason in message; others get the generic its owner can no longer share these numbers |
[
{
"code": "data-access-suspended",
"path": "dataAccess",
"message": "This widget is set to count with the permissions of its owner, but its owner is no longer an admin of its database or of the workspace, so it was computed with your permissions instead."
}
]Suspension saves nothing. When the cause goes away, for example the owner becomes a database administrator again, the widget returns to counting with their permissions. After data-access-options-changed, the owner or another administrator must switch the mode on again through PUT /dashboard-item/:dashboardItemId/data-access to approve the new settings. Saving options doesn't do that.
Copies and templates
A widget copy (POST /dashboard-item/:dashboardItemId/clone), a dashboard duplicate, dashboard and workspace templates, and import don't carry over the mode. A copy always counts with the viewer's permissions, and an administrator switches the mode on for it, just like on a new widget.
Warnings
A warning means the request succeeded, but the server skipped, fixed or filled in something. Each has a fixed code, an optional path in the request body and a message that says what happened and what to send instead.
[
{
"code": "unknown-option",
"path": "options.chartTyp",
"message": "options.chartTyp is not an option of chart widgets, so it is saved but has no effect; did you mean options.chartType?"
}
]code | When |
|---|---|
unknown-option | A key the widget type doesn't know. It changes nothing, and the message suggests the closest known key. The server also removes options.dataAccess from the write, because only PUT /dashboard-item/:dashboardItemId/data-access changes the counting mode |
deprecated-option | A deprecated key that still works. The message gives its successor |
default-applied | The server inserted a default value in place of a missing or cleared one. After a PUT, one such warning with the path options lists the omitted keys that changed value, see PUT: the whole configuration |
value-normalized | The server fixed or removed a value that couldn't be used, for example saved sum as number-sum, added empty items to a filter group without conditions or cleared a drilldownViewId from outside the chart's database. In the data of a time-tracer widget without a database, it gives the databases the filter narrows sessions to |
invalid-filter | The filter has conditions the server can't read. The widget computes data without them |
options-reset-to-defaults | Changing the database restored the default configuration, see Changing the chart database |
property-not-in-database | The field doesn't belong to the widget's database. This also applies to a filter condition on a field of another database: the server skips it and computes as if it weren't there. When saving a chart, map or work time widget, also a field you can't read, see below |
property-not-accessible | No access to the field, the widget leaves it out of the result |
aggregation-type-not-supported | The series aggregation type doesn't match the field type, see Value series |
database-not-found | The database doesn't exist. In widget data, also a database outside the widget's workspace |
database-not-accessible | No access to the database's records. In a database-view widget, also no access to the view |
widget-not-configured | The widget doesn't have a complete configuration |
date-granularity-ignored | Date granularity on an axis that isn't a date |
date-range-ignored | The request changes only a date range the widget doesn't use: a range on an axis that isn't a date, a range the chart doesn't use with its current primaryAxisCalculationType, or the dateRange of a work time widget while dynamicDateRange is set. See Date axis. In work time widget data, also a saved dateRange that isn't a pair of dates |
no-matching-records | No record matches the filter and date range |
placement-overlaps | The new widget overlaps other widgets, including widgets created at the same moment. It was saved, and the message gives the IDs of those widgets, see Grid |
data-access-not-supported | In widget data: the saved owner mode doesn't work in this widget, because it isn't a chart with a database or it reports work time. The data is computed with the caller's permissions, see Suspension on read |
data-access-options-changed | In widget data: the chart data or its fields changed since the owner mode was switched on. The data is computed with the caller's permissions |
data-access-suspended | In widget data: the owner can no longer share the numbers, for example they're no longer a database administrator. The data is computed with the caller's permissions |
data-access-reset | After a PUT or PATCH of options: a change in the chart data switched the widget from owner mode to viewer, see When the mode switches off |
Warnings when saving a chart, map or time-tracer widget don't reveal fields you can't read. A field hidden from you and a field that isn't in the database get the same property-not-in-database warning with the message … is not a field you can read in database …, also in chart filter conditions. The message says something about the field type only for fields you can read: whether the field has a location or tracks time, whether the chart's category axis isn't a date (date-granularity-ignored and date-range-ignored with the message … is not a date) and which aggregation types fit the series field (aggregation-type-not-supported). When you can't read the database itself, the write returns no warnings about its fields.
Base your logic on code, and show message to a person or pass it to a model. Saved options that point to a deleted field or database never block reading or writing: you get a warning, and the widget shows what can be computed. A new database, view or other resource in the options must, however, belong to the dashboard's workspace and you must be able to read it, see Resources referenced in options.
Errors
An invalid request body ends with a 400 error named INVALID_REQUEST. The message lists up to five invalid paths, and extra.validationErrors contains all the problems in a form you can process in code:
{
"success": false,
"error": {
"name": "INVALID_REQUEST",
"message": "Invalid request: options.rowPropertiesPayload[0].aggregationType: must be one of: \"number-sum\", \"count\", \"number-average\", \"number-min\", \"number-max\", \"count-empty\", \"count-non-empty\", \"time-tracker-sum\", \"rating-sum\" (received \"median\")",
"extra": {
"validationErrors": [
{
"code": "invalid_enum_value",
"path": ["options", "rowPropertiesPayload", 0, "aggregationType"],
"message": "must be one of: \"number-sum\", \"count\", \"number-average\", \"number-min\", \"number-max\", \"count-empty\", \"count-non-empty\", \"time-tracker-sum\", \"rating-sum\" (received \"median\")",
"received": "median",
"options": ["number-sum", "count", "number-average", "number-min", "number-max", "count-empty", "count-non-empty", "time-tracker-sum", "rating-sum"]
}
]
},
"requestId": "3f2c9a4e-8d1b-4c6f-9e2a-5b7d0c1e4f60"
}
}| Situation | Code | What to do |
|---|---|---|
A value outside the list, for example "chartType": "pie-chart" | 400 | Choose a value from options in the error |
"aggregationType": "median" | 400 | Choose a value from options in the error, for example number-sum |
A series without rowPropertyId and without aggregationType: "count" | 400 | Give the series field |
| The same field in two series | 400 | Keep one series per field |
"type": "time-tracker" | 400 | Use time-tracer |
placement with column and row keys | 400 | Use x, y, width and height |
x + width greater than 12 | 400 | Reduce x or width |
PUT of chart options without databaseId | 400 | Send the full options or use PATCH |
A range date in a format other than 2026-01-01, for example 1 or 01/12/2026 | 400 | Give a calendar day, see Date axis |
PATCH of options, and on a widget with owner mode also PUT, when someone changes the widget at the same time | 409 | conflict. Read the widget through GET /dashboard-item/:dashboardItemId and send the change again |
PUT …/data-access without mode, with a value other than owner and viewer, or with an extra key, for example ownerUserId | 400 | Send just {"mode": "owner"} or {"mode": "viewer"} |
{"mode": "owner"} on a widget that isn't a chart, reports work time or has no database | 400 | The error path says why: type, options.timeTrackerSource or options.databaseId |
{"mode": "owner"} from an app key, the AI assistant, an agent or an assistant connected via MCP with OAuth, from a public link or in god mode | 403 | FORBIDDEN with the message Only a person signed in with their own account…, and via MCP a result with isError: true. Switch the mode on in the app or with a user key. {"mode": "viewer"} works |
PUT …/data-access in the REST API with an OAuth token, with any mode | 403 | FORBIDDEN with the message This endpoint is not available to OAuth applications, because widget endpoints don't accept OAuth tokens in REST. An assistant connected through OAuth switches the mode off with an MCP tool, see Dashboards via MCP |
{"mode": "owner"} from a person who isn't an administrator of the chart's database or of the workspace | 403 | noPermissions with "missingPermissions": ["database.admin"]. Ask a database administrator to switch the mode on |
PUT …/data-access when someone changes the widget at the same time | 409 | conflict. Read the widget and send the request again |
| A very large number of widgets created at once in one dashboard | 503 | timeout. The widget wasn't created: retry the request after a moment |
| A folder or space from another workspace, or a folder outside the given space | 400 | Check resourceGroupId and resourceSpaceId |
| A database in the options from another workspace or without read access | 400 | Choose a database from GET /workspace/:workspaceId/databases |
| A view, conversation or change history widget resource in the options from another workspace or without read access | 400 | Choose a resource from the list the message gives, for example from GET /database/:databaseId/views |
resourceType=database-view in GET /workspace/:workspaceId/resource-items | 400 | List database views with GET /database/:databaseId/views |
| Missing permissions | 403 | Request the permissions from extra.missingPermissions |
| A widget type outside the workspace plan | 402 | plan-feature-not-entitled, change the plan or the widget type, see Permissions |
| Too many records, categories or points on the chart | 429 | chartTooMany… errors. Narrow the filter or date range, because retrying won't help |
| Computing takes too long | 408 | chartAggregationTimeout. Narrow the data |
The general error format and request limits are described in the Errors and limits guide.
Permissions
| Operation | Permission |
|---|---|
| Creating a dashboard | dashboard.create in the workspace |
| Reading a dashboard | dashboard.read |
| Moving and renaming a dashboard | dashboard.update |
| Deleting a dashboard | dashboard.delete |
| Adding and copying a widget | dashboard.item.create |
| Reading a widget and its data | dashboard.item.read |
| Changing a widget's options and name | dashboard.item.update |
Switching off owner mode ({"mode": "viewer"}) | dashboard.item.update |
Switching on owner mode ({"mode": "owner"}) | dashboard.item.update and database.admin on the chart's database or workspace.admin, only a person with their own account, see Who switches the mode on and off |
| Changing a widget's placement | dashboard.item.update.placement |
| Deleting a widget | dashboard.item.delete |
For chart data, you also need read access to the database and its records (database.read and database.item.read). Without them, you get empty data and a database-not-accessible warning. Axis, series and split fields require database.property.read, and the widget leaves out a field without this permission, with a property-not-accessible warning. Your role's record filter narrows the widget data the same way as the database table. A chart in owner mode doesn't require database.item.read and counts from the owner's record filter, see What the viewer sees.
The widget type must also be in the workspace plan. The server checks this when creating and copying a widget, when reading a widget and its data, on PUT and PATCH of options and when changing the counting mode. Without it, you get 402 named plan-feature-not-entitled, and the widget and its options stay unchanged. Changing placement, renaming and deleting a widget don't check the plan, because they don't use the widget's features.
Dashboards via MCP
An assistant connected to the MCP server doesn't have dashboard tools in its list of fixed tools. It finds them through search_tools and runs them through execute_tool:
search_toolswith a query, for examplecreate dashboard,create dashboard widget,dashboard widget options schemaorupdate chart options.execute_toolwith the tool name from the results and the arguments:paramsare the path parameters,bodyis the request body. You can also give the arguments flat, for example{"dashboardItemType": "chart"}, and the server splits them into parts itself, see Argument shape.
In the input schemas of the tools for creating a widget and for PUT and PATCH of options, options is a plain object, so search_tools results are short. The assistant gets the option keys of a given widget type with the Get_dashboard_item_options_schema tool, described in the Options schema section:
{
"toolName": "Get_dashboard_item_options_schema",
"arguments": {
"params": {"dashboardItemType": "chart"}
}
}Then it creates the widget:
{
"toolName": "Create_dashboard_item",
"arguments": {
"params": {"dashboardId": "<dashboard id>"},
"body": {
"type": "chart",
"databaseId": "<database id>",
"options": {
"chartType": "bar",
"columnPropertyIds": ["<status field id>"],
"rowPropertiesPayload": [{"aggregationType": "count"}]
},
"placement": {"x": 0, "y": 0, "width": 6, "height": 4}
}
}
}The tool result is the endpoint response wrapped in result, for example {"result": {"dashboardItem": {}, "warnings": []}}. So chart data from execute_tool is in result.data. An error comes as a result with isError: true and a description of the paths as in REST, prefixed with the argument part, for example body.options.chartType or params.dashboardId. The description lists up to five invalid paths, see Tool errors. An options PATCH conflict, 409 in REST, comes as a result with isError: true and the message The widget was changed by someone else…: the assistant then reads the widget again and retries the change. The 503 from the Several widgets at once section comes the same way, with the message Too many widgets are being added to this dashboard at the same time…: the widget wasn't created, so the assistant retries the call after a moment. search_tools returns the exact tool names, and the catalog shows them next to each endpoint.
When signed in through OAuth, the assistant also works within the limits of the app's permissions, and a new app usually has only read access to the workspace. The assistant gets missing dashboard permissions with the create_permission_request tool, described in the MCP tools and resources guide.
The chart's counting mode is switched by the Update_dashboard_item_data_access tool, described in the Count as: data from the owner's permissions section. An assistant connected through OAuth can read the mode, because dataAccess is in every widget and in the widget data, and can switch it off with the argument {"mode": "viewer"}. It can't switch it on: {"mode": "owner"} through OAuth comes back with isError: true and the message Only a person signed in with their own account can count a widget with their own permissions…. An OAuth token in the REST API can't call this endpoint with any mode: it gets 403 named FORBIDDEN and the message This endpoint is not available to OAuth applications. You switch the mode on in the app or with a user key, through the REST API or through MCP connected with such a key. Changing the data of such a chart through OAuth switches it to viewer, and the result contains a data-access-reset warning.