Dashboards-3
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
PATCH | |
DELETE | |
POST | |
POST | |
POST | |
PATCH | |
POST | |
GET | |
POST | |
GET | |
POST | |
POST | |
POST | |
GET | |
POST | |
GET | |
PATCH | |
DELETE |
Update dashboards
Required API key scopes
dashboard:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- quick_filter_idsarray
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false - _create_in_folderstring
Response
Example request
PATCH /api /projects /:project_id /dashboards /:idExample response
Status 200
Delete dashboards
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
dashboard:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Example request
DELETE /api /projects /:project_id /dashboards /:idExample response
Status 405 No response body
Create dashboards analyze refresh result
Generate AI analysis comparing before/after dashboard refresh. Expects cache_key in request body pointing to the stored 'before' state.
Path parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- quick_filter_idsarray
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false - _create_in_folderstring
Example request
POST /api /projects /:project_id /dashboards /:id /analyze_refresh_resultExample response
Status 200 No response body
Create dashboards copy tile
Copy an existing dashboard tile to another dashboard (insight or text card; new tile row).
Required API key scopes
dashboard:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Request parameters
- fromDashboardIdinteger
- tileIdinteger
Response
Example request
POST /api /projects /:project_id /dashboards /:id /copy_tileExample response
Status 200
Create dashboards generate metadata
Generate an AI-suggested name and description from this dashboard's tiles.
Required API key scopes
dashboard:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Response
Example request
POST /api /projects /:project_id /dashboards /:id /generate_metadataExample response
Status 200
Update dashboards move tile
Path parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- quick_filter_idsarray
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false - _create_in_folderstring
Example request
PATCH /api /projects /:project_id /dashboards /:id /move_tileExample response
Status 200 No response body
Create dashboards reorder tiles
Required API key scopes
dashboard:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Request parameters
- tile_orderarray
Response
Example request
POST /api /projects /:project_id /dashboards /:id /reorder_tilesExample response
Status 200
Retrieve dashboards run insights
Run all insights on a dashboard and return their results.
Required API key scopes
query:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"json""txt" - output_formatstringOne of:
"json""optimized" - refreshstringOne of:
"blocking""force_blocking""force_cache"
Response
Example request
GET /api /projects /:project_id /dashboards /:id /run_insightsExample response
Status 200
Create dashboards snapshot
Snapshot the current dashboard state (from cache) for AI analysis. Returns a cache_key representing the 'before' state, to be used with analyze_refresh_result.
Path parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- quick_filter_idsarray
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false - _create_in_folderstring
Example request
POST /api /projects /:project_id /dashboards /:id /snapshotExample response
Status 200 No response body
Retrieve dashboards stream tiles
Stream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they are rendered.
Path parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Example request
GET /api /projects /:project_id /dashboards /:id /stream_tilesExample response
Status 200 No response body
Create dashboards bulk update tags
Bulk update tags on multiple objects.
Accepts:
- {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]}
Actions:
- "add": Add tags to existing tags on each object
- "remove": Remove specific tags from each object
- "set": Replace all tags on each object with the provided list
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Request parameters
- idsarray
- action
- tagsarray
Response
Example request
POST /api /projects /:project_id /dashboards /bulk_update_tagsExample response
Status 200
Create dashboards create from template json
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- quick_filter_idsarray
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false - _create_in_folderstring
Example request
POST /api /projects /:project_id /dashboards /create_from_template_jsonExample response
Status 200 No response body
Create dashboards create unlisted dashboard
Creates an unlisted dashboard from template by tag. Enforces uniqueness (one per tag per team). Returns 409 if unlisted dashboard with this tag already exists.
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- quick_filter_idsarray
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false - _create_in_folderstring
Example request
POST /api /projects /:project_id /dashboards /create_unlisted_dashboardExample response
Status 200 No response body
List all data color themes
Required API key scopes
project:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /data_color_themesExample response
Status 200
Create data color themes
Required API key scopes
project:writePath parameters
- project_idstring
Request parameters
- namestring
- colors
Response
Example request
POST /api /projects /:project_id /data_color_themesExample response
Status 201
Retrieve data color themes
Required API key scopes
project:readPath parameters
- idinteger
- project_idstring
Response
Example request
GET /api /projects /:project_id /data_color_themes /:idExample response
Status 200
Update data color themes
Required API key scopes
project:writePath parameters
- idinteger
- project_idstring
Request parameters
- namestring
- colors
Response
Example request
PATCH /api /projects /:project_id /data_color_themes /:idExample response
Status 200
Delete data color themes
Required API key scopes
project:writePath parameters
- idinteger
- project_idstring
Example request
DELETE /api /projects /:project_id /data_color_themes /:id