---
title: "Insights in the Fulldev API"
description: "Every Insights operation of the Fulldev API, with what it takes, what it answers and an example."
---

# Insights in the Fulldev API

Every Insights operation of the Fulldev API, with what it takes, what it answers and an example.

The reference comes straight from the API's own definition, so it always matches what the API does. [The OpenAPI document](https://app.full.dev/api/openapi.json)

## List dashboards

`GET /api/v1/data/dashboards`

Insights dashboards of the organization: each a config of named queries over a source (tasks, Work's tasks, or a dataset of a connected account, such as virtuagym_members) and the widgets that show them (kpi, bar, line, table). A query names the source's measures, dimensions, a time dimension and filters, never SQL; read the names with get_insight_sources. Create and update check every name and answer INVALID_DASHBOARD with each problem's path and message: repair those and save again. run_dashboard gives each query's rows, counted only over what the caller may read.

### Parameters

- `limit` (query, integer, optional): How many at most, 50 when left out; a list that is always short gives all its rows at once, without a cursor.
- `cursor` (query, string, optional): The cursor the last page returned, for the next.

### Response

- `items` (array of object, required)
  - `id` (string (uuid), required)
  - `title` (string, required)
  - `config` (object, required)
    - `version` (1, required): The config's version: 1.
    - `title` (string, required): The dashboard's title, written in the organization's language, such as Dutch for a Dutch organization.
    - `filters` (array of object, optional): Filters every query gets too, such as a date range: { member: 'created', operator: 'inDateRange', values: ['2026-10-01', '2026-12-31'] }.
    - `queries` (map of object, required): Named queries, by id: what the widgets show.
    - `widgets` (array of object, required): What it shows, in order, left to right and down.
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)
  - `revision` (number, required)
  - `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.
- `cursor` (string, optional): The next page's cursor, while there is more.

### Example

```sh
curl "https://app.full.dev/api/v1/data/dashboards" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## Create one of dashboards

`POST /api/v1/data/dashboards`

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `config` (object, required): The whole config. Read the sources' names with insights_get_sources first.
  - `version` (1, required): The config's version: 1.
  - `title` (string, required): The dashboard's title, written in the organization's language, such as Dutch for a Dutch organization.
  - `filters` (array of object, optional): Filters every query gets too, such as a date range: { member: 'created', operator: 'inDateRange', values: ['2026-10-01', '2026-12-31'] }.
    - `member` (string, required): A dimension or time dimension of the query's source.
    - `operator` ("equals" | "notEquals" | "in" | "overdue" | "inDateRange", required): equals and notEquals: one value; in: any of the values; overdue (on the due time dimension, no values): open and due before today; inDateRange (on a time dimension): two days, from and to, both included.
    - `values` (array of string, optional): The values it compares with, as text: a day as YYYY-MM-DD for a time dimension, an id for team, assignee and project, true or false for a yes-or-no dimension.
  - `queries` (map of object, required): Named queries, by id: what the widgets show.
  - `widgets` (array of object, required): What it shows, in order, left to right and down.
    - `id` (string, required): Its id, unique in the dashboard.
    - `type` ("kpi" | "bar" | "line" | "table", required): kpi: one number (y) of a query without dimensions; bar: y per x, a dimension; line: y over x, the query's time dimension; table: every column of the query.
    - `title` (string, optional): Its title, written in the organization's language, such as Dutch for a Dutch organization. Leave it out rather than writing one in another language: the dashboard then names the widget by its measure and dimension in each viewer's language.
    - `query` (string, required): The id of the query in queries it shows.
    - `x` (string, optional): bar: a dimension of its query; line: its query's time dimension.
    - `y` (string, optional): kpi, bar and line: a measure of its query.
    - `w` (4 | 6 | 12, optional): bar and line: their width in twelfths, 12 the whole row, 6 half, 4 a third. A kpi stands beside the kpis next to it, a table takes the whole row.

### Response

- `id` (string (uuid), required)
- `title` (string, required)
- `config` (object, required)
  - `version` (1, required): The config's version: 1.
  - `title` (string, required): The dashboard's title, written in the organization's language, such as Dutch for a Dutch organization.
  - `filters` (array of object, optional): Filters every query gets too, such as a date range: { member: 'created', operator: 'inDateRange', values: ['2026-10-01', '2026-12-31'] }.
    - `member` (string, required): A dimension or time dimension of the query's source.
    - `operator` ("equals" | "notEquals" | "in" | "overdue" | "inDateRange", required): equals and notEquals: one value; in: any of the values; overdue (on the due time dimension, no values): open and due before today; inDateRange (on a time dimension): two days, from and to, both included.
    - `values` (array of string, optional): The values it compares with, as text: a day as YYYY-MM-DD for a time dimension, an id for team, assignee and project, true or false for a yes-or-no dimension.
  - `queries` (map of object, required): Named queries, by id: what the widgets show.
  - `widgets` (array of object, required): What it shows, in order, left to right and down.
    - `id` (string, required): Its id, unique in the dashboard.
    - `type` ("kpi" | "bar" | "line" | "table", required): kpi: one number (y) of a query without dimensions; bar: y per x, a dimension; line: y over x, the query's time dimension; table: every column of the query.
    - `title` (string, optional): Its title, written in the organization's language, such as Dutch for a Dutch organization. Leave it out rather than writing one in another language: the dashboard then names the widget by its measure and dimension in each viewer's language.
    - `query` (string, required): The id of the query in queries it shows.
    - `x` (string, optional): bar: a dimension of its query; line: its query's time dimension.
    - `y` (string, optional): kpi, bar and line: a measure of its query.
    - `w` (4 | 6 | 12, required): bar and line: their width in twelfths, 12 the whole row, 6 half, 4 a third. A kpi stands beside the kpis next to it, a table takes the whole row.
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `revision` (number, required)
- `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.

### Example

```sh
# Once per change; send the same key when you retry this request.
IDEMPOTENCY_KEY=$(uuidgen)

