Create insights view

Create a new insights view in a workspace

Request

This endpoint expects an object.
namestringRequired1-120 characters
configobjectRequired
project_idstringOptionalformat: "uuid"

Project ID. Takes precedence over project_name when both are provided.

project_namestringOptionalformat: "(?s)^\s*(\S.*\S|\S)\s*$"

For project scope, specify either project_id or project_name. If project_name is provided and the project does not exist, it will be created. Ignored when project_id is provided. If neither is provided, the dashboard is created at workspace level.

typeenumOptional
descriptionstringOptional0-1000 characters

Response headers

LocationstringOptional

Response

Created
namestring1-120 characters
configobject
idstringOptionalRead-onlyformat: "uuid"
workspace_idstringOptionalRead-only
project_idstringOptionalformat: "uuid"

Project ID. Takes precedence over project_name when both are provided.

slugstringOptionalRead-only
typeenumOptional
scopeenumOptionalRead-only
descriptionstringOptional0-1000 characters
created_bystringOptionalRead-only
last_updated_bystringOptionalRead-only
created_atdatetimeOptionalRead-only
last_updated_atdatetimeOptionalRead-only