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

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

  1. 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 a database-view widget, database views (GET /database/:databaseId/views).

  2. Create the dashboard: POST /workspace/:workspaceId/dashboard.

  3. Add widgets: POST /dashboard/:dashboardId/item with type, options and placement. GET /dashboard-item-type/:dashboardItemType/options-schema returns the options keys of a given widget type.

  4. Check the result: POST /dashboard-item/:dashboardItemId/data returns the widget data and warnings.

  5. Refine: PATCH /dashboard-item/:dashboardItemId/options changes selected options, and PUT /dashboard-item/:dashboardItemId/placement moves the widget.

  6. Optionally, show the result to people without access to the records: PUT /dashboard-item/:dashboardItemId/data-access switches 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

POST/workspace/:workspaceId/dashboard
FieldMeaning
nameDashboard name
resourceSpaceIdThe space the dashboard should appear in
resourceGroupIdFolder (resource group). Without resourceSpaceId, the dashboard goes to that folder's space
isPublictrue 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.

Request body
{
  "name": "Sales",
  "resourceSpaceId": "<space id>",
  "resourceGroupId": "<folder id>"
}

The response contains the dashboard and its entry in the sidebar:

200 OK, shortened
{
  "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

GET/dashboard/:dashboardId

Returns dashboard and resourceItem, so you can also find the sidebar entry of a dashboard created earlier or in the app.

Moving, renaming and deleting

OperationEndpointBody
Moving to another space or folderPUT /resource-item/:resourceItemId/position{"resourceSpaceId": "…", "resourceGroupId": "…"}
RenamingPUT /resource-item/:resourceItemId/name{"name": "Sales 2026"}
DeletingDELETE /resource-item/:resourceItemIdnone

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

POST/dashboard/:dashboardId/item
FieldMeaning
typeWidget type, required. The values are in the Widget types table
nameWidget 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
databaseIdThe 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
optionsWidget configuration. The shape depends on type
placementPosition 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.

200 OK, shortened
{
  "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:

KeyResourceList to choose from
databaseId, databaseIds, layers[].databaseIdDatabaseGET /workspace/:workspaceId/databases
databaseViewId (database-view widget), drilldownViewId (chart)Database viewGET /database/:databaseId/views
conversationIdConversationGET /workspace/:workspaceId/conversations
resourceType with resourceId (activity widget)The resource whose history the widget showsFor 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:

Error message
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:

503 Service Unavailable
{
  "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

typeWhat it showsKey options
chartA chart from one database's dataDescribed in the Chart options section
mapRecords with a location field on a mapdatabaseIds, locatePropertyIds, layers, viewPreferences
database-viewA database view, for example a table or kanbandatabaseId, databaseViewId
time-tracerWork time recorded in a time tracker fielddatabaseId, databasePropertyId, userIds, dynamicDateRange or dateRange, stacked, filter
aggregated-item-listRecords from the whole workspace that match a shared filterfilter
activityA resource's change historyresourceType, resourceId
conversationA chat channelconversationId

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

GET/dashboard-item-type/:dashboardItemType/options-schema

Returns 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.

200 OK, shortened
{
  "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

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

Map with one layer
{
  "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.

KeyMeaning
databaseIdThe database the chart counts from
chartTypeChart type, see Chart types
columnPropertyIdsCategory axis (X): an array with the ID of one field, for example a status or a date
rowPropertiesPayloadValue series (Y), see Value series
stackPropertyIdA field that splits each category into groups, for example the assignee. Needed in stack-…, full-stack-… and cluster-… charts. null turns the split off
filterA filter for the records, the same tree as in the Filtering and sorting guide. null counts all records
primaryAxisAggregationTypeBucket size on the date axis: day, week, month, quarter or year
primaryAxisCalculationTypedynamic (a range relative to today, the default) or static (fixed dates). Chooses which of the two ranges below the chart uses
primaryAxisRelativeDateRangeA range relative to today, used with primaryAxisCalculationType: "dynamic". See Date axis
primaryAxisStaticDateRangeA fixed range, used only with primaryAxisCalculationType: "static", for example {"fromDate": "2026-01-01", "toDate": "2026-03-31"}. Both dates inclusive
shouldShowDatesBetweenWithEmptyValuestrue also shows date buckets without records
sortPropertyId, axisSortCategory order. axisSort is category-field-order, category-field-reverse-order, primary-ascending, primary-descending, value-ascending or value-descending
itemsLimitOnly the largest or smallest categories, see Category limit

Presentation keys set the chart's look:

KeyValues
showLegend, legendPositiontrue or false; position top, right, bottom or left
dataLabels, dataLabelsContentValue labels on the chart; in pie and doughnut charts value, percentage or percentageAndValue
xAxisFontSize, yAxisFontSize, dataLabelsFontSizesmall, medium or large
showXAxisLabels, showYAxisLabels, linesX, linesYtrue or false
showTotaltrue shows the total of the values
shouldColorChartByFieldtrue 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

chartTypeLook
barVertical bars, categories on the X axis
stack-barStacked vertical bars, groups from stackPropertyId
full-stack-barVertical stack to 100%
cluster-barVertical bars side by side, one per group
column, stack-column, full-stack-column, cluster-columnThe same horizontally, categories on the Y axis
line, line-smooth, line-point, line-step, line-dottedLines
areaArea under the line
pie, doughnut, polar-areaEach category's share of the whole
radarRadar chart
bubble, scatterPoints

Value series

rowPropertiesPayload
[
  {
    "rowPropertyId": "<amount field id>",
    "aggregationType": "number-sum",
    "position": 0,
    "selectedColor": {"colorType": "palette", "payload": 2}
  }
]
KeyMeaning
rowPropertyIdThe field you compute from. With count you can omit it
aggregationTypeHow to compute, required
positionSeries order. Omitted: the place in the array
selectedColorSeries 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:

aggregationTypeWhat it computesField type
countThe number of recordsany
count-emptyRecords with an empty fieldany
count-non-emptyRecords with a filled-in fieldany
number-sumSumnumber, formula
number-averageAveragenumber, formula
number-minMinimumnumber, formula
number-maxMaximumnumber, formula
rating-sumSum of ratingsrating
time-tracker-sumTotal time of finished sessions in minutestime 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":

Number of tasks in each status
{
  "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:

Last 12 months including the current one
{
  "primaryAxisAggregationType": "month",
  "primaryAxisCalculationType": "dynamic",
  "primaryAxisRelativeDateRange": {
    "from": {"offset": -11, "unit": "month", "snap": "start"},
    "to": {"offset": 0, "unit": "month", "snap": "end"}
  }
}
FieldMeaning
offsetThe number of periods from today: negative into the past, 0 is the current period, positive into the future
unitday, week, month, quarter or year
snapstart 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":

First quarter of 2026
{
  "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

10 largest categories, the rest as “Other”
{
  "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

PATCH/dashboard-item/:dashboardItemId/options
Changing the chart type
{
  "options": {"chartType": "line"}
}
  • A key you send replaces the saved value.

  • null clears a key. For example, "stackPropertyId": null turns off the split into groups, and "primaryAxisRelativeDateRange": null restores 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:

409 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

PUT/dashboard-item/:dashboardItemId/options

PUT 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:

Error message
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”:

Warning
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-defaults warning 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:

  • spaceId gets the new database's space. If you sent a different one, the response contains a value-normalized warning.

  • The server clears a drilldownViewId that isn't a table view of the new database to null and returns a value-normalized warning 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

PUT/dashboard-item/:dashboardItemId/placement

The dashboard grid has 12 columns. A widget is a rectangle:

FieldMeaning
xColumn of the left edge, from 0 to 11
yRow of the top edge, from 0 (the top of the dashboard)
widthWidth in columns, from 1 to 12. x + width can't exceed 12
heightHeight in rows, from 1 to 100. A row is about 128 pixels
Request body
{
  "placement": {"x": 6, "y": 0, "width": 6, "height": 4}
}

A sample layout of five widgets:

Two charts side by side, three widgets below
[
  {"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

OperationEndpointBody
RenamingPUT /dashboard-item/:dashboardItemId/name{"name": "Sales this quarter"}
Copying a widgetPOST /dashboard-item/:dashboardItemId/clonenone
Deleting a widgetDELETE /dashboard-item/:dashboardItemIdnone

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

GET/dashboard-item/:dashboardItemId

Returns 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

POST/dashboard-item/:dashboardItemId/data

The body can be empty ({}). An aggregated-item-list widget accepts pagination in it: {"params": {"offset": 0, "limit": 50}}.

200 OK, shortened
{
  "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 axisSort and the limit from itemsLimit, together with the “Other” category, are applied only by the app. So the result from /data has all categories, and you compute a “top 10” ranking yourself from datasets.

  • On a date axis, labels come in order and have a fixed form: 2026-01-15 for day, 2026-W03 for week (ISO week), 2026-01 for month, 2026-Q1 for quarter and 2026 for year.

  • labelFilterFragments has, for each label and in the same order as labels, 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's filter when you click a bar. null means 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.

  • map and database-view widgets have no data to compute and return data: null. Their warnings, 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 is database-not-found, and a database or view you can't read is database-not-accessible with only the ID from the widget's options.

An empty chart always has an explanation in warnings:

codeMeaning
widget-not-configuredThe chart type, category axis or series is missing
property-not-in-databaseA field from the options doesn't exist in the chart's database, for example it was deleted
database-not-foundThe 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-accessibleYou can't read the records of the database the widget counts from
property-not-accessibleYou don't have access to an axis or series field, so the widget leaves it out of the result
no-matching-recordsThe 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.

PUT/dashboard-item/:dashboardItemId/data-access
Request body
{"mode": "owner"}
modeHow the chart counts
viewerWith the permissions of each viewer. This is the default
ownerFrom 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:

200 OK, shortened
{
  "success": true,
  "data": {
    "dashboardItem": {
      "id": "6703f1c2a9e4b10012d5e201",
      "type": "chart",
      "dataAccess": {
        "mode": "owner",
        "ownerUserId": "6703f1c2a9e4b10012d5e401",
        "ownerName": "Anna Nowak",
        "setAt": "2026-10-19T09:30:00.000Z"
      }
    }
  }
}
dataAccess fieldMeaning
modeviewer or owner
ownerUserIdThe owner's ID. null in viewer mode
ownerNameThe owner's name, the same one the app shows. null in viewer mode and when the owner's account no longer exists
setAtThe 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

OperationWho 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:

Error message
This widget cannot count with the permissions of its owner: options.timeTrackerSource: a time tracker chart always counts the sessions each viewer may read

Another 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-accessible warning, as in viewer mode.

  • Filter: the chart's filter applies in full, including conditions on fields the viewer can't read. Dynamic values, such as me, 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.read gets labelFilterFragments and stackFilterFragment as in viewer mode. 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 without database.item.read gets null for every label and "stackFilterFragment": null, and clicking a bar in the app opens nothing.

  • Look: the data has all categories with labels and values. itemsLimit with the “Other” category, hidden axis labels (showXAxisLabels, showYAxisLabels), hidden names (namesToggled) and showAbsoluteValues only 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.

200 OK, chart data in owner mode, shortened
{
  "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 viewer in 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 a data-access-reset warning, 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-changed warning on read), doesn't return to owner mode on write. A write of the look alone leaves it suspended, even when the owner sends it. A data write switches it to viewer, even for the owner. The owner approves new settings only through PUT /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:

codeWhen
data-access-not-supportedThe 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-changedSince 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-suspendedThe 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
warnings
[
  {
    "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.

warnings
[
  {
    "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?"
  }
]
codeWhen
unknown-optionA 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-optionA deprecated key that still works. The message gives its successor
default-appliedThe 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-normalizedThe 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-filterThe filter has conditions the server can't read. The widget computes data without them
options-reset-to-defaultsChanging the database restored the default configuration, see Changing the chart database
property-not-in-databaseThe 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-accessibleNo access to the field, the widget leaves it out of the result
aggregation-type-not-supportedThe series aggregation type doesn't match the field type, see Value series
database-not-foundThe database doesn't exist. In widget data, also a database outside the widget's workspace
database-not-accessibleNo access to the database's records. In a database-view widget, also no access to the view
widget-not-configuredThe widget doesn't have a complete configuration
date-granularity-ignoredDate granularity on an axis that isn't a date
date-range-ignoredThe 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-recordsNo record matches the filter and date range
placement-overlapsThe 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-supportedIn 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-changedIn 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-suspendedIn 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-resetAfter 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:

400 Bad Request
{
  "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"
  }
}
SituationCodeWhat to do
A value outside the list, for example "chartType": "pie-chart"400Choose a value from options in the error
"aggregationType": "median"400Choose a value from options in the error, for example number-sum
A series without rowPropertyId and without aggregationType: "count"400Give the series field
The same field in two series400Keep one series per field
"type": "time-tracker"400Use time-tracer
placement with column and row keys400Use x, y, width and height
x + width greater than 12400Reduce x or width
PUT of chart options without databaseId400Send the full options or use PATCH
A range date in a format other than 2026-01-01, for example 1 or 01/12/2026400Give 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 time409conflict. 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 ownerUserId400Send just {"mode": "owner"} or {"mode": "viewer"}
{"mode": "owner"} on a widget that isn't a chart, reports work time or has no database400The 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 mode403FORBIDDEN 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 mode403FORBIDDEN 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 workspace403noPermissions with "missingPermissions": ["database.admin"]. Ask a database administrator to switch the mode on
PUT …/data-access when someone changes the widget at the same time409conflict. Read the widget and send the request again
A very large number of widgets created at once in one dashboard503timeout. The widget wasn't created: retry the request after a moment
A folder or space from another workspace, or a folder outside the given space400Check resourceGroupId and resourceSpaceId
A database in the options from another workspace or without read access400Choose a database from GET /workspace/:workspaceId/databases
A view, conversation or change history widget resource in the options from another workspace or without read access400Choose a resource from the list the message gives, for example from GET /database/:databaseId/views
resourceType=database-view in GET /workspace/:workspaceId/resource-items400List database views with GET /database/:databaseId/views
Missing permissions403Request the permissions from extra.missingPermissions
A widget type outside the workspace plan402plan-feature-not-entitled, change the plan or the widget type, see Permissions
Too many records, categories or points on the chart429chartTooMany… errors. Narrow the filter or date range, because retrying won't help
Computing takes too long408chartAggregationTimeout. Narrow the data

The general error format and request limits are described in the Errors and limits guide.

Permissions

OperationPermission
Creating a dashboarddashboard.create in the workspace
Reading a dashboarddashboard.read
Moving and renaming a dashboarddashboard.update
Deleting a dashboarddashboard.delete
Adding and copying a widgetdashboard.item.create
Reading a widget and its datadashboard.item.read
Changing a widget's options and namedashboard.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 placementdashboard.item.update.placement
Deleting a widgetdashboard.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:

  1. search_tools with a query, for example create dashboard, create dashboard widget, dashboard widget options schema or update chart options.

  2. execute_tool with the tool name from the results and the arguments: params are the path parameters, body is 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:

execute_tool, input
{
  "toolName": "Get_dashboard_item_options_schema",
  "arguments": {
    "params": {"dashboardItemType": "chart"}
  }
}

Then it creates the widget:

execute_tool, input
{
  "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.