curl -X POST "https://app.full.dev/api/v1/data/dashboards" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "config": {
    "version": 1,
    "title": "title",
    "queries": {},
    "widgets": [
      {
        "id": "id",
        "type": "kpi",
        "query": "query"
      }
    ]
  }
}'
```

## Change one of dashboards

`PATCH /api/v1/data/dashboards/{id}`

### Parameters

- `id` (path, string, required)
- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `revision` (integer, required): The revision you read. When it changed since, nothing is written and the answer is 409 REVISION_CONFLICT: read it again.
- `config` (object, required): The whole config, which replaces it.
  - `version` (1, required): The config's version: 1.
  - `title` (string, required): The dashboard's title, written in the organization's language, such as Dutch for a Dutch organization.
  - `filters` (array of object, optional): Filters every query gets too, such as a date range: { member: 'created', operator: 'inDateRange', values: ['2026-10-01', '2026-12-31'] }.
    - `member` (string, required): A dimension or time dimension of the query's source.
    - `operator` ("equals" | "notEquals" | "in" | "overdue" | "inDateRange", required): equals and notEquals: one value; in: any of the values; overdue (on the due time dimension, no values): open and due before today; inDateRange (on a time dimension): two days, from and to, both included.
    - `values` (array of string, optional): The values it compares with, as text: a day as YYYY-MM-DD for a time dimension, an id for team, assignee and project, true or false for a yes-or-no dimension.
  - `queries` (map of object, required): Named queries, by id: what the widgets show.
  - `widgets` (array of object, required): What it shows, in order, left to right and down.
    - `id` (string, required): Its id, unique in the dashboard.
    - `type` ("kpi" | "bar" | "line" | "table", required): kpi: one number (y) of a query without dimensions; bar: y per x, a dimension; line: y over x, the query's time dimension; table: every column of the query.
    - `title` (string, optional): Its title, written in the organization's language, such as Dutch for a Dutch organization. Leave it out rather than writing one in another language: the dashboard then names the widget by its measure and dimension in each viewer's language.
    - `query` (string, required): The id of the query in queries it shows.
    - `x` (string, optional): bar: a dimension of its query; line: its query's time dimension.
    - `y` (string, optional): kpi, bar and line: a measure of its query.
    - `w` (4 | 6 | 12, optional): bar and line: their width in twelfths, 12 the whole row, 6 half, 4 a third. A kpi stands beside the kpis next to it, a table takes the whole row.

### Response

- `id` (string (uuid), required)
- `title` (string, required)
- `config` (object, required)
  - `version` (1, required): The config's version: 1.
  - `title` (string, required): The dashboard's title, written in the organization's language, such as Dutch for a Dutch organization.
  - `filters` (array of object, optional): Filters every query gets too, such as a date range: { member: 'created', operator: 'inDateRange', values: ['2026-10-01', '2026-12-31'] }.
    - `member` (string, required): A dimension or time dimension of the query's source.
    - `operator` ("equals" | "notEquals" | "in" | "overdue" | "inDateRange", required): equals and notEquals: one value; in: any of the values; overdue (on the due time dimension, no values): open and due before today; inDateRange (on a time dimension): two days, from and to, both included.
    - `values` (array of string, optional): The values it compares with, as text: a day as YYYY-MM-DD for a time dimension, an id for team, assignee and project, true or false for a yes-or-no dimension.
  - `queries` (map of object, required): Named queries, by id: what the widgets show.
  - `widgets` (array of object, required): What it shows, in order, left to right and down.
    - `id` (string, required): Its id, unique in the dashboard.
    - `type` ("kpi" | "bar" | "line" | "table", required): kpi: one number (y) of a query without dimensions; bar: y per x, a dimension; line: y over x, the query's time dimension; table: every column of the query.
    - `title` (string, optional): Its title, written in the organization's language, such as Dutch for a Dutch organization. Leave it out rather than writing one in another language: the dashboard then names the widget by its measure and dimension in each viewer's language.
    - `query` (string, required): The id of the query in queries it shows.
    - `x` (string, optional): bar: a dimension of its query; line: its query's time dimension.
    - `y` (string, optional): kpi, bar and line: a measure of its query.
    - `w` (4 | 6 | 12, required): bar and line: their width in twelfths, 12 the whole row, 6 half, 4 a third. A kpi stands beside the kpis next to it, a table takes the whole row.
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `revision` (number, required)
- `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.

