Insights in the Fulldev API
Copy as MarkdownEvery Insights operation of the Fulldev API, with what it takes, what it answers and an example.
Docs
The reference comes straight from the API's own definition, so it always matches what the API does. The OpenAPI document
Operations
- List dashboards
GET /api/v1/data/dashboards - Create one of dashboards
POST /api/v1/data/dashboards - Change one of dashboards
PATCH /api/v1/data/dashboards/{id} - Get one of dashboards
GET /api/v1/data/dashboards/{id} - archive_dashboard
POST /api/v1/actions/archive_dashboard - run_dashboard
POST /api/v1/actions/run_dashboard - get_insight_sources
POST /api/v1/actions/get_insight_sources - set_insight_dataset
POST /api/v1/actions/set_insight_dataset
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
limitquery · integeroptionalHow many at most, 50 when left out; a list that is always short gives all its rows at once, without a cursor.
cursorquery · stringoptionalThe cursor the last page returned, for the next.
Response
itemsarray of objectrequiredidstring (uuid)requiredtitlestringrequiredconfigobjectrequiredversion1requiredThe config's version: 1.
titlestringrequiredThe dashboard's title, written in the organization's language, such as Dutch for a Dutch organization.
filtersarray of objectoptionalFilters every query gets too, such as a date range: { member: 'created', operator: 'inDateRange', values: ['2026-10-01', '2026-12-31'] }.
queriesmap of objectrequiredNamed queries, by id: what the widgets show.
widgetsarray of objectrequiredWhat it shows, in order, left to right and down.
createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredrevisionnumberrequireddashboardUrlstringoptionalIts page in the dashboard, to send the person to.
cursorstringoptionalThe next page's cursor, while there is more.
Example
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-Keyheader · stringoptionalYour own key for this change: send the same one on a retry, so it happens once.
Bodyrequired
configobjectrequiredThe whole config. Read the sources' names with insights_get_sources first.
version1requiredThe config's version: 1.
titlestringrequiredThe dashboard's title, written in the organization's language, such as Dutch for a Dutch organization.
filtersarray of objectoptionalFilters every query gets too, such as a date range: { member: 'created', operator: 'inDateRange', values: ['2026-10-01', '2026-12-31'] }.
memberstringrequiredA dimension or time dimension of the query's source.
operator"equals" | "notEquals" | "in" | "overdue" | "inDateRange"requiredequals 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.
valuesarray of stringoptionalThe 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.
queriesmap of objectrequiredNamed queries, by id: what the widgets show.
widgetsarray of objectrequiredWhat it shows, in order, left to right and down.
idstringrequiredIts id, unique in the dashboard.
type"kpi" | "bar" | "line" | "table"requiredkpi: 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.
titlestringoptionalIts 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.
querystringrequiredThe id of the query in queries it shows.
xstringoptionalbar: a dimension of its query; line: its query's time dimension.
ystringoptionalkpi, bar and line: a measure of its query.
w4 | 6 | 12optionalbar 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
idstring (uuid)requiredtitlestringrequiredconfigobjectrequiredversion1requiredThe config's version: 1.
titlestringrequiredThe dashboard's title, written in the organization's language, such as Dutch for a Dutch organization.
filtersarray of objectoptionalFilters every query gets too, such as a date range: { member: 'created', operator: 'inDateRange', values: ['2026-10-01', '2026-12-31'] }.
memberstringrequiredA dimension or time dimension of the query's source.
operator"equals" | "notEquals" | "in" | "overdue" | "inDateRange"requiredequals 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.
valuesarray of stringoptionalThe 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.
queriesmap of objectrequiredNamed queries, by id: what the widgets show.
widgetsarray of objectrequiredWhat it shows, in order, left to right and down.
idstringrequiredIts id, unique in the dashboard.
type"kpi" | "bar" | "line" | "table"requiredkpi: 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.
titlestringoptionalIts 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.
querystringrequiredThe id of the query in queries it shows.
xstringoptionalbar: a dimension of its query; line: its query's time dimension.
ystringoptionalkpi, bar and line: a measure of its query.
w4 | 6 | 12requiredbar 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.
createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredrevisionnumberrequireddashboardUrlstringoptionalIts page in the dashboard, to send the person to.
Example
# 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
idpath · stringrequiredIdempotency-Keyheader · stringoptionalYour own key for this change: send the same one on a retry, so it happens once.
Bodyrequired
revisionintegerrequiredThe revision you read. When it changed since, nothing is written and the answer is 409 REVISION_CONFLICT: read it again.
configobjectrequiredThe whole config, which replaces it.
version1requiredThe config's version: 1.
titlestringrequiredThe dashboard's title, written in the organization's language, such as Dutch for a Dutch organization.
filtersarray of objectoptionalFilters every query gets too, such as a date range: { member: 'created', operator: 'inDateRange', values: ['2026-10-01', '2026-12-31'] }.
memberstringrequiredA dimension or time dimension of the query's source.
operator"equals" | "notEquals" | "in" | "overdue" | "inDateRange"requiredequals 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.
valuesarray of stringoptionalThe 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.
queriesmap of objectrequiredNamed queries, by id: what the widgets show.
widgetsarray of objectrequiredWhat it shows, in order, left to right and down.
idstringrequiredIts id, unique in the dashboard.
type"kpi" | "bar" | "line" | "table"requiredkpi: 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.
titlestringoptionalIts 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.
querystringrequiredThe id of the query in queries it shows.
xstringoptionalbar: a dimension of its query; line: its query's time dimension.
ystringoptionalkpi, bar and line: a measure of its query.
w4 | 6 | 12optionalbar 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
idstring (uuid)requiredtitlestringrequiredconfigobjectrequiredversion1requiredThe config's version: 1.
titlestringrequiredThe dashboard's title, written in the organization's language, such as Dutch for a Dutch organization.
filtersarray of objectoptionalFilters every query gets too, such as a date range: { member: 'created', operator: 'inDateRange', values: ['2026-10-01', '2026-12-31'] }.
memberstringrequiredA dimension or time dimension of the query's source.
operator"equals" | "notEquals" | "in" | "overdue" | "inDateRange"requiredequals 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.
valuesarray of stringoptionalThe 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.
queriesmap of objectrequiredNamed queries, by id: what the widgets show.
widgetsarray of objectrequiredWhat it shows, in order, left to right and down.
idstringrequiredIts id, unique in the dashboard.
type"kpi" | "bar" | "line" | "table"requiredkpi: 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.
titlestringoptionalIts 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.
querystringrequiredThe id of the query in queries it shows.
xstringoptionalbar: a dimension of its query; line: its query's time dimension.
ystringoptionalkpi, bar and line: a measure of its query.
w4 | 6 | 12requiredbar 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.
createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredrevisionnumberrequireddashboardUrlstringoptionalIts page in the dashboard, to send the person to.
Example
# 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
idpath · stringrequired
Response
idstring (uuid)requiredtitlestringrequiredconfigobjectrequiredversion1requiredThe config's version: 1.
titlestringrequiredThe dashboard's title, written in the organization's language, such as Dutch for a Dutch organization.
filtersarray of objectoptionalFilters every query gets too, such as a date range: { member: 'created', operator: 'inDateRange', values: ['2026-10-01', '2026-12-31'] }.
memberstringrequiredA dimension or time dimension of the query's source.
operator"equals" | "notEquals" | "in" | "overdue" | "inDateRange"requiredequals 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.
valuesarray of stringoptionalThe 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.
queriesmap of objectrequiredNamed queries, by id: what the widgets show.
widgetsarray of objectrequiredWhat it shows, in order, left to right and down.
idstringrequiredIts id, unique in the dashboard.
type"kpi" | "bar" | "line" | "table"requiredkpi: 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.
titlestringoptionalIts 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.
querystringrequiredThe id of the query in queries it shows.
xstringoptionalbar: a dimension of its query; line: its query's time dimension.
ystringoptionalkpi, bar and line: a measure of its query.
w4 | 6 | 12requiredbar 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.
createdAtstring (date-time)requiredupdatedAtstring (date-time)requiredrevisionnumberrequireddashboardUrlstringoptionalIts page in the dashboard, to send the person to.
Example
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-Keyheader · stringoptionalYour own key for this change: send the same one on a retry, so it happens once.
Bodyrequired
dashboardIdstring (uuid)requiredThe dashboard's id.
revisionintegerrequiredThe 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-Keyheader · stringoptionalYour own key for this change: send the same one on a retry, so it happens once.
Bodyrequired
dashboardIdstring (uuid)requiredThe 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-Keyheader · stringoptionalYour own key for this change: send the same one on a retry, so it happens once.
Bodyoptional
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-Keyheader · stringoptionalYour own key for this change: send the same one on a retry, so it happens once.
Bodyrequired
datasetstringrequiredThe dataset's source name, such as virtuagym_members.
enabledbooleanrequiredtrue turns it on, false off.
integrationstring (uuid)optionalThe 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.