block-quote On this pagechevron-down
copy Copy chevron-down
Developers chevron-right ๐ Veza APIsDashboard APIs Programmatic access to dashboards and reports
The Veza Dashboard API (referred to as "Assessment Reports" in the API) enables programmatic access to Veza dashboards, queries, and analytics. You can use these APIs to automate dashboard management, retrieve time-series data, and integrate Veza insights into your own tools and workflows.
The Dashboard API enables you to:
List and filter dashboards by integration, category, or risk level
Retrieve time-series and comparison data for trend analysis
Create custom dashboards programmatically
Share dashboards with teams via API
Track dashboard changes and query results over time
Important concepts
Assessment Reports (API term) = Dashboards (UI term)
Assessment Queries (API term) = Saved Queries (UI term)
Conceptually, these APIs manage Reports , presented to users in Veza as Dashboards for visibility, action, and collaboration.
A Report is a collection of Saved Queries , which can be constructed using the Query Builder or Query Builder API .
Understanding dashboard identifiers
Dashboard IDs are stable UUID identifiers that remain constant regardless of dashboard name changes, modifications to dashboard contents, or sharing status. IDs are universally unique identifiers such as 64e4231c-ead9-4bf0-bed7-afa94511f476.
You can find dashboard IDs by:
Using the List Dashboards endpoint with filters
Viewing the dashboard URL in the Veza UI: /app/dashboard/library/{dashboard_id}
Dashboard types
circle-exclamation
Attempting to modify or delete system-created dashboards will return a 422 Unprocessable Entity error.
Dashboards have a type field indicating their origin:
system_created : Out-of-the-box (OOTB) dashboards created and managed by Veza. These cannot be modified or deleted via API and are available to all tenants automatically.
user_created : Custom dashboards created using the Veza GUI or APIs, specific to your organization. These dashboards can be modified, shared, and deleted via API.
You can issue new API keys from Administration > API Keys > Add New API Key . Provide the key as the bearer auth token in the header of each request.
Required Roles:
Example:
Dashboard Management
List All Dashboards
get
https://your-tenant.cookiecloud.ai /api/preview/assessments/reports Authorization string Required Bearer token authentication using a Veza Personal API key.
Header Format : Authorization: Bearer <your-api-key>
Creating an API Key :
Log into your Veza tenant
Navigate to Administration โ API Keys
Generate a new API key and save the value securely
type string Optional Deprecated
include_inactive_reports boolean Optional
include_inactive_queries boolean Optional
skip_section_merge boolean Optional
page_size integer ยท int32 Optional The maximum number of results to be returned. Fewer results may be returned even when more pages exist.
page_token string Optional The token specifying the specific page of results to retrieve.
Get Specific Dashboard
get
https://your-tenant.cookiecloud.ai /api/preview/assessments/reports/ {id} Authorization string Required Bearer token authentication using a Veza Personal API key.
Header Format : Authorization: Bearer <your-api-key>
Creating an API Key :
Log into your Veza tenant
Navigate to Administration โ API Keys
Generate a new API key and save the value securely
include_query_variables boolean Optional
include_inactive_queries boolean Optional
skip_section_merge boolean Optional
Create Dashboard
Create a new report
post
https://your-tenant.cookiecloud.ai /api/preview/assessments/reports Authorization string Required Bearer token authentication using a Veza Personal API key.
Header Format : Authorization: Bearer <your-api-key>
Creating an API Key :
Log into your Veza tenant
Navigate to Administration โ API Keys
Generate a new API key and save the value securely
Body
application/json chevron-down application/json
description string Optional
queries object[] Optional Deprecated
Show properties plus
visibility integer ยท enum Optional
report_type integer ยท enum Optional
dynamic_filter string Optional
sections object[] Optional
Show properties plus
supported_display_modes integer ยท enum[] Optional
dynamic_report_headings object Optional
Show properties plus
preview_only boolean Optional
Update Dashboard
Update a report
put
https://your-tenant.cookiecloud.ai /api/preview/assessments/reports/ {id} Authorization string Required Bearer token authentication using a Veza Personal API key.
Header Format : Authorization: Bearer <your-api-key>
Creating an API Key :
Log into your Veza tenant
Navigate to Administration โ API Keys
Generate a new API key and save the value securely
Body
application/json chevron-down application/json
description string Optional
queries object[] Optional Deprecated
Show properties plus
visibility integer ยท enum Optional
dynamic_filter string Optional
sections object[] Optional
Show properties plus
supported_display_modes integer ยท enum[] Optional
dynamic_report_headings object Optional
Show properties plus
Delete Dashboard
Delete a report
delete
https://your-tenant.cookiecloud.ai /api/preview/assessments/reports/ {id} Authorization string Required Bearer token authentication using a Veza Personal API key.
Header Format : Authorization: Bearer <your-api-key>
Creating an API Key :
Log into your Veza tenant
Navigate to Administration โ API Keys
Generate a new API key and save the value securely
Dashboard Analytics
Get Time-Series Data
get
https://your-tenant.cookiecloud.ai /api/preview/assessments/reports/ {id} /queries/timeseries Authorization string Required Bearer token authentication using a Veza Personal API key.
Header Format : Authorization: Bearer <your-api-key>
Creating an API Key :
Log into your Veza tenant
Navigate to Administration โ API Keys
Generate a new API key and save the value securely
latest_only boolean Optional
ignore_missing_queries boolean Optional
Get Comparison Data
get
https://your-tenant.cookiecloud.ai /api/preview/assessments/reports/ {id} /queries/comparison Authorization string Required Bearer token authentication using a Veza Personal API key.
Header Format : Authorization: Bearer <your-api-key>
Creating an API Key :
Log into your Veza tenant
Navigate to Administration โ API Keys
Generate a new API key and save the value securely
snapshot_id string Optional
Sharing Operations
Share Dashboard
post
https://your-tenant.cookiecloud.ai /api/preview/assessments/reports/ {report_id} :share Authorization string Required Bearer token authentication using a Veza Personal API key.
Header Format : Authorization: Bearer <your-api-key>
Creating an API Key :
Log into your Veza tenant
Navigate to Administration โ API Keys
Generate a new API key and save the value securely
Body
application/json chevron-down application/json
Unshare Dashboard
post
https://your-tenant.cookiecloud.ai /api/preview/assessments/reports/ {report_id} :unshare Authorization string Required Bearer token authentication using a Veza Personal API key.
Header Format : Authorization: Bearer <your-api-key>
Creating an API Key :
Log into your Veza tenant
Navigate to Administration โ API Keys
Generate a new API key and save the value securely
Body
application/json chevron-down application/json
including_queries boolean Optional
API Examples - Ready-to-use code examples for common operations
Last updated 3 months ago