### Example

```sh
# Once per change; send the same key when you retry this request.
IDEMPOTENCY_KEY=$(uuidgen)

curl -X PATCH "https://app.full.dev/api/v1/data/dashboards/$ID" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "revision": 1,
  "config": {
    "version": 1,
    "title": "title",
    "queries": {},
    "widgets": [
      {
        "id": "id",
        "type": "kpi",
        "query": "query"
      }
    ]
  }
}'
```

## Get one of dashboards

`GET /api/v1/data/dashboards/{id}`

### Parameters

- `id` (path, string, required)

### Response

- `id` (string (uuid), required)
- `title` (string, required)
- `config` (object, required)
  - `version` (1, required): The config's version: 1.
  - `title` (string, required): The dashboard's title, written in the organization's language, such as Dutch for a Dutch organization.
  - `filters` (array of object, optional): Filters every query gets too, such as a date range: { member: 'created', operator: 'inDateRange', values: ['2026-10-01', '2026-12-31'] }.
    - `member` (string, required): A dimension or time dimension of the query's source.
    - `operator` ("equals" | "notEquals" | "in" | "overdue" | "inDateRange", required): equals and notEquals: one value; in: any of the values; overdue (on the due time dimension, no values): open and due before today; inDateRange (on a time dimension): two days, from and to, both included.
    - `values` (array of string, optional): The values it compares with, as text: a day as YYYY-MM-DD for a time dimension, an id for team, assignee and project, true or false for a yes-or-no dimension.
  - `queries` (map of object, required): Named queries, by id: what the widgets show.
  - `widgets` (array of object, required): What it shows, in order, left to right and down.
    - `id` (string, required): Its id, unique in the dashboard.
    - `type` ("kpi" | "bar" | "line" | "table", required): kpi: one number (y) of a query without dimensions; bar: y per x, a dimension; line: y over x, the query's time dimension; table: every column of the query.
    - `title` (string, optional): Its title, written in the organization's language, such as Dutch for a Dutch organization. Leave it out rather than writing one in another language: the dashboard then names the widget by its measure and dimension in each viewer's language.
    - `query` (string, required): The id of the query in queries it shows.
    - `x` (string, optional): bar: a dimension of its query; line: its query's time dimension.
    - `y` (string, optional): kpi, bar and line: a measure of its query.
    - `w` (4 | 6 | 12, required): bar and line: their width in twelfths, 12 the whole row, 6 half, 4 a third. A kpi stands beside the kpis next to it, a table takes the whole row.
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `revision` (number, required)
- `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.

### Example

```sh
curl "https://app.full.dev/api/v1/data/dashboards/$ID" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## archive_dashboard

`POST /api/v1/actions/archive_dashboard`

Archives an Insights dashboard nobody needs any more, with the revision you read: it no longer lists or opens. The tasks it counted are unchanged.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `dashboardId` (string (uuid), required): The dashboard's id.
- `revision` (integer, required): The revision you read. When it changed since, nothing is archived and the answer is 409 REVISION_CONFLICT: read it again.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## run_dashboard

`POST /api/v1/actions/run_dashboard`

Runs an Insights dashboard: its config with dashboardUrl to show it to the person and, per query id, its rows (each a group's dimensions and measures by name; a team, person or project by name) or the error that query gave, and, per dataset it counts, the day it was last collected completely and why its last try failed. Counts only the tasks the caller may read, so two people can see different numbers; a dataset counts the same for everyone.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `dashboardId` (string (uuid), required): The dashboard's id.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## get_insight_sources

`POST /api/v1/actions/get_insight_sources`

Gives what Insights can count: each source (tasks, Work's tasks, and the datasets of connected accounts, such as virtuagym_members) with its measures, dimensions and time dimensions by name, each with its title and meaning. A dataset also says whether it is turned on here (collections, each with the day it was last collected and any problem); an owner or admin turns one on with set_insight_dataset. Read it before writing a dashboard's queries; use these names only.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (optional)

`object`

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## set_insight_dataset

`POST /api/v1/actions/set_insight_dataset`

Turns an Insights dataset on or off for the organization, such as virtuagym_members: a provider's data Insights collects once a day from a connected account, so dashboards can count it as they count tasks (get_insight_sources lists the datasets, whether each is on and when it was last collected). On, it uses your own connected account of its provider, which must be yours, and collects at once; pass integration when you have more than one. Off, it removes what it collected. Only owners and admins.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `dataset` (string, required): The dataset's source name, such as virtuagym_members.
- `enabled` (boolean, required): true turns it on, false off.
- `integration` (string (uuid), optional): The id of your connected account it collects from.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